File: changes.txt

package info (click to toggle)
python-wpy 0.53-0.1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 832 kB
  • ctags: 1,991
  • sloc: python: 8,624; makefile: 57; sh: 24
file content (199 lines) | stat: -rw-r--r-- 8,613 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
Please see the file incompat.txt for the changes which may cause
incompatibility problems in your WPY Python programs.

-------------- Version 0.52       15 Nov 1997

Added CSplitterWnd::RecalcLayout().
Added mouse event handlers to CEdit.
Added access to the Windows help system (Windows only).
Added WpyReplaceControl() to the compiled *.rc file methods.
Improved command routing for CEdit.


-------------- Version 0.52       15 Nov 1997

Change to default behavior of CDialog::OnEsc().
Class CMessage now takes another argument, the text width.
Added "&" processing to button text.
Added the Windows function CreateProcess().
Added a separate device context for printing.
Added a "CommandUI" notification when a menu is about to be shown.

-------------- Version 0.51       12 June 1997

Returning zero from InitInstance() now exits the app.
Added multi-selection list boxes.  See CMultiListBox.
Added accelerator keys to menus.
Added an idle function which is called continuously when the system
  is idle.  See SetIdleFunc().
Redraw() can redraw all objects (more efficient on Windows).
MoveBy() proved to be inefficient, so you can now change the position
  of any object except a polygon by assigning to wpyLocX/Y and calling
  the view's Redraw() method.
Added default extensions to file dialogs.
Added CWinApp::wpyMainTitle to control the frame title of an SDI app.
Added scroll bar notification messages to multiline edit controls.
Added the Combo Box control (not on Tk yet).  Added change notification
  message to CEdit controls.
The application title can be changed in InitInstance() with self.wpyText.
Added splitter windows for Windows and Tk.  Splitter windows divide up
  the frame into several views which are adjustable in size.
Fixed WpyShrinkWrap() to set the client size of dialog boxes instead of
  the frame size for NT (it already did this on Tk).  Also fixed the
  MoveWindow functions to do the same.  If your Windows dialog boxes
  are now a little too big, try replacing your sizing with a call to
  the new WpyShrinkWrap() and remove your MoveWindowSize().
Changed the (undocumented) "flags" argument of CWnd::OnChar(self, ch, flags)
  to return valid flags.  See docs/messages.txt.
Added CWnd::OnVChar(self, name, flags) which is called for virtual keys
  such as function keys, arrow keys, etc.
Added CFlashDialog, a dialog which posts a window and disappears after
  a short delay.
Can set tab stops in a list box using SetAllTabStops() or SetTabStops().  This
  makes it easy to line up columns instead of using a fixed font.
OpenDocumentFile() now returns the document.

-------------- Version 0.50       15 January 1997

Added CWinApp::PumpMessages() to update the screen.  Useful during
  long calculations.
Wrote documentation for menus.  Added menu method Post() which imitates
  a menu button selection.
Fixed some bugs.
Added MoveBy(self, dx, dy) to move drawn objects.  This is used instead
  of assigning to the object's attributes (which you weren't supposed to
  do anyway).
Added multipage printing support to CScrollView and CMenu.
Added CEdit::LimitText() to limit text length.
The new __init__ for frames, docs, and views has only one argument.  See
  incompat.txt.
Added template method OpenDocumentFile() to open a filename using the
  specified template without selecting a menu item.  This is the correct
  way to open a document without asking for the file name.
There is now an extension to the WPY drawing model which makes it
  efficient to update the screen by adding, deleting and re-drawing
  the screen's drawn objects.  See docs/draw.txt.
The new official way to control windows size is to set wpySizeX/Y in the
  frame window __init__(self) method.  Previously it was necessary to call
  MoveWindowSize() after the window was created.
The Tk version now routes stdout to a message box just like the Windows
  version.  This can be controlled by wpy.wpyStdOut.  See docs/invoca.txt.
The Tk version now uses the newer function tk_messageBox, so a newer Tk
  version is required.
Added underlines to menu text by adding the "&" character.

Version 0.43       29 October 1996

