Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: 05a2bb98384707d0e80008aca32e654c11746017 (plain)
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
2009-04-03  Mark Lee  <marklee@svn.gnome.org>

	Make the uint16, uint32, and uint64 unit tests pass.

	* bank/bank-argument.c (pyg_argument_from_pyobject,
	  pyg_argument_to_pyobject):
	* bank/btypes.py (Callable.type_check): Add proper support for uint16,
	uint32, and uint64.

2009-03-31  Mark Lee  <marklee@svn.gnome.org>

	Make the int16, int32, and int64 unit tests pass.

	* bank/bank-argument.c (pyg_argument_from_pyobject,
	  pyg_argument_to_pyobject):
	* bank/btypes.py (Callable.type_check): Add proper support for int16,
	int32, and int64.

2009-03-31  Mark Lee  <marklee@svn.gnome.org>

	* everything_unittest.py: Add limit tests to the integer-related unit
	tests.

2009-03-31  Mark Lee  <marklee@svn.gnome.org>

	Make the uint8 unit test pass.

	* bank/bank-argument.c (pyg_argument_from_pyobject): Add proper
	support for uint8.
	* bank/btypes.py (Callable.type_check): Enforce the unsigned modifier.

2009-03-28  Mark Lee  <marklee@svn.gnome.org>

	Make the int8 unit test pass.

	* bank/bank-argument.c (pyg_argument_to_pyobject): Add proper support
	for int8.

2009-03-28  Mark Lee  <marklee@svn.gnome.org>

	* bank/bank-argument.c:
	* bank/bank-info.c:
	* bank/bank.c: Add Vim modelines.

2009-03-28  Mark Lee  <marklee@svn.gnome.org>

	* bank/bank-repository.c: Add license.

2009-03-28  Mark Lee  <marklee@svn.gnome.org>

	Make the float and double unit tests pass.

	* bank/bank-argument.c (pyg_argument_from_pyobject,
	  pyg_argument_to_pyobject):
	* bank/btypes.py (Callable.type_check): Add proper support for floats
	and doubles.
	* everything_unittest.py (TestGIEverything.testFloat): Adjust the number
	of decimal places the test uses to determine whether a value is almost
	equal.

2009-03-28  Mark Lee  <marklee@svn.gnome.org>

	* README: Clarify some of the docs.

2009-03-27  Mark Lee  <marklee@svn.gnome.org>

	Add unit tests, based on the ones in gjs.

	* everything_unittest.py: Add.

2009-03-23  Mark Lee  <marklee@svn.gnome.org>

	Bug 559006 – pybank & pyobject integration

	* bank/bank-repository.c (_wrap_g_irepository_get_c_prefix):
	* bank/repository.py (_Repository.get_c_prefix): Bind
	g_irepository_get_c_prefix.
	* bank/module.py (DynamicModule._create_object): Use get_c_prefix()
	instead of listing namespace exceptions.
	Ensure that gtype is defined.
	* bank/btypes.py (buildClass): Add support for static methods in
	classes.
	* bank/gobject.py: Remove stub.

2009-03-23  Mark Lee  <marklee@svn.gnome.org>

	Make the WebKit example app run again.

	* webkittest.py: Make sure threads are started and the app quits when
	the window is closed.

2008-11-18  Stefan Kost  <ensonic@users.sf.net>

	* README: mention GI_TYPELIB_PATH instead of XDG_DATA_DIRS

2008-11-05  Jani Monoses  <jani@ubuntu.com>

	Make example apps run again.

	* simple.py: Use Poppler not PopplerGLib module.
	* notify.py:
	* simple.py:
	* simple2.py: No longer pass last GError ** argument to
	method calls that now throw an exception.

2008-10-11  Colin Walters  <walters@verbum.org>

	* bank/bank-repository.c: Use NULL for new introspection
	version parameter.

2008-10-02  Colin Walters  <walters@verbum.org>

	* bank/bank.c: Update for latest type tags.

2008-10-02  Colin Walters  <walters@verbum.org>

	Adapt for bug 552961.

	* bank/bank-info.c: If we're invoking a method,
	insert this parameter.
	* bank/btypes.py: Ditto.  Also don't hardcode type
	tag.

