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