]> git.draconx.ca Git - gob-dx.git/blob - ChangeLog
Release 1.0.10
[gob-dx.git] / ChangeLog
1 Sat Jun 30 15:39:27 2001  George Lebl <jirka@5z.com>
2
3         * Release 1.0.10
4
5 Sat Jun 30 14:57:37 2001  George Lebl <jirka@5z.com>
6
7         * doc/gob.1.in: add documentation for (export)
8
9 Tue Jun 26 15:54:08 2001  George Lebl <jirka@5z.com>
10
11         * src/Makefile.am: add built sources to EXTRA_DIST
12
13 2001-06-24  Mark Brown  <broonie@sirena.org.uk>
14
15         * src/main.c: Default to PRIVATE_HEADER_ONDEMAND rather than
16           PRIVATE_HEADER_ALWAYS as per documentation.
17
18         * doc/gob.1.in: Fix cut & paste error in object_{get,set}
19           examples.
20
21 Sat Jun 09 13:38:53 2001  George Lebl <jirka@5z.com>
22
23         * src/parse.y: was freeing the wrong token
24
25 2001-06-03  Eskil Heyn Olsen  <eskil@eskil.dk>
26
27         * configure.in:
28         binged version to 1.0.10 because of the export keyword
29         
30         * examples/my-person.gob:
31         Fixed some comments
32         
33         * examples/test-export.gob:
34         File that tests the (export) keyword.
35         
36         * src/parse.y:
37         Added a (export) keyword to argument, so gob will
38         autodefine the my_object_[get|set]_var functions.
39
40 Sun May 13 02:33:15 2001  George Lebl <jirka@5z.com>
41
42         * src/main.c: remove GET_NEW_VARG as it only works in gcc and
43           add TYPE_SELF macro
44
45 Sun May 13 02:02:47 2001  George Lebl <jirka@5z.com>
46
47         * src/util.c: patch from Frederic Crozat <fcrozat@mandrakesoft.com>
48           to fix warning
49
50 2001-04-27  Eskil Heyn Olsen  <eskil@eazel.com>
51
52         * src/main.c: (print_class_block):
53         add a GET_NEW_VARG def (ala GET_NEW) which takes
54         ``"...", val'' gtk_object_new args.
55
56 Sun Apr 22 03:22:48 2001  George Lebl <jirka@5z.com>
57
58         * doc/makehtml.pl: make output nicer
59
60 Sun Apr 22 03:03:05 2001  George Lebl <jirka@5z.com>
61
62         * doc/makehtml.pl, doc/Makefile.am:  groff kind of sucks at
63           making html, so this is my own very dumb convertor that probably
64           only properly works on this one man file
65
66 Sat Apr 21 20:37:40 2001  George Lebl <jirka@5z.com>
67
68         * Release 1.0.9
69
70 Sat Apr 21 20:06:10 2001  George Lebl <jirka@5z.com>
71
72         * examples/Makefile.am, examples/README,
73           examples/GNOME_Foo_SomeInterface.idl,
74           examples/foo-some-interface.gob:  Add an example for BonoboXObject
75
76 Sat Apr 21 19:33:08 2001  George Lebl <jirka@5z.com>
77
78         * configure.in:  Raise version to 1.0.9
79
80         * src/lexer.l:  Properly check major version requirements (majors
81           must match in the requires line)
82
83         * src/parse.y, src/main.c, src/treefuncs.(def|c|h), src/checks.c:
84           Add direct BonoboXObject support
85
86         * src/parse.y: fix the chunks usage
87
88         * doc/gob.1.in: document BonoboXObject stuff, fix the bugs section
89           wrt gtk-doc which has been supported for quite some time
90
91 Fri Apr 13 21:19:33 2001  George Lebl <jirka@5z.com>
92
93         * src/parse.y: commited too fast, fix printf warning
94
95 Fri Apr 13 17:45:14 2001  George Lebl <jirka@5z.com>
96
97         * src/parse.y, doc/gob.1.in: Fix a problem found by Eric Kidd
98           <eric.kidd@pobox.com>, where objectlink was not completely
99           refcounting safe.  Could underref if you set the same object.
100
101 Thu Apr 12 09:19:58 2001  George Lebl <jirka@5z.com>
102
103         * Release 1.0.8
104
105 Sat Mar 31 00:24:58 2001  George Lebl <jirka@5z.com>
106
107         * src/main.c: fix crash with marshallers of signals with a return
108           type and no arguments.
109
110 Tue Feb 27 00:53:41 2001  Jonathan Blandford  <jrb@redhat.com>
111
112         * README: Use my new-found maintainer status!!! The power!
113
114 Sun Feb 25 17:17:46 2001  George Lebl <jirka@5z.com>
115
116         * Release 1.0.7
117
118 Sun Feb 25 16:57:45 2001  George Lebl <jirka@5z.com>
119
120         * src/main.c, src/checks.c: to make doing BonoboXObjects possible
121           allow overriding the _get_type function.
122
123         * doc/gob.1.in: document the above
124
125 Sun Feb 11 16:33:07 2001  George Lebl <jirka@5z.com>
126
127         * Release 1.0.6
128
129 Sat Feb 10 18:42:59 2001  George Lebl <jirka@5z.com>
130
131         * src/Makefile.am: fix the build
132
133 2001-02-08  Maciej Stachowiak  <mjs@eazel.com>
134
135         * src/Makefile.am: Remove BUILT_SOURCES stuff; Automake knows how
136         to handle .l and .y files directly, and including the .c files as
137         well was making it fail to link as it would try to link in lexer.o
138         and parse.o twice.
139
140 Thu Feb 08 02:43:22 2001  George Lebl <jirka@5z.com>
141
142         * src/main.c:  add signal connection typesafety macros
143
144         * src/test.gob, doc/gob.1.in: new stuff foo
145
146         * configure.in: raise version
147
148 Thu Feb 08 01:42:52 2001  George Lebl <jirka@5z.com>
149
150         * src/Makefile.am: rule for parse.h includes parse.c, and
151           SOURCES include BUILT_SOURCES
152
153 Tue Dec 26 11:03:44 2000  George Lebl <jirka@5z.com>
154
155         * src/main.c: Remove ## from the varargs macro stuff, as it's not
156           needed and causes trouble for newer gcc's (like in rh7)
157
158 Sun Sep 10 18:04:07 2000  George Lebl <jirka@5z.com>
159
160         * Release 1.0.5
161
162 Fri Sep 01 03:45:30 2000  George Lebl <jirka@5z.com>
163
164         * src/main.c: add G_GNUC_CONST to the _get_type function
165
166 Wed Aug 23 15:05:40 2000  George Lebl <jirka@5z.com>
167
168         * src/main.c: when a method has no arguments make an argumentless
169           macro for the shortform to avoid a parse error
170
171         * src/test.gob: add a test for the above
172
173 Sun Aug  6 22:21:38 2000  Eskil Heyn Olsen <eskil@eazel.com>
174         
175         * gob.m4 now defaults to WARN instead of ERROR on missing
176         gob.
177
178 Tue Jul 25 16:54:34 2000  George Lebl <jirka@5z.com>
179
180         * Release 1.0.4
181
182         * configure.in: raise version to 1.0.4
183
184         * src/main.c: fixup the -anal macro patch.
185
186         * src/util.[ch], src/main.c: constize (not in 1.0.4)
187
188         * src/main.c: the short form pointers unified for both gnu and non-gnu
189           (not in 1.0.4)
190
191 Sun Jul 23 18:51:45 2000  George Lebl <jirka@5z.com>
192
193         * src/util.[ch], src/main.c, src/checks.c, src/lexer.l, src/parse.y:
194           make new cleaner error print routines including a printfstyle one.
195           Use the get_real_id on all method ids even for overrides.  When a
196           signal is added there is also a sizeof check for the signature vs.
197           argument list with a g_error if it fails.  Fix %at{ %} to not
198           appear twice in all files.
199
200         * src/main.c: Apply patch from Arturo Tena to make things compile
201           nicely with gcc's -ansi -pedantic
202
203         * src/out.[ch]: constize correctly and use G_GNUC_PRINTF macro for
204           warnings.
205
206 Fri Jul 21 15:38:10 2000  George Lebl <jirka@5z.com>
207
208         * src/main.c: store the private structure pointer so that we
209           don't look inside the freed object structureafter finalize
210
211 Thu Jul 06 02:32:29 2000  George Lebl <jirka@5z.com>
212
213         * Release 1.0.3
214
215 Wed Jul 05 19:37:20 2000  George Lebl <jirka@5z.com>
216
217         * src/{main.c,parse.y}: couple of cleanups, and fixup the gtk 1.3
218           support
219
220 Wed Jul 05 18:57:13 2000  George Lebl <jirka@5z.com>
221
222         * src/{checks.c, main.c, parse.y, test.gob}:  Apply and fix up patch
223           from Bas van der Linden <linden@win.tue.nl> that adds the ability
224           to use const on the "self" argument as well.  Also adds a CONST
225           casting macro to use.
226
227         * src/main.c: Fix a memory leak when destroy wasn't overriden and
228           destructors were added, it now properly calls the parent handler.
229           Same with finalize.
230
231         * src/main.c: Spit out some macro magic foo to hopefully make it
232           possible to compile objects with GTK+ 1.3/2.0
233
234         * doc/gob.1.in, examples/*.gob:  We should never do
235           GTK_OBJECT(GET_NEW) as that's a memory leak due to some weird
236           GTK_OBJECT() semantics
237
238 Fri Jun 30 14:08:53 2000  George Lebl <jirka@5z.com>
239
240         * Release 1.0.2
241
242 Fri Jun 30 13:11:05 2000  George Lebl <jirka@5z.com>
243
244         * doc/gob.1.in: add doc for --always-private-struct
245
246         * src/main.c: fix output of --help.  Also print __GOB_FUNCTION__
247           for inits and for get/set_arg.  And print the get_real_id to
248           avoid the underscore.
249
250 Mon Jun 26 00:06:45 2000  George Lebl <jirka@5z.com>
251
252         * src/parse.y: for stringlink, dup the string on argument
253           getting
254
255         * doc/gob.1.in: update documentation to the above change
256
257 Sun Jun 25 03:34:02 2000  George Lebl <jirka@5z.com>
258
259         * src/treefuncs.def, src/main.c, src/utils.[ch], src/parse.y: sane
260           parsing of const.  Get rid of "stars" integer and just use a
261           "pointer" string.  Also the types in general are more sanely parsed,
262           thus recognizing hopefully all legal (and some illegal) C types.
263
264         * src/checks.[ch], src/main.c: checks the argument type to be one we can
265           truly check.
266
267         * src/treefuncs.def, src/main.c, src/parse.y, src/lexer.l:  Apply
268           patch from Bas van der Linden <linden@win.tue.nl> that adds the
269           possibility to use chunks to allocate objects.
270
271         * src/main.c: Apply patch from Bas van der Linden <linden@win.tue.nl>
272           to add a __GOB_FUNCTION__ define to each function
273
274         * src/Makefile.am, src/main.c, src/lexer.l, src/generate_treefuncs.pl:
275           avoid and fix warnings, and compile with all warnings
276
277         * src/main.[ch]: add an --always-private-struct option to always put
278           in the private pointer, even if there are no private members.
279
280         * src/test.gob: add some more tests for new stuff
281
282 Wed Jun 07 15:03:18 2000  George Lebl <jirka@5z.com>
283
284         * Release 1.0.1
285
286 Wed Jun 07 14:41:24 2000  George Lebl <jirka@5z.com>
287
288         * configure.in, doc/gob.1.in: updates
289
290 Mon Jun 05 12:10:46 2000  George Lebl <jirka@5z.com>
291
292         * doc/gob.1.in: run through ispell, and fix option stuff to produce
293           nicer html output with groff
294
295 Thu Jun 01 18:12:13 2000  George Lebl <jirka@5z.com>
296
297         * src/main.c: Make the private header switches work again.
298
299 Wed May 31 01:50:25 2000  George Lebl <jirka@5z.com>
300
301         * Release 1.0.0
302
303 Wed May 31 01:47:23 2000  George Lebl <jirka@5z.com>
304
305         * src/gob.1.in: documentation of makefile rules for gob.
306
307 Tue May 30 11:02:36 2000  George Lebl <jirka@5z.com>
308
309         * src/lexer.l: Accept identifiers in array dimensions, this is so
310           that you can make these some constants.
311
312 Sat May 20 18:22:33 2000  George Lebl <jirka@5z.com>
313
314         * Release 0.93.5
315
316 Sat May 20 18:22:23 2000  George Lebl <jirka@5z.com>
317
318         * src/{main.c,checks.[ch]}: check for duplicate overrides, it is
319           different from checking symbol names as they don't conflict with
320           other symbols AND they only conflict if both the name and their
321           type match
322
323 Sat May 20 16:38:06 2000  George Lebl <jirka@5z.com>
324
325         * src/{main.[ch],util.[ch],checks.c}: Add underscore removal for
326           non-override methods.  This means that local aliases will include
327           prepended underscores, but when the full name is generated, or
328           when the method name is added to class structure, the underscore
329           is removed.
330
331         * src/checks.c: overrides no longer checked for uniqueness, a more
332           complex logic is needed.
333
334         * src/{main.c,treefuncs.def,parse.y}:  override naming is done
335           with a unique id, so that we handle cases where two classes have
336           the same method name.
337
338         * doc/gob.1.in: update for the above.
339
340 Sat May 20 14:42:00 2000  George Lebl <jirka@5z.com>
341
342         * src/main.c: the private structure is now freed in finalize again and
343           thus do the same dance around finalize as we do around destroy. 
344           Clean up some code.  NULL all things being destroyed.  The arbitary
345           destructor uses memset as those things might not be just pointers.
346
347 Thu May 11 23:48:44 2000  George Lebl <jirka@5z.com>
348
349         * src/main.[ch]: provide the Self and SelfClass typedefs in addition
350           to SELF, IS_SELF, SELF_CLASS macros.  All of these can now be
351           disabled with the --no-self-alias option
352
353         * doc/gob.1.in: update
354
355         * configure.in: raise version
356
357 Tue May 09 23:18:16 2000  George Lebl <jirka@5z.com>
358
359         * src/parse.y: fix segfault on parse error and give better error
360           message
361
362 Tue May 09 21:54:10 2000  George Lebl <jirka@5z.com>
363
364         * doc/gob.1.in, src/main.c:  Add destruction code into the destroy
365           handler rather then finalize.  Setup an extra function if
366           neccessary to handle returns correctly as this must be called
367           after any user code.
368
369 Sat Apr 29 14:41:42 2000  George Lebl <jirka@5z.com>
370
371         * Release 0.93.4
372
373 Sat Apr 29 14:40:40 2000  George Lebl <jirka@5z.com>
374
375         * src/checks.c: code prettification
376
377         * src/lexer.l, src/parse.y, src/test.gob: change "class" scope to
378           "classwide" scope, not to overload the class keyword
379
380         * src/main.[ch]: make private header files be generated by default,
381           and cleanup that part a bit
382
383         * doc/gob.1.in: add documentation of classwide
384
385         * NEWS:
386
387 Fri Apr 21 17:15:09 2000  George Lebl <jirka@5z.com>
388
389         * src/main.c: add spaces after commas
390
391         * src/lexer.l, src/main.c, src/parse.y: add class scope variables
392           which are put into the class structure
393
394         * src/test.gob: added a test for class variables
395
396         * src/treefuncs.def: added CLASS_SCOPE
397
398         * src/treefuncs.h: regenerated
399
400 Mon Apr 17 20:13:47 2000  George Lebl <jirka@5z.com>
401
402         * src/parse.y: on objectlink instead of just ref, do ref/sink.
403
404 Sat Apr 15 23:07:30 2000  George Lebl <jirka@5z.com>
405
406         * Release 0.93.3
407
408 Sat Apr 15 22:42:20 2000  George Lebl <jirka@5z.com>
409
410         * src/main.c: fixes for ANSI C and C++.  Just use GTK_VALUE_POINTER
411           instead of GTK_VALUE_OBJECT so that we don't have to cast and don't
412           cast lvalues.
413
414 Sat Apr 15 22:09:49 2000  George Lebl <jirka@5z.com>
415
416         * src/main.c: use the generic return type in signal marshallers
417           rather then the specific one as the marshallers are truly generic
418
419 Sat Apr 15 21:52:52 2000  George Lebl <jirka@5z.com>
420
421         * src/main.c: fix some typesafety braindamages with OBJECT types
422           in arguments by casting GTK_VALUE_OBJECT to gpointer.  Also
423           for seting arguments cast the ARG to atype if it exists
424
425 Wed Apr 05 13:42:28 2000  George Lebl <jirka@5z.com>
426
427         * src/parse.y: never allow NONE to be used as one of many arguments,
428           always only by itself in the argument list
429
430         * src/main.c: When printing out the signal marshaller prototype,
431           don't print out the NONE (void) into the argument list, thanks
432           to Soeren Sandmann <sandmann@daimi.au.dk> for reporting that
433
434 Mon Apr 03 13:07:33 2000  George Lebl <jirka@5z.com>
435
436         * examples/Makefile.am: add my-person2.gob to EXTRA_DIST
437
438 Sun Apr 02 18:09:40 2000  George Lebl <jirka@5z.com>
439
440         * Release 0.93.2
441
442 Sun Apr 02 17:38:12 2000  George Lebl <jirka@5z.com>
443
444         * src/Makefile.am: ass the .pl and .def file to EXTRA_DIST
445
446 Sun Apr  2 14:37:49 PDT 2000 Manish Singh <yosh@gimp.org>
447
448         * configure.in: check for treefuncs.h instead of tree.h, since
449           the latter has gone bye-bye
450
451 Sat Apr 01 23:27:47 2000  George Lebl <jirka@5z.com>
452
453         * doc/gob.1.in: add documentation for defreturn
454
455 Sat Apr 01 18:03:31 2000  George Lebl <jirka@5z.com>
456
457         * src/{treefuncs.(def|c|h),generate_treefuncs.pl}: What would gob
458           be without some automatically generated code.  The tree.[ch] was
459           hard to keep up and didn't have free/copy so these do, otherwise
460           it is the same.  Also added a defreturn field to methods
461
462         * src/*.[cyl]: include treefuncs.h rather then tree.h
463
464         * src/{parse.y,lexer.l,main.c}: use the defreturn as the default for
465           return values of signals and virtual methods.  If this is not
466           defined use the onerror or failing that '0'.  onerror is also not
467           a reserved keyword anymore
468         
469         * configure.in: raise version
470
471 Mon Mar 27 13:08:01 2000  George Lebl <jirka@5z.com>
472
473         * Release 0.93.1
474
475 Mon Mar 27 12:04:22 2000  George Lebl <jirka@5z.com>
476
477         * src/util.[ch], src/main.c: figure out if we really need the special
478           types, also make a hash for the gtk types instead of linear
479           searching it all the time.
480
481         * src/{lexer.c,checks.c,main.c}: minor fixes and cleanups
482
483 2000-03-21  Eskil Heyn Olsen  <deity@eskil.dk>
484
485         * gob.m4: do not default GOB to no when not found (did that make
486         sense ?)
487         And better error message.
488
489 Mon Mar 20 14:35:35 2000  George Lebl <jirka@5z.com>
490
491         * src/lexer.l: handle single word typenames with an empty namespace
492
493 Sun Mar 05 02:23:04 2000  George Lebl <jirka@5z.com>
494
495         * src/main.c: add #lines around setting default handlers
496
497         * src/parse.y: fix line number for 'destroywith' destructors
498
499 Sat Mar 04 15:33:18 2000  George Lebl <jirka@5z.com>
500
501         * src/checks.c: duplicate name test for arguments and signals is
502           case insensitive now as those could cause trouble
503
504 Mon Feb 28 02:45:27 2000  George Lebl <jirka@5z.com>
505
506         * Release 0.93.0
507
508 Sun Feb 27 20:59:45 2000  George Lebl <jirka@5z.com>
509
510         * src/parse.y,doc/gob.1.in: For stringlink, just return a pointer on
511           get rather then strduping as that is 1) consistent with objectlink
512           and 2) more flexible.
513
514 Sun Feb 27 20:38:19 2000  George Lebl <jirka@5z.com>
515
516         * src/{main.c,tree.[ch],parse.y}: add the arbitrary destruction handler
517           for data members
518
519         * doc/gob.1.in: updated and fixed up
520
521         * configure.in,NEWS,examples/{README,my-person2.gob}: change version
522           to 0.93.0
523
524 Sun Feb 27 18:37:57 2000  George Lebl <jirka@5z.com>
525
526         * NEWS,doc/gob.1.in,examples/{README,my-person.gob,my-person2.gob}:
527           update of docs and examples to include the new features and minor
528           fixups
529
530 Sun Feb 27 04:41:41 2000  George Lebl <jirka@5z.com>
531
532         * src/main.c: make the output nicer for classes with no methods
533           better typechecking in get/set_arg, fix a couple of C++ issues,
534
535         * src/{main.c,parse.y,tree.[ch]}: automatic linking of arguments to
536           data members.  Also alow empty statements inside a class.  Also
537           add automatic data member destruction for pointer data, and
538           automatic initialization for any data member.
539
540         * src/main.[ch],src/out.c: add --no-lines which inhibits printing
541           of #line things to output files
542
543         * doc/gob.1.in: update for the above
544
545 Fri Feb 25 15:21:47 2000  George Lebl <jirka@5z.com>
546
547         * Release 0.92.4
548
549 Fri Feb 25 14:46:51 2000  George Lebl <jirka@5z.com>
550
551         * src/main.c: add SELF casting macros
552
553         * doc/gob.1.in: document the above
554
555 Fri Feb 25 02:29:26 2000  George Lebl <jirka@5z.com>
556
557         * src/main.c,src/tree.[ch],src/parse.y: public signals get
558           GTK_RUN_ACTION added.  Plus an interface for adding additional
559           flags is added.
560
561         * doc/gob.1.in: add docs for the above
562
563 Fri Feb 25 01:37:20 2000  George Lebl <jirka@5z.com>
564
565         * src/main.c: fix trailing comma on the end of the argument enum
566
567 Sun Feb 13 23:54:53 2000  George Lebl <jirka@5z.com>
568
569         * doc/gob.1.in: add doc patch from Dave Dunkin <dunkind@letu.edu>
570
571         * doc/gob.1.in,examples/*.gob: use init(self) to be more consistent
572           in naming
573
574 Sat Feb 12 14:42:15 2000  George Lebl <jirka@5z.com>
575
576         * src/main.c,src/lexer.l: apply patches from Dave Dunkin
577           <dunkind@letu.edu> to add all and alltop ccode sections
578           and to add a --no-write,-n option to not actually write
579           any files.  Also did some very cosmetic changes to code
580
581 Mon Feb 07 23:45:04 2000  George Lebl <jirka@5z.com>
582
583         * src/main.c: use the magic /*< private >*/ and /*< public >*/
584           comments to distinguish public and protected data members
585
586 Mon Feb 07 03:02:48 2000  George Lebl <jirka@5z.com>
587
588         * Release 0.92.3
589
590 Mon Feb 07 02:50:11 2000  George Lebl <jirka@5z.com>
591
592         * src/lexer.l: error on multiple classes
593
594         * src/main.c: nicer header output
595
596         * src/{lexer.l,main.c}: Eat out gtk-doc like inline doc entries
597           and stuff them into the output files where appropriate
598
599         * doc/gob.1.in: added docs for gtk-doc like inline doc stuff
600
601         * examples/{README, gtk-button-count.gob}: added inline docs
602
603 Fri Feb 04 01:07:54 2000  George Lebl <jirka@5z.com>
604
605         * src/main.c: use G_GNUC_UNUSED rather then our own macro for a
606           very slightly cleaner looking output file
607
608 2000-01-31  Eskil Heyn Olsen  <deity@eskil.dk>
609
610         * gob.m4: checks for gob binary, GOB_CHECK([version [,
611         action_if_found[, action_if_not_found]]]).  
612
613         * Makefile.am: Install gob in $prefix/share/aclocal
614
615 Thu Jan 27 17:50:11 2000  George Lebl <jirka@5z.com>
616
617         * src/main.c: add #include <stdlib.h>
618
619 Mon Jan 24 22:52:47 2000  George Lebl <jirka@5z.com>
620
621         * Release 0.92.2
622
623 Mon Jan 24 22:23:47 2000  George Lebl <jirka@5z.com>
624
625         * src/main.c: add a protecting define before the object typedef
626
627         * doc/gob.1.in: add docs for the new stuff
628
629 Sun Jan 23 16:19:54 2000  George Lebl <jirka@5z.com>
630
631         * src/{lexer.l,parse.y,tree.[ch],main.c}: make more types of header
632           %{ %} blocks, "headertop" and "privateheader" and made short as
633           well as long names possible.
634
635         * src/main.c: add an --no-extern-c option to not put entern "C" into
636           the output, which is now put in by default even if --for-cpp is
637           on so that it is possible to call those from C by default
638
639 Thu Jan 20 01:50:45 2000  George Lebl <jirka@5z.com>
640
641         * src/main.c: put the _real_ functions in our normal private
642           namespace of ___* to be more consistent.
643
644 Mon Jan 10 00:16:43 2000  George Lebl <jirka@5z.com>
645
646         * src/{main.[ch],util.[ch],checks.[ch]}: offload some functionality to
647           extra files
648
649         * src/main.c: cleanup the generation routine by spliting it up into
650           more functions
651           
652         * src/{main.h,lexer.l,parse.y,out.c}: put some needed externs into the
653           main.h file and include that rather then doing it in the .c files
654
655 Thu Jan 06 18:33:44 2000  George Lebl <jirka@5z.com>
656
657         * src/main.c: use ___ for the signal marshalling typedefs as well
658
659 Thu Jan 06 17:32:46 2000  George Lebl <jirka@5z.com>
660
661         * Release 0.92.1
662
663 Thu Jan 06 17:13:22 2000  George Lebl <jirka@5z.com>
664
665         * src/main.c: be consistent with the use of "namespacing", we
666           prefix ALL internal gob stuff with "___".  This should make it
667           easier to avoid name conflicts with user code and glibc/gcc (Which
668           seems to use __ prefix)
669
670         * src/main.c: check for init and class_init names for non-constructor
671           methods and give an error if found.
672
673         * src/main.c: check argument types and flags for correctness, error
674           on unknown type, but just a warning on unknown flag
675
676         * doc/gob.1.in: add a section for name conflicts
677
678 Wed Jan 05 02:23:21 2000  George Lebl <jirka@5z.com>
679
680         * src/main.c: doh! the symbols for the aliases need to be declared as
681           static.
682
683 Wed Jan 05 02:13:59 2000  George Lebl <jirka@5z.com>
684
685         * src/main.c: just realized that args... for macros is a GNU
686           extention and so the PARENT_HANDLER no longer uses it, but prints
687           the argument names with __ prefixed into the argument list.
688
689 Wed Jan 05 01:58:32 2000  George Lebl <jirka@5z.com>
690
691         * src/main.c: if using gnu c, also define macros using varargs for
692           function aliases.  This should allow the compiler to optimize
693           further and if we have arguments for the defines there are
694           no adverse side effects as there are for straight defines.
695
696 Wed Jan 05 01:48:12 2000  George Lebl <jirka@5z.com>
697
698         * src/main.c: fixup the aliases.  They didn't actually work right.
699           now we set it up as a const pointer to a function using typeof.
700
701 Tue Jan 04 17:57:55 2000  George Lebl <jirka@5z.com>
702
703         * src/lexer.l: add support for 'requires x.y.z' line.  This is
704           so that a .gob file can require at least version x.y.z of gob
705
706         * src/test.gob: update
707
708         * doc/gob.1.in: update for requires and run trhough ispell
709
710 Tue Jan 04 17:10:54 2000  George Lebl <jirka@5z.com>
711
712         * src/main.c: fix the non-gnu aliases
713
714 Tue Jan 04 16:46:16 2000  George Lebl <jirka@5z.com>
715
716         * src/{main.c,parser.y,tree.[ch]}: add optional C type specification
717           to arguments for full type safety 
718
719         * doc/gob.1.in: updated
720
721 Tue Jan 04 15:34:16 2000  George Lebl <jirka@5z.com>
722
723         * src/main.c: --no-gnu option to completely disable any use
724           of GNU C extentions.  This is for those weird people that don't
725           wish to use those extentions even with GNU C.
726
727 Tue Jan 04 14:43:49 2000  George Lebl <jirka@5z.com>
728
729         * src/main.c: use some GNU extentions (guarded with #ifdef __GNUC__)
730           to make arguments fully typesafe, and to make it easier for
731           GNU to optimize the aliases, as well as to avoid the ugly
732           hack on GNU C.
733
734         * src/main.c: don't put #line 0 for the .gob file for method prototypes
735
736         * src/main.c: move the _priv structure freeing into finalize to enable
737           people to work with the private stuff inside the destroy handler
738
739         * src/main.c: use #line before every precondition check so that failed
740           checks should point to the function prototype rather then into
741           generated file.
742
743         * src/main.c: remove the _END_ARG macro
744
745         * src/main.c: add GOB_VERSION_MAJOR, GOB_VERSION_MINOR and
746           GOB_VERSION_PATCHLEVEL defines into the generated C file
747
748         * src/out.c: don't redundantly put #line for outfile if we're already
749           in the outfile
750
751         * configure.in: raise version number
752
753 Tue Jan 04 02:22:33 2000  George Lebl <jirka@5z.com>
754
755         * src/main.c: add argument wrapper macros to make the argument system
756           a little more type safe.
757
758 Fri Dec 31 17:39:22 1999  George Lebl <jirka@5z.com>
759
760         * Release 0.92.0
761
762 Thu Dec 30 20:20:36 1999  George Lebl <jirka@5z.com>
763
764         * src/main.c: correctly handle the complex fundemental types,
765           so that we can handle ALL the fundemental types for signals
766
767 Thu Dec 30 19:29:56 1999  George Lebl <jirka@5z.com>
768
769         * src/main.c: don't use function types for casts in marshallers,
770           but default types we get from our GTK_TYPE_* -> C type translation,
771           and use this fact to check for same function types and combine
772           signal prototypes.  This doesn't yet handle well complex types,
773           but I have an idea how to make complex types work.  Though
774           I dunno if it's actually worth it.
775
776 Thu Dec 30 17:18:27 1999  George Lebl <jirka@5z.com>
777
778         * src/main.c: figure out some types from GTK types and cast properly
779           when emitting a signal.  This catches some inconsistencies in
780           signal func argument lists and the GTK types of the arguments.
781
782 Wed Dec 29 18:04:13 1999  George Lebl <jirka@5z.com>
783
784         * src/parse.y: allow scope, public/private/protected, to come before
785           the signal or virtual keyword for consistency's sake.
786
787 Wed Dec 29 01:39:30 1999  George Lebl <jirka@5z.com>
788
789         * src/{tree.[ch],parser.y}: cleanup scope stuff
790
791         * src/{lexer.l,parser.y,tree.h,main.c}: add protected keyword and
792           methods.  protected methods are put into the -private files and
793           are real exported functions just like public.  protected data
794           members act like pre-0.91.x private datamembers, that is they
795           get stuck into the public header, but marked /* protected */.
796
797         * src/main.c: change the method body printing function so that we
798           can catch the no return warning properly and send us to the .gob
799           file instead of the .c file.
800
801         * src/{parse.y,main.c}: handle empty publics/privates/overrides
802           and handle the body being set to ';' rather then '{}'
803
804         * src/main.c: check for empty nonvoid regular methods, and error out
805           on finding them as that would produce warnings which we can't catch
806           and it is generally bad to do anyway
807
808         * src/{parse.y,tree.[ch],main.c}: use char pointers for C buffers,
809           and kill leading/trailing whitespace from them to make the C files
810           nicer and easier to recognize empty functions.
811
812         * src/main.c: add a --version switch
813
814         * doc/gob.1.in: Update with the above changes
815
816         * configure.in: raise version
817
818 Tue Dec 28 20:49:56 1999  George Lebl <jirka@5z.com>
819
820         * src/main.c: apply patch from ChiDeok Hwang <cdhwang@sr.hei.co.kr>
821           to make the hack function static so that we don't pollute namespace
822
823 Mon Dec 27 19:56:24 1999  George Lebl <jirka@5z.com>
824
825         * Release 0.91.2
826
827 Mon Dec 27 03:00:25 1999  George Lebl <jirka@5z.com>
828
829         * src/main.c: fixup PARENT_HANDLER to work well with non-void
830           functions, the macro becomes an expression if the function is
831           not void and returns the return of the parent or the onerror
832           expression if the function pointer was NULL.
833
834 Mon Dec 27 02:25:32 1999  George Lebl <jirka@5z.com>
835
836         * src/parse.y: allow completely empty classes
837
838         * src/main.c: don't add the ugly hack function if there are no
839           methods
840
841 Mon Dec 27 01:26:26 1999  George Lebl <jirka@5z.com>
842
843         * src/parse.y: fixup the virtual rule as I forgot to shift the
844           argument numbers when adding to the expression
845
846 Mon Dec 27 01:07:14 1999  George Lebl <jirka@5z.com>
847
848         * src/parse.y: add optional public keyword to virtuals and signals,
849           (which doesn't do anything, only consistency). I should perhaps
850           rewrite and simplify this part of the parser
851
852         * src/lexer.l: fix a bug with empty braces producing a segfault
853           on public and private methods
854
855         * doc/gob.1.in: add a section about Constructor methods (init
856           class_init) and fix init_class -> class_init
857
858         * configure.in: raise version to 0.91.2
859
860 Tue Dec 14 00:06:00 1999  George Lebl <jirka@5z.com>
861
862         * Release 0.91.1
863
864 Mon Dec 13 23:25:06 1999  George Lebl <jirka@5z.com>
865
866         * src/{main.c,out.c}: create a private header file and stick
867           the private structure definition inside it.  Add option
868           --no-private-header for 0.91.0 behaviour and
869           --always-private-header to force private header creation
870
871         * doc/gob.1.in: update WRT above changes
872
873         * examples/my-person.gob: include the private header
874
875         * NEWS: update
876
877 Mon Dec 13 18:30:09 1999  George Lebl <jirka@5z.com>
878
879         * src/main.c: don't print spurious #line's into the private
880           structure
881
882         * src/{main.c,tree.[ch],lexer.l,parse.y}: implement support for 
883           array types for data members and function arguments
884
885 Mon Dec 13 00:48:47 1999  George Lebl <jirka@5z.com>
886
887         * Release 0.91.0
888
889 Sun Dec 12 22:55:12 1999  George Lebl <jirka@5z.com>
890
891         * doc/gob.1.in: added paragraph noting that private data members
892           cannot be accessed above the class definition in the .gob file
893
894 Sun Dec 12 22:08:31 1999  George Lebl <jirka@5z.com>
895
896         * src/main.c: implement real private data members as promised in
897           the documentation, this however breaks some compatiblity with
898           things that already used the 'private' keyword for data members
899
900         * doc/gob.1.in: document private data member stuff
901
902         * NEWS: update
903
904         * src/main.c: a couple of sanity checks of the code to prevent weird
905           errors on some broken .gob code
906
907         * configure.in: update version to 0.91.0
908
909 Sun Dec 05 14:20:26 1999  George Lebl <jirka@5z.com>
910
911         * src/{lexer.l,main.c}: if we find the class header #include
912           statement in a %{ %} section above class definition, don't
913           include it ourselves.
914
915         * doc/gob.1.in: remove the note about the include always first from
916           BUGS, and make a new section for the include file.
917
918 Thu Nov 25 13:09:08 1999  George Lebl <jirka@5z.com>
919
920         * Release 0.90.5
921
922 Thu Nov 25 13:00:52 1999  George Lebl <jirka@5z.com>
923
924         * src/main.c: don't error out on a symbol conflict if the types of
925           the symbol node don't match (variable,method)
926
927 Sat Nov 20 16:15:42 1999  George Lebl <jirka@5z.com>
928
929         * src/main.c: add PARENT_HANDLER macro to make calling parent
930           handlers in override functions easier
931
932 Fri Nov 19 16:41:09 1999  George Lebl <jirka@5z.com>
933
934         * src/main.c: add a type macro
935
936 Thu Nov 18 22:56:09 1999  George Lebl <jirka@5z.com>
937
938         * src/parse.y: add a warning check if the number of GTK types of
939           a signal doesn't seem to be correct for the given number of
940           function arguments
941
942 Tue Nov 16 01:23:45 1999  George Lebl <jirka@5z.com>
943
944         * src/main.c: support a "no-touch-headers" mode in which the
945           headers are not touched unless they actually really changed,
946           not on by default as it confuses automake
947
948 Tue Nov 16 00:36:42 1999  George Lebl <jirka@5z.com>
949
950         * src/{main.c,lexer.l,parser.y,out.c}: Implement a C++ mode, get
951           rid of C++ errors/warnings when in C++ mode, and get rid of
952           the 'this' pointer finally (it's been deprecated long enough)
953
954 Mon Nov 15 23:45:37 1999  George Lebl <jirka@5z.com>
955
956         * src/main.c: add prototype for the really bad hack function to
957           avoid warning
958
959 Mon Nov 15 23:42:06 1999  George Lebl <jirka@5z.com>
960
961         * src/main.c: generate correct function pointers in the structure
962           for signals and virtuals.  Also use a much nicer system instead
963           of the method name defines, we now just set a bunch of static
964           pointers, this removes a whole lot of headaches actually
965
966         * doc/gob.1.in: repair to reflect the above (I removed the define
967           BUGS paragraph)
968
969 Sun Nov 14 17:57:34 1999  George Lebl <jirka@5z.com>
970
971         * doc/gob.1.in: repair some things that confused troff and add
972           a C preprocessor warning to BUGS
973
974 Sat Nov 13 17:22:49 1999  George Lebl <jirka@5z.com>
975
976         * **/Makefile.am, configure.in: fix the conditional installation
977           stuff, don't even go into the doc directory if we aren't installing
978
979 Sat Nov 13 16:53:20 1999  George Lebl <jirka@5z.com>
980
981         * doc/gob.1.in: describe BUGS better
982
983 Sat Nov 13 16:20:41 1999  George Lebl <jirka@5z.com>
984
985         * src/lexer.l: don't kill C++ style comments from C blocks
986
987 Sat Nov 13 16:16:59 1999  George Lebl <jirka@5z.com>
988
989         * src/{lexer.l,main.c,out.c}: fixed spurious newline printing, don't
990           kill comments from C blocks so that line counts are right, accept
991           newlines in strings, and don't take \'\"\' as a string delimiter
992
993 Sat Nov 13 14:53:26 1999  George Lebl <jirka@5z.com>
994
995         * src/main.c: don't add gtk_object_class to class_init if we only
996           have non-GtkObject overrides to avoid warning
997
998 Sat Nov 13 14:31:25 1999  George Lebl <jirka@5z.com>
999
1000         * configure.in,src/Makefile.am,doc/Makefile.am: check for
1001           ../NOINST_GOB and in case it's found don't install self
1002
1003 Fri Nov 12 16:25:35 1999  George Lebl <jirka@5z.com>
1004
1005         * configure.in,Makefile.am,src/main.c: don't use popt, our arguments
1006           are simple enough and popt doesn't seem to be widely used yet
1007
1008 Sun Sep 05 22:08:40 1999  George Lebl  <jirka@5z.com>
1009
1010         * Release 0.90.2
1011
1012 Sun Sep 05 22:08:33 1999  George Lebl  <jirka@5z.com>
1013
1014         * doc/gob.1.in: updated for private virtual and signal wrappers
1015
1016 Sun Sep 05 21:50:19 1999  George Lebl  <jirka@5z.com>
1017
1018         * configure.in: raise version and actually set POPT_LIB correctly
1019
1020         * src/Makefile.am: use POPT_LIB
1021
1022 Sun Sep 05 21:45:54 1999  George Lebl  <jirka@5z.com>
1023
1024         * src/tree.h,src/main.c,src/parse.y: add support for private signals
1025           and virtuals
1026
1027         * src/parse.y: fix bug with bogus vararg methods
1028
1029 Sun Sep 04 17:44:37 1999  George Lebl  <jirka@5z.com>
1030
1031         * Release 0.90.1
1032
1033 Sat Sep 04 17:18:22 1999  George Lebl  <jirka@5z.com>
1034
1035         * src/lexer.l,src/parse.y,src/main.c,src/tree.[ch]: support
1036           variable arguments for public and private methods
1037
1038 Sat Sep 04 16:51:11 1999  George Lebl  <jirka@5z.com>
1039
1040         * lexer.l,parse.y: accept const in parameter lists
1041
1042 Sun Aug 29 13:46:33 1999  George Lebl  <jirka@5z.com>
1043
1044         * Release 0.90.0
1045
1046 Sat Aug 28 23:36:48 1999  George Lebl  <jirka@5z.com>
1047
1048         * src/main.[ch],parse.y: make error/warning reporting public
1049           and use it to report depreciated use of 'this'
1050
1051 Sat Aug 28 22:41:52 1999  George Lebl  <jirka@5z.com>
1052
1053         * src/tree.[ch],parse.y,main.c: check for duplicate variables and
1054           signals and arguments as well.
1055
1056 Sat Aug 28 22:00:19 1999  George Lebl  <jirka@5z.com>
1057
1058         * src/parse.y,src/main.c: change "this" to "self", but accept "this"
1059           as well
1060
1061         * src/main.c: check for duplicate methods, and warn on non-public
1062           "new" method
1063
1064         * configure.in: change to version 0.90.0
1065
1066         * doc/gob.1.in: change this to self
1067
1068 Tue Aug 24 20:37:26 1999  George Lebl  <jirka@5z.com>
1069
1070         * Release 0.0.4
1071
1072 Thu Aug 19 03:18:03 1999  George Lebl  <jirka@5z.com>
1073
1074         * src/main.c: also count overrides to avoid an unused variable on
1075           class_init
1076
1077 Thu Aug 19 03:08:49 1999  George Lebl  <jirka@5z.com>
1078
1079         * src/parse.y: in a check, we can check not only about numbers
1080           but for tokens as well
1081
1082 Wed Aug 18 12:54:17 1999  George Lebl  <jirka@5z.com>
1083
1084         * Release 0.0.3
1085
1086 Tue Aug 17 22:24:47 1999  George Lebl  <jirka@5z.com>
1087
1088         * src/lexer.l,src/parse.y: don't use reserved words for check type
1089           last first and null
1090
1091         * src/{lexer.l,parse.y,tree.[ch],main.c}: add #line's to output
1092           files
1093
1094         * src/out.[ch]: new functions for output so that we can easily add
1095           #line's to files
1096
1097         * src/main.c: fix get/set arguments
1098
1099         * doc/gob.1.in: updated for newer version and spellchecked, also
1100           gob.1 is generated by configure now to get versions correct
1101
1102         * gob.spec.in: added a spec file
1103
1104 Fri Jul 30 02:19:05 1999  George Lebl  <jirka@5z.com>
1105
1106         * src/parse.y: accept simple char types
1107
1108         * src/main.c: make prototypes look better, and don't output arg stuff
1109           when it won't be used
1110
1111         * Makefile,src/Makefile: add test make target
1112