2008-10-02  Johan Dahlin  <jdahlin@async.com.br>

	Bug 553833 – fix poppler example in pybank

	* bank/module.py:
	* bank/repository.py:
	* simple.py:
	Patch by Jani Monoses

2008-09-25  Colin Walters  <walters@verbum.org>

	Bug 552810: Remove unused gidl

	* data/*.gidl: Remove, we are using the .typelib now

2008-09-25  Colin Walters  <walters@verbum.org>

	Bug 552554 - small fixes
	Patch from Jani Monoses

	* bank/module.py: Use correct path property.
	* bank/btypes.py: Actually return value.

2008-09-15  Johan Dahlin  <jdahlin@async.com.br>

	Bug 551169 – fix pixbuf example in pybank

	* bank/bank-argument.c (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	* simple2.py:
	Patch by Jani Monoses

2008-08-30  Colin Walters  <walters@verbum.org>

	* bank/bank-repository.c: Update to new g-i API.

2008-08-22  Johan Dahlin  <johan@gnome.org>

	* bank/bank-argument.c (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	Handle uint8, improve error messages
	* bank/btypes.py:
	Improve exception message
	* overrides/WebKit.py:
	Kill
	* webkittest.py:
	Use WebKit.WebView instead of Page

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* bank/module.py:
	Upper case enum names

2008-08-20  Colin Walters  <walters@verbum.org>

	* bank/bank-repository.c: Bind new
	g_irepository_require.
	* bank/repository.py: Another layer for same.
	* bank/importer.py: Try to look up names
	in GIRepository using built-in logic rather
	than duplicating it here.
	* bank/module.py: Don't call .register.

2007-07-26  Colin Walters  <walters@verbum.org>

	* Makefile: Use installed gobject-introspection.pc
	file.  Also add -fPIC when making shared libraries.

2007-12-14  Johan Dahlin  <johan@gnome.org>

	* bank/module.py:
	Avoid re-creating the classes each time they're accessed,
	save them in our namespace just after they're created.

2007-12-06  Johan Dahlin  <johan@gnome.org>

	* bank/bank-argument.c: (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	* bank/btypes.py:
	* bank/importer.py:
	* bank/module.py:
	* data/Gdk.gidl:
	* data/Gtk.gidl:
	* defs/gtk-base.defs:
	* defs2gidl.py:
	* overrides/Gtk.py:
	* overrides/WebKit.py:
	Get rid of ctypes dependency, support None for strings, update idls
	and scanner parser to init_check can be generated.
	Add a hack to avoid unsupported char***.
	Saves 400k writable memory.

2007-12-06  Johan Dahlin  <johan@gnome.org>

	* bank/bank-argument.c: (pyg_argument_from_pyobject):
	Handle None for interface types
	
	* data/Gtk.gidl:
 	* defs/gtk-base.defs:
	Update ScrolledWindow constructor
	
	* data/WebKit.gidl:
	Set shared-library
	
	* webkittest.py:
	Use a scrolled window and set a default size

2007-12-06  Johan Dahlin  <johan@gnome.org>

	* Makefile:
	Add -l to all generate .gidls
	
	* data/Atk.gidl:
	* data/Gdk.gidl:
	* data/Gtk.gidl:
	* data/Pango.gidl:
	Update

2007-12-06  Johan Dahlin  <johan@gnome.org>

	* Makefile:
	* bank/bank-repository.c: (_wrap_g_irepository_register_filename):
	* bank/registry.py:
	* bank/repository.py:
	* data/Gtk.gidl:
	* defs2gidl.py:
	* gtktest.py:

	Update to latest gobject-introspection, register a dlopenable file
	for Gtk, we can finally avoid LD_PRELOAD hacks now.

2007-11-30  Johan Dahlin  <johan@gnome.org>

	* bank/btypes.py (Function.__get__): Remove, it's unused
	(Method.__init__): inherit from Function, swap order of
	first two arguments.

	* data/WebKit.gidl:
	* overrides/WebKit.py:
	* webkittest.py:
	Add WebKit and a small testcase

2007-11-26  Johan Dahlin  <johan@gnome.org>

	* introspection.diff: Remove, everything
	is committed upstream now.

2007-11-25  Johan Dahlin  <johan@gnome.org>

	* introspection.diff: 
	  Resync:
  	
	  * src/girepository.c: 
  	  * src/girepository.h: 
	  Add g_irepository_is_registered
	
	* Makefile:
	Add Gdk rules
	
	* bank/bank-info.c: (pyg_info_new):
	Don't raise exception, return an UnresolvedInfo object instead.

	* bank/bank-repository.c: (_wrap_g_irepository_is_registered):
	Wrap

	* bank/btypes.py:
	Add a function wrapper.
	Set __name__ to __init__ on constructor.
	Remove some left overs.
	
	* bank/gobject.py:
	Remove GObject and GInitiallyUnknown, they will be
	generated eventually.
	
	* bank/module.py:
	Add support for creating functions, add __name__,
	__file__ and __path__ descriptors.
	import external modules, so we don't need to directly
	import all the dependencies for classes we're going to use
	
	* bank/repository.py:
	Check if the module has been registered before trying to add it
	
	* codegen/definitions.py: Use module everywhere

	* data/Gdk.gidl: New file
	* data/Atk.gidl:
	* data/GLib.gidl:
	* data/Gtk.gidl:
	* data/Pango.gidl: Resync
	
	* defs/atk-types.defs:
	* defs/gdk-base-types.defs:
	* defs/gdk-base.defs:
	* defs/gtk-base-types.defs:
	* defs/gtk-base.defs:
	* defs/pango-types.defs:
	Add missing structs, move Gdk functions using
	Gtk types to gtk-base.defs
	
	* defs2gidl.py:
	Refactor, add support for missing gdk types.
	Generate functions too, ignore *_get_type.
	
	* gtktest.py:
	No need to import gtktest any longer
	
	* overrides/Gdk.py:
	Add.
	
	* overrides/Gtk.py:
	Remove PyGTK main, we can generate it now

2007-11-24  Johan Dahlin  <johan@gnome.org>

	* bank/btypes.py (Method.__repr__): Make it look more like
	normal methods.

	* data/Atk.gidl:
	* data/Gtk.gidl:
	* data/Pango.gidl:
	Regenerate

	* defs2gidl.py:
	Use the nick to determine the name, not the constant name
	
	* gtktest.py:
	Use the enum here

	* bank/bank-info.c: (pyg_info_new), (_wrap_g_enum_info_get_values),
	(_wrap_g_value_info_get_value):
	* bank/gobject.py:
	* bank/module.py:
	Add support for enums
	
2007-11-24  Johan Dahlin  <johan@gnome.org>

	* gtktest.py: Call show_all on the window too

	* overrides/Gtk.py (GtkModule.main): Add, using
	PyGTK until we have functions.

	* bank/btypes.py (Method): Make sure that
	object arguments are sent in

	* bank/bank-info.c: (pyg_info_new):
	Raise an exception instead of printing warning
	
	* data/Atk.gidl:
	* data/GLib.gidl:
	* data/Gtk.gidl:
	* data/Pango.gidl:
	Regenerate
	
	* defs/gtk-base.defs: Convert the GtkWindow constructor
	* defs2gidl.py:
	Add an extra parameter to methods which is the object itself
	* gtktest.py:
	import GLib as well

2007-11-24  Johan Dahlin  <johan@gnome.org>

	* Makefile: Update all/clean rules
	* README: Update
	* TODO: Update
	* data/Atk.gidl: Rescan with defs2gidl chnages
	* data/Gtk.gidl:
	* defs2gidl.py (DefsImporter.__init__): 
	Rename to GType back to GLib.GType.
	* introspection.diff:
	Add my diff to gobject-introspection here

2007-11-24  Johan Dahlin  <johan@gnome.org>

	* defs2gidl.py (DefsImporter.__init__): 
	Rename to GType back to GLib.GType.

	* bank/registry.py: Remove unused import dl

	* overrides/Gtk.py (GtkModule.get_library_name): Do not import
	locale, it's unused.
	* bank/importer.py (DynamicImporter.load_module): Lazy load module
	* bank/module.py (DynamicModule.__init__): Lazy load ctypes

	* Makefile:
	* data/Atk.gidl:
	* data/Pango.gidl:
	* defs/atk-types.defs:
	* defs/pango-types.defs:
	* defs2gidl.py: Namespace the GLib structs properly
	* overrides/Atk.py:
	* overrides/Pango.py:
	Add Atk and Pango, add missing structs to the defs files

2007-11-24  Johan Dahlin  <johan@gnome.org>

	* Makefile: Remove unused targets
	* bank/importer.py: Check GIREPO_PATH instead of sys.path for repos
	* defs/gtk-base.defs: Fix a typo and convert a few constructors
	away from property based ones.
	* defs2gidl.py: Parse constructors
	* data/Gtk.gidl: Update now including constructors

2007-11-24  Johan Dahlin  <johan@gnome.org>

	* gtktest.py: Add a simple test for Gtk+

	* bank/bank-info.c (_wrap_g_object_info_get_parent): Check for NULL.

	* Makefile:
	* bank/module.py:
	* codegen/__init__.py:
	* codegen/definitions.py:
	* codegen/defsparser.py:
	* codegen/scmexpr.py:
	* data/Gtk.gidl:
	* defs/gdk-base-types.defs:
	* defs/gtk-base-types.defs:
	* defs/gtk-base.defs:
	* defs2gidl.py:
	* overrides/Gtk.py:

	Add a new program defs2gidl, to convert a .defs file to .gidl.
	Add structs to the pygtk defs so we can create a metadata format
	which is validatable. Include a beginning of a Gtk.idl.
	Update Makefile and add generation rules.
	Make sure that the class heritance creationg is working 
	with the 'new' repository information.

2007-11-23  Johan Dahlin  <johan@gnome.org>

	* defs/atk-types.defs:
	* defs/atk.defs:
	* defs/gdk-2.10.defs:
	* defs/gdk-2.12.defs:
	* defs/gdk-base-types.defs:
	* defs/gdk-base.defs:
	* defs/gtk-2.10-types.defs:
	* defs/gtk-2.10.defs:
	* defs/gtk-2.12-types.defs:
	* defs/gtk-2.12.defs:
	* defs/gtk-base-types.defs:
	* defs/gtk-base.defs:
	* defs/gtk-extrafuncs.defs:
	* defs/gtkunixprint.defs:
	* defs/libglade.defs:
	* defs/pango-types.defs:
	* defs/pango.defs:
	* defs/pangocairo.defs:
	Import defs from pygtk trunk

2007-11-23  Johan Dahlin  <johan@gnome.org>

	* bank/bank-info.c: (pyg_info_new):
	* bank/bank.c: (register_types):
	* bank/bank.h:
	Add Flags and Boxed types
	
2007-11-23  Johan Dahlin  <johan@gnome.org>

	* bank/repository.py (_Repository.get_infos): New method

	* bank/module.py (DynamicModule.__members__): Create a list of all available
	attributes based on the metadata in the repository.

	* overrides/Poppler.py: 
	* overrides/GLib.py: Import module from the right location

	* bank/dynamic.py: Rename to importer.py
	* bank/__init__.py: Update callsite.

	* bank/*: Redo the klass registration to be dynamic.
	* overrides: New directory to be able to customize the bindings.
	* data/GLib.gidl: beginning of a GLib gidl
	* Makefile: update for python 2.5 and standard libtool build of g-i

2005-05-20  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* bank/bank-info.c (pyg_base_info_dealloc): Remove some code, call
	pyg_base_info_clear instead.
	(pyg_base_info_traverse): Don't visit self.  Fixes a GC assertion
	error.
	(pyg_base_info_clear): Use python 2.4 macro Py_CLEAR, as
	recommended in python docs.

2005-05-20  Johan Dahlin  <johan@gnome.org>

	* Makefile:
	* bank/bank-argument.c: (pyg_argument_to_pyobject):
	* bank/bank-info.c: (_wrap_g_function_info_invoke):
	* bank/btypes.py:
	* bank/registry.py:

	Add support for multiple constructor as staticmethods,
	add basic support for guessing which one to use.
	Add a few more return types. Should be enough to do
	some interesting things with gdk-pixbuf.

2005-05-19  Johan Dahlin  <johan@gnome.org>


	* bank/bank-argument.c: (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	* bank/bank-info.c: (_wrap_g_function_info_invoke):
	* bank/btypes.py:
	* simple.py:

	Add support for objects as return values, mostly working
	out argument support.

2005-05-18  Johan Dahlin  <johan@gnome.org>

	* COPYING:
	* Makefile:
	* bank/.cvsignore:
	* bank/__init__.py:
	* bank/bank-argument.c: (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	* bank/bank-info.c: (_wrap_g_base_info_get_namespace),
	(_wrap_g_callable_info_get_return_type),
	(_wrap_g_function_info_invoke), (_wrap_g_arg_info_get_direction),
	(_wrap_g_type_info_get_interface):
	* bank/bank.c: (register_constants), (initrepo):
	* bank/bank.h:
	* bank/btypes.py:
	* bank/importer.py:
	* bank/module.py:
	* bank/registry.py:
	* data/poppler.gidl:
	* simple.py:

	License under LGPL, No more camel case on generated types.
	Pass pointers around in a slightly saner way. Split up __init__.py
	into several files. Rename _bank.so to repo.so. Only count inargs, 
	improve	type checking. 	

2005-05-17  Johan Dahlin  <johan@gnome.org>

	* Makefile:
	* bank/__init__.py:
	* bank/bank-argument.c: (pyg_argument_from_pyobject),
	(pyg_argument_to_pyobject):
	* bank/bank-info.c: (pyg_base_info_dealloc),
	(pyg_base_info_traverse), (pyg_base_info_clear), (pyg_info_new),
	(_wrap_g_callable_info_get_args), (_wrap_g_function_info_invoke),
	(_wrap_g_object_info_get_methods), (_wrap_g_arg_info_get_type),
	(_wrap_g_type_info_get_tag), (_wrap_g_type_info_get_param_type):
	* bank/bank-repository.c: (_wrap_g_irepository_get_namespaces):
	* bank/bank.c: (register_types), (register_constants), (init_bank):
	* bank/bank.h:
	* simple.py:

	Add basic support for method invokations. Very limited type
	checking. Wrap all types, but most of them are still unusable. Add
	a couple of constants.
	

2005-05-17  Johan Dahlin  <johan@gnome.org>

	reviewed by: <delete if not using a buddy>

	* bank/__init__.py:
	* bank/bank-info.c: (pyg_info_new), (_wrap_g_function_info_invoke),
	(_wrap_g_arg_info_get_type), (_wrap_g_type_info_get_tag),
	(_wrap_g_type_info_get_param_type):
	* bank/bank.c: (register_types), (register_constants), (init_bank):
	* bank/bank.h:
	* simple.py:

2005-05-17  Johan Dahlin  <johan@gnome.org>

	* Makefile:
	* bank.pyx:
	* bank/__init__.py:
	* bank/bank-info.c: (pyg_base_info_repr), (pyg_base_info_dealloc),
	(pyg_base_info_traverse), (pyg_base_info_clear),
	(pyg_base_info_free), (pyg_base_info_get_dict),
	(_wrap_g_base_info_get_name), (_wrap_g_base_info_get_type),
	(pyg_info_new), (_wrap_g_object_info_get_methods),
	(_wrap_g_function_info_is_constructor),
	(_wrap_g_function_info_is_method),
	(_wrap_g_callable_info_get_args):
	* bank/bank-repository.c: (_wrap_g_irepository_register),
	(_wrap_g_irepository_get_namespaces),
	(_wrap_g_irepository_get_infos), (_wrap_g_irepository_get_default):
	* bank/bank.c: (init_bank):
	* bank/bank.h:
	* simple.py:
	* test.py:

	Remove pyrex bindings, add handwrapped ones.
	Add a high level interface and a simple test
	
2005-05-13  Johan Dahlin  <johan@gnome.org>
	
	* TODO: Added

	* bank.pyx: Add support for PropertyInfo

	* test.py: More silly printouts

2005-05-12  Johan Dahlin  <johan@gnome.org>

	* bank.pyx: Add support for FunctionInfo, ArgInfo and CallableInfo

	* test.py: Print out silly python class skeleton

	* data/poppler.gidl: Reindent and reorganize output to match 
	output from g-idl-generate. Fix enum names.

2005-05-11  Johan Dahlin  <johan@gnome.org>

	* Initial import