Skip to content
This repository
Newer
Older
100644 953 lines (602 sloc) 33.19 kb
8c7cbc52 » Luke Leighton
2012-04-16 update to 0.8.1 alpha
1 Changes made to Pyjamas since 0.8.1~+alpha1
2 ---------------------------------
3
c9abec9c » Luke Leighton
2012-02-04 use json not JSONParser
4 Changes made to Pyjamas since 0.8pre1
ef02dbd5 » lkcl
2009-08-18 #236 fix button / event handling
5 ---------------------------------
11253776 » Luke Leighton
2012-03-10 #699 - add gradient and text support to GWTCanvas, thanks to bob hami…
6
77066c19 » Luke Leighton
2012-04-24 possibly the most devious horrible code ever added, allows styles to …
7 * completed the port of RichTextArea, added an example RichTextToolbar,
8 and added a port of gwt-selection which can be used to highlight
9 links, add span styles around blocks etc. unsurprisingly an additional
10 example named "richtext" has been added.
11
2c0b87df » Luke Leighton
2012-04-17 #715 - add means to set image library location
12 * modified DisclosurePanel and Tree widgets to allow use of
13 alternative sets of images. Issue #715. (Phil Charlesworth)
14
11253776 » Luke Leighton
2012-03-10 #699 - add gradient and text support to GWTCanvas, thanks to bob hami…
15 * added Gradient and Text support to GWTCanvas IE implementation,
16 thanks to Bob Hamilton
17
8e3a6169 » yangofzeal
2012-02-28 Issue #694: added to CHANGELOG
18 * added download.sh script for processing-1.3.6.js to enable
19 canvasprocessing example to be compiled - solves Issue #694
20
8a27d63c » Luke Leighton
2012-02-21 thank you to phil charlesworth for patching over the focus stuff, #537
21 * updated Focus.py and its browser overrides to bring it in
22 conformance with GWT - solves Issue #537. Phil Charlesworth
23
108ae5b9 » Luke Leighton
2012-02-05 #651 - add cherrypy jsonrpc server code, thanks to rene maurer
24 * added server-side jsonrpc cherrypy helper, thanks to Rene Maurer
25
f4b2f7e1 » Luke Leighton
2012-02-04 update CHANGELOG to reflect new override scheme
26 * use new platform override scheme {module}.{platformname}.py so that
27 platform override files live in the same subdirectory as the actual
28 file it's overriding
29
c9abec9c » Luke Leighton
2012-02-04 use json not JSONParser
30 * moved JSONParser.py to json.py (in standard modules) because it is
31 effectively identical, and confusing to try to indicate that JSONParser.py
32 is somehow different or "special".
33
813d6252 » maho
2012-01-24 Merge remote-tracking branch 'sf/master'
34 * DateField - show Calendar for typed-in month, not always current,
35 By Maho (Łukasz Mach)
36
e8250d14 » yangofzeal
2012-01-20 Fixed #677 AttributeError: 'module' object has no attribute 'path' wh…
37 * pyjs/src/pyjs/linker.py workaround Issue #677, reverted cwd=pydir
38 so that compile works on Mac with python in /opt/local
39 By Michael Yang
7f7d865c » maho
2012-01-24 - added copyright notes
40
ae1f5a4e » Luke Leighton
2011-12-09 issue #658 fixed template strings substitution, thanks to phil charle…
41 * pyjs/src/pyjs/lib/string.py workaround Issue #658, mods to Template
42 class so that template strings substitution works.
43 By Phil Charlesworth
44
c9abec9c » Luke Leighton
2012-02-04 use json not JSONParser
45 Changes made to Pyjamas since 0.7
46 ---------------------------------
47
ef219610 » Waldemar Kornewald
2010-11-28 also mention that print now uses sys.stdout
48 * Added simple sys.stdout and sys.stderr objects. The print statement
49 now uses sys.stdout for printing. You can intercept print statements
50 by overriding sys.stdout (e.g. for displaying them on the web page).
51 By Waldemar Kornewald
52
b53af7b9 » Waldemar Kornewald
2010-11-28 added changelog entry for my last exception handling improvements
53 * Fixed sys.exc_info() to behave more like Python (i.e. returning the
54 traceback starting from the current context instead of the whole
55 execution stack). Also includes tb_frame.f_globals, contributed
56 by Waldemar Kornewald
57
58 * Added very basic traceback module with format_traceback() function
59 which only works when compiling with debug information,
60 contributed by Waldemar Kornewald
61
adb1e560 » Luke Leighton
2010-10-14 add oninput and onpropertychange event support
62 * Added oninput and onpropertychange event support, thanks to Maxim
63 Lacrima.
64
719e9ee4 » Luke Leighton
2010-09-23 update CHANGELOG
65 * Make pyjsbuild call out to translator.py using subprocess.Popen,
66 with a view to adding "build generators" that will create Makefiles,
67 scons build files etc. pyjsbuild should not be doing the job of make,
68 and... it's doing the job of make.
69
6385a9e8 » Luke Leighton
2010-09-16 contribution from phil charlseworth for HTMLTable unique ids on hash …
70 * Fix getWidget problem with HTMLTable under pyjd on Windows (mshtml,
71 fixes Issue 493, contributed by Phil Charlesworth
72
e9859dbb » Luke Leighton
2010-09-09 add create_xml_doc for MSHTML thanks to phil charlesworth
73 * Add parsing of XML documents under pyjd on Windows (mshtml),
74 fixes Issue 481, contributed by Phil Charlesworth
75
f4459b9e » Luke Leighton
2010-08-27 add auto-build option, supplied thanks to suzan shakya
76 * Add auto-build (file monitoring) option to pyjsbuild, contributed
77 by Suzan Shakya.
78
b7b895b0 » Luke Leighton
2010-08-19 add pyjscompressor from sujan shakya
79 * Add pyjscompressor.py from Sujan Shakya to contrib: depends on java
80 and google java compressor tool.
81
02f1b6c9 » Luke Leighton
2010-08-10 mention #475 in CHANGELOG as well
82 * Series of fixes by W Kornewald: #229, #385, #414, #417, #475 and more.
ee01cd13 » Luke Leighton
2010-08-10 mention waldemar contributions in CHANGELOG
83 accidental exception catching in debug handling sorted; class creation
84 uses __class__ on the base (behaves like http://python.org); added
85 __delattr__ support; extended tracebacks to include module imports.
86
af8a266b » Luke Leighton
2010-07-28 add mention of overlay to CHANGELOG
87 * Fix long-standing bug with DialogBox: use an overlay to capture all
88 mouse events. use same overlay trick in Controls so that slider
89 capture now works, too.
90
fb44622b » C Anthony Risinger
2010-08-12 gots to get me some credits!
91 * Enable asynchronous loading of modules during bootstrap for -m build
92 flag (pyjs); new controller allows for custom bootsplash/early-user
93 javascript code; add bootsplash example. by C Anthony Risinger
94
fbb02520 » Luke Kenneth Casson Leighton
2010-07-04 add DOM.createTextNode, thanks to jordan wii
95 * Add DOM.createTextNode function, thanks to Jordon Wii
96
400f94da » Luke Kenneth Casson Leighton
2010-07-04 fix suitedemo transparency issue, thanks to alex tsepkov
97 * Fix issue in GWTCanvas Transparency demo, thanks to Alex Tsepkov
98
d3dceb32 » Luke Kenneth Casson Leighton
2010-07-02 #442 - JS generation possible with any registered backend
99 * Add infrastructure for registering alternative JS functions for
100 native javascript inline output, by W Kornewald
101
c0f0dab9 » Luke Kenneth Casson Leighton
2010-06-26 add Stolati to credits and copyright for the CSS stylesheet changing …
102 * Added example dynamic CSS stylesheet changer, thanks to Stolati
103 for the CSS changing class.
104
7ca86b17 » lkcl
2010-06-25 #361 - JS Packer compatibility by A. Motolla
105 * Fixes to pyjslib for compatibility with Dean Edwards' JS Packer
106 (http://dean.edwards.name/packer/) by Angelo Mottola
107
0d63f3dc » lkcl
2010-06-23 #428 - add default style name to MenuBar and reset it based on vertic…
108 * Added default style name to MenuBar, by Serge Tarkovski
109
178872ac » lkcl
2010-06-23 #428 - dialog box makeCloseable by serge
110 * Added makeCloseable and centring to DialogBox, by Serge Tarkovski
111
483dd548 » lkcl
2010-06-23 #418 - add default style to captionpanel, thanks to serge tarkovski
112 * Added default style to CaptionPanel, by Serge Tarkovski
113
31e41a0e » Luke Kenneth Casson Leighton
2010-06-05 add math.log10
114 * Added log10 to math module
115
306b7bb3 » Luke Kenneth Casson Leighton
2010-06-02 #408 patch to PopupPanel from Serge Tarkovski to add shadowed "glass"…
116 * Added "glass" opaque background option to PopupPanel, by Serge Tarkovski
117
6b6d87dc » keesbos
2010-10-30 Added dnd (drag and drop) code from Jim Washington
118 * Added HTML5 drag-and-drop support (native and emulated), by Jim Washington
119
04b85cf6 » C Anthony Risinger
2010-11-16 forgot to add this little gem
120 * Enable __setattr__ support to object [pyjs], by C Anthony Risinger
121
adb08e5a » Karl Voigtland
2010-11-16 add issue 514 fixed entry to CHANGELOG
122 * Implement assignment to slices in an assignment list (issue 514),
123 by Karl Voigtland
6a1f9b9d » Luke Leighton
2012-01-24 issue #667
124
125 * Updates to the Showcase example
adb08e5a » Karl Voigtland
2010-11-16 add issue 514 fixed entry to CHANGELOG
126
31e41a0e » Luke Kenneth Casson Leighton
2010-06-05 add math.log10
127 Changes made to Pyjamas since 0.6
128 ---------------------------------
129
8b51d109 » keesbos
2010-05-20 Fixed name in CHANGELOG etc. See issue #393
130 * Added string zfill function, thanks to Angelo Motolla.
af09e300 » lkcl
2010-04-25 #392 - add zfill string function, thanks to a.motolla
131
8b51d109 » keesbos
2010-05-20 Fixed name in CHANGELOG etc. See issue #393
132 * Added datetime module, thanks to Angelo Motolla.
5319ba1a » lkcl
2010-04-25 #393, add proper DateTime module thanks to A. Motolla
133
e8861c65 » lkcl
2010-03-26 added issubclass, thanks to daniel gerber
134 * Added issubclass, thanks to Daniel Gerber
135
501aef2a » lkcl
2010-02-07 fix for off-by-one bug on months in datetime.py, by russell yanofsky
136 * Off-by-one bug in datetime on months, fixed by Russell Yanofsky
137
cf3511cb » lkcl
2009-12-19 menubar horizontal highlighting fix
138 * Fix for menu highlighting by Pavel Mironchyk
139
d79d1394 » keesbos
2009-12-03 Add initial port of python logging module
140 * Add initial port of python logging module
141 Supports logging.StreamHandler (to log to console with print statement) and
142 logging.handlers.HTTPHandler (to log to remote webserver)
143
00678d5e » keesbos
2009-11-30 Updated JSONRPC to conform JSON-RPC 1.0/1.1/2.0 and to return
144 * Updated JSONRPC to conform JSON-RPC 1.0/1.1/2.0 and to return
145 JSON-RPC 2.0 error dicts ini onRemeoteError (other errors are
146 mapped to JSON-RPC 2.0 format)
147
dd4d656a » keesbos
2009-11-30 Added enhanced dict initialization: dict(a=1, b=2)
148 * Enhanced dict initialization: dict(a=1, b=2)
149
f58e43d0 » lkcl
2009-11-21 fix problem with focus input on TextBox
150 * Added setFocus function to TextBoxBase to override FocusMixin.setFocus
151 because FocusMixin assumes that you called Focus.createFocusable to
152 create the input box.
153
d18671ab » lkcl
2009-11-11 add marcus to copyright / credits, closing #328
154 * Added str.isalpha and str.isupper, thanks to Marcus Brinkmann
155
82c85ff5 » lkcl
2009-11-11 mention rich newpol for pyjsbuild.bat enhancement
156 * Modified bootstrap.py: place absolute path in pyjsbuild.bat file to
157 reference python.exe direct (thanks to Rich Newpol) closes #324
158
6d5f6006 » lkcl
2009-11-09 #293 - added FlowPanel example
159 * Added FlowPanel demo from jordanwii showing how you have to use
160 a span element to Label to get round a CSS IE hack issue
161
0276b647 » lkcl
2009-11-09 #319 - use cancelBubble on IE / MSHTML but stopPropagation elsewhere
162 * added DOM.eventStopPropagation which sets cancelBubble in IE/MSHTML
163 and calls stopPropagation everywhere else
ef02dbd5 » lkcl
2009-08-18 #236 fix button / event handling
164
9346fa38 » keesbos
2009-11-04 Added builtin sum() function
165 * Added builtin sum() function
166
45d1dcc6 » keesbos
2009-11-04 Added builtin zip() function
167 * Added builtin zip() function
168
20869d3e » keesbos
2009-11-04 Added builtin reduce() function
169 * Added builtin reduce() function
170
58399fc1 » keesbos
2009-11-04 Added builtin iter() function
171 * Added builtin iter() function
172
9d9c0c34 » keesbos
2009-11-03 Added types set and frozenset
173 * Added types set and frozenset
174
516e44de » keesbos
2009-11-03 Added builtin reversed()
175 * Added builtin reversed() function
176
65a0398c » keesbos
2009-11-03 Added fromkeys method to dict
177 * Added fromkeys method to dict
178
f18f1379 » keesbos
2009-11-02 Added builtin sorted()
179 * Added builtin sorted() function
180
c150026f » keesbos
2009-10-28 Optimized 'for x in y' loops.
181 * Optimized 'for x in y' loops
182
2d1e89c3 » davidsiroky
2009-10-28 - lint checks and fixes
183 * Output is packable with http://dean.edwards.name/packer/
184
185 * JavaScriptLint checks
186
187 * Python 2.6 TranslationError deprecation message fix
188
31a2c535 » keesbos
2009-10-26 #270 Added support for relative import path
189 * Added support for relative imports
190
90093c7d » lkcl
2009-10-24 #310 - added demo insertItem on Tree
191 * Added insertItem to Tree, TreeItem and RootTreeItem and demo in
192 KitchenSink Trees.py (thanks to Carl Roach)
193
1abeb00d » keesbos
2009-10-22 Added arguments for instance initialization in jsObjectToPyObject
194 * Added arguments for instance initialization in jsObjectToPyObject
195
701b7a7f » keesbos
2009-10-13 Implemented NotImplementedType and NotImplemented
196 * Implemented NotImplementedType and NotImplemented
197
1e54c7bb » keesbos
2009-10-10 Implemented an int type and a long type
198 * Implemented an int type and a long type
199
66e2a126 » keesbos
2009-10-10 Update CHANGELOG
200 * Add support for xrange and propper range (range was in fact an xrange)
201
c9f966eb » keesbos
2009-10-08 Added support for multiple compare (0 < n < 4)
202 * Add support for multiple compare (0 < n < 4)
203
0a0b66e1 » lkcl
2009-10-09 #299 - add DoubleClickListener
204 * Add DoubleClickListener mixin
205
d8ef0440 » lkcl
2009-09-30 #294 - add in PUT / DELETE support into XMLHttpRequest
206 * Add PUT and DELETE into XMLHttpRequest (thanks to Nick <thretwon@gmail.com>)
207
74c2dc4a » keesbos
2009-09-24 Update what-we-have-done
208 * Added for in tuple
209
210 * Added support for locals()
211
212 * Added support for slice delete
213
214 * Added support of slice assignment
215
216 * Added support for IfExp (inline if expression)
217
218 * Added support for generator expressions
219
220 * Added support for any statement in class definition
221
222 * Added support backquote
223
224 * Added support for class definition anywhere
225
b72b005f » lkcl
2009-09-18 update changelog
226 * Re-enabled and fixed up pyv8run.py, which now successfully runs
227 LibTest when translated to javascript (and passes 99.95%)
228
229 * added support for Subscript Assignment in class definitions:
230 class SubAssignBase(object):
231 names['SubAssign'] = 'SubAssign'
232
9ed64b74 » keesbos
2009-09-17 Methods can now also be generators
233 * Added support for generators (yield statement)
25cddb7e » keesbos
2009-09-16 Added support for simple generators (yield statement)
234
7d36c9b3 » keesbos
2009-09-10 Added an substantial portion of re module
235 * Added an substantial portion of re module
236
c1c71127 » lkcl
2009-09-10 #256 - add setReadonly and isReadonly to FocusMixin
237 * added isReadOnly and getReadOnly functions to FocusMixin, such that
238 FocusPanel and FocusWidget both get that functionality (thanks to
239 guenter walser)
240
51956940 » keesbos
2009-09-11 Added --operator-funcs back in to enable non-number operation
241 * Added --operator-funcs to enable non-number operation such as [1]+[2]
242
81f2902f » keesbos
2009-09-11 Added --inline-code back in to speedup eq/bool/len
243 * Added --inline-code to speedup eq/bool/len (saves expensive function calls)
244
04bd7566 » keesbos
2009-09-07 All attributes are accessed as v['attr'] and not as v.attr anymore
245 * All attributes are accessed as v['attr'] and not as v.attr anymore
246 This circumvents a bug in IE with javascript keywords:
247 (v.super is not allowed, but v['super'] is)
248
59d3644b » keesbos
2009-09-04 Added __cmp__ to dict class
249 * Added __cmp__ to dict class
250
65dbecc4 » keesbos
2009-09-03 Minor bugfixes and update CHANGELOG
251 * Make compile options effective in runtime options
252
253 * Added --keep-lib-files option
254
255 * Added --dynamic option
256
257 * Added dynamic loading of modules
258
259 * Added builtin __import__ (only supports the first parameter)
260
b5f4b645 » lkcl
2009-09-01 make public subdirectory configuration option --public-folder
261 * make public subdirectory configurable at build time (thanks to Mathias Waack)
262
c63c9042 » lkcl
2009-08-30 Add rfind to string
263 * Add rfind to string (and tests)
264
7f1c900d » lkcl
2009-08-30 mention new handler classes in CHANGELOG
265 * Added new "Handler" classes MouseHandler, ClickHandler, KeyboardHandler
266 and FocusHandler, which need only be "mixed in" to a Widget in order
267 to get event handling.
268
703d5452 » jukart
2009-08-28 * fixed floating point precision in sprintf, now '%.2f' works
269 * fixed floating point precision in sprintf, now '%.2f' works
270
d7224f9a » keesbos
2009-08-28 Added basic implemention of new style decorators and 2.6 style proper…
271 * Added basic implemention of new style decorators and 2.6 style property()
272
a66830a9 » lkcl
2009-08-27 mention GChart in CHANGELOG
273 * Added first port of GChart - http://code.google.com/p/gchart.
274 java2py.py converted, then manual update. Passes syntax check
275 but that's about it...
276
2601dff5 » keesbos
2009-08-27 Added property()
277 * Added property()
278
279 * Added staticmethod()
280
d888fc11 » keesbos
2009-08-27 Added __pyjamas__.setCompilerOptions()
281 * Added __pyjamas__.setCompilerOptions()
282
310ceb51 » keesbos
2009-08-27 Added descriptors (enables old style decorators)
283 * Added descriptors (enables old style decorators)
284
285 * Added del cls.attr
286
43cc5b89 » keesbos
2009-08-26 Added some checks in list methods (raising exeptions)
287 * More checks in list methods
288
716eabbb » keesbos
2009-08-26 Fixes issue #225
289 * Javascript keywords are possible/allowed as attibutes/modules
290
291 * All builtins can be overridden
292
aa8e0eca » keesbos
2009-08-19 Added support mutable default in functions (fixes issue #214)
293 * Added support for *args/**kwargs for lambda
294
295 * Added support mutable default in functions
296
0be69467 » lkcl
2009-08-19 #237 - add list.sort kwargs thanks to beni cherniavsky
297 * Added keyword args to list.sort (thanks to Beni Cherniavsky)
298
ef02dbd5 » lkcl
2009-08-18 #236 fix button / event handling
299 * Fixed toggle example and button handling #236
300
59584a99 » lkcl
2009-04-12 sort out DisclosurePanel
301 Changes made to Pyjamas since 0.5p1
302 -----------------------------------
eece096f » lkcl
2009-08-16 add module override system... to pyjd!
303
378ff7f9 » lkcl
2009-08-18 #227 - big bit of reworking of menu stuff and getAbsoluteTop and getA…
304 * Resolved getAbsoluteTop and getAbsoluteLeft in pyjd hulahop, pyjd
305 pywebkitgtk, Safari, Mozilla (including 3.5), webkit but NOT IE6
306 and NOT pyjd MSHTML.
307
5cf14fa2 » lkcl
2009-08-17 add kees jsimport example... as an example :)
308 * Added jsimport example (direct from kees's commit message :)
309
4b86ef20 » keesbos
2009-08-17 Added __pyjamas__.jsimport(path, mode, location)
310 * Added __pyjamas__.jsimport(path, mode, location)
311
fa7c0526 » lkcl
2009-08-17 mention Henk Punt from pyjd/windows.py
312 * remove dependency of pywin32 in pyjd MSHTML port.
313
314 * improved event handling of pyjd MSHTML port.
315
eece096f » lkcl
2009-08-16 add module override system... to pyjd!
316 * Added platform overrides system... to pyjd! MSHTML, hulahop and pywebkitgtk
317 can now have their own platform-specific overrides.
3ae4f07a » bernddorn
2009-07-20 tuple __contains__ fixed
318
59c930cf » keesbos
2009-08-12 Added debugger() to __pyjamas__
319 * Added debugger() to __pyjamas__
320
321 * Added javascript inclusion via --include-static-js and __pyjamas__.include()
fe4d3eeb » keesbos
2009-08-12 Added javascript inclusion via --include-static-js and __pyjamas__.in…
322
a5b88c21 » lkcl
2009-08-12 add beni kerniavsky to contributors
323 * Added dict pop and popitem, thanks to Beni Cherniavsky
324
94afd821 » keesbos
2009-08-10 Added build option --bootstrap-file and a bootstrap_progress.js
325 * Added build option --bootstrap-file and a bootstrap_progress.js
326
327 * Discarded strings are not getting translated anymore
c2413a30 » bernddorn
2009-08-10 discarded constants no more translated
328
cd1dbe4d » keesbos
2009-08-10 Added --downloads-(yes/no) to buildall.sh and employeeadmin/build.sh
329 * Added --downloads-(yes/no) to buildall.sh and employeeadmin/build.sh
330
4e742342 » lkcl
2009-08-09 update for a 0.6~pre3 release
331 * Added experimental support for MSHTML as a Pyjamas Desktop engine
332
bd0f0762 » lkcl
2009-08-06 mention radoslav in credits and changelog
333 * Added lightout example from Radoslav Kirov
334
c6ea54f3 » keesbos
2009-08-04 Added if and nested for to list comprehension
335 * Added if and nested for to list comprehension
336
c0692e4e » keesbos
2009-08-04 Added struct/binascii/base64 module
337 * Added base64 module (not encode/decode file)
338
339 * Added binascii module
340
341 * Added struct module (not pack_into/unpack_from)
342
624c3efc » keesbos
2009-08-04 Added basic support for list comprehension (no ifs/multiple for)
343 * Added basic support for list comprehension (no ifs/multiple for)
344
37744f30 » keesbos
2009-08-03 Added an import test, to catch errors when the import implementation …
345 * Added builtin import test, which will fail if the import code
df47283a » lkcl
2009-08-06 spelling correction
346 gets too smart
37744f30 » keesbos
2009-08-03 Added an import test, to catch errors when the import implementation …
347
0f09987e » keesbos
2009-08-03 Bugfix for soure tracking/debugging
348 * The -d option now sets:
349 --debug-wrap
350 --source-tracking
351 --line-tracking
352 --store-source
353
354 * Bugfix for soure tracking/debugging
355
3c3379b3 » bernddorn
2009-08-03 fixed no-print-statements option
356 * BUGFIX: the --no-print-statements option was not honored in browser
357 linker
358
a5bfb8eb » bernddorn
2009-07-28 fixed urllib quote
359 * fixed urllib quote TODO: need real implementation of quote
360
361 * removed deprecated pyjs.py from root of pyjs
362
b65185c9 » bernddorn
2009-07-28 move __pyjamas__, and some LibTest fixes
363 * we now do not need to override pyjamas.Window fully anymore, so use
364 base implementation, which now does not import gtk anymore. moved
365 pyjamas/__pyjamas__ to /__pyjamas__ again.
366
103b5e90 » lkcl
2009-07-28 add urllib module test
367 * Added beginnings of urllib (quote, urlencode) thanks to Ondrej Certik
368
7ee080b8 » lkcl
2009-07-27 mention speed issue fixed in changelog
369 * Fixed speed issue #199! was related to accidental inclusion of gtk.py,
370 which accidentally pulled in browser.py, gobject.py and much more.
371 Thank you to dobee and jukart for identifying the source of the problem.
372
0a5b85c8 » bernddorn
2009-07-24 window listener fix, generalize in UnitTests, add meta to nocache boi…
373 * fixed Window listener. Added tests for those
374
6cad8faa » bernddorn
2009-07-24 __pyjamas__ moded to prevent translation
375 * moved pyjamas.__pyjamas__ to __pyjamas__, this way the translator
376 now removes any import from __pyjamas__ this module is not existent
377 in javascript, only in python. if there is a requirement to a
378 function in __pyjamas__ in javascript, it does not belong there.
379
3a22a9b4 » bernddorn
2009-07-23 override flags added
380 * added flag handling to overrides for translator, see
381 translator.txt. it is now possible to override a whole
b65185c9 » bernddorn
2009-07-28 move __pyjamas__, and some LibTest fixes
382 module.
3a22a9b4 » bernddorn
2009-07-23 override flags added
383
b7c39df8 » bernddorn
2009-07-23 fix client dimenstion functions on IE
384 * fixed pyjamas.Window.getClientWidth/Height on IE. removed
385 conditionals from __browser__ implementation in those functions.
386
3218653a » bernddorn
2009-07-23 prevent builtin names in pyjslib
387 * prevent usage of builtin names in pyjslib, this causes javascript
388 errors at least in javascript lint. int and float are now int_
389 float_ in javascript. for python code nothing should change.
390
bc444185 » bernddorn
2009-07-22 cache-buster option re-added
391 * re-added the --cache-buster option, which now also works along with
392 --multi-file. both options are now enabled in libtest build.
393
1ef01d75 » bernddorn
2009-07-22 multi-file option implemented, yeah we can use firebug again
394 * fixed a bug in linker which caused js_libs to be duplicated when
395 called twice in a process. this only affects tests, not console
396 scripts.
397
398 * added --multi-file option to browser linker to generate script tags
399 instead of including the whole code in one file. now it is possible
400 to really work with firebug because of the small files. added this
401 option to build.sh of libtest by default.
402
01ff0386 » bernddorn
2009-07-22 linker fix
403 * fixed browser linker which didn't take js_includes into account
404
a8be0ab3 » bernddorn
2009-07-21 logging added
405 * use python's standard logging module for displaying messages in the
406 linker. The browser linker now takes a -l option for specifying the
407 python log level. e.g -l 0 displays all log messages
408
455d4b49 » bernddorn
2009-07-21 array_extras platform added
409 * created a new parent platform called "array_extras" which is used
410 for "sm", "mozilla", "opera" and "safari" in order to use things
411 like Array.indexOf on all browser that suppport the array extras.
412
fcfd0358 » bernddorn
2009-07-21 do not allow js reserved words for module names
413 * raise a TranslationError if a reserved word is used for a module
414 name, this would cause unpredictable results in running code, which
415 is very hard to debug.
416
3ae4f07a » bernddorn
2009-07-20 tuple __contains__ fixed
417 * fixed __contains__ on Tuples in mozilla and added TupleTest to LibTest
418
e46a7677 » bernddorn
2009-07-20 fixed != operator
419 * fixed the "!=" operator, it now uses pyjslib.eq
59584a99 » lkcl
2009-04-12 sort out DisclosurePanel
420
88dc1eb8 » lkcl
2009-07-19 add datefield widget and example, thanks to yi choong
421 * Yi Choong contributed a DateField widget, and example - thank you!
422
e7de289b » keesbos
2009-07-17 Local variables are now declared at the top of the function/method
423 * Local variables (in functions/methods) are now declared at the
424 head of the function/method
425
77fe6d7c » keesbos
2009-07-17 Compiler option decorators now take the form @compiler.<option>
426 * Compiler option decorators now take the form @compiler.<option>
427
cb3019b6 » jukart
2009-07-17 Improved import speed by
428 * translator is now using unknown properties as module properties
429 Take care of this when mixing JS and Python code :
430 JS("var a = 1")
431 if a == 1:
432 pass
433 "a" is not know to the translator because it was declared in JS.
434 Do this :
435 a = None
436 JS("a = 1")
437 Now a is known to python.
438
a0b611e0 » lkcl
2009-07-14 mention kees efforts on #180 to reduce code size by 25%
439 * #180 - 25% reduction in code output size thanks to Kees moving
440 some of the auto-generated code on a per-function basis into
441 javascript support routines.
442
79e73058 » lkcl
2009-07-11 #152 - added and fixed up Toggle at same time
443 * #152 - added buttonClick and fixed up CustomButton (see Toggle example)
444 at same time. EVENT.BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT had wrong
445 #defines as well: only CustomButton was using them which was why nobody
446 noticed.
447
5b082a5f » lkcl
2009-07-10 closing #34
448 * Allowed all widget constructors to take kwargs which will result
449 in the setXXXX method being called. Tuples as kwargs will result
450 in *args to the setXXXX method e.g.
e5ec32d5 » lkcl
2009-07-10 closing #34
451 p = HorizontalPanel(Size=("600px", "200%"),
452 StyleName="class-name",
453 Visible=False)
454 is equivalent to:
455 p = HorizontalPanel()
456 p.setSize("600px", "100%")
457 p.setStyleName("class-name")
458 p.setVisible(False)
5b082a5f » lkcl
2009-07-10 closing #34
459 This is a strategically very significant upgrade to Pyjamas Widgets:
460 it dramatically simplifies the creation of applications.
461 Closes #34.
462
4f59eb3d » keesbos
2009-07-10 Added compile-options --[no-]bound-methods
463 * Added compile-options --[no-]bound-methods
464
9797725b » lkcl
2009-07-09 Added augassign to indexed item (e.g. lst[1] += 1)
465 * Added augassign for indexed items
466
6570c900 » lkcl
2009-07-09 whitespace cleanup by stefan schwarzer
467 * Whitespace cleanup of addons by stefan schwarzer
468
5b56c742 » lkcl
2009-07-09 Added some more functionality to the time module
469 * Extended time module with gmtime/localtime/mktime and partial strftime
470
35004f82 » bernddorn
2009-07-08 updated changelog for last checkin
471 * Tuples no more behave like List. No mutating methods anymore to go
472 inline with the pyhton implementation.
473
30fb4007 » bernddorn
2009-07-07 europython merge
474 * huge refactoring, with incompatible changes, see TODO
475
476 * the translator and the linker are now split
477
478 * python packages are now supported
479
480 * translation (not linking) is done on a per-file basis like in
481 python, no requirement for existing imports anymore
482
483 * overrides are searched for in a namespace package e.g
484 (__mozilla__), this means we can place overrides anywhere in the
485 pyjs.path
486
487 * platforms can inherit from others e.g. spidermonkey inherits from
488 mozilla (multioverride - no need for runner specific special
489 translation like the PyJS hack)
490
491 * public folders are looked up in any directory where a module lives
492 - this means the data_directory option is gone
493
494 * pyjs/builtin/public now holds required bootstrap script files
495
496 * there is a dev directory where all scripts from pyjs are now
497 generated via normal setup.py and buildout
498
499 * in the dev directory a test script tests the translator, browser-
500 and spidermonkey-linker, the spidermonkey linker test actually runs
501 examples/libtest
502
503 * builtins now live in pyjs/builtin, those builtins (e.g. pyjslib)
504 are transparent from python
505
7b393382 » lkcl
2009-07-05 general cleanup from stefan, != None must be is not None etc.
506 * Patch from Stefan Schwarzer to replace != None with is not None
507 and == None with is None, general clean-up.
508
42e7746e » lkcl
2009-07-04 mention SVG 2D Canvas addonsgallery example now working under pyjd / xul
509 * Got SVG 2D Canvas addonsgallery example working under Pyjamas-Desktop
510 (Gecko Engine). Requires a patch to XulRunner, for drawImage to work:
511 https://bugzilla.mozilla.org/show_bug.cgi?id=502234
512
886f5ce8 » lkcl
2009-07-04 somehow lost some contributions from Stefan Schwarzer in an svn dcomm…
513 * Added libtest corrections thanks to stefan schwarzer
514
20e20d0c » lkcl
2009-07-03 add employeeadmin puremvc example
515 * Added PureMVC example EmployeeAdmin
516
7311e2ca » lkcl
2009-07-03 add config parser ~/.pyjd/pyjdrc
517 * Added Gecko/XUL/Hulahop as Pyjamas-Desktop engine; added pyjd.setup
518 and pyjd.run functions (which are dummy in pyjs); added ~/.pyjd/pyjdrc
519 file to configure use of either pywebkitgtk or hulahop
520
0ac5c10b » lkcl
2009-07-02 int() now raises ValueError
521 * int() now raises ValueError
522
42e7746e » lkcl
2009-07-04 mention SVG 2D Canvas addonsgallery example now working under pyjd / xul
523 * Added __getitem__ to Exception
245a1f2c » lkcl
2009-07-02 Added __getimtem__ to Exception
524
f5e7c54a » lkcl
2009-07-01 patch for -c cache-buster to use md5sum correctly depending on versio…
525 * Fix for cache-busting in build process with different versions
526 of python (use of md5 module), thanks to Oisin Mulvihill
527
cfb787e1 » lkcl
2009-07-01 add more to changelog
528 * Added support for reaching subscript js objects with python syntax
529
530 * Added 'native' functions doc() and wnd() to reach $doc and $wnd
531
532 * Added platform merge for simple class attribute assignments
533
534 * Moved top-level option and track variable to safe variable $pyjs
535
30fb4007 » bernddorn
2009-07-07 europython merge
536 * Repaired pyv8 code
cfb787e1 » lkcl
2009-07-01 add more to changelog
537
538 * Namespace safe module imports
539
540 * Simplified import for pyjs
541
29237672 » lkcl
2009-06-24 add isinstance str and int support
542 * Added isinstance(s, str) and isinstance(s, int) support
543
544 * Monster update to include Pyjamas-Desktop
545
345d5d5b » lkcl
2009-06-19 Added imperfect support for local import/from-import
546 * Added imperfect support for local import/from-import
547
ee0acd9a » lkcl
2009-06-19 Added support for toplevel conditional import/from-import
548 * Added support for toplevel conditional import/from-import
549
30fb4007 » bernddorn
2009-07-07 europython merge
550 * Added name mapping to protect javascript reserved function methods
d8f2719e » lkcl
2009-06-19 Added name mapping to protect javascript names
551 and reserved local variables (e.g. .name/.prototype, this/arguments)
552
553 * Revised name (variable/class/function/...) lookup
554
30fb4007 » bernddorn
2009-07-07 europython merge
555 * Extended compile option support for commandline building and
444de911 » lkcl
2009-06-15 Modified option handling
556 compiling and for function / method decorators
557
816c7bca » lkcl
2009-06-13 Added __repr__() and toString() to list/tuple/dict
558 * Added __repr__() and toString() to list/tuple/dict
559
560 * Disable source-tracking on Modload for better trace dumps
561
562 * Use pyjslib.cmp() for <, <=, >, >= to enable type comparing (tuple/list/dict)
563
564 * Performance improvement pyjslib.eq / pyjslib.cmp
565
566 * Added support for iterable single argument in min()/max()
567
568 * Circular imports permitted
569
570 * Extended try-except support
571
572 * Extended raise statement support
573
574 * Added support for assigning instance methods to variables
575
576 * Bugfix/performance enhancement method argument checking
577
578 * Added Window.setOnError() and Window.onError()
579
580 * Changed compiler flag -d behavior (wrap function calls in switch)
581
582 * Added compiler flag --disable-store-source
583
584 * Added compiler flag --disable-source-tracking
585
586 * Modified debug and tracing
587
588 * Added support for 'for' iteration over slice
589
590 * Added support for function call in global variable
591
592 * Enhancement of import and from statement
593
594 * Added missing imports (bernd)
595
596 * use getattr for listener check in Image implementation (bernd)
597
598 * Bugfix for sprintf (in IE6)
599
600 * Added partial implementation for sys.exc_info()
601
602 * Added extended support for try...except...else
603
604 * Added support for attribute checking, with compiler flag
605
606 * Added support for super(type, type)
607
608 * Bugfixes in libraries and example
609
610 * Added compile option to disable argument checking
611
612 * Added argument checking on all functions/methods
613
614 * Added kwarg parsing on all generated functions
30fb4007 » bernddorn
2009-07-07 europython merge
615
816c7bca » lkcl
2009-06-13 Added __repr__() and toString() to list/tuple/dict
616 * Added parital implementation of super() function
617
618 * Changed Javascript backend for generating classes
619
620 * Added missing import in library/pyjamas/ui/TreeItem.py
621
622 * Improved the tab panel corners example (thanks to daryl daly)
623
624 * Added gmap example (Thanks to Greg)
625
626 * Added support for x in [1,2,3]
627
628 * Added bit about css tables to faq
629
630 * Added buildall.py alternative to buildall.sh, thanks to delaney
631
632 * Added missing imports in library (thanks to jukart)
633
69424182 » lkcl
2009-05-09 added dictionary support to sprintf - thanks to kees
634 * Added much better sprintf which has dict support (Yaay! thank you kees)
635
b6ff1957 » lkcl
2009-05-09 added NameError ValueError IndexError thanks to kees
636 * Added NameError, ValueError and IndexError exceptions (thanks to Kees)
637
0761c756 » lkcl
2009-05-08 added startswith, endswith, ljust, rjust and center, thanks to kees bos
638 * Extended string startswith, endswith, added ljust, rjust and center
639 (thanks to Kees).
640
7c7f9e68 » lkcl
2009-05-07 added more builtins, thanks to kees bos
641 * Added "pow", "hex", "oct", "round", "divmod", "all", "any" and "delattr".
642 (thanks to Kees).
643
644 * Added subscript support and more, from the llpamies branch (lkcl), to
645 get pygtk working.
646
335f746f » lkcl
2009-05-06 added support for x ** y thanks to kees bos
647 * Added support for x ** y syntax (thanks to Kees).
648
4fe00eeb » lkcl
2009-04-30 patch from khiraly for getboundingclientrect off-by-one bug
649 * Fixed getBoundingClientRect off-by-one bug (firefox 3 returns an
650 inaccurate float, not an int) thanks to khiraly
651
bfbf7e11 » lkcl
2009-04-30 added pushbutton (thanks to khiraly)
652 * Added ToggleButton, PushButton and CustomButton (thanks to khiraly)
851f2fc9 » lkcl
2009-04-26 add toggle example
653
60443d63 » lkcl
2009-04-23 Added means to return and call functions from another function call
654 * Added means to return and call functions from another function call
655 (added by Kees)
656
a9018aa2 » lkcl
2009-04-20 added means to derive classes from classes imported from other module…
657 * Added means to derive classes from classes in other modules
658 e.g. from module import parent; class child(parent): pass
659 (thanks to Kees Bos).
660
ef975eeb » lkcl
2009-04-20 zero-args support from kees bos
661 * Added class "Zero args" support (thanks to Kees Bos).
662 TODO: support runtime exceptions when number of function
663 call arguments is wrong, as illustrated in the new LibTest.
664
665 * Added Multiple Inheritance (thanks to Kees Bos)
a89a623a » lkcl
2009-04-18 added support for multiple inheritance
666
1aed6c30 » lkcl
2009-04-12 add to demos
667 * Add support for Google Gears (Database)
668
30fb4007 » bernddorn
2009-07-07 europython merge
669 * Completed DisclosurePanel port
59584a99 » lkcl
2009-04-12 sort out DisclosurePanel
670
671
b31792ff » bernddorn
2009-03-12 improved Dict class, see changelog
672 Changes made to Pyjamas since 0.5
673 ---------------------------------
674
d1080721 » lkcl
2009-04-12 tidyup / mention contributors / licenses
675 * Fixed Autocompletion which just needed non-modal on PopupPanel
676 (thanks to lovelysystems for implementing non-modal dialogs
677 otherwise it wouldn't be possible to fix Autocompletion)
678
4ecdba7c » lkcl
2009-04-08 added metaclasses!
679 * Added implementation of metaclass "type" function
680
450939cf » lkcl
2009-03-28 make KeyboardListener functions rather than a class
681 * Made KeyboardListener a singleton module rather than have a class
6732ff39 » lkcl
2009-03-28 replace Focus and FocusListener with singletons
682 named the same as the module. Likewise with MouseListener, Event
683 and Focus.
450939cf » lkcl
2009-03-28 make KeyboardListener functions rather than a class
684
dc7c8b86 » lkcl
2009-03-27 mention context menus in changelog
685 * Added Right-clickable Context Menus, and added an example in KitchenSink
686 Menus.py to show how to set them up.
687
e5889e93 » lkcl
2009-03-23 add pysm as a platform
688 * Added python-spidermonkey as an experimental platform, exactly like
689 pyv8run.py now there is pysmrun.py
690
912e3492 » lkcl
2009-03-21 local variables scope at top-level fixed
691 * Top-level global variables, and top-level functions, now
692 correctly scope in a module (thanks to Jose for raising this one)
693
48c53933 » lkcl
2009-03-20 quite a few changes here (sorry!) which sort-of blend together in a
694 * String constants are now returned as instances of String()
695 which results in them having the __iter__ method that has
696 been added to the proto of the javascript base String type.
697
698 * made TypeError inherit from BaseException rather than being a
699 javascript proto from Error(). TypeError can now be raised
700 as an Exception, with a message.
701
702 * made == comparison use __eq__, which conditionally uses __cmp__
703 if it is available: this fixes bugs in comparison of lists in the
704 LibTest. replaced a large number of numerical "==" comparisons
705 with "is", so that __eq__ doesn't get called (efficiency).
706
707 * added support for calling *args on functions: previously, a call
708 function(*args) would result in the args being thrown away!
709
710 * made Tuple its own class, rather than inheriting from List, in order
711 that it can be distinguished from List. __cmp__ of a List with a
712 Tuple now correctly fails.
713
39ae0d74 » lkcl
2009-03-19 mention libtest update in changelog
714 * rewrote the examples/libtest so that they can be run under standard
715 python (python ./LibTest.py). this allows for a comparison of pyjs
716 against standard python.
717
a9574597 » st_martin
2009-03-17 add method extend to pyjslib.List
718 * add method extend to pyjslib.List
719
61a42fc8 » lkcl
2009-03-15 add float to builtins
720 * add float to builtins
721
543a70f4 » lkcl
2009-03-15 add pyjamas.log based on examples/libtest/write.py
722 * add pyjamas.log based on examples/libtest/write.py
723
d656057a » berndroessl
2009-03-13 * registered builtin function 'cmp'. was already implemented but not
724 * registered builtin function 'cmp'. was already implemented but not
725 registered in pyjs.py
726
31777bd0 » bernddorn
2009-03-12 added optimize option to builder, see changelog
727 * added an --optimize option to which results in removing print
728 statements. this could be further improved. e.g. when assert is
729 implemented
730
f18d173f » bernddorn
2009-03-12 fix parentNode bug
731 * fixed Mozilla "Permission Denied" bug in DOM.isOrHasChild
732
61a42fc8 » lkcl
2009-03-15 add float to builtins
733 * pyjslib.Dict now use the hash method to generate keys internally,
b31792ff » bernddorn
2009-03-12 improved Dict class, see changelog
734 so it si possible to use objects as keys like in python. For
735 limitations on dicts read examples/libtest/DictTest.py
736
e5a84276 » jukart
2009-01-02 * added none modal behaviour to DialogBox
737 Changes made to Pyjamas since 0.4
738 ---------------------------------
739
bef2ab68 » lkcl
2009-03-11 convert app loader to use __name__ == __main__
740 * convert app "loading" to require the use of "if __name__ == '__main__'"
741 bringing pyjamas into line with "standard" python. apps can convert with
742 contrib/pyjamas_0.4-0.5_upgrade/add_name_main.py to add a small codefragment
743 at the end: "app = MyApp(); app.onModuleLoad()"
744
a1654711 » lkcl
2009-03-11 string iterator yaay!
745 * added string iterator (for c in "hello")
746
c2aff9c7 » lkcl
2009-03-11 add stacktrace recording
747 * added stacktrace recording and notification when -d option is given
748 to builder. expensive but useful.
749
7a392250 » lkcl
2009-03-09 merge dynamic branch manually
750 * added a helper tool (in contrib) called replacer.py which helps convert
751 apps: "from pyjamas.ui import X,Y" is converted to
752 "from pyjamas.ui.X import X; from pyjamas.ui.Y import Y"
753
754 * split ui.py into separate modules. cache file sizes are now drastically
755 reduced due to importing only including what is needed. the reduction
756 is possible with both dynamic and static code-generation, although not
757 as much for static.
758
759 * dynamic module loading is now possible (add -m 1 to build). each module
760 is placed in its own separate cache file, with platform overrides
761 also getting their own cache file. cache files are shared between
762 platforms rather than four separate identical compiled modules being
763 created. none of this optimisation is possible without dynamic loading
764
0a0de42d » bernddorn
2009-03-06 implemented list.reverse
765 * added "reverse" method of List. Thanks to Soulburner
766
e6c290f0 » bernddorn
2009-03-05 hashed filenames implemented, see changelog for details
767 * The user.agent value for Mozilla is no longer "moz", instead
768 "mozilla" is returned, to be consistent with platform names.
769
770 * .cache.html files are now generated with their md5 hash in the name
771 like in gwt. This now allows to cache those files on the
7a392250 » lkcl
2009-03-09 merge dynamic branch manually
772 browser. add -c or --cache-buster to builder command-line to enable.
e6c290f0 » bernddorn
2009-03-05 hashed filenames implemented, see changelog for details
773
82db332d » bernddorn
2009-03-05 functions now return None always
774 * all none-native functions always return None now, which matches the
775 behaviour of python.
776
c80ac224 » bernddorn
2009-03-04 implemented lambda
777 * implemented "lambda". note that lambdas are only supported without
778 kwargs or varargs
779
69b6858d » bernddorn
2009-03-04 if and while statements now use bool for expr
780 * "while" and "if" statements now use the new "bool" function to
781 evaluate their expressions. Now it is possible to do things like
782 "if ([])".
783
44c4fe7a » bernddorn
2009-03-04 implemented bool
784 * implemented builtin "bool" function, also the "is" and "is not"
785 operators are now generating "===" and "!==", this is needed to
786 distinct between undefined and null.
787
f3e17b12 » berndroessl
2009-03-04 added CaptionPanel (see showcase)
788 * added CaptionPanel (see showcase)
789
7640bc20 » bernddorn
2009-03-03 implemented the PYJSPATH equiv to PYTHONPATH, changed to buildout, se…
790 * the pyjs compiler now uses the pyjs.path variable using the same
791 semantics as sys.path in python to find python module files to be
792 compiled to javascript. the path can also be set via the
793 environment variable PYJSPATH
794
795 * Changed development setup to generate ./bin/pyjscompile ./bin/pyjsbuild
796
b6c73f5d » berndroessl
2009-03-02 * implemented isdigit for strings
797 * implemented "isdigit" for strings
798
e01417cd » bernddorn
2009-03-02 added unicode support, fixed paths in build.py
799 * added support for unicode constants, the encoding is now explicitly
e5ff905d » lkcl
2009-03-09 cosmetic spelling correction
800 set in the *.cache.html files to "utf-8". Strings should now be
e01417cd » bernddorn
2009-03-02 added unicode support, fixed paths in build.py
801 encoded in a safer manner.
802
07131843 » bernddorn
2009-03-02 exception handling improved by using new builtin classes
803 * implemented basic Exceptions in pyjslib and added them to the global
804 namespace.
805
5df1202c » bernddorn
2009-03-02 worked on exceptions, see changelog
806 * implemented try except statements with an expression. Raising and
807 catching of class based Exceptions is now possible. String based
808 Exceptions also work.
809
4371d9db » lkcl
2009-03-11 remove duplicate Controls.py
810 * implemented the 'isinstance' builtin function, currently only
5df1202c » bernddorn
2009-03-02 worked on exceptions, see changelog
811 works on normal class instances.
812
2cd501e7 » bernddorn
2009-03-02 getattr and raise implemented, see changlog
813 * implemented the 'raise' statement. it only works with a single expression.
814
815 * changed 'getattr' to accept a default and raise an AttributeError
816 if the attribute cannot be found.
817
f0d29902 » berndroessl
2009-02-25 implemented 'setattr'
818 * implemented 'setattr'
819
e5a84276 » jukart
2009-01-02 * added none modal behaviour to DialogBox
820 * added none modal behaviour to DialogBox
821
822 * fixed bug if mouse is moved too fast while dragging a dialog
823
2c1d8f41 » lkcl
2009-03-02 add support for statements at the global level
824 * added support for statements at the "global" level in pyjs.py, so
825 that compiling "if __name__ == '__main__': " and other such global
826 code statements will now work.
e5a84276 » jukart
2009-01-02 * added none modal behaviour to DialogBox
827
a95d5002 » lkcl
2008-12-02 erik created a changelog for the 0.4 release - good one!
828 Changes made to Pyjamas since 0.3
829 ---------------------------------
830
831 Enhancements
832
833 * Added library/splitpanel.py and library/vertsplitpanel.py, along with
c12bfb5b » lkcl
2008-12-02 mention whats in decoratorpanel
834 examples/splitpanel. NOTE: splitpanels should be in ui.
a95d5002 » lkcl
2008-12-02 erik created a changelog for the 0.4 release - good one!
835
836 * Changed ui.TabBar.insertTab() to allow widgets to be passed as well as text.
837
838 * Added examples/tabpanelwidget
839
840 * Added gtk_converter to the "contrib" directory (thanks to Jeremy)
841
c12bfb5b » lkcl
2008-12-02 mention whats in decoratorpanel
842 * Added library/decoratorpanel.py which includes DecoratorPanel,
843 DecoratedTabPanel and DecoratedTabBar. NOTE: these classes should
844 be in ui.
a95d5002 » lkcl
2008-12-02 erik created a changelog for the 0.4 release - good one!
845
846 * Added examples/slideshow
847
848 * Added support for slicing with negative numbers.
849
850 * Added examples/jsobject
851
852 * Added support for a debugging mode, which can be turned on by include a "-d"
853 command-line option when calling build.py. With this option turned on, each
854 statement in your Python code is surrounded by a try...except statement that
855 displays an alert if an exception occurs. The alert message contains the
856 original Python source text, the line number in your Python source file
857 where the error occurred, and the details of the Javscript error which
858 occurred. This should greatly simplify debugging your Pyjamas code.
859
860 * Issue #75: Added support for "is not None" syntax.
861
862 * Issue #85: Implemented the repr() built-in function.
863
864 * Issue #93: Implemented dict.items().
865
866 * Issue #95: Implemented Window.prompt().
867
868 * Issue #100: Added a setPadding() method to ui.CellPanel.
869
870 * Issue #103: Implemented the enumerate() built-in function.
871
872 * Issue #104: Added the ability to assign to a list of variables, for example:
873 x,y = self.method()
874
875 * Issue #105: Implemented the min() and max() built-in functions.
876
877 * Issue #88: It is now possible to use the getattr() built-in function to
878 obtain a method, and then pass parameters to that method when you call it.
879 There is a new example in the "examples/" directory, called "getattr", which
880 demonstrates how this can be used.
881
882 * Issue #111: Added XOR and bit-shift operators, thanks to legith.
883
884 * Issue #112: Added support for the ord() and chr() built-in functions
885 (thanks, legith!).
886
887 * Issue #113: Implemented support for basic try...except statements. There is
888 also a new module, examples/libtest/ExceptionTest.py, which tests the use of
889 the try...except statement.
890
891
892 Bug Fixes, etc.
893
894 * Added a new implementation of sprintf.
895
896 * Issue #86: Fixed a bug which could cause HTTPRequest to crash. Thanks to
897 finder83 from code.google.com/p/pyjamas for helping to find this.
898
899 * Added standard images to use for the edges and corners of a dialog box
900
901 * Various changes to ui.py and DOM.py to (partially) support event handling on
902 dialog boxes.
903
904 * Fixed a bug in ui.CellFormatter.getElement() which could cause a crash.
905
906 * Fixed a problem with ui.FormSubmitEvent.setCancelled()
907
908 * Fixed bug in ui.clickDelegatePanel.onBrowserEvent() which caused a crash
909 when processing a keyDown event.
910
911 * Changed ui.ClickDelegatePanel.onBrowserEvent() to check that the key
912 delegate actually has an "onKeyDown" method before attempting to call it.
913
914 * Issue #54: Fixed a probem with browser detection (via the "user-agent"
915 string) under Internet Explorer 7.0. Apparently Microsoft decided to change
916 the user-agent string in IE 7, breaking the code in Pyjamas which identified
917 the user's browser.
918
919 * Removed code from DOM.init() which was attempting to fix a bug with
920 capturing elements, but didn't work.
921
922 * Fixed a bug in ComplexPanel.insert which was causing Internet Explorer 6 to
923 corrupt its DOM model.
924
925 * Issue #53: Fixed a problem with operator precedence.
926
927 * Issue #91: Added DOM.eventGetCurrentEvent() function to retrieve the current
928 event.
929
930 * Changed FocusWidget.onBrowserEvent() to check that the click listener
931 actually has an "onClick" method before attempting to call it.
932
933 * Issue #82: Changed content-type sent by library/HTTPRequest.asyncPostImpl to
934 "application/x-www-form-urlencoded" rather than "text/plain". This allows
935 the HTTPRequest object to be used to make AJAX calls using HTTP POST
936 requests.
937
938 * Issue #81: Fixed library/ui.Panel.clear().
939
940 * Added a cascading stylesheet to the examples/mail program
941
942 * Issue #106: Fixed a problem where using a tuple as a dictionary key produced
943 unexpected results
944
945 * Issue #107: It is now possible to include a plus sign at the start of a
946 numeric literal
947
948 * Moved datetime.py from the addons directory into library.
949
950 * Issue #80: Changed many of the examples to use the new "pyjamas" package
951 name.
952
953 * Fixed a problem with using negative slices on lists (thanks, Legith).
954
955
Something went wrong with that request. Please try again.