All,

I've just put quite a large set of changes into CVS. Many thanks to Dan and Reini for their contributions.

I've done very limited testing on most of this, so any feedback (especially negative) is very welcome.

Regards,
Rob.


- Added VERSIONINFO resource to GUI.rc and updated the build process to update version automatically in VERSIONINFO Structure

Now you can right-click->Properties GUI.dll and get the version information etc. I don't know if this is generally useful, but I have so many GUI.dll files hanging around that it is at least useful for me.


- GUI.h, button.xs, datetime.xs, GUI.xs, GUI_options.cpp, Label.xs, Listview.xs, Richedit.xs, Splitter.xs, Textfield.xs, Updown.xs, Window.xs: Added new macro W32G_DOWARN and W32G_DOEARN_DEPRECATED to replace use of PL_dowarm, fixing inability to turn off Win32::GUI warnings when lexical warnings are in use. By default behaviour is as before, pass -DW32G_NEWWARN to enable this.

I started investigating whether there was a better way to issue warnings from the XS code. You shouldn't see any change in behaviour unless you pass -DW32G_NEWWARN to the build process. If you do, then you'll get no warnings from the XS parts of Win32::GUI unless you use the -w command-line switch (or set it on your shbang line, or set $^W)


- Makefile.PL, GUI.h: now use __MINGW32__ guard blocks rather than __MINGW__, as compiler defines first automatically; reduced variations between build environments

I've re-worked the Makefile to reduce the number of differences between the build environments. *I am particularly interested in hearing that I haven't broken your build process*.


- GUI.pm Fix to logic in Win32::GUI::Class::new for perl 5.8.6 and above. Tracker:1236053

- GUI.pm fixed Win32::GUI::Brush to return undef on failure

- GUI.pm upped version to v1.02_01

- GUI_messageloops.cpp: Tracker 1246429 fixed WM_CTLCOLORSTATIC for handling readonly Edit controls - GUI_messageloops.cpp: Fixed WM_CTLCOLOR* to use window class background brush if there is one - GUI_messageloops.cpp: Tracker:1236283 Change to WM_ERASEBACKGROUND to allow -background to work with windows

As a result of these changes use of -background, and -class (with background brushes) should work much more as you expect. -background on Windows can be quite flickery. Most of this can be overcome by adding WS_CLIPCHILDREN to your window styles.

- sourceParser.pm Fix to solve over aggressive removal of blank lines.

- various documentation corrections/enhancements

- Richedit.xs fix SetCharFormat/GetCharFormat option and new documentation (thanks to Dan Dascalescu)

- GUI.pm Timer fixes (Reini Urban)

- many tests added, and MANIFEST updated (Reini Urban, Dan Dascalescu, Robert May)

I've done little with the test other that take what Reini and Dan have given me, and re-write them to use Test::More. We still need to think through a testing strategy.

- GUI.xs re-wrote logic for TrackPopupMenu to make it (slightly) more maintainable

- added listvew_drag_drop.pl to the samples

Reply via email to