From: Jeremy W. <jez...@ho...> - 2006-03-16 09:14:40
|
Hi, I've just committed changes made by Reini Urban with support for custom draw and "native" drag-drop support. The full change log from 1.03 is below. Any questions or problems to the list. Cheers, jez. ---------------------- + [Reini Urban] : 15 Mar 2006 - GUI.pm : Change version to 1.04, add -dropfiles to Window - GUI.h : add CustomDraw and DropFiles support, start with thread safe static data definitions. - Button.xs, Header.xs, ListView.xs, Rebar.xs, Toolbar.xs, Tooltip.xs, TreeView.xs: add CustomDraw EVENT with Win32::GUI::Button::CustomDraw object as param. abuse the PAINT constant for NEM, which should not conflict. - CustomDraw.pm : CustomDraw package definition and helpers - GUI.xs : DoEvents(hwnd=NULL,wMsgFilterMin=0,wMsgFilterMax=0,wRemoveMsg=PM_REMOVE), Try additional OEM ressource in LoadImage, Add Win32::GUI::DragDrop object which is passed to the DropFiles event as argument. - GUI_Helpers.cpp: add SV* CreateNMCustomDraw() - GUI_MessageLoops.cpp : Change DropFiles EVENT to pass the Win32::GUI::DragDrop object - ImageList.xs: Add to documention. - TYPEMAP: Add HDROP as first-class citizen (Win32::GUI::DragDrop) - Window.xs: support -dropfiles property, store it onPostCreate in perlcs - SrcParser.pm, Documentation.txt: fix some typos - t/07_CustomDraw.t: added - samples/CustomDraw.pl: added - guard against Win32::GetFileVersion for older perls - guard against undefined NOTIFYICONDATA for older compilers also (<= MSVC98) - Upped version to 1.03_03 + [Robert May] : 11 Jan 2006 - bug fixes and add balloon tips for Notify Icon - Label.xs correct -truncate option processing, as SS_.*ELLIPSIS.* styles are not single bits - NotifyIcon.xs, GUI_Options.cpp, GUI.pm re-work NofifyIcon class. Add balloon tooltips. Add support for message behaviour. Add support for setfocus. Add documentation. (Tracker: 1065072) - t\05_NotifyIcon*.t, MANIFEST Notify Icon Tests added - samples\NotifyIcon.pl, MANIFEST add demo app - GUI.pm Changed initial value of $Win32::GUI::MenuIdCounter to avoid ID clash with predefined WM_COMMAND values (IDOK, IDCANCEL, etc.) - GUI.xs Fix SendMessageTimeout to match documentation and return undef on failure. (XSRETURN_UNDEF rather than XSRETURN_NO). - GUI.pm corrected documentation of default values for autohscroll and autovscroll in Textfield documentation - GUI_MessageLoops.cpp added processing of WM_NEXTDLGCTL to CommonMessageLoop to allow for tabbing out of multiline Textfields when using -dialogui - GUI_MessageLoops.cpp fixed WM_ERASEBACKGROUND (Tracker:1363141) - Splitter.xs, GUI_Helpers.cpp, GUI.h re-worked splitter class. (Tracker:1363141) - RichEdit.xs made -background and -foreground work - GUI_MessageLoops.cpp made -background work for Splitter windows - GUI_Helpers.cpp removed an unnecessary dTHX, replacing it with PERLUD_FETCH - Upped version to 1.03_02 + [Robert May] : 3 Dec 2005 - bug fixes - GUI.h change order of instructions in PERLUD_FREE macro to prevent crashes (Trackers 1243378 and 1248578) - GUI.pm up version to 1.03_01 and tidy up - GUI.xs change logic in all message loops (Dialog, DoEvents, DoModal) to prevent memory leak (Tracker: 1201190) - Listbox.xs add documentation to differentiate between SetCurSel and SetSel (Tracker: 1177898) |
From: Reini U. <ru...@x-...> - 2006-03-16 18:57:13
|
2006/3/16, Jeremy White <jez...@ho...>: > I've just committed changes made by Reini Urban with support for custom d= raw > and "native" drag-drop support. The full change log from 1.03 is below. A= ny > questions or problems to the list. Thanks! BTW: There are two conflicting lines in the changelog - GUI.pm : Change version to 1.04, add -dropfiles to Window - Upped version to 1.03_03 > ---------------------- > > + [Reini Urban] : 15 Mar 2006 > - GUI.pm : Change version to 1.04, add -dropfiles to Window > - GUI.h : add CustomDraw and DropFiles support, > start with thread safe static data definitions. > - Button.xs, Header.xs, ListView.xs, Rebar.xs, Toolbar.xs, Tooltip.xs= , > TreeView.xs: > add CustomDraw EVENT with Win32::GUI::Button::CustomDraw object a= s > param. > abuse the PAINT constant for NEM, which should not conflict. > - CustomDraw.pm : CustomDraw package definition and helpers > - GUI.xs : > DoEvents(hwnd=3DNULL,wMsgFilterMin=3D0,wMsgFilterMax=3D0,wRemoveMsg=3DPM_= REMOVE), > Try additional OEM ressource in LoadImage, > Add Win32::GUI::DragDrop object which is passed to the DropFiles = event as > argument. > - GUI_Helpers.cpp: add SV* CreateNMCustomDraw() > - GUI_MessageLoops.cpp : Change DropFiles EVENT to pass the > Win32::GUI::DragDrop object > - ImageList.xs: Add to documention. > - TYPEMAP: Add HDROP as first-class citizen (Win32::GUI::DragDrop) > - Window.xs: support -dropfiles property, store it onPostCreate in > perlcs > - SrcParser.pm, Documentation.txt: fix some typos > - t/07_CustomDraw.t: added > - samples/CustomDraw.pl: added > - guard against Win32::GetFileVersion for older perls > - guard against undefined NOTIFYICONDATA for older compilers also (<= =3D > MSVC98) > - Upped version to 1.03_03 > > + [Robert May] : 11 Jan 2006 - bug fixes and add balloon tips for Notify > Icon > - Label.xs correct -truncate option processing, as SS_.*ELLIPSIS.* > styles are not single bits > - NotifyIcon.xs, GUI_Options.cpp, GUI.pm re-work NofifyIcon > class. Add balloon tooltips. Add support for message behaviour. Add > support for setfocus. Add documentation. (Tracker: 1065072) > - t\05_NotifyIcon*.t, MANIFEST Notify Icon Tests added > - samples\NotifyIcon.pl, MANIFEST add demo app > - GUI.pm Changed initial value of $Win32::GUI::MenuIdCounter to avoid= ID > clash with predefined WM_COMMAND values (IDOK, IDCANCEL, etc.) > - GUI.xs Fix SendMessageTimeout to match documentation and return > undef on failure. (XSRETURN_UNDEF rather than XSRETURN_NO). > - GUI.pm corrected documentation of default values for autohscroll > and autovscroll in Textfield documentation > - GUI_MessageLoops.cpp added processing of WM_NEXTDLGCTL to > CommonMessageLoop to allow for tabbing out of multiline Textfields > when using -dialogui > - GUI_MessageLoops.cpp fixed WM_ERASEBACKGROUND (Tracker:1363141) > - Splitter.xs, GUI_Helpers.cpp, GUI.h re-worked splitter class. > (Tracker:1363141) > - RichEdit.xs made -background and -foreground work > - GUI_MessageLoops.cpp made -background work for Splitter windows > - GUI_Helpers.cpp removed an unnecessary dTHX, replacing it with > PERLUD_FETCH > - Upped version to 1.03_02 > > + [Robert May] : 3 Dec 2005 - bug fixes > - GUI.h change order of instructions in PERLUD_FREE macro to prevent > crashes (Trackers 1243378 and 1248578) > - GUI.pm up version to 1.03_01 and tidy up > - GUI.xs change logic in all message loops (Dialog, DoEvents, DoModal= ) > to > prevent memory leak (Tracker: 1201190) > - Listbox.xs add documentation to differentiate between SetCurSel and > SetSel (Tracker: 1177898) > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Robert M. <rm...@po...> - 2006-03-16 19:24:29
|
Reini, Many thanks for the large amount of input. I've spoken with Jeremy during the day, and I am going to back out your changes from the CVS repository, and re-enter them in a more controlled fashion. I have a number of reasons for doing this, but they boil down to: (1) I'd like a number of commits, splitting the commits by functionality so that it's easier to see what changes are related (I can see at least 3 separate commits: DrapDrop functionality, CustomDraw functionality and the rest of your changes). (2) I want to review the the changes: For example I already have a re-work of the DrapDrop functionality that I did some time ago (if you look in the RFC section on Sourceforge you'll see this is a feature request that I have assigned to myself, which means that I'm working on it), and I'd like to implement a merge of my ideas with yours, along with better separating the functionality. I'll raise separate mails on the hackers list as I review the different bits of functionality. I hope you don't mind - it should all get in eventually - and we'll work towards a 1.04 release soon. Regards, Rob. Reini Urban wrote: > 2006/3/16, Jeremy White <jez...@ho...>: > >>I've just committed changes made by Reini Urban with support for custom draw >>and "native" drag-drop support. The full change log from 1.03 is below. Any >>questions or problems to the list. > > > Thanks! > > BTW: There are two conflicting lines in the changelog > - GUI.pm : Change version to 1.04, add -dropfiles to Window > - Upped version to 1.03_03 > > >>---------------------- >> >>+ [Reini Urban] : 15 Mar 2006 >> - GUI.pm : Change version to 1.04, add -dropfiles to Window >> - GUI.h : add CustomDraw and DropFiles support, >> start with thread safe static data definitions. >> - Button.xs, Header.xs, ListView.xs, Rebar.xs, Toolbar.xs, Tooltip.xs, >>TreeView.xs: >> add CustomDraw EVENT with Win32::GUI::Button::CustomDraw object as >>param. >> abuse the PAINT constant for NEM, which should not conflict. >> - CustomDraw.pm : CustomDraw package definition and helpers >> - GUI.xs : >>DoEvents(hwnd=NULL,wMsgFilterMin=0,wMsgFilterMax=0,wRemoveMsg=PM_REMOVE), >> Try additional OEM ressource in LoadImage, >> Add Win32::GUI::DragDrop object which is passed to the DropFiles event as >>argument. >> - GUI_Helpers.cpp: add SV* CreateNMCustomDraw() >> - GUI_MessageLoops.cpp : Change DropFiles EVENT to pass the >>Win32::GUI::DragDrop object >> - ImageList.xs: Add to documention. >> - TYPEMAP: Add HDROP as first-class citizen (Win32::GUI::DragDrop) >> - Window.xs: support -dropfiles property, store it onPostCreate in >>perlcs >> - SrcParser.pm, Documentation.txt: fix some typos >> - t/07_CustomDraw.t: added >> - samples/CustomDraw.pl: added >> - guard against Win32::GetFileVersion for older perls >> - guard against undefined NOTIFYICONDATA for older compilers also (<= >>MSVC98) >> - Upped version to 1.03_03 >> >>+ [Robert May] : 11 Jan 2006 - bug fixes and add balloon tips for Notify >>Icon >> - Label.xs correct -truncate option processing, as SS_.*ELLIPSIS.* >> styles are not single bits >> - NotifyIcon.xs, GUI_Options.cpp, GUI.pm re-work NofifyIcon >> class. Add balloon tooltips. Add support for message behaviour. Add >> support for setfocus. Add documentation. (Tracker: 1065072) >> - t\05_NotifyIcon*.t, MANIFEST Notify Icon Tests added >> - samples\NotifyIcon.pl, MANIFEST add demo app >> - GUI.pm Changed initial value of $Win32::GUI::MenuIdCounter to avoid ID >> clash with predefined WM_COMMAND values (IDOK, IDCANCEL, etc.) >> - GUI.xs Fix SendMessageTimeout to match documentation and return >> undef on failure. (XSRETURN_UNDEF rather than XSRETURN_NO). >> - GUI.pm corrected documentation of default values for autohscroll >> and autovscroll in Textfield documentation >> - GUI_MessageLoops.cpp added processing of WM_NEXTDLGCTL to >> CommonMessageLoop to allow for tabbing out of multiline Textfields >> when using -dialogui >> - GUI_MessageLoops.cpp fixed WM_ERASEBACKGROUND (Tracker:1363141) >> - Splitter.xs, GUI_Helpers.cpp, GUI.h re-worked splitter class. >> (Tracker:1363141) >> - RichEdit.xs made -background and -foreground work >> - GUI_MessageLoops.cpp made -background work for Splitter windows >> - GUI_Helpers.cpp removed an unnecessary dTHX, replacing it with >> PERLUD_FETCH >> - Upped version to 1.03_02 >> >>+ [Robert May] : 3 Dec 2005 - bug fixes >> - GUI.h change order of instructions in PERLUD_FREE macro to prevent >> crashes (Trackers 1243378 and 1248578) >> - GUI.pm up version to 1.03_01 and tidy up >> - GUI.xs change logic in all message loops (Dialog, DoEvents, DoModal) >>to >> prevent memory leak (Tracker: 1201190) >> - Listbox.xs add documentation to differentiate between SetCurSel and >> SetSel (Tracker: 1177898) >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Perl-Win32-GUI-Users mailing list >>Per...@li... >>https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >>http://perl-win32-gui.sourceforge.net/ >> > > > > -- > Reini Urban > http://phpwiki.org/ > http://spacemovie.mur.at/ http://helsinki.at/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > |
From: Reini U. <ru...@x-...> - 2006-03-16 19:41:39
|
2006/3/16, Robert May <rm...@po...>: > Many thanks for the large amount of input. I've spoken with Jeremy > during the day, and I am going to back out your changes from the CVS > repository, and re-enter them in a more controlled fashion. I have a > number of reasons for doing this, but they boil down to: > > (1) I'd like a number of commits, splitting the commits by functionality > so that it's easier to see what changes are related (I can see at least > 3 separate commits: DrapDrop functionality, CustomDraw functionality and > the rest of your changes). Sure. Note that DrapDrop worked before also. I only introduced a new object which is created by the event to better pick up the point and files. > (2) I want to review the the changes: For example I already have a > re-work of the DrapDrop functionality that I did some time ago (if you > look in the RFC section on Sourceforge you'll see this is a feature > request that I have assigned to myself, which means that I'm working on > it), and I'd like to implement a merge of my ideas with yours, along > with better separating the functionality. I'll raise separate mails on > the hackers list as I review the different bits of functionality. I only support two methods for now, but maybe the BeginDrag and other Drag events and methods should also be supported in the new class as in the listview_drag_drop sample. > I hope you don't mind - it should all get in eventually - and we'll work > towards a 1.04 release soon. Not at all. > Reini Urban wrote: > > 2006/3/16, Jeremy White <jez...@ho...>: > > > >>I've just committed changes made by Reini Urban with support for custom= draw > >>and "native" drag-drop support. The full change log from 1.03 is below.= Any > >>questions or problems to the list. > > > > > > Thanks! > > > > BTW: There are two conflicting lines in the changelog > > - GUI.pm : Change version to 1.04, add -dropfiles to Window > > - Upped version to 1.03_03 > > > > > >>---------------------- > >> > >>+ [Reini Urban] : 15 Mar 2006 > >> - GUI.pm : Change version to 1.04, add -dropfiles to Window > >> - GUI.h : add CustomDraw and DropFiles support, > >> start with thread safe static data definitions. > >> - Button.xs, Header.xs, ListView.xs, Rebar.xs, Toolbar.xs, Tooltip.= xs, > >>TreeView.xs: > >> add CustomDraw EVENT with Win32::GUI::Button::CustomDraw object= as > >>param. > >> abuse the PAINT constant for NEM, which should not conflict. > >> - CustomDraw.pm : CustomDraw package definition and helpers > >> - GUI.xs : > >>DoEvents(hwnd=3DNULL,wMsgFilterMin=3D0,wMsgFilterMax=3D0,wRemoveMsg=3DP= M_REMOVE), > >> Try additional OEM ressource in LoadImage, > >> Add Win32::GUI::DragDrop object which is passed to the DropFile= s event as > >>argument. > >> - GUI_Helpers.cpp: add SV* CreateNMCustomDraw() > >> - GUI_MessageLoops.cpp : Change DropFiles EVENT to pass the > >>Win32::GUI::DragDrop object > >> - ImageList.xs: Add to documention. > >> - TYPEMAP: Add HDROP as first-class citizen (Win32::GUI::DragDrop) > >> - Window.xs: support -dropfiles property, store it onPostCreate in > >>perlcs > >> - SrcParser.pm, Documentation.txt: fix some typos > >> - t/07_CustomDraw.t: added > >> - samples/CustomDraw.pl: added > >> - guard against Win32::GetFileVersion for older perls > >> - guard against undefined NOTIFYICONDATA for older compilers also (= <=3D > >>MSVC98) > >> - Upped version to 1.03_03 > >> > >>+ [Robert May] : 11 Jan 2006 - bug fixes and add balloon tips for Notif= y > >>Icon > >> - Label.xs correct -truncate option processing, as SS_.*ELLIPSIS.* > >> styles are not single bits > >> - NotifyIcon.xs, GUI_Options.cpp, GUI.pm re-work NofifyIcon > >> class. Add balloon tooltips. Add support for message behaviour. Add > >> support for setfocus. Add documentation. (Tracker: 1065072) > >> - t\05_NotifyIcon*.t, MANIFEST Notify Icon Tests added > >> - samples\NotifyIcon.pl, MANIFEST add demo app > >> - GUI.pm Changed initial value of $Win32::GUI::MenuIdCounter to avo= id ID > >> clash with predefined WM_COMMAND values (IDOK, IDCANCEL, etc.) > >> - GUI.xs Fix SendMessageTimeout to match documentation and return > >> undef on failure. (XSRETURN_UNDEF rather than XSRETURN_NO). > >> - GUI.pm corrected documentation of default values for autohscroll > >> and autovscroll in Textfield documentation > >> - GUI_MessageLoops.cpp added processing of WM_NEXTDLGCTL to > >> CommonMessageLoop to allow for tabbing out of multiline Textfield= s > >> when using -dialogui > >> - GUI_MessageLoops.cpp fixed WM_ERASEBACKGROUND (Tracker:1363141) > >> - Splitter.xs, GUI_Helpers.cpp, GUI.h re-worked splitter class. > >> (Tracker:1363141) > >> - RichEdit.xs made -background and -foreground work > >> - GUI_MessageLoops.cpp made -background work for Splitter windows > >> - GUI_Helpers.cpp removed an unnecessary dTHX, replacing it with > >> PERLUD_FETCH > >> - Upped version to 1.03_02 > >> > >>+ [Robert May] : 3 Dec 2005 - bug fixes > >> - GUI.h change order of instructions in PERLUD_FREE macro to preven= t > >> crashes (Trackers 1243378 and 1248578) > >> - GUI.pm up version to 1.03_01 and tidy up > >> - GUI.xs change logic in all message loops (Dialog, DoEvents, DoMod= al) > >>to > >> prevent memory leak (Tracker: 1201190) > >> - Listbox.xs add documentation to differentiate between SetCurSel a= nd > >> SetSel (Tracker: 1177898) -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |