wnd-commit Mailing List for wnd (Page 7)
Status: Alpha
Brought to you by:
jurner
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(125) |
Jun
|
Jul
(138) |
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: jürgen u. <cer...@us...> - 2005-07-02 08:50:44
|
Update of /cvsroot/wnd/wnd/wnd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22622 Modified Files: __init__.py fwtypes.py wintypes.py Log Message: bit of this and a bit of that Index: fwtypes.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/fwtypes.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fwtypes.py 1 May 2005 15:13:09 -0000 1.2 --- fwtypes.py 2 Jul 2005 08:50:35 -0000 1.3 *************** *** 124,127 **** --- 124,166 ---- + + class Handles(object): + def __init__(self, initval=0): + import thread + + self.handles= [initval, ] + self.lock= thread.allocate_lock() + + + def Close(self, handle): + self.lock.acquire() + try: + self.handles.remove(handle) + except: + self.lock.release() + raise ValueError, "no handle found to close" + self.lock.release() + + def New(self): + self.lock.acquire() + result= None + tmp_h= self.handles[:] + s= len(self.handles) + for n, i in enumerate(tmp_h): + if n+1 < s: + if self.handles[n+1] > i+1: + self.handles.insert(n+1, i+1) + result= i+1 + break + + else: + self.handles.append(i+1) + result= i+1 + + self.lock.release() + return result + + + """*************************************************************** filter class for message loops to print out formated message strings *************** *** 270,273 **** --- 309,329 ---- + """****************************************************************** + Sets or clears the MsgReflect flag for a window + + By default a control sets the fReturn flag in the MSGREFLECT struct + to 1 when being passed a reflected message, to indicate that the control + passing the message should not pass the message to DefWindowProc in + response. + This causes trouble with controls whos parent relies on the messages + from their childwindow being passed (dample. edit controls of comboboxes). + For these controls the MsgReflect flag should be cleared to enshure + default processing + + ******************************************************************""" + def SetFlagMsgReflect(window, Bool): + if hasattr(window, '_base_fMsgReflect'): + window._base_fMsgReflect= Bool and 1 or 0 + """******************************************************************** handlers for reflecting messages *************** *** 337,341 **** # they do block all messages here # ?? do it anyway ! return ReflectMessage(hwnd, user32.GetDlgItem(hwnd, wp), msg, wp, lp) elif msg==44: # WM_MEASUREITEN --- 393,399 ---- # they do block all messages here # ?? do it anyway ! if wp: ! return ReflectMessage(hwnd, user32.GetDlgItem(hwnd, wp), msg, wp, lp) ! ## let menu messages slip elif msg==44: # WM_MEASUREITEN *************** *** 344,349 **** # they do block all messages here # ?? do it anyway ! return ReflectMessage(hwnd, user32.GetDlgItem(hwnd, wp),msg, wp, lp) ! return None --- 402,409 ---- # they do block all messages here # ?? do it anyway ! if wp: ! return ReflectMessage(hwnd, user32.GetDlgItem(hwnd, wp),msg, wp, lp) ! ## let menu messages slip ! return None Index: wintypes.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/wintypes.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wintypes.py 18 May 2005 19:26:39 -0000 1.2 --- wintypes.py 2 Jul 2005 08:50:35 -0000 1.3 *************** *** 68,72 **** def MAKEWORD(byte1, byte2): return byte1 | (byte2 << 8) def MAKELONG(word1, word2): return word1 | (word2 << 16) ! #def MAKEINTRESOURCE(i): return string_at(addressof(c_ulong(i)), sizeof(c_ulong)) def RGB(r, g, b): return r | (g<<8) | (b<<16) --- 68,78 ---- def MAKEWORD(byte1, byte2): return byte1 | (byte2 << 8) def MAKELONG(word1, word2): return word1 | (word2 << 16) ! def MAKEINTRESOURCE(i): ! p= create_string_buffer(4) ! memmove(p, addressof(c_int(i)), 4) ! return p ! ! ! #return LPSTR(addressof(c_ulong(i))) def RGB(r, g, b): return r | (g<<8) | (b<<16) *************** *** 118,122 **** rc = self.__class__() if not user32.SubtractRect(byref(rc), byref(self), byref(Rect)): ! raise "could not substract rect" return rc --- 124,129 ---- rc = self.__class__() if not user32.SubtractRect(byref(rc), byref(self), byref(Rect)): ! pass ! #raise "could not substract rect" return rc *************** *** 150,153 **** --- 157,161 ---- self.left, self.top, self.right, self.bottom = pt1.x, pt1.y, pt2.x, pt2.y + def InRect(self, Rect): if self.left >= Rect.left: Index: __init__.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 18 May 2005 19:26:03 -0000 1.3 --- __init__.py 2 Jul 2005 08:50:35 -0000 1.4 *************** *** 1,5 **** """Framework entry... """ ! __version__= "0.1.11" --- 1,5 ---- """Framework entry... """ ! __version__= "0.1.12" |
From: jürgen u. <cer...@us...> - 2005-05-18 19:34:17
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnamespace In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10170 Modified Files: shellnamespace.dtpl Log Message: new methods Index: shellnamespace.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnamespace/shellnamespace.dtpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** shellnamespace.dtpl 17 May 2005 20:16:25 -0000 1.3 --- shellnamespace.dtpl 18 May 2005 19:33:57 -0000 1.4 *************** *** 343,348 **** <code> HasFileSystemSubFolder( pIdl=None)</code><br> <P> ! Returns True if the item has subfolder(s) that are part of ! the file system. </P> --- 343,361 ---- <code> HasFileSystemSubFolder( pIdl=None)</code><br> <P> ! do not use this method, use ! <a HREF=" IsFileSystemAnchestor.html"> IsFileSystemAnchestor</a> ! instead ! </P> ! ! ! ! ::item:: IsFileSystemAnchestor ! <code>IsFileSystemAnchestor( pIdl=None)</code><br> ! <P> ! Returns True if the item is a root item of the file system. ! <br><br> ! This is not only True for drives, but aswell for the desktop and the drives ! folder. ! + other virtual folders may have set themselves as root items aswell. </P> |
From: jürgen u. <cer...@us...> - 2005-05-18 19:32:26
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/1. Whats new In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9651 Modified Files: whats new.dtpl Log Message: new release Index: whats new.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/1. Whats new/whats new.dtpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** whats new.dtpl 17 May 2005 20:15:18 -0000 1.2 --- whats new.dtpl 18 May 2005 19:32:05 -0000 1.3 *************** *** 2,271 **** ! ::defaultpage:: whats new in 0.1.1 ::contents-header1:: news ::contents-header2:: version history - ::site:: whats new in 0.1.1 - - <H3><a NAME="contents">changes in wnd 0.1.1</a></H3> ! <UL> ! <LI><a HREF="#new">new modules</a> ! <LI><a HREF="#controls">changes controls</a> ! <LI><a HREF="#api">changes api</a> ! <LI><a HREF="#gdi">changes gdi</a> ! <LI><a HREF="#unittests">changes unittests</a> ! </UL> ! <strong>NOTE:</strong> ! <br> ! Everything in the framework is still highly experimental. ! Guess up to version 0.2 everything in the framework may change ! without warning. I see no way in this state of developement to care about ! backwards compatibility. Sorry for this. ! <br><br> - <HR><HR> - <H3><a NAME="new" HREF="#contents">new modules</a></H3> ! <OL> ! <LI>added sample gui <b>gui_shellnotify</b> ! as sample of how to monitor file system related changes ! <br> ! See <code class=import>wnd.sample-guis.gui_shellnotify</code> ! <LI>added new module <b>winpath</b> to wrap shlwapi path apis <br> ! See <code class=import>wnd.api.winpath</code> ! <LI>added custom control <b>ODCombobox</b> to handle ownerdrawing of ! Comboboxes <br> ! See <code class=import>wnd.custom.odcombobox</code> - <LI>added custom control <b>ODListbox</b> to handle ownerdrawing of - Listboxes - <br> - See <code class=import>wnd.custom.odlistbox</code> - </OL> ! ! <HR> ! <H3><a NAME="controls" HREF="#contents">-controls- bugs fixed and other changes</a></H3> ! <OL> ! <LI>docs claim that max error level for the gui is 10. This is not correct. In ! some far future the framework may be that tolerant. Currently it is set to ! 0 (zero), meaning that every exception raised will take down the GUI. ! This is due to gdi errors, tending to deadlock the system. ! ! <LI>all controls now send a message 'destroy' now when closed ! ! <LI><b>DeferWindows</b> now accepts (None, None) for x- and y-parameter to not ! move and (None, None) for w- and h-parameter to not size the window. ! ! <br><br> - <OL><b>treeview</b> - <br> - ...was a complete mess, so I changed pretty much here. Its - deffinitely not backwards compatible to 0.1. Sorry for this. - - <br><br> - <LI>new method <b>SetChildInfo</b> to let you set the flag indicating if a - treeview item has subitems at runtime - <LI>all imagelist methods where misspelled. - *Imaglist* is correct. Was *ImageList* - <LI>childinfo parameter in Item and InsertItem methods should work now - + can now be set to -1 to make this a callback item - <LI><b>Item</b> and <b>InsertItem</b> methods accept now a item handle as fInsert - parameter - <LI><b>'getdispinfo'</b> message, not send at all, should work now - - <LI><b>'setdipinfo'</b> message is now<br> - lp=hItem<br> - wp= tuple(lParam, text) - - <LI><b>'removeitem'</b> message is now<br> - lp=hItem<br> - wp=lParamItem - - <LI><b>'selchange'</b> message is now<br> - wp = hItem<br> - lp = hOldItem - - <LI><b>'beginlabeledit'</b> message is now<br> - wp = hItem<br> - lp = tuple(lParam, text) - - <LI><b>'endlabeledit'</b> message is now<br> - wp = hItem<br> - lp = tuple(lParam, text) - - <LI><b>'begindrag'</b> message is now<br> - wp = hItem<br> - lp = tuple(lParam, POINT) - - <LI><b>'beginrdrag'</b> message is now<br> - wp = hItem<br> - lp = tuple(lParam, POINT) - <br> - (was not send at all in 0.1) - - <LI>+ some other bugs fixed - <br> - See <code class=import>wnd.controls.treeview</code> - </OL> - <br> - <OL><b>Listview</b> - <br> - <LI>you can now specify an overlay image in Item and Insertitemm methods - <br> - See <code class=import>wnd.controls.listview</code> - </OL> ! <br> ! <OL><b>Listbox</b> ! <br> ! <LI>fixed bug in message handler. Listbox did not send 'errspace', 'cancel' ! and 'select' messages ! <LI>fixed bug, concerning 'multiplesel' and 'extendedsel' styles, when changed at ! runtime could deadlock the Listbox, this is fixed now by not allowing ! these styles changing ! <br> ! See <code class=import>wnd.controls.listbox</code> ! </OL> <br> ! <OL><b>Imagelist</b> <br> ! <LI>imagelists supportds two new classes: ! <b>Disposableimagelist</b> and <b>SystemImagelist</b> - <LI>fixed typo in <b>GetIcon</b>. GetIcon should work now - <LI>fixed typo in <b>DrawEx</b>, DrawEx should work now ! <br> ! See <code class=import>wnd.controls.imagelist</code> ! </OL> ! <br> ! <OL><b>Menu</b> <br> ! <LI> some typos fixed in method <b>Walk</b>, Walk should work now ! <br> ! See <code class=import>wnd.controls.menu</code> ! </OL> - </OL> ! <HR> ! <H3><a NAME="api" HREF="#contents"> -api- bugs fixed and other changes</a></H3> - <OL> - <OL><b>process</b> <br> ! <LI>fixed some typos in <b>ShellExec</b> + <b>WinExec</b> ! /show parameter had wrong format ! <br> ! See <code class=import>wnd.api.process</code> ! </OL> ! ! <br> ! <OL><b>ShellNotify</b> <br> ! <LI><b>Register</b> method supports now flags parameter, ! to allow more specified adjustement of wich events to monitor ! <br> ! See <code class=import>wnd.api.shell</code> ! </OL> ! <br> ! <OL><b>ShellNamespace</b> <br> ! ! <LI>new method <b>GetAttributes</b> to retrive attributes from const ! values ! <LI>new method <b>IsDesktopFolder</b> ! determines if the current working directory is the desktop folder ! <LI>Fixed bug concerning encodings. NameSpace supports now default ! locale ! <LI><b>SetCwd</b> accepts now None as pIdl for the directory to be set ! as current, to switch now to the desktop directory ! <LI>all attribute retrieving methods returned the wrong attributes ! if no pIdl was specified and the current directory was not the desktop ! directory. This is corrected now. ! <LI><b>HasFileSystemSubFolder</b> method was nonsense ! Use <b>IsFileSystemAnchestor</b> instead ! <LI>the pIdl in passed to merhod <b>DirDown</b> is no longer freed. ! Its up to the caller to free it now ! <br> ! See <code class=import>wnd.api.shell</code> </OL> - </OL> ! <HR> ! <H3><a NAME="gdi" HREF="#contents">-gdi- bugs fixed and other changes</a></H3> ! <OL> ! ! <LI>implemented a new function <b>GetSysIconIndex</b>, ! returning the index of an icon in the systems imagelist ! ! <br><br> ! <OL><b>Brush</b> <br> ! <LI>implemented new class <b>StockBrush</b> ! <br> ! See <code class=import>wnd.api.gdi</code> ! </OL> ! ! <br> ! <OL><b>Region</b> <br> ! <LI>Fixed bug in gdi regions: type POINT was not declared ! <LI>Fixed several typos in <b>EllipticRegion</b> ! </OL> ! ! </OL> - - <HR> - <H3><a NAME="unittests" HREF="#contents">-unittests- bugs fixed and other changes</a></H3> ! <OL> ! <LI>sample ani for animation test was not included in release ! <br> ! See <code class=import>wnd.unittests.controls</code> ! </OL> ! <br><br><br><br><br><br><br> - ::folder:: version history ! ::item:: changes in release 0.1 initial release 29.04.05 - --- 2,346 ---- ! ::defaultpage:: whats new in 0.1.11 ::contents-header1:: news ::contents-header2:: version history + ::site:: whats new in 0.1.11 + <H3><a NAME="contents">changes in wnd 0.1.11</a></H3> + release 0.1.1 18.05.05 + <br><br> + <UL> + <LI><a HREF="#main">changes main</a> + <LI><a HREF="#controls">changes controls</a> + <LI><a HREF="#api">changes api</a> + </UL> + <strong>NOTE:</strong> + <br> ! Bugfix version ! <br> ! Everything in the framework is still highly experimental. ! Guess up to version 0.2 everything in the framework may change ! without warning. I see no way in this state of developement to care about ! backwards compatibility. Sorry for this. ! <br><br> + <HR><HR> + <H3><a NAME="main" HREF="#contents">-main- bugs fixed and other changes</a></H3> ! <OL><b>wintypes</b> ! <br> ! <LI> fixed bug in wintypes.py where VER_COMCTL test could fail for versions ! higher then 4.71 ! <br> ! See <code class=import>wnd.wintypes</code> ! </OL> + + <HR> + <H3><a NAME="controls" HREF="#contents">-controls- bugs fixed and other changes</a></H3> ! <OL> <br> ! <OL><b>Listview</b> ! <br> ! <LI> <b>>ItemHittest</b> method supports now addional flags + 'item' flag ! was not correct + return value is now a list containing one or more ! flags following the item and subitem index. ! <br> ! See <code class=import>wnd.controls.listview</code> ! </OL> ! ! <br> ! <OL><b>Menu</b> ! <br> ! <LI><b>Popup</b> instances support the ListItems method now ! <br> ! See <code class=import>wnd.controls.menu</code> ! </OL> ! </OL> ! <HR> ! <H3><a NAME="api" HREF="#contents"> -api- bugs fixed and other changes</a></H3> ! <OL> ! <OL><b>ShellNamespace</b> ! <br> ! ! <LI>new method <b>IterItems</b> ! This method lets you specify in detail wich items to include in ! the enumeration ! <LI>new method <b>GetData</b> ! Returns some additional data for a shell item ! <br> ! See <code class=import>wnd.api.shell</code> ! </OL> ! </OL> + + <br><br><br><br><br><br><br> ! ::folder:: version history ! ::item:: whats new in 0.1.1 ! ! <H3><a NAME="contents">changes in wnd 0.1.1</a></H3> ! ! release 0.1.1 17.05.05 ! <br><br> ! ! <UL> ! <LI><a HREF="#new">new modules</a> ! <LI><a HREF="#controls">changes controls</a> ! <LI><a HREF="#api">changes api</a> ! <LI><a HREF="#gdi">changes gdi</a> ! <LI><a HREF="#unittests">changes unittests</a> ! </UL> + <strong>NOTE:</strong> <br> ! Everything in the framework is still highly experimental. ! Guess up to version 0.2 everything in the framework may change ! without warning. I see no way in this state of developement to care about ! backwards compatibility. Sorry for this. ! <br><br> ! ! <HR><HR> ! <H3><a NAME="new" HREF="#contents">new modules</a></H3> ! ! ! <OL> ! <LI>added sample gui <b>gui_shellnotify</b> ! as sample of how to monitor file system related changes <br> ! See <code class=import>wnd.sample-guis.gui_shellnotify</code> ! <LI>added new module <b>winpath</b> to wrap shlwapi path apis ! <br> ! See <code class=import>wnd.api.winpath</code> ! <LI>added custom control <b>ODCombobox</b> to handle ownerdrawing of ! Comboboxes ! <br> ! See <code class=import>wnd.custom.odcombobox</code> ! ! <LI>added custom control <b>ODListbox</b> to handle ownerdrawing of ! Listboxes ! <br> ! See <code class=import>wnd.custom.odlistbox</code> ! </OL> ! <HR> ! <H3><a NAME="controls" HREF="#contents">-controls- bugs fixed and other changes</a></H3> ! <OL> ! <LI>docs claim that max error level for the gui is 10. This is not correct. In ! some far future the framework may be that tolerant. Currently it is set to ! 0 (zero), meaning that every exception raised will take down the GUI. ! This is due to gdi errors, tending to deadlock the system. ! ! <LI>all controls now send a message 'destroy' now when closed ! ! <LI><b>DeferWindows</b> now accepts (None, None) for x- and y-parameter to not ! move and (None, None) for w- and h-parameter to not size the window. ! ! <br><br> ! ! <OL><b>treeview</b> ! <br> ! ...was a complete mess, so I changed pretty much here. Its ! deffinitely not backwards compatible to 0.1. Sorry for this. ! ! <br><br> ! <LI>new method <b>SetChildInfo</b> to let you set the flag indicating if a ! treeview item has subitems at runtime ! <LI>all imagelist methods where misspelled. ! *Imaglist* is correct. Was *ImageList* ! <LI>childinfo parameter in Item and InsertItem methods should work now ! + can now be set to -1 to make this a callback item ! <LI><b>Item</b> and <b>InsertItem</b> methods accept now a item handle as fInsert ! parameter ! <LI><b>'getdispinfo'</b> message, not send at all, should work now ! ! <LI><b>'setdipinfo'</b> message is now<br> ! lp=hItem<br> ! wp= tuple(lParam, text) ! ! <LI><b>'removeitem'</b> message is now<br> ! lp=hItem<br> ! wp=lParamItem ! ! <LI><b>'selchange'</b> message is now<br> ! wp = hItem<br> ! lp = hOldItem ! ! <LI><b>'beginlabeledit'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, text) ! ! <LI><b>'endlabeledit'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, text) ! ! <LI><b>'begindrag'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, POINT) ! ! <LI><b>'beginrdrag'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, POINT) ! <br> ! (was not send at all in 0.1) ! ! <LI>+ some other bugs fixed <br> ! See <code class=import>wnd.controls.treeview</code> ! </OL> + <br> + <OL><b>Listview</b> + <br> + <LI>you can now specify an overlay image in Item and Insertitemm methods + <br> + See <code class=import>wnd.controls.listview</code> + </OL> ! <br> ! <OL><b>Listbox</b> ! <br> ! <LI>fixed bug in message handler. Listbox did not send 'errspace', 'cancel' ! and 'select' messages ! <LI>fixed bug, concerning 'multiplesel' and 'extendedsel' styles, when changed at ! runtime could deadlock the Listbox, this is fixed now by not allowing ! these styles changing <br> ! See <code class=import>wnd.controls.listbox</code> ! </OL> ! ! <br> ! <OL><b>Imagelist</b> ! <br> ! <LI>imagelists supportds two new classes: ! <b>Disposableimagelist</b> and <b>SystemImagelist</b> ! ! <LI>fixed typo in <b>GetIcon</b>. GetIcon should work now ! <LI>fixed typo in <b>DrawEx</b>, DrawEx should work now ! <br> ! See <code class=import>wnd.controls.imagelist</code> ! </OL> ! <br> ! <OL><b>Menu</b> ! <br> ! <LI> some typos fixed in method <b>Walk</b>, Walk should work now <br> ! See <code class=import>wnd.controls.menu</code> ! </OL> ! </OL> ! <HR> ! <H3><a NAME="api" HREF="#contents"> -api- bugs fixed and other changes</a></H3> ! <OL> ! <OL><b>process</b> ! <br> ! <LI>fixed some typos in <b>ShellExec</b> + <b>WinExec</b> ! /show parameter had wrong format <br> ! See <code class=import>wnd.api.process</code> ! </OL> ! <br> ! <OL><b>ShellNotify</b> ! <br> ! <LI><b>Register</b> method supports now flags parameter, ! to allow more specified adjustement of wich events to monitor <br> ! See <code class=import>wnd.api.shell</code> ! </OL> + <br> + <OL><b>ShellNamespace</b> + <br> + + <LI>new method <b>GetAttributes</b> to retrive attributes from const + values + <LI>new method <b>IsDesktopFolder</b> + determines if the current working directory is the desktop folder + <LI>Fixed bug concerning encodings. NameSpace supports now default + locale + <LI><b>SetCwd</b> accepts now None as pIdl for the directory to be set + as current, to switch now to the desktop directory + <LI>all attribute retrieving methods returned the wrong attributes + if no pIdl was specified and the current directory was not the desktop + directory. This is corrected now. + <LI><b>HasFileSystemSubFolder</b> method was nonsense + Use <b>IsFileSystemAnchestor</b> instead + <LI>the pIdl in passed to merhod <b>DirDown</b> is no longer freed. + Its up to the caller to free it now + <br> + See <code class=import>wnd.api.shell</code> + </OL> + </OL> ! <HR> ! <H3><a NAME="gdi" HREF="#contents">-gdi- bugs fixed and other changes</a></H3> ! <OL> ! <LI>implemented a new function <b>GetSysIconIndex</b>, ! returning the index of an icon in the systems imagelist ! ! <br><br> ! <OL><b>Brush</b> ! <br> ! <LI>implemented new class <b>StockBrush</b> ! ! <br> ! See <code class=import>wnd.api.gdi</code> ! </OL> ! ! <br> ! <OL><b>Region</b> ! <br> ! <LI>Fixed bug in gdi regions: type POINT was not declared ! <LI>Fixed several typos in <b>EllipticRegion</b> ! </OL> + </OL> + <HR> + <H3><a NAME="unittests" HREF="#contents">-unittests- bugs fixed and other changes</a></H3> + <OL> + <LI>sample ani for animation test was not included in release + <br> + See <code class=import>wnd.unittests.controls</code> + </OL> ! <br><br><br><br><br><br><br> ! ::item:: whats new in release 0.1 initial release 29.04.05 |
From: jürgen u. <cer...@us...> - 2005-05-18 19:29:30
|
Update of /cvsroot/wnd/wnd/wnd/api/shell In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8716 Modified Files: browseforfolder.py Log Message: ?? Index: browseforfolder.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/shell/browseforfolder.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** browseforfolder.py 15 May 2005 10:14:14 -0000 1.2 --- browseforfolder.py 18 May 2005 19:29:21 -0000 1.3 *************** *** 206,208 **** if __name__=='__main__': br= BrowseForFolder() ! br.Run() \ No newline at end of file --- 206,210 ---- if __name__=='__main__': br= BrowseForFolder() ! br.Run() ! ! |
From: jürgen u. <cer...@us...> - 2005-05-18 19:28:58
|
Update of /cvsroot/wnd/wnd/wnd/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8607 Modified Files: msgbox.py Log Message: bufix hwnd param Index: msgbox.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/msgbox.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** msgbox.py 29 Apr 2005 15:19:52 -0000 1.1.1.1 --- msgbox.py 18 May 2005 19:28:47 -0000 1.2 *************** *** 49,52 **** --- 49,54 ---- def Msg(hwnd, message, title, *styles): if not hwnd: hwnd=0 + if not isinstance(hwnd, (int, long)): + raise ValueError, "eror arg1, hwnd required, found type:" % type(hwnd) style= 0 for i in styles: |
From: jürgen u. <cer...@us...> - 2005-05-18 19:26:51
|
Update of /cvsroot/wnd/wnd/wnd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7936 Modified Files: wintypes.py Log Message: bugfix VER_COMCTL Index: wintypes.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/wintypes.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** wintypes.py 29 Apr 2005 15:19:42 -0000 1.1.1.1 --- wintypes.py 18 May 2005 19:26:39 -0000 1.2 *************** *** 308,316 **** # some message box would be nice here result=DllGetVersion(comctl32) ! VER_COMCTL = int('%d%d' % (result.dwMajorVersion, ! result.dwMinorVersion)) ! if VER_COMCTL < 471: ! ver = str(VER_COMCTL) ! raise "Sorry, at least comctl32.dll version 4.71 is required.\n Found version %s.%s" % (ver[0], ver[1:]) #OS_NAME = winos.Name() \ No newline at end of file --- 308,317 ---- # some message box would be nice here result=DllGetVersion(comctl32) ! VER_COMCTL =result.dwMajorVersion, result.dwMinorVersion ! if VER_COMCTL < (4, 71): ! from wnd.api.msgbox import Msg ! msg= '''Sorry, at least comctl32.dll version 4.71 is required. ! Found version %s.%s'''.replace('\t', '') ! Msg(0, msg % VER_COMCTL, 'wnd-module', 'ok', 'systemmodal') #OS_NAME = winos.Name() \ No newline at end of file |
From: jürgen u. <cer...@us...> - 2005-05-18 19:26:18
|
Update of /cvsroot/wnd/wnd/wnd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7822 Modified Files: __init__.py Log Message: new release Index: __init__.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 17 May 2005 20:04:29 -0000 1.2 --- __init__.py 18 May 2005 19:26:03 -0000 1.3 *************** *** 1,5 **** """Framework entry... """ ! __version__= "0.1.1" --- 1,5 ---- """Framework entry... """ ! __version__= "0.1.11" |
From: jürgen u. <cer...@us...> - 2005-05-18 18:53:53
|
Update of /cvsroot/wnd/wnd/wnd/unittests/gdi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32108/gdi Log Message: Directory /cvsroot/wnd/wnd/wnd/unittests/gdi added to the repository --> Using per-directory sticky tag `release-0-1-1' |
From: jürgen u. <cer...@us...> - 2005-05-17 20:24:26
|
Update of /cvsroot/wnd/wnd/wnd/unittests/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14558 Modified Files: test_shell.py Log Message: new unittest Index: test_shell.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/unittests/api/test_shell.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test_shell.py 15 May 2005 09:46:17 -0000 1.1 --- test_shell.py 17 May 2005 20:24:17 -0000 1.2 *************** *** 1,4 **** ! import dbg from wnd.api import shell --- 1,4 ---- ! from wnd.api import shell |
From: jürgen u. <cer...@us...> - 2005-05-17 20:17:58
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/listview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12925 Modified Files: listview.dtpl Log Message: bit of this and a bit of that Index: listview.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/listview/listview.dtpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** listview.dtpl 15 May 2005 10:04:18 -0000 1.2 --- listview.dtpl 17 May 2005 20:17:15 -0000 1.3 *************** *** 1363,1369 **** coordinates to test for. If an item or subitem is found at the position its index is return value is a ! tuple(iItem, iSubItem, hit-position), else return value is None. <br> ! Hit-position indicates where exactly the item was hit: <DL> <DT>'icon' --- 1363,1369 ---- coordinates to test for. If an item or subitem is found at the position its index is return value is a ! list[iItem, iSubItem, hit-position, *flags], else return value is None. <br> ! *flags cabn be or more flags ndicating where exactly the item was hit: <DL> <DT>'icon' *************** *** 1374,1378 **** <DD>the part containing the state image was hit <DT>'item' ! <DD>undeterminated </DL> </P> --- 1374,1381 ---- <DD>the part containing the state image was hit <DT>'item' ! <DD>either on label or on icon or on state image ! <DT>'nowhere' ! <DD>not on 'item' ! </DL> </P> |
From: jürgen u. <cer...@us...> - 2005-05-17 20:16:36
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnamespace In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12731 Modified Files: shellnamespace.dtpl Log Message: bit of this and a bit of that Index: shellnamespace.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnamespace/shellnamespace.dtpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shellnamespace.dtpl 15 May 2005 10:19:11 -0000 1.2 --- shellnamespace.dtpl 17 May 2005 20:16:25 -0000 1.3 *************** *** 59,62 **** --- 59,74 ---- </P> + ::item:: iterItems + <code>iterItems(folders=True, nonfolders=True, hidden=True)</code><br> + <P>Iterates over the contents of the current folder, returning + a relative pIdl for each item in turn. You should free each + pIdl using the 'FreePidl' method. + <br><br> + If <i>folders</i> is true, folders are included in the enumeration, + if <i>nonfolders</i> is True non folders are included, if <i>hidden</i> + is True hidden items are included. + </P> + + ::item:: Close <code>Close()</code><br> *************** *** 153,156 **** --- 165,187 ---- </P> + + ::item:: GetData + <code>GetData(pIdl)</code><br> + <P>Returns some additional data for an iotem. + <br><br> + pIdl must be a pIdl relative to the current folder. + <br><br> + <b>Return value</b><br> + Either a tuple(size (bytes), last-write-time (||type-FILETIME||)) or None + if no data could be retrieved. + + <br><br> + <b>Note</b><br> + This data is all the shell is capable to return for an item. + creation- and modify time would be nice to have, too, but + they are not available through the shell. + </P> + + ::item:: GetIconIndex <code>GetIconIndex(pIdl=None)</code><br> |
From: jürgen u. <cer...@us...> - 2005-05-17 20:16:00
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/api/shell In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12478 Modified Files: shell.dtpl Log Message: bit of this and a bit of that Index: shell.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shell.dtpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** shell.dtpl 29 Apr 2005 15:15:50 -0000 1.1.1.1 --- shell.dtpl 17 May 2005 20:15:51 -0000 1.2 *************** *** 9,20 **** --- 9,30 ---- ::folder:: Shell functions + + ::item:: HRESULT_CODE + <code>HRESULT_CODE(HRESULT)</code><br> + <P>macro to extract the code part from an HRESULT + </P> + + ::item:: CopyFiles <code>CopyFiles(From, To, title='', hwnd=0, *flags)</code><br> + <P> Convenience wrapper for <a HREF="FileOperation.html">FileOperation</a> 'copy' + </P> ::item:: FileOperation <code>FileOperation(fileaction, From, To, title='', hwnd=0, *flags)</code><br> + <P> Performs a file operation.<br> <DL> *************** *** 64,68 **** </DL> ! If the paths specified are relative paths the current working directory is assumed to be the root of the files. --- 74,78 ---- </DL> ! If the paths specified are relative paths the current working directory is assumed to be the root of the files. *************** *** 72,75 **** --- 82,88 ---- <br><br> The deal about FileOperation is, unlike os module, you get all the standard windows error dialogs. + </P> + + ::item:: GetPathFromPidl *************** *** 86,90 **** Convenience wrapper for <a HREF="FileOperation.html">FileOperation</a> 'delete' ! </P> --- 99,103 ---- Convenience wrapper for <a HREF="FileOperation.html">FileOperation</a> 'delete' ! </P> |
From: jürgen u. <cer...@us...> - 2005-05-17 20:15:31
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/1. Whats new In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12288 Modified Files: whats new.dtpl Log Message: bit of this and a bit of that Index: whats new.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/1. Whats new/whats new.dtpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** whats new.dtpl 29 Apr 2005 15:15:38 -0000 1.1.1.1 --- whats new.dtpl 17 May 2005 20:15:18 -0000 1.2 *************** *** 2,15 **** ! ::defaultpage:: whats new - ::site:: whats new ! <P>Nothing currently ! </P> ! #::folder:: what was new ! # ! # ::item:: --- 2,271 ---- ! ::defaultpage:: whats new in 0.1.1 ! ! ::contents-header1:: news ! ::contents-header2:: version history ! ! ! ! ::site:: whats new in 0.1.1 ! ! <H3><a NAME="contents">changes in wnd 0.1.1</a></H3> ! ! ! <UL> ! <LI><a HREF="#new">new modules</a> ! <LI><a HREF="#controls">changes controls</a> ! <LI><a HREF="#api">changes api</a> ! <LI><a HREF="#gdi">changes gdi</a> ! <LI><a HREF="#unittests">changes unittests</a> ! </UL> ! ! ! ! <strong>NOTE:</strong> ! <br> ! Everything in the framework is still highly experimental. ! Guess up to version 0.2 everything in the framework may change ! without warning. I see no way in this state of developement to care about ! backwards compatibility. Sorry for this. ! <br><br> ! ! <HR><HR> ! <H3><a NAME="new" HREF="#contents">new modules</a></H3> ! ! ! <OL> ! <LI>added sample gui <b>gui_shellnotify</b> ! as sample of how to monitor file system related changes ! <br> ! See <code class=import>wnd.sample-guis.gui_shellnotify</code> ! <LI>added new module <b>winpath</b> to wrap shlwapi path apis ! <br> ! See <code class=import>wnd.api.winpath</code> ! <LI>added custom control <b>ODCombobox</b> to handle ownerdrawing of ! Comboboxes ! <br> ! See <code class=import>wnd.custom.odcombobox</code> ! ! <LI>added custom control <b>ODListbox</b> to handle ownerdrawing of ! Listboxes ! <br> ! See <code class=import>wnd.custom.odlistbox</code> ! </OL> ! <HR> ! <H3><a NAME="controls" HREF="#contents">-controls- bugs fixed and other changes</a></H3> + <OL> + <LI>docs claim that max error level for the gui is 10. This is not correct. In + some far future the framework may be that tolerant. Currently it is set to + 0 (zero), meaning that every exception raised will take down the GUI. + This is due to gdi errors, tending to deadlock the system. + + <LI>all controls now send a message 'destroy' now when closed + + <LI><b>DeferWindows</b> now accepts (None, None) for x- and y-parameter to not + move and (None, None) for w- and h-parameter to not size the window. + + <br><br> ! ! <OL><b>treeview</b> ! <br> ! ...was a complete mess, so I changed pretty much here. Its ! deffinitely not backwards compatible to 0.1. Sorry for this. ! ! <br><br> ! <LI>new method <b>SetChildInfo</b> to let you set the flag indicating if a ! treeview item has subitems at runtime ! <LI>all imagelist methods where misspelled. ! *Imaglist* is correct. Was *ImageList* ! <LI>childinfo parameter in Item and InsertItem methods should work now ! + can now be set to -1 to make this a callback item ! <LI><b>Item</b> and <b>InsertItem</b> methods accept now a item handle as fInsert ! parameter ! <LI><b>'getdispinfo'</b> message, not send at all, should work now ! ! <LI><b>'setdipinfo'</b> message is now<br> ! lp=hItem<br> ! wp= tuple(lParam, text) ! ! <LI><b>'removeitem'</b> message is now<br> ! lp=hItem<br> ! wp=lParamItem ! ! <LI><b>'selchange'</b> message is now<br> ! wp = hItem<br> ! lp = hOldItem ! ! <LI><b>'beginlabeledit'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, text) ! ! <LI><b>'endlabeledit'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, text) ! ! <LI><b>'begindrag'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, POINT) ! ! <LI><b>'beginrdrag'</b> message is now<br> ! wp = hItem<br> ! lp = tuple(lParam, POINT) ! <br> ! (was not send at all in 0.1) ! ! <LI>+ some other bugs fixed ! <br> ! See <code class=import>wnd.controls.treeview</code> ! </OL> ! ! ! <br> ! <OL><b>Listview</b> ! <br> ! <LI>you can now specify an overlay image in Item and Insertitemm methods ! <br> ! See <code class=import>wnd.controls.listview</code> ! </OL> ! ! ! <br> ! <OL><b>Listbox</b> ! <br> ! <LI>fixed bug in message handler. Listbox did not send 'errspace', 'cancel' ! and 'select' messages ! <LI>fixed bug, concerning 'multiplesel' and 'extendedsel' styles, when changed at ! runtime could deadlock the Listbox, this is fixed now by not allowing ! these styles changing ! ! <br> ! See <code class=import>wnd.controls.listbox</code> ! </OL> ! ! ! ! <br> ! <OL><b>Imagelist</b> ! <br> ! <LI>imagelists supportds two new classes: ! <b>Disposableimagelist</b> and <b>SystemImagelist</b> ! ! <LI>fixed typo in <b>GetIcon</b>. GetIcon should work now ! <LI>fixed typo in <b>DrawEx</b>, DrawEx should work now ! ! <br> ! See <code class=import>wnd.controls.imagelist</code> ! </OL> ! ! <br> ! <OL><b>Menu</b> ! <br> ! <LI> some typos fixed in method <b>Walk</b>, Walk should work now ! <br> ! See <code class=import>wnd.controls.menu</code> ! </OL> ! ! </OL> ! ! ! ! <HR> ! <H3><a NAME="api" HREF="#contents"> -api- bugs fixed and other changes</a></H3> ! ! <OL> ! <OL><b>process</b> ! <br> ! <LI>fixed some typos in <b>ShellExec</b> + <b>WinExec</b> ! /show parameter had wrong format ! <br> ! See <code class=import>wnd.api.process</code> ! </OL> ! ! <br> ! <OL><b>ShellNotify</b> ! <br> ! <LI><b>Register</b> method supports now flags parameter, ! to allow more specified adjustement of wich events to monitor ! <br> ! See <code class=import>wnd.api.shell</code> ! </OL> ! ! <br> ! <OL><b>ShellNamespace</b> ! <br> ! ! <LI>new method <b>GetAttributes</b> to retrive attributes from const ! values ! <LI>new method <b>IsDesktopFolder</b> ! determines if the current working directory is the desktop folder ! <LI>Fixed bug concerning encodings. NameSpace supports now default ! locale ! <LI><b>SetCwd</b> accepts now None as pIdl for the directory to be set ! as current, to switch now to the desktop directory ! <LI>all attribute retrieving methods returned the wrong attributes ! if no pIdl was specified and the current directory was not the desktop ! directory. This is corrected now. ! <LI><b>HasFileSystemSubFolder</b> method was nonsense ! Use <b>IsFileSystemAnchestor</b> instead ! <LI>the pIdl in passed to merhod <b>DirDown</b> is no longer freed. ! Its up to the caller to free it now ! <br> ! See <code class=import>wnd.api.shell</code> ! </OL> ! </OL> ! ! ! <HR> ! <H3><a NAME="gdi" HREF="#contents">-gdi- bugs fixed and other changes</a></H3> ! ! <OL> ! ! <LI>implemented a new function <b>GetSysIconIndex</b>, ! returning the index of an icon in the systems imagelist ! ! <br><br> ! <OL><b>Brush</b> ! <br> ! <LI>implemented new class <b>StockBrush</b> ! ! <br> ! See <code class=import>wnd.api.gdi</code> ! </OL> ! ! <br> ! <OL><b>Region</b> ! <br> ! <LI>Fixed bug in gdi regions: type POINT was not declared ! <LI>Fixed several typos in <b>EllipticRegion</b> ! </OL> ! ! </OL> ! ! ! ! <HR> ! <H3><a NAME="unittests" HREF="#contents">-unittests- bugs fixed and other changes</a></H3> ! ! <OL> ! <LI>sample ani for animation test was not included in release ! <br> ! See <code class=import>wnd.unittests.controls</code> ! ! </OL> ! ! ! ! ! ! <br><br><br><br><br><br><br> ! ! ! ::folder:: version history ! ! ::item:: changes in release 0.1 ! initial release 29.04.05 |
From: jürgen u. <cer...@us...> - 2005-05-17 20:14:21
|
Update of /cvsroot/wnd/wnd/wnd/controls/treeview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12027 Modified Files: messagehandler.py Log Message: bit of this and a bit of that Index: messagehandler.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/controls/treeview/messagehandler.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** messagehandler.py 15 May 2005 09:38:02 -0000 1.2 --- messagehandler.py 17 May 2005 20:14:12 -0000 1.3 *************** *** 12,16 **** - import dbg from wnd.controls.treeview.header import * --- 12,15 ---- *************** *** 57,63 **** return 0 ! ! #dbg.debug(di) ! # still not quite shure how to handle this... # docs claim to copy the string into the buffer pointed to by --- 56,60 ---- return 0 ! # still not quite shure how to handle this... # docs claim to copy the string into the buffer pointed to by |
From: jürgen u. <cer...@us...> - 2005-05-17 20:13:48
|
Update of /cvsroot/wnd/wnd/wnd/controls/menu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11888 Modified Files: methods.py popup.py Log Message: bit of this and a bit of that Index: methods.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/controls/menu/methods.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** methods.py 29 Apr 2005 15:22:22 -0000 1.1.1.1 --- methods.py 17 May 2005 20:13:39 -0000 1.2 *************** *** 167,183 **** # menu iterators - - def ListItems(self, hMenu=None): - if not hMenu: - hMenu=self.handle - n = user32.GetMenuItemCount(hMenu) - mi= MENUITEMINFO() - out= [] - for i in range(n): - mi.fMask = 2 # MIIM_ID - user32.GetMenuItemInfoA(hMenu, i, 1, byref(mi)) - out.append(mi.wID) - return out - def Walk(self, hMenu=None): if not hMenu: --- 167,170 ---- *************** *** 190,195 **** handle = user32.GetSubMenu(hMenu, i) if handle: ! yield handle, self.ListMenu(handle) ! for i in self.MenuWalk(handle): yield i --- 177,182 ---- handle = user32.GetSubMenu(hMenu, i) if handle: ! yield handle, self.ListItems(handle) ! for i in self.Walk(handle): yield i Index: popup.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/controls/menu/popup.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** popup.py 15 May 2005 09:35:35 -0000 1.2 --- popup.py 17 May 2005 20:13:39 -0000 1.3 *************** *** 124,126 **** if not user32.SetMenuDefaultItem(self.handle, -1, 0): raise RuntimeError("could not set default item") ! return True \ No newline at end of file --- 124,139 ---- if not user32.SetMenuDefaultItem(self.handle, -1, 0): raise RuntimeError("could not set default item") ! return True ! ! ! def ListItems(self, hMenu=None): ! if not hMenu: ! hMenu=self.handle ! n = user32.GetMenuItemCount(hMenu) ! mi= MENUITEMINFO() ! out= [] ! for i in range(n): ! mi.fMask = 2 # MIIM_ID ! user32.GetMenuItemInfoA(hMenu, i, 1, byref(mi)) ! out.append(mi.wID) ! return out \ No newline at end of file |
From: jürgen u. <cer...@us...> - 2005-05-17 20:08:30
|
Update of /cvsroot/wnd/wnd/wnd/controls/listview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10305 Modified Files: methods.py Log Message: bit of this and a bit of that Index: methods.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/controls/listview/methods.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** methods.py 15 May 2005 09:35:09 -0000 1.2 --- methods.py 17 May 2005 20:08:04 -0000 1.3 *************** *** 434,439 **** lfi.pt = x, y lfi.vkDirection =VK_DOWN ! result = self.SendMessage(self.Hwnd, ! self.Msg.LVM_FINDITEM, start, byref(lfi)) if result > -1: return result --- 434,438 ---- lfi.pt = x, y lfi.vkDirection =VK_DOWN ! result = self.SendMessage(self.Hwnd, self.Msg.LVM_FINDITEM, start, byref(lfi)) if result > -1: return result *************** *** 564,572 **** lvh = LVHITTESTINFO(pt) result=self.SendMessage(self.Hwnd, self.Msg.LVM_SUBITEMHITTEST, 0, byref(lvh)) ! if lvh.flags==2: flag = 'icon' # LVHT_ONITEMICON ! elif lvh.flags==4: flag='label' # LVHT_ONITEMLABEL ! elif lvh.flags==8: flag='state' # LVHT_ONITEMSTATEICON ! else: flag='item' ! if result >-1: return result, lvh.iSubItem, flag def GetStringWidth(self, *strings): --- 563,574 ---- lvh = LVHITTESTINFO(pt) result=self.SendMessage(self.Hwnd, self.Msg.LVM_SUBITEMHITTEST, 0, byref(lvh)) ! out= [result, lvh.iSubItem] ! if lvh.flags & (2|4|8): ! out.append('item') ! if lvh.flags & 2: out.append('icon') # LVHT_ONITEMICON ! if lvh.flags & 4: out.append('label') # LVHT_ONITEMLABEL ! if lvh.flags==8: out.append('state') # LVHT_ONITEMSTATEICON ! if lvh.flags & 1: out.append('nowhere') # LVHT_NOWHERE ! if result >-1: return out def GetStringWidth(self, *strings): *************** *** 625,630 **** hwndEdit = self.SendMessage(self.Hwnd, self.Msg.LVM_EDITLABEL, lineno, 0) ! if not hwndEdit: raise RuntimeError("could not edit label") ! return TextinFromHandle(hwndEdit) def SetItemCount(self, n, noinvalidate=False, noscroll=False): --- 627,632 ---- hwndEdit = self.SendMessage(self.Hwnd, self.Msg.LVM_EDITLABEL, lineno, 0) ! #if not hwndEdit: raise RuntimeError("could not edit label") ! #return TextinFromHandle(hwndEdit) def SetItemCount(self, n, noinvalidate=False, noscroll=False): |
From: jürgen u. <cer...@us...> - 2005-05-17 20:07:26
|
Update of /cvsroot/wnd/wnd/wnd/api/shell In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9952 Modified Files: __init__.py namespace.py shellnotify.py wintypes.py Log Message: bit of this and a bit of that Index: wintypes.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/shell/wintypes.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wintypes.py 15 May 2005 10:14:14 -0000 1.2 --- wintypes.py 17 May 2005 20:07:00 -0000 1.3 *************** *** 44,48 **** ("hIcon", HANDLE)] ! --- 44,48 ---- ("hIcon", HANDLE)] ! def __init__(self): self.cbSize= sizeof(self) Index: namespace.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/shell/namespace.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** namespace.py 15 May 2005 10:14:14 -0000 1.2 --- namespace.py 17 May 2005 20:07:00 -0000 1.3 *************** *** 11,15 **** - import dbg from wnd.api.shell.wintypes import * from wnd.api.shell.shellicon import (IExtractIcon, --- 11,14 ---- *************** *** 23,29 **** PidlSplit, PidlGetParent, ! PidlFree, ! PidlPrint # XXX move out ! ) from wnd.api.shell.consts import * --- 22,26 ---- PidlSplit, PidlGetParent, ! PidlFree,) from wnd.api.shell.consts import * *************** *** 127,130 **** --- 124,146 ---- + + def IterItems(self, folders=True, nonfolders=True, hidden=True): + flags= 0 + if folders: + flags |= SHCONTF_FOLDERS + if nonfolders: + flags |= SHCONTF_NONFOLDERS + if hidden: + flags |= SHCONTF_INCLUDEHIDDEN + enum = POINTER(IEnumIDList)() + self.cwDir[0].EnumObjects(0, flags, byref(enum)) + fetched = c_ulong() + EnumNext=enum.Next + while True: + pIdl = PIDL() + if EnumNext(1, byref(pIdl), byref(fetched)): break + yield pIdl + + def __iter__(self): flags = SHCONTF_FOLDERS | SHCONTF_NONFOLDERS | SHCONTF_INCLUDEHIDDEN *************** *** 281,285 **** if not pIdl: pIShellFolder,pIdl=self.pIShellFolder,self.cwDir[1] ! else:pIShellFolder = self.cwDir[0] n = c_int() result = self.pIShellIcon.GetIconOf(pIdl, 0, byref(n)) --- 297,302 ---- if not pIdl: pIShellFolder,pIdl=self.pIShellFolder,self.cwDir[1] ! else: ! pIShellFolder = self.cwDir[0] n = c_int() result = self.pIShellIcon.GetIconOf(pIdl, 0, byref(n)) *************** *** 290,296 **** pIShellFolder.GetUIObjectOf(0, 1, byref(pIdl), REFIID(IExtractIcon._iid_), byref(c_uint()), byref(pIExtractIcon)) - n = c_int() flags = c_uint() ! p = create_string_buffer(260) # MAX_PATH pIExtractIcon.GetIconLocation(0, addressof(p), sizeof(p), byref(n), byref(flags)) --- 307,312 ---- pIShellFolder.GetUIObjectOf(0, 1, byref(pIdl), REFIID(IExtractIcon._iid_), byref(c_uint()), byref(pIExtractIcon)) flags = c_uint() ! p = create_string_buffer(260 +1) # MAX_PATH pIExtractIcon.GetIconLocation(0, addressof(p), sizeof(p), byref(n), byref(flags)) *************** *** 368,371 **** --- 384,397 ---- + def GetData(self, pIdl): + # SHGDFIL_FINDDATA = 1 + data= WIN32_FIND_DATAA() + if shell32.SHGetDataFromIDListA(self.cwDir[0], pIdl, 1, byref(data), sizeof(WIN32_FIND_DATAA)): + return None + #MAXDWORD = 0xffffffff + return ((data.nFileSizeHigh * 0xffffffff) + data.nFileSizeLow, + data.ftLastWriteTime) + + def GetAttributes(self, pIdl, attrs, nItems=1): *************** *** 457,461 **** def IsCompressed(self, pIdl=None): - """Returns True if the item is compressed""" return bool(self.GetAttributes(pIdl, SFGAO_COMPRESSED) & SFGAO_COMPRESSED) --- 483,486 ---- *************** *** 492,496 **** def CanLink(self, pIdl=None): - """Returns True if the item can be linked to""" return bool(self.GetAttributes(pIdl, DROPEFFECT_LINK) & DROPEFFECT_LINK) --- 517,520 ---- Index: __init__.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/shell/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 15 May 2005 10:14:14 -0000 1.2 --- __init__.py 17 May 2005 20:07:00 -0000 1.3 *************** *** 6,10 **** CMINVOKECOMMANDINFO) from wnd.api.shell.browseforfolder import BrowseForFolder ! from wnd.api.shell.wintypes import Malloc from wnd.api.shell.consts import * from wnd.api.shell.functions import * --- 6,10 ---- CMINVOKECOMMANDINFO) from wnd.api.shell.browseforfolder import BrowseForFolder ! from wnd.api.shell.wintypes import Malloc, HRESULT_CODE from wnd.api.shell.consts import * from wnd.api.shell.functions import * Index: shellnotify.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/shell/shellnotify.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shellnotify.py 15 May 2005 10:14:14 -0000 1.2 --- shellnotify.py 17 May 2005 20:07:00 -0000 1.3 *************** *** 56,60 **** """ - import dbg from wnd.api.shell.wintypes import * from wnd.api import winos --- 56,59 ---- |
From: jürgen u. <cer...@us...> - 2005-05-17 20:06:11
|
Update of /cvsroot/wnd/wnd/wnd/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9807 Modified Files: wintime.py Log Message: bit of this and a bit of that Index: wintime.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/wintime.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** wintime.py 29 Apr 2005 15:19:44 -0000 1.1.1.1 --- wintime.py 17 May 2005 20:05:57 -0000 1.2 *************** *** 126,138 **** semantics as PYTHON time.asctime i.e: 'Sun Jun 20 23:21:05 1993' """ - t = systemtime return '%s %s %s %s:%s:%s %s' % ( ! days[t.wDayOfWeak], ! months[t.wMonth-1], ! t.wMonth, ! t.wHour, ! t.wMinute, ! t.wSecond, ! t.wYear) def IsEpoch(FtOrSt): --- 126,137 ---- semantics as PYTHON time.asctime i.e: 'Sun Jun 20 23:21:05 1993' """ return '%s %s %s %s:%s:%s %s' % ( ! days[systemtime.wDayOfWeak], ! months[systemtime.wMonth-1], ! systemtime.wMonth, ! systemtime.wHour, ! systemtime.wMinute, ! systemtime.wSecond, ! systemtime.wYear) def IsEpoch(FtOrSt): |
From: jürgen u. <cer...@us...> - 2005-05-17 20:05:46
|
Update of /cvsroot/wnd/wnd/wnd/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9693 Modified Files: winpath.py Log Message: bit of this and a bit of that Index: winpath.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/winpath.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** winpath.py 15 May 2005 09:19:26 -0000 1.1 --- winpath.py 17 May 2005 20:05:33 -0000 1.2 *************** *** 15,19 **** PathIsPrefix PathIsRelative - PathIsRoot PathIsSameRoot PathIsSystemFolder --- 15,18 ---- *************** *** 56,61 **** if not shlwapi.PathAppendA(p, path2): raise RuntimeError, "could not append path" ! dbg.debug(p.value) ! def BuiltRoot(n): p= create_string_buffer(4) --- 55,59 ---- if not shlwapi.PathAppendA(p, path2): raise RuntimeError, "could not append path" ! def BuiltRoot(n): p= create_string_buffer(4) |
From: jürgen u. <cer...@us...> - 2005-05-17 20:04:41
|
Update of /cvsroot/wnd/wnd/wnd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9469 Modified Files: __init__.py Log Message: release 0.1.1 Index: __init__.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/__init__.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** __init__.py 29 Apr 2005 15:19:33 -0000 1.1.1.1 --- __init__.py 17 May 2005 20:04:29 -0000 1.2 *************** *** 1,5 **** """Framework entry... """ ! __version__= "0.1" --- 1,5 ---- """Framework entry... """ ! __version__= "0.1.1" |
From: jürgen u. <cer...@us...> - 2005-05-15 10:24:13
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odlistbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11789 Added Files: odlistbox.dtpl Log Message: new --- NEW FILE: odlistbox.dtpl --- ::defaultpage:: ODListbox ::site:: ODListbox # no image currently # # # ODListbox contents # The ODListbox class is a wrapper class allowing for ownerdraw Listboxes. ::site:: class ODListbox <code class=import>defined in: wnd.custom.odlistbox</code><br><br> <code>ODListbox(parent, *styles)</code> <br><br> <a HREF="contents.html">ODListbox contents</a> <br><br> Initializes a host window that proceses ownerdraw mesages for the underlaying Listbox. The host window is derrived from a Blank control, so you may specify all styles defined for this kind of control here. <br><br> The creation process of a ODListbox requires two steps. First is, creating the host window, next, creating the Listbox it hosts. The reason for this is, that an ownerdraw Listbox will send the first messages affecting drawing before it returns from CreateWindowEx, that is before returning from your call to __init__. To catch these messages the host window has to be created before the Listbox. A bit tricky here is that you can not use any methods on the Listbox for the first, maybe the second 'measureitem' message send. You can distinct these messages by comparing the hwnd parameter or the message and the Hwnd attribute of the Listbox. The Hwnd attribute will be zero by that time. <br><br> The standard way to create an ODListbox is: <pre> \# 1. create the ODListbox \# 2. overwrite its message handler, so you are readdy \# to receive messages before the Listbox it hosts is created \# 3. create the Listbox through the ODCombobocx class self.cmb=ODListbox(parent) self.cmb.onMSG=self.on_listbox self.cmb.InitListbox(x, y, w, h, 'ownerdrawfixed', 'hasstrings', 'dropdownlist') \# in the message handler process like this def on_listbox(self, hwnd, msg, wp, lp): if msg=="measureitem": \# set the height for the items lp.itemHeight= 50 elif msg=="drawitem": \# draw the items dc= gdi.DCFromHandle(lp.hDC) font= dc.GetFont() font.DrawText(dc, lp.rcItem, self.l.GetItemText(lp.itemID)) font.Close() dc.Close() else: \# process other messages pass </pre> <br><br> <b>Notes</b><br> <UL> <LI>After the Listbox itsself has been initialized, adjusting styles will only affect the Listbox, not the host window. If you want to show or hide the control use the Show or Hide method instead of adjusting the 'visible' style. <LI>To set a new parent window for the ODListbox use the SetParent method of the container window, not the SeParent method of the ODListbox </UL> ::site:: ODListbox messages The ODListbox class snds all messages as defined for Listboxes to the message handler plus the following:. : <DL> <DT>'drawitem' <DD>an item needs to be drawing<br> wp=allways zero<br> lp=a ||type-DRAWITEMSTRUCT|| structure <br><br> <DT>'measureitem' <DD>items height has to be measured.<br> wp=allways zero<br> lp=a ||type-MEASUREITEMSTRUCT|| structure <br><br> <br><br> <b>Note</b><br> The itemID member of the ||type-MEASUREITEMSTRUCT|| will be set to 0xFFFFFFFF for the selection field of the Listbox. Changing its height will affect the selection field height of the Listbox. ::site:: ODListbox styles When creating the Listbox (see Listbox) all styles used with Listboxes are supported. In aditon the following styles are handled: : <TABLE class="table1" BORDER="1"> <TR> <TD>'hasstrings'</TD> <TD>when 'ownerdrawfixed' or 'ownerdrawvariable' style is set, tells the ODListbox to keep the strings you added so it is possible to retrieve the by calling GetItemText. If not set you have to keep track of itemm strings by yourself. Calling GetItemText will return arbitrary strings in this case.</TD> </TR> <TR> <TD>'ownerdrawfixed'</TD> <TD>creates a ownerdraw Listbox that has a fixed item size for all items. You will receive 'measureitem' mesages only once, when the control is created.</TD> </TR> <TR> <TD>'ownerdrawvariable'</TD> <TD>creates a ownerdraw Listbox that has a variable item size. You will receive 'measureitem' mesages for each item.</TD> </TR> <TABLE> ::folder:: ODListbox methods ODListboxes support all Listbox methods plus the following: ::item:: InitListbox <code>InitListbox(*styles)</code> <P> Creates the Listbox the ODListbox hosts. <br><br> Call this before calling any other method on the Listbox. </P> ::item:: GetContainer <code>GetContainer()</code> <P> Returns the instance of the window used to host the Listbox </P> ::item:: onMESSAGEContainer <code>onMESSAGEContainer(hwnd, msg, wp, lp)<code> <P>This is the global message handler for the container window of the Listbox </P> |
From: jürgen u. <cer...@us...> - 2005-05-15 10:22:32
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odcombobox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11578 Added Files: .CVSIGNORE odcombobox.dtpl Log Message: new --- NEW FILE: .CVSIGNORE --- *.pyc *.pyo --- NEW FILE: odcombobox.dtpl --- ::defaultpage:: ODCombobox ::site:: ODCombobox # no image currently # # # ODCombobox contents # The ODCombobox class is a wrapper class allowing for ownerdraw comboboxes. <br><br> <b>Notes</b><br> <UL> <LI>moving to the next item matching a char typed in by the user is not supported for ODListboxes <LI> </UL> ::site:: class ODCombobox <code class=import>defined in: wnd.custom.odcombobox</code><br><br> <code>ODCombobox(parent, *styles)</code> <br><br> <a HREF="contents.html">ODCombobox contents</a> <br><br> Initializes a host window that proceses ownerdraw mesages for the underlaying Combobox. The host window is derrived from a Blank control, so you may specify all styles defined for this kind of control here. <br><br> The creation process of a ODCombobox requires two steps. First is, creating the host window, next, creating the Combobox it hosts. <br><br> The reason for this is, that an ownerdraw Combobox will send the first messages affecting drawing before it returns from CreateWindowEx, that is before returning from your call to __init__. To catch these messages the host window has to be created before the Combobox. A bit tricky here is that you can not use any methods on the Combobox for the first, maybe the second 'measureitem' message send. You can distinct these messages by comparing the hwnd parameter or the message and the Hwnd attribute of the Combobobx. The Hwnd attribute will be zero by that time. <br><br> The standard way to create an ODCombobox is: <pre> \# 1. create the ODCombobox \# 2. overwrite its message handler, so you are readdy \# to receive messages before the Combobox it hosts is created \# 3. create the Combobox through the ODCombobocx class self.cmb=ODCombobox(parent) self.cmb.onMSG=self.on_combobox self.cmb.InitCombobox(x, y, w, h, 'ownerdrawfixed', 'hasstrings', 'dropdownlist') \# \# in the message handler process like this def on_combobox(self, hwnd, msg, wp, lp): if msg=="measureitem": \# measure the items pass elif msg=="drawitem": \# draw the items pass else: \# process other messages pass </pre> <br><br> <b>Notes</b><br> <UL> <LI>After the Combobox itsself has been initialized, adjusting styles will only affect the Combobox, not the host window. If you want to show or hide the control use the Show or Hide method instead of adjusting the 'visible' style. <LI>To set a new parent window for the ODCombobox use the SetParent method of the container window, not the SeParent method of the ODCombobox </UL> ::site:: ODCombobox messages The ODCombobox class snds all messages as defined for Comboboxes to the message handler plus the following:. : <DL> <DT>'drawitem' <DD>an item needs to be drawing<br> wp=allways zero<br> lp=a ||type-DRAWITEMSTRUCT|| structure <br><br> <DT>'measureitem' <DD>items height has to be measured.<br> wp=allways zero<br> lp=a ||type-MEASUREITEMSTRUCT|| structure <br><br> <br><br> <b>Note</b><br> The itemID member of the ||type-MEASUREITEMSTRUCT|| will be set to 0xFFFFFFFF for the selection field of the combobox. Changing its height will affect the selection field height of the Combobox. ::site:: ODCombobox styles When creating the Combobox (see Combobox) all styles used with comboboxes are supported. In aditon the following styles are handled: : <TABLE class="table1" BORDER="1"> <TR> <TD>'hasstrings'</TD> <TD>when 'ownerdrawfixed' or 'ownerdrawvariable' style is set, tells the ODCombobox to keep the strings you added so it is possible to retrieve the by calling GetItemText. If not set you have to keep track of itemm strings by yourself. Calling GetItemText will return arbitrary strings in this case.</TD> </TR> <TR> <TD>'ownerdrawfixed'</TD> <TD>creates a ownerdraw Combobox that has a fixed item size for all items. You will receive 'measureitem' mesages only once, when the control is created.</TD> </TR> <TR> <TD>'ownerdrawvariable'</TD> <TD>creates a ownerdraw Combobox that has a variable item size. You will receive 'measureitem' mesages for each item.</TD> </TR> <TABLE> ::folder:: ODCombobox methods ODComboboxes support all Combobox methods plus the following: ::item:: InitCombobox <code>InitCombobox(*styles)</code> <P> Creates the Combobox the ODCombobox hosts. <br><br> Call this before calling any other method on the Combobox. </P> ::item:: GetContainer <code>GetContainer()</code> <P> Returns the instance of the window used to host the Combobox </P> ::item:: onMESSAGEContainer <code>onMESSAGEContainer(hwnd, msg, wp, lp)<code> <P>This is the global message handler for the container window of the Combobox </P> |
From: jürgen u. <cer...@us...> - 2005-05-15 10:21:09
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odlistbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11418/odlistbox Log Message: Directory /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odlistbox added to the repository |
From: jürgen u. <cer...@us...> - 2005-05-15 10:20:29
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odcombobox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11353/odcombobox Log Message: Directory /cvsroot/wnd/wnd/wnd_doc/doc/controls/custom controls/odcombobox added to the repository |
From: jürgen u. <cer...@us...> - 2005-05-15 10:19:43
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnotify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11231 Modified Files: shellnotify.dtpl Log Message: bit of this and a bit of that Index: shellnotify.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/api/shell/shellnotify/shellnotify.dtpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** shellnotify.dtpl 29 Apr 2005 15:15:52 -0000 1.1.1.1 --- shellnotify.dtpl 15 May 2005 10:19:34 -0000 1.2 *************** *** 40,44 **** </pre> ! <br><br> See <a HREF="ShellNotify methods/HandleMessage.html">HandleMessage</a> --- 40,44 ---- </pre> ! <br><br> See <a HREF="ShellNotify methods/HandleMessage.html">HandleMessage</a> *************** *** 47,50 **** --- 47,53 ---- + + + ::folder:: ShellNotify methods The ShellNotify class defines the following methods: <br><br> *************** *** 59,67 **** ::item:: Register ! <code>Register(pIdl)</code><br> Registers a pIdl for being observed of changes. Registering another pIdl for being monitored will replace the current one. Call Close to free the last monitoring handle. --- 62,84 ---- ::item:: Register ! <code>Register(pIdl, *flags)</code><br> ! <P> Registers a pIdl for being observed of changes. Registering another pIdl for being monitored will replace the current one. Call Close to free the last monitoring handle. + <br><br> + The pIdl passed is not freed in this call + <br><br> + You can pass one or more flags, to specify more detailed wich + events you would like to monitor. + The corrospond to the events listed in + <a HREF="HandleMessage.html">HandleMessage</a> + + <pre> + ShellNotify.Register(MyPidl, 'rename', 'delete') + </pre> + + </P> *************** *** 95,101 **** <DL> <DT>'rename' ! <DD>a file has been renamed<br> lp= tuple(old pIdl, new pIdl) <br><br> <DT>'create' --- 112,119 ---- <DL> <DT>'rename' ! <DD>a file has been renamed or moved<br> lp= tuple(old pIdl, new pIdl) <br><br> + <DT>'create' *************** *** 121,125 **** <DT>'renamefolder' ! <DD>a folder has been renamed<br> lp= tuple(pIdl old, pIdl new) <br><br> --- 139,143 ---- <DT>'renamefolder' ! <DD>a folder has been renamed or moved<br> lp= tuple(pIdl old, pIdl new) <br><br> |