You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(31) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(6) |
Feb
|
Mar
(17) |
Apr
(17) |
May
(27) |
Jun
(67) |
Jul
(26) |
Aug
(15) |
Sep
(2) |
Oct
(24) |
Nov
(6) |
Dec
|
2007 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(28) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(21) |
Feb
(45) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(3) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
(4) |
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
From: Robert M. <rob...@us...> - 2007-01-20 19:45:46
|
Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-ReleaseNotes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27491/Win32-GUI-ReleaseNotes Modified Files: ReleaseNotes.pod RN_1_06.pod Log Message: Restore Original WndProc Index: RN_1_06.pod =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-ReleaseNotes/RN_1_06.pod,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RN_1_06.pod 20 Jan 2007 17:09:23 -0000 1.1 --- RN_1_06.pod 20 Jan 2007 19:45:45 -0000 1.2 *************** *** 45,48 **** --- 45,52 ---- like this. + =item Memory leaks + + Various memory leaks have been resolved. + =back Index: ReleaseNotes.pod =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-ReleaseNotes/ReleaseNotes.pod,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReleaseNotes.pod 31 Oct 2006 22:24:16 -0000 1.2 --- ReleaseNotes.pod 20 Jan 2007 19:45:45 -0000 1.3 *************** *** 7,10 **** --- 7,12 ---- =over + =item Release L<1.06|Win32::GUI::ReleaseNotes::RN_1_06> + =item Release L<1.05|Win32::GUI::ReleaseNotes::RN_1_05> |
From: Robert M. <rob...@us...> - 2007-01-20 19:45:46
|
Update of /cvsroot/perl-win32-gui/Win32-GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27491 Modified Files: CHANGELOG GUI_Helpers.cpp Log Message: Restore Original WndProc Index: GUI_Helpers.cpp =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI_Helpers.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** GUI_Helpers.cpp 20 Jan 2007 17:09:22 -0000 1.23 --- GUI_Helpers.cpp 20 Jan 2007 19:45:44 -0000 1.24 *************** *** 66,69 **** --- 66,70 ---- // Check perlpud if (perlud != NULL) { + HWND hwnd_self = handle_From(NOTXSCALL perlud->svSelf); // Free event hash *************** *** 89,93 **** /* Free into parent */ if(SvOK(perlud->svSelf)) { ! HWND parent = GetParent(handle_From(NOTXSCALL perlud->svSelf)); if (parent != NULL && *perlud->szWindowName != '\0') { SV* SvParent = SV_SELF_FROM_WINDOW(parent); --- 90,94 ---- /* Free into parent */ if(SvOK(perlud->svSelf)) { ! HWND parent = GetParent(hwnd_self); if (parent != NULL && *perlud->szWindowName != '\0') { SV* SvParent = SV_SELF_FROM_WINDOW(parent); *************** *** 124,127 **** --- 125,134 ---- } + // If we stored an original wndproc, then restore it so that + // WM_NCDESTORY messages get there. + if (perlud->WndProc) { + SetWindowLong(hwnd_self, GWL_WNDPROC, (LONG)(perlud->WndProc)); + } + // Free perlpud safefree (perlud); Index: CHANGELOG =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/CHANGELOG,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** CHANGELOG 20 Jan 2007 17:09:22 -0000 1.107 --- CHANGELOG 20 Jan 2007 19:45:44 -0000 1.108 *************** *** 6,9 **** --- 6,14 ---- Win32-GUI ChangeLog =================== + + [Robert May] : 20 January 2007 - Restore Original WndProc + - GUI_Helpers.cpp - restore the window's original wndproc + when freeing PERLUD, so that WM_NCDESTROY messages get + to the original wndproc, rather than DefwindowProc + + [Robert May] : 20 January 2007 - Bug Fixes - Tooltip.xs - SetTitle method had warning and info icons *************** *** 13,17 **** - Textfield.xs - re-write GetLine() to fix truncation caused by line number being used as a character index, and to correctly ! return zero lenght lines + [Robert May] : 5 November 2006 - 1.05 Release --- 18,22 ---- - Textfield.xs - re-write GetLine() to fix truncation caused by line number being used as a character index, and to correctly ! return zero length lines + [Robert May] : 5 November 2006 - 1.05 Release |
From: Robert M. <rob...@us...> - 2007-01-20 17:09:28
|
Update of /cvsroot/perl-win32-gui/Win32-GUI/Win32-GUI-ReleaseNotes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32668/Win32-GUI-ReleaseNotes Added Files: RN_1_06.pod Log Message: Bug Fixes --- NEW FILE: RN_1_06.pod --- =head1 NAME Win32::GUI::ReleaseNotes::RN_1_06 - release notes for v1.06 of Win32::GUI =head1 Release Date TBD =head1 Summary of Changes This is a summary of changes between V1.05 and V1.06 See the CHANGELOG file in the distribution for the full detail. This release is a XXX release addressing the issues below. =head2 New Features There are no new features in this release. =head2 Bug Fixes =over =item Baloon Tooltip info and warning icons swapped Fix inverted info and warning icon for balloon tooltips =item Textfield::GetLine() truncates lines Textfield::GetLine() has been re-written to stop it truncating lines, and to correctly return empty lines. =item Error During Global Destruction It was common to get an error like: (in cleanup) Can't call method "DELETE" on an undefined value at C:/Perl /site/lib/Win32/GUI.pm line 3451 during global destruction. This is now, hopefully, fixed. Please report if you still see errors like this. =back =head1 Deprecated feature status This section documents features that have been deprecated in this release, or in recent releases, and feature that will be deprecated in up-coming releases. =head2 Win32::GUI::Constants The introduction of Win32::GUI::Constants in v1.04 means that we now have access to a very large number of constants, so the current behaviour of Win32::GUI to export all constants to the calling namespace by default is no longer appropriate. So, a bare use Win32::GUI; now generates a warning that the old default behaviour will be deprecated - although the export behaviour of Win32::GUI v1.03 is maintained except for this warning. To eliminate this warning and correct your script, do one of the following: =over =item If you don't need any constants, use the empty list: use Win32::GUI(); =item If you need some constants, name them explicitly: use Win32::GUI qw(ES_WANTRETURN CW_USEDEFAULT); # Two constants exported use Win32::GUI qw(/^MB_/); # Export all constants starting with MB_ =back See the L<Win32::GUI::Constants|Win32::GUI::Constants> documentation for the full allowable syntax. You are advised to fix your scripts now, as a future version will stop exporting any constants by default. Although not advised, you can suppress the warnings by turning deprecated warnings off: no warnings 'deprecated'; Additionally accessing constants from within the Win32::GUI namespace is deprecated. I.e. -addstyle => Win32::GUI::WS_BORDER, will generate a warning with this release, and will stop working with a future release. Use one of the following methods instead: =over =item use the Win32::GUI::Constants namespace instead -addstyle => Win32::GUI::Constants::WS_BORDER(), =item use any other namespace you fancy use Win32::GUI qw(-exportpkg => A::B -autoload); ... -addstyle => A::B::WS_BORDER(), =item maintain compatibility of existing scripts use Win32::GUI::Constants qw(-exportpkg => Win32::GUI :compatibility_win32_gui); ... -addstyle => Win32::GUI::WS_BORDER, =back =head2 Win32::GUI::NotifyIcon It is no longer necessary to use the '-id' option to any of the Win32::GUI::NotifyIcon methods. The ID is now entirely handled internally. You will receive deprecated warnings if you use it. In particular, removing Icons from the system tray should be done using $NI->Remove(); and not by the (now deprecated) $NI->Delete(-id => 1); Use of the C<-id> option will generate a warning. =head1 Contributors to this release =over =item Robert May =item Brian Millham =back =cut |
From: Robert M. <rob...@us...> - 2007-01-20 17:09:28
|
Update of /cvsroot/perl-win32-gui/Win32-GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32668 Modified Files: CHANGELOG GUI.h GUI.pm GUI.xs GUI_Helpers.cpp Textfield.xs Tooltip.xs Log Message: Bug Fixes Index: GUI.xs =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI.xs,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** GUI.xs 31 Oct 2006 22:24:15 -0000 1.63 --- GUI.xs 20 Jan 2007 17:09:22 -0000 1.64 *************** *** 5094,5097 **** --- 5094,5099 ---- # -printeronly => 0/1 (default 0) # only enable printers to be selected + # -directory => PATH + # the default start directory for browsing # -root => PATH or CONSTANT # the root directory for browsing; this can be either a Index: GUI.pm =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI.pm,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** GUI.pm 5 Nov 2006 20:04:49 -0000 1.58 --- GUI.pm 20 Jan 2007 17:09:22 -0000 1.59 *************** *** 20,24 **** # STATIC OBJECT PROPERTIES # ! $VERSION = "1.05"; # For MakeMaker $XS_VERSION = $VERSION; # For dynaloader $VERSION = eval $VERSION; # For Perl (see perldoc perlmodstyle) --- 20,24 ---- # STATIC OBJECT PROPERTIES # ! $VERSION = "1.05_01"; # For MakeMaker $XS_VERSION = $VERSION; # For dynaloader $VERSION = eval $VERSION; # For Perl (see perldoc perlmodstyle) *************** *** 2670,2674 **** # unlikely event of someone doing PARENT->{Timer name} = undef; my $window = Win32::GUI::GetWindowObject($self->{-handle}); ! if(defined $window) { # Remove id from -timers hash delete $window->{-timers}->{$self->{-id}}; --- 2670,2674 ---- # unlikely event of someone doing PARENT->{Timer name} = undef; my $window = Win32::GUI::GetWindowObject($self->{-handle}); ! if(defined $window && tied %$window) { # Remove id from -timers hash delete $window->{-timers}->{$self->{-id}}; *************** *** 2937,2941 **** # unlikely event of someone doing PARENT->{NotifyIcon name} = undef; my $window = Win32::GUI::GetWindowObject($self->{-handle}); ! if(defined $window) { # Remove id from -notifyicons hash delete $window->{-notifyicons}->{$self->{-id}} if defined $window->{-notifyicons}; --- 2937,2941 ---- # unlikely event of someone doing PARENT->{NotifyIcon name} = undef; my $window = Win32::GUI::GetWindowObject($self->{-handle}); ! if(defined $window && tied %$window) { # Remove id from -notifyicons hash delete $window->{-notifyicons}->{$self->{-id}} if defined $window->{-notifyicons}; Index: CHANGELOG =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/CHANGELOG,v retrieving revision 1.106 retrieving revision 1.107 diff -C2 -d -r1.106 -r1.107 *** CHANGELOG 5 Nov 2006 20:04:49 -0000 1.106 --- CHANGELOG 20 Jan 2007 17:09:22 -0000 1.107 *************** *** 6,9 **** --- 6,18 ---- Win32-GUI ChangeLog =================== + + [Robert May] : 20 January 2007 - Bug Fixes + - Tooltip.xs - SetTitle method had warning and info icons + swapped. [Brian Millham] + - GUI_Helpers.cpp, GUI.pm - fix deleting from parent during global + destruction. + - Textfield.xs - re-write GetLine() to fix truncation caused by + line number being used as a character index, and to correctly + return zero lenght lines + + [Robert May] : 5 November 2006 - 1.05 Release - docs/GUI.pod - update references to v1.05 to v1.06, and v1.06 Index: Textfield.xs =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Textfield.xs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Textfield.xs 23 Jun 2006 23:08:07 -0000 1.8 --- Textfield.xs 20 Jan 2007 17:09:22 -0000 1.9 *************** *** 265,269 **** ########################################################################### # (@)METHOD:GetLine(LINE) ! # Return line of text. void GetLine(handle, line) --- 265,273 ---- ########################################################################### # (@)METHOD:GetLine(LINE) ! # Get a line of text. ! # LINE: zero based index to the line to be retrieved ! # ! # Returns the text of the line. Returns undef if LINE is ! # greater than the number of lines in the Textfied. void GetLine(handle, line) *************** *** 273,295 **** Win32::GUI::RichEdit::GetLine = 1 CODE: ! UINT size = SendMessage(handle, EM_LINELENGTH, line, 0); ! if (size > 0) { ! char * pBuf = (char *) safemalloc(size + 16); ! *((short*) pBuf) = size + 8; ! size = SendMessage(handle, EM_GETLINE, line, (LPARAM) pBuf); ! if (size > 0) { ! pBuf[size] = '\0'; ! EXTEND(SP, 1); ! XST_mPV(0, pBuf); ! safefree(pBuf); ! XSRETURN(1); ! } ! else { ! safefree(pBuf); ! XSRETURN_UNDEF; ! } ! } ! else XSRETURN_UNDEF; ########################################################################### --- 277,328 ---- Win32::GUI::RichEdit::GetLine = 1 CODE: ! LONG index; ! WORD size; ! LPTSTR pBuf; ! ! index = (LONG)SendMessage(handle, EM_LINEINDEX, line, 0); ! if (index < 0) { /* -1 if line greater than number of lines in control */ XSRETURN_UNDEF; + } + + size = (WORD)SendMessage(handle, EM_LINELENGTH, (WPARAM)index, 0); + /* we don't check the error condition of size == 0, as we have + * already checked the return value from EM_LINEINDEX, and have a valid + * index. A return value of zero means we have an empty line, and + * should return that. + */ + + /* ensure buffer is big enough to hold a WORD */ + if (size < sizeof(WORD) ) { + size = (sizeof(WORD)/sizeof(TCHAR)); + } + /* allocate buffer, adding one for the NUL termination */ + /* TODO: The strategy used here results in the buffer being + * copied twice: once from the textfield to pBuf, and then + * a second time from pBuf into the SV. We should create + * an SV of the correct size, and pass the pointer to it's + * buffer to EM_GETLINE + */ + New(0, pBuf, (int)(size+1), TCHAR); + + /* put the size into the first word of the buffer */ + *((WORD*)pBuf) = size; + + /* get the text */ + size = (WORD)SendMessage(handle, EM_GETLINE, line, (LPARAM)pBuf); + /* Again, we don't check the error condition of size == 0, as we have + * already checked the return value from EM_LINEINDEX, and have a valid + * line. A return value of zero means we have an empty line, and + * should return that. + */ + + /* ensure we are NUL terminated - this is NOT done by EM_GETLINE */ + pBuf[size] = 0; + + /* return the text */ + EXTEND(SP, 1); + XST_mPV(0, pBuf); + Safefree(pBuf); + XSRETURN(1); ########################################################################### Index: Tooltip.xs =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Tooltip.xs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Tooltip.xs 30 Aug 2006 21:57:58 -0000 1.9 --- Tooltip.xs 20 Jan 2007 17:09:22 -0000 1.10 *************** *** 1105,1111 **** if(strcmp(icon, "error") == 0) { i = 3; - } else if(strcmp(icon, "info") == 0) { - i = 2; } else if(strcmp(icon, "warning") == 0) { i = 1; } else if(strcmp(icon, "none") == 0) { --- 1105,1111 ---- if(strcmp(icon, "error") == 0) { i = 3; } else if(strcmp(icon, "warning") == 0) { + i = 2; + } else if(strcmp(icon, "info") == 0) { i = 1; } else if(strcmp(icon, "none") == 0) { Index: GUI_Helpers.cpp =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI_Helpers.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** GUI_Helpers.cpp 30 Aug 2006 21:57:58 -0000 1.22 --- GUI_Helpers.cpp 20 Jan 2007 17:09:22 -0000 1.23 *************** *** 93,97 **** SV* SvParent = SV_SELF_FROM_WINDOW(parent); if (SvParent != NULL && SvROK(SvParent)) { ! hv_delete((HV*) SvRV(SvParent), perlud->szWindowName, strlen(perlud->szWindowName), G_DISCARD); } } --- 93,109 ---- SV* SvParent = SV_SELF_FROM_WINDOW(parent); if (SvParent != NULL && SvROK(SvParent)) { ! /* During global destruction it is possible that the ! * underlying object supporting our tied hash is ! * destroyed before the object itself, this results in ! * fatal errors "(during cleanup) Can't call method ! * "DELETE" on an undefined value" - so we check that ! * the tied magic is still there before we try to ! * delete from the parent ! */ ! MAGIC* mg; ! if ( (mg = mg_find(SvRV(SvParent), PERL_MAGIC_tied)) && SvROK(mg->mg_obj) ) { ! hv_delete((HV*) SvRV(SvParent), perlud->szWindowName, ! strlen(perlud->szWindowName), G_DISCARD); ! } } } Index: GUI.h =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI.h,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** GUI.h 30 Aug 2006 21:57:58 -0000 1.30 --- GUI.h 20 Jan 2007 17:09:22 -0000 1.31 *************** *** 368,371 **** --- 368,375 ---- #endif + #ifndef PERL_MAGIC_tied + # define PERL_MAGIC_tied 'P' /* Tied array or hash */ + #endif + /* * other useful things |