Program arguments are now set up in sys.argv[].
The frozen module DLL search was changed.  See docs/invoca.txt.
Added CScrollView::ScrollToPosition().
Modeless dialogs now work.  Other bug fixes.
Added MoveWindowTop() and Bottom() to change Z order.
A CBrush color can now be "hollow", with null fill color.
WPY now upgraded to Python 1.4.


Version 0.42       19 March 1996

You can set a CMDIFrameWnd title by setting its self.wpyText.
New method CScrollView::GetDrawnObjectList(self, x, y) to return
  a list of objects at the point (x, y).  It returns lines too.
You can specify a file filter using wpyFilter on the template.
The file pyfrzmo.dll will initialize frozen modules if it exists.


Version 0.41       19 March 1996

The sockets module is now built into the NT dll (instead of using
  socket.pyd).  Also, socket.WSAStartup() and socket.WSACleanup() were
  added.  Windows sockets require a call to WSAStartup() before use, BUT
  NOTE that WSAStartup() is called from initsocket when the socket module
  is imported, so you will not need to call it unless the first call fails.
  You should still call WSACleanup() when you are done with sockets.
The select module now is included.  It only works for sockets.
Added os.getcwd().

Added ctrl.wpyBrush and ctrl.wpyTextColor to set control colors.
Added view.wpyBrush and dialog.wpyBrush to set window background color.
Added method SetCheck() to CMenuCheck and CMenuRadio.
Moved wpyStyle definitions so that WS_TABSTOP can be added to controls.

Version 0.40       19 January 1996

The class method OnChar() now exits the app under Windows when
  the user types Control-break (use Control-C on Tk).
New global functions SetTimer(), KillTimer() implement time delays.
New multi-line edit control with optional scroll bars: CMultiEdit.
New menu methods Destroy() and Insert() to change menu items.
Can now use tabs within list box item lines.
Fixed a problem with setting a font in a window.
Python core is now in a dll and is at version 1.3.
Fixed win32s dialog color and 3-d control problems.  Use the new
  ctl3d32.32s dll in msoftdll.exe.

Version 0.34       20 November 1995

New drawing methods for circles, ellipses, polygons, arcs,
  pie slices and chords.
New document method to set the title.  Fixed MDI frame titles.
For the Tk version: new look for MDI, fixed OnChar() method in CEditView,
  fixed ".." since 1.3 no longer includes it in os.listdir().
Added a way to set background and text color for a CEdit edit control.
Added DestroyDrawn() to destroy a drawn object.
Redraw() is now able to change an object's position.
Rudimentary printing support, one page only.

Version 0.33       11 October 1995

Standard file open/save dialog boxes are available in CFileDialog
  classes.  See dialog.txt.

Message OnKillFocus(self, new_focus) was added.


Version 0.32       11 October 1995

The right mouse button methods OnRButtonUp/Down/DblClk were added.

The CImage class now reads GIF and PPM format files in Windows and Tk.
The Windows version also reads BMP and DIB files.


Version 0.31       6 October 1995

The new classes CImage and CDrawnImage implement drawing images
  (bitmaps) to a view.  See draw.txt.

New and documented standard dialog boxes.  See dialog.txt and
  global.txt.

New dialog methods OnEnter() and OnEsc().  See dialog.txt.


Version 0.30       10 September 1995

The scroll speed in Windows was greatly increased by caching
  the objects drawn to a CScrollView, and refreshing the view
  from the cache.
The draw functions such as DrawText() return class instances
  representing the object drawn.
New method CScrollView::GetDrawnObject(self, x, y) to return
  the object at the point (x, y).
New method GetIndexXY(self, view, x, y) to return the character
  index of the drawn text at point (x, y) of the view.
New method CEdit::SetSel(self, c1, c2) to set the selection
  or the cursor position within an edit control.

Version 0.24       10 August 1995

Numerous small impovements, including:
  Set the frame window size with frame.MoveWindowSize().
  A new wait cursor feature.  See cmdtarg.txt.
  More documentation.  See frame.txt etc.
  GetDeviceScrollPosition() for scrolled edit views.
  SetFocus() for windows. 
  The OnChar() message is sent to the edit control.  Useful
    for catching "Enter" to dismiss the control if it is not
    in a dialog box.
  Support for modeless dialogs.  See dialog.txt.
  DestroyWindow() for windows.  Useful to destroy a control.