1 Sat Sep 29 17:00:39 2001 George Lebl <jirka@5z.com>
3 * doc/Makefile.am: update
5 Sat Sep 29 16:44:13 2001 George Lebl <jirka@5z.com>
7 * doc/gob2.1.in: update a tad and add a note that the manual
10 Sat Sep 29 16:33:57 2001 George Lebl <jirka@5z.com>
12 * gob2.spec.in: update for gob2
14 Fri Sep 28 17:39:57 2001 George Lebl <jirka@5z.com>
16 * **/*: Merge from gob-2 to HEAD
18 Fri Sep 28 17:08:19 2001 George Lebl <jirka@5z.com>
20 * configure.in, gob2.spec.in, gob2.m4, doc/gob2.1.in, Makefile.am,
21 doc/Makefile.am: rename rest of files for gob2
23 * src/main.c: minor cleanup
25 Thu Sep 27 21:56:17 2001 George Lebl <jirka@5z.com>
27 * src/generate_treefuncs.pl, src/treefuncs.def, src/parse.y,
28 src/main.c: Revamp the tree funcs stuff to be saner and cooler,
29 and fix some crashes and other things related to this.
31 * src/parse.y, src/lexer.l, src/main.c, src/util.[ch],
32 src/checks.[ch], treefuncs.def: Add properties (GParam), fix
33 C++ generation, add GET_NEW_VARG, whack the propname alias for
34 arguments setters/getters (they're deprecated anyway)
36 * src/test.gob: update tests
38 Sun Sep 16 13:07:37 2001 George Lebl <jirka@5z.com>
40 * src/main.c: replace GOB_ prefix for local functions with
41 self_. This makes much more sense.
43 Sun Sep 16 12:43:24 2001 George Lebl <jirka@5z.com>
45 * src/lexer.l, src/parse.y, src/main.c, src/treefuncs.(def|c|h),
46 src/util.[ch], src/test.gob: Add syntax for properties (GParam
47 or whatever you call these:). The code behind them is not yet
50 Sun Aug 12 16:15:46 2001 George Lebl <jirka@5z.com>
52 * src/main.c, src/parse.y, src/test.gob, src/util.c: Things now
53 make compilable objects, including with signals, how well it
54 works I don't know. cpp support seems broken in glib mostly.
56 Sat Jun 30 15:01:26 2001 George Lebl <jirka@5z.com>
58 * Applied the following from HEAD
60 Sat Jun 30 14:57:37 2001 George Lebl <jirka@5z.com>
62 * doc/gob.1.in: add documentation for (export)
64 Tue Jun 26 15:54:08 2001 George Lebl <jirka@5z.com>
66 * src/Makefile.am: add built sources to EXTRA_DIST
68 2001-06-24 Mark Brown <broonie@sirena.org.uk>
70 * src/main.c: Default to PRIVATE_HEADER_ONDEMAND rather than
71 PRIVATE_HEADER_ALWAYS as per documentation.
73 * doc/gob.1.in: Fix cut & paste error in object_{get,set}
76 Sat Jun 09 13:38:53 2001 George Lebl <jirka@5z.com>
78 * src/parse.y: was freeing the wrong token
80 2001-06-03 Eskil Heyn Olsen <eskil@eskil.dk>
82 * examples/my-person.gob:
85 * examples/test-export.gob:
86 File that tests the (export) keyword.
89 Added a (export) keyword to argument, so gob will
90 autodefine the my_object_[get|set]_var functions.
92 Sun May 13 02:45:43 2001 George Lebl <jirka@5z.com>
94 * src/main.c: revert the GET_NEW_VARG since it just won't work
97 Sun May 13 02:31:52 2001 George Lebl <jirka@5z.com>
99 * src/main.c: add GET_NEW_VARG macro/static func (for non-gcc)
100 and add TYPE_SELF macro
102 Sun May 13 02:02:47 2001 George Lebl <jirka@5z.com>
104 * src/util.c: patch from Frederic Crozat <fcrozat@mandrakesoft.com>
107 Sat Apr 21 20:06:10 2001 George Lebl <jirka@5z.com>
109 * examples/Makefile.am, examples/README,
110 examples/GNOME_Foo_SomeInterface.idl,
111 examples/foo-some-interface.gob: Add an example for BonoboXObject
113 Sat Apr 21 19:33:08 2001 George Lebl <jirka@5z.com>
115 * configure.in: Raise version to 1.0.9
117 * src/lexer.l: Properly check major version requirements (majors
118 must match in the requires line)
120 * src/parse.y, src/main.c, src/treefuncs.(def|c|h), src/checks.c:
121 Add direct BonoboXObject support
123 * src/parse.y: fix the chunks usage
125 * doc/gob.1.in: document BonoboXObject stuff, fix the bugs section
126 wrt gtk-doc which has been supported for quite some time
128 Sat Apr 14 00:11:50 2001 George Lebl <jirka@5z.com>
130 * configure.in: compile with glib 2.0
132 * src/test.gob, src/Makefile.am: make the test glib pure, or mostly
135 * src/lexer.l: added fixme
137 * src/main.c: work on signals a little bit
139 Fri Apr 13 21:23:19 2001 George Lebl <jirka@5z.com>
141 * src/checks.[ch], src/lexer.l, src/main.c, src/parse.y,
142 src/treefuncs.[ch], src/treefuncs.def: Work on gobject support,
143 based on the patch Sven sent me. Also do add unref as well as
144 destroy handlers to vars, and moved the destructors to finalize and
145 unreffers to shutdown. This all compiles, but that doesn't mean it
146 makes usable objects.
148 Fri Apr 13 17:45:14 2001 George Lebl <jirka@5z.com>
150 * src/parse.y, doc/gob.1.in: Fix a problem found by Eric Kidd
151 <eric.kidd@pobox.com>, where objectlink was not completely
152 refcounting safe. Could underref if you set the same object.
154 Sat Mar 31 00:24:58 2001 George Lebl <jirka@5z.com>
156 * src/main.c: fix crash with marshallers of signals with a return
157 type and no arguments.
159 Sun Mar 04 19:14:03 2001 George Lebl <jirka@5z.com>
161 * src/main.c, src/checks.c, src/util.[ch]: Remove the underscore
162 hack, remove the 1.2 code from the 1.3 compat hacks, make all
163 short names start with GOB_. Start of the direct GObject
164 support, gob compiles, but it will not create useful object
167 Tue Feb 27 06:14:59 2001 George Lebl <jirka@5z.com>
169 * configure.in, src/Makefile.am, README: this is the gob-2 branch
172 Tue Feb 27 00:53:41 2001 Jonathan Blandford <jrb@redhat.com>
174 * README: Use my new-found maintainer status!!! The power!
176 Sun Feb 25 17:17:46 2001 George Lebl <jirka@5z.com>
180 Sun Feb 25 16:57:45 2001 George Lebl <jirka@5z.com>
182 * src/main.c, src/checks.c: to make doing BonoboXObjects possible
183 allow overriding the _get_type function.
185 * doc/gob.1.in: document the above
187 Sun Feb 11 16:33:07 2001 George Lebl <jirka@5z.com>
191 Sat Feb 10 18:42:59 2001 George Lebl <jirka@5z.com>
193 * src/Makefile.am: fix the build
195 2001-02-08 Maciej Stachowiak <mjs@eazel.com>
197 * src/Makefile.am: Remove BUILT_SOURCES stuff; Automake knows how
198 to handle .l and .y files directly, and including the .c files as
199 well was making it fail to link as it would try to link in lexer.o
202 Thu Feb 08 02:43:22 2001 George Lebl <jirka@5z.com>
204 * src/main.c: add signal connection typesafety macros
206 * src/test.gob, doc/gob.1.in: new stuff foo
208 * configure.in: raise version
210 Thu Feb 08 01:42:52 2001 George Lebl <jirka@5z.com>
212 * src/Makefile.am: rule for parse.h includes parse.c, and
213 SOURCES include BUILT_SOURCES
215 Tue Dec 26 11:03:44 2000 George Lebl <jirka@5z.com>
217 * src/main.c: Remove ## from the varargs macro stuff, as it's not
218 needed and causes trouble for newer gcc's (like in rh7)
220 Sun Sep 10 18:04:07 2000 George Lebl <jirka@5z.com>
224 Fri Sep 01 03:45:30 2000 George Lebl <jirka@5z.com>
226 * src/main.c: add G_GNUC_CONST to the _get_type function
228 Wed Aug 23 15:05:40 2000 George Lebl <jirka@5z.com>
230 * src/main.c: when a method has no arguments make an argumentless
231 macro for the shortform to avoid a parse error
233 * src/test.gob: add a test for the above
235 Sun Aug 6 22:21:38 2000 Eskil Heyn Olsen <eskil@eazel.com>
237 * gob.m4 now defaults to WARN instead of ERROR on missing
240 Tue Jul 25 16:54:34 2000 George Lebl <jirka@5z.com>
244 * configure.in: raise version to 1.0.4
246 * src/main.c: fixup the -anal macro patch.
248 * src/util.[ch], src/main.c: constize (not in 1.0.4)
250 * src/main.c: the short form pointers unified for both gnu and non-gnu
253 Sun Jul 23 18:51:45 2000 George Lebl <jirka@5z.com>
255 * src/util.[ch], src/main.c, src/checks.c, src/lexer.l, src/parse.y:
256 make new cleaner error print routines including a printfstyle one.
257 Use the get_real_id on all method ids even for overrides. When a
258 signal is added there is also a sizeof check for the signature vs.
259 argument list with a g_error if it fails. Fix %at{ %} to not
260 appear twice in all files.
262 * src/main.c: Apply patch from Arturo Tena to make things compile
263 nicely with gcc's -ansi -pedantic
265 * src/out.[ch]: constize correctly and use G_GNUC_PRINTF macro for
268 Fri Jul 21 15:38:10 2000 George Lebl <jirka@5z.com>
270 * src/main.c: store the private structure pointer so that we
271 don't look inside the freed object structureafter finalize
273 Thu Jul 06 02:32:29 2000 George Lebl <jirka@5z.com>
277 Wed Jul 05 19:37:20 2000 George Lebl <jirka@5z.com>
279 * src/{main.c,parse.y}: couple of cleanups, and fixup the gtk 1.3
282 Wed Jul 05 18:57:13 2000 George Lebl <jirka@5z.com>
284 * src/{checks.c, main.c, parse.y, test.gob}: Apply and fix up patch
285 from Bas van der Linden <linden@win.tue.nl> that adds the ability
286 to use const on the "self" argument as well. Also adds a CONST
287 casting macro to use.
289 * src/main.c: Fix a memory leak when destroy wasn't overriden and
290 destructors were added, it now properly calls the parent handler.
293 * src/main.c: Spit out some macro magic foo to hopefully make it
294 possible to compile objects with GTK+ 1.3/2.0
296 * doc/gob.1.in, examples/*.gob: We should never do
297 GTK_OBJECT(GET_NEW) as that's a memory leak due to some weird
298 GTK_OBJECT() semantics
300 Fri Jun 30 14:08:53 2000 George Lebl <jirka@5z.com>
304 Fri Jun 30 13:11:05 2000 George Lebl <jirka@5z.com>
306 * doc/gob.1.in: add doc for --always-private-struct
308 * src/main.c: fix output of --help. Also print __GOB_FUNCTION__
309 for inits and for get/set_arg. And print the get_real_id to
310 avoid the underscore.
312 Mon Jun 26 00:06:45 2000 George Lebl <jirka@5z.com>
314 * src/parse.y: for stringlink, dup the string on argument
317 * doc/gob.1.in: update documentation to the above change
319 Sun Jun 25 03:34:02 2000 George Lebl <jirka@5z.com>
321 * src/treefuncs.def, src/main.c, src/utils.[ch], src/parse.y: sane
322 parsing of const. Get rid of "stars" integer and just use a
323 "pointer" string. Also the types in general are more sanely parsed,
324 thus recognizing hopefully all legal (and some illegal) C types.
326 * src/checks.[ch], src/main.c: checks the argument type to be one we can
329 * src/treefuncs.def, src/main.c, src/parse.y, src/lexer.l: Apply
330 patch from Bas van der Linden <linden@win.tue.nl> that adds the
331 possibility to use chunks to allocate objects.
333 * src/main.c: Apply patch from Bas van der Linden <linden@win.tue.nl>
334 to add a __GOB_FUNCTION__ define to each function
336 * src/Makefile.am, src/main.c, src/lexer.l, src/generate_treefuncs.pl:
337 avoid and fix warnings, and compile with all warnings
339 * src/main.[ch]: add an --always-private-struct option to always put
340 in the private pointer, even if there are no private members.
342 * src/test.gob: add some more tests for new stuff
344 Wed Jun 07 15:03:18 2000 George Lebl <jirka@5z.com>
348 Wed Jun 07 14:41:24 2000 George Lebl <jirka@5z.com>
350 * configure.in, doc/gob.1.in: updates
352 Mon Jun 05 12:10:46 2000 George Lebl <jirka@5z.com>
354 * doc/gob.1.in: run through ispell, and fix option stuff to produce
355 nicer html output with groff
357 Thu Jun 01 18:12:13 2000 George Lebl <jirka@5z.com>
359 * src/main.c: Make the private header switches work again.
361 Wed May 31 01:50:25 2000 George Lebl <jirka@5z.com>
365 Wed May 31 01:47:23 2000 George Lebl <jirka@5z.com>
367 * src/gob.1.in: documentation of makefile rules for gob.
369 Tue May 30 11:02:36 2000 George Lebl <jirka@5z.com>
371 * src/lexer.l: Accept identifiers in array dimensions, this is so
372 that you can make these some constants.
374 Sat May 20 18:22:33 2000 George Lebl <jirka@5z.com>
378 Sat May 20 18:22:23 2000 George Lebl <jirka@5z.com>
380 * src/{main.c,checks.[ch]}: check for duplicate overrides, it is
381 different from checking symbol names as they don't conflict with
382 other symbols AND they only conflict if both the name and their
385 Sat May 20 16:38:06 2000 George Lebl <jirka@5z.com>
387 * src/{main.[ch],util.[ch],checks.c}: Add underscore removal for
388 non-override methods. This means that local aliases will include
389 prepended underscores, but when the full name is generated, or
390 when the method name is added to class structure, the underscore
393 * src/checks.c: overrides no longer checked for uniqueness, a more
394 complex logic is needed.
396 * src/{main.c,treefuncs.def,parse.y}: override naming is done
397 with a unique id, so that we handle cases where two classes have
398 the same method name.
400 * doc/gob.1.in: update for the above.
402 Sat May 20 14:42:00 2000 George Lebl <jirka@5z.com>
404 * src/main.c: the private structure is now freed in finalize again and
405 thus do the same dance around finalize as we do around destroy.
406 Clean up some code. NULL all things being destroyed. The arbitary
407 destructor uses memset as those things might not be just pointers.
409 Thu May 11 23:48:44 2000 George Lebl <jirka@5z.com>
411 * src/main.[ch]: provide the Self and SelfClass typedefs in addition
412 to SELF, IS_SELF, SELF_CLASS macros. All of these can now be
413 disabled with the --no-self-alias option
415 * doc/gob.1.in: update
417 * configure.in: raise version
419 Tue May 09 23:18:16 2000 George Lebl <jirka@5z.com>
421 * src/parse.y: fix segfault on parse error and give better error
424 Tue May 09 21:54:10 2000 George Lebl <jirka@5z.com>
426 * doc/gob.1.in, src/main.c: Add destruction code into the destroy
427 handler rather then finalize. Setup an extra function if
428 neccessary to handle returns correctly as this must be called
431 Sat Apr 29 14:41:42 2000 George Lebl <jirka@5z.com>
435 Sat Apr 29 14:40:40 2000 George Lebl <jirka@5z.com>
437 * src/checks.c: code prettification
439 * src/lexer.l, src/parse.y, src/test.gob: change "class" scope to
440 "classwide" scope, not to overload the class keyword
442 * src/main.[ch]: make private header files be generated by default,
443 and cleanup that part a bit
445 * doc/gob.1.in: add documentation of classwide
449 Fri Apr 21 17:15:09 2000 George Lebl <jirka@5z.com>
451 * src/main.c: add spaces after commas
453 * src/lexer.l, src/main.c, src/parse.y: add class scope variables
454 which are put into the class structure
456 * src/test.gob: added a test for class variables
458 * src/treefuncs.def: added CLASS_SCOPE
460 * src/treefuncs.h: regenerated
462 Mon Apr 17 20:13:47 2000 George Lebl <jirka@5z.com>
464 * src/parse.y: on objectlink instead of just ref, do ref/sink.
466 Sat Apr 15 23:07:30 2000 George Lebl <jirka@5z.com>
470 Sat Apr 15 22:42:20 2000 George Lebl <jirka@5z.com>
472 * src/main.c: fixes for ANSI C and C++. Just use GTK_VALUE_POINTER
473 instead of GTK_VALUE_OBJECT so that we don't have to cast and don't
476 Sat Apr 15 22:09:49 2000 George Lebl <jirka@5z.com>
478 * src/main.c: use the generic return type in signal marshallers
479 rather then the specific one as the marshallers are truly generic
481 Sat Apr 15 21:52:52 2000 George Lebl <jirka@5z.com>
483 * src/main.c: fix some typesafety braindamages with OBJECT types
484 in arguments by casting GTK_VALUE_OBJECT to gpointer. Also
485 for seting arguments cast the ARG to atype if it exists
487 Wed Apr 05 13:42:28 2000 George Lebl <jirka@5z.com>
489 * src/parse.y: never allow NONE to be used as one of many arguments,
490 always only by itself in the argument list
492 * src/main.c: When printing out the signal marshaller prototype,
493 don't print out the NONE (void) into the argument list, thanks
494 to Soeren Sandmann <sandmann@daimi.au.dk> for reporting that
496 Mon Apr 03 13:07:33 2000 George Lebl <jirka@5z.com>
498 * examples/Makefile.am: add my-person2.gob to EXTRA_DIST
500 Sun Apr 02 18:09:40 2000 George Lebl <jirka@5z.com>
504 Sun Apr 02 17:38:12 2000 George Lebl <jirka@5z.com>
506 * src/Makefile.am: ass the .pl and .def file to EXTRA_DIST
508 Sun Apr 2 14:37:49 PDT 2000 Manish Singh <yosh@gimp.org>
510 * configure.in: check for treefuncs.h instead of tree.h, since
511 the latter has gone bye-bye
513 Sat Apr 01 23:27:47 2000 George Lebl <jirka@5z.com>
515 * doc/gob.1.in: add documentation for defreturn
517 Sat Apr 01 18:03:31 2000 George Lebl <jirka@5z.com>
519 * src/{treefuncs.(def|c|h),generate_treefuncs.pl}: What would gob
520 be without some automatically generated code. The tree.[ch] was
521 hard to keep up and didn't have free/copy so these do, otherwise
522 it is the same. Also added a defreturn field to methods
524 * src/*.[cyl]: include treefuncs.h rather then tree.h
526 * src/{parse.y,lexer.l,main.c}: use the defreturn as the default for
527 return values of signals and virtual methods. If this is not
528 defined use the onerror or failing that '0'. onerror is also not
529 a reserved keyword anymore
531 * configure.in: raise version
533 Mon Mar 27 13:08:01 2000 George Lebl <jirka@5z.com>
537 Mon Mar 27 12:04:22 2000 George Lebl <jirka@5z.com>
539 * src/util.[ch], src/main.c: figure out if we really need the special
540 types, also make a hash for the gtk types instead of linear
541 searching it all the time.
543 * src/{lexer.c,checks.c,main.c}: minor fixes and cleanups
545 2000-03-21 Eskil Heyn Olsen <deity@eskil.dk>
547 * gob.m4: do not default GOB to no when not found (did that make
549 And better error message.
551 Mon Mar 20 14:35:35 2000 George Lebl <jirka@5z.com>
553 * src/lexer.l: handle single word typenames with an empty namespace
555 Sun Mar 05 02:23:04 2000 George Lebl <jirka@5z.com>
557 * src/main.c: add #lines around setting default handlers
559 * src/parse.y: fix line number for 'destroywith' destructors
561 Sat Mar 04 15:33:18 2000 George Lebl <jirka@5z.com>
563 * src/checks.c: duplicate name test for arguments and signals is
564 case insensitive now as those could cause trouble
566 Mon Feb 28 02:45:27 2000 George Lebl <jirka@5z.com>
570 Sun Feb 27 20:59:45 2000 George Lebl <jirka@5z.com>
572 * src/parse.y,doc/gob.1.in: For stringlink, just return a pointer on
573 get rather then strduping as that is 1) consistent with objectlink
574 and 2) more flexible.
576 Sun Feb 27 20:38:19 2000 George Lebl <jirka@5z.com>
578 * src/{main.c,tree.[ch],parse.y}: add the arbitrary destruction handler
581 * doc/gob.1.in: updated and fixed up
583 * configure.in,NEWS,examples/{README,my-person2.gob}: change version
586 Sun Feb 27 18:37:57 2000 George Lebl <jirka@5z.com>
588 * NEWS,doc/gob.1.in,examples/{README,my-person.gob,my-person2.gob}:
589 update of docs and examples to include the new features and minor
592 Sun Feb 27 04:41:41 2000 George Lebl <jirka@5z.com>
594 * src/main.c: make the output nicer for classes with no methods
595 better typechecking in get/set_arg, fix a couple of C++ issues,
597 * src/{main.c,parse.y,tree.[ch]}: automatic linking of arguments to
598 data members. Also alow empty statements inside a class. Also
599 add automatic data member destruction for pointer data, and
600 automatic initialization for any data member.
602 * src/main.[ch],src/out.c: add --no-lines which inhibits printing
603 of #line things to output files
605 * doc/gob.1.in: update for the above
607 Fri Feb 25 15:21:47 2000 George Lebl <jirka@5z.com>
611 Fri Feb 25 14:46:51 2000 George Lebl <jirka@5z.com>
613 * src/main.c: add SELF casting macros
615 * doc/gob.1.in: document the above
617 Fri Feb 25 02:29:26 2000 George Lebl <jirka@5z.com>
619 * src/main.c,src/tree.[ch],src/parse.y: public signals get
620 GTK_RUN_ACTION added. Plus an interface for adding additional
623 * doc/gob.1.in: add docs for the above
625 Fri Feb 25 01:37:20 2000 George Lebl <jirka@5z.com>
627 * src/main.c: fix trailing comma on the end of the argument enum
629 Sun Feb 13 23:54:53 2000 George Lebl <jirka@5z.com>
631 * doc/gob.1.in: add doc patch from Dave Dunkin <dunkind@letu.edu>
633 * doc/gob.1.in,examples/*.gob: use init(self) to be more consistent
636 Sat Feb 12 14:42:15 2000 George Lebl <jirka@5z.com>
638 * src/main.c,src/lexer.l: apply patches from Dave Dunkin
639 <dunkind@letu.edu> to add all and alltop ccode sections
640 and to add a --no-write,-n option to not actually write
641 any files. Also did some very cosmetic changes to code
643 Mon Feb 07 23:45:04 2000 George Lebl <jirka@5z.com>
645 * src/main.c: use the magic /*< private >*/ and /*< public >*/
646 comments to distinguish public and protected data members
648 Mon Feb 07 03:02:48 2000 George Lebl <jirka@5z.com>
652 Mon Feb 07 02:50:11 2000 George Lebl <jirka@5z.com>
654 * src/lexer.l: error on multiple classes
656 * src/main.c: nicer header output
658 * src/{lexer.l,main.c}: Eat out gtk-doc like inline doc entries
659 and stuff them into the output files where appropriate
661 * doc/gob.1.in: added docs for gtk-doc like inline doc stuff
663 * examples/{README, gtk-button-count.gob}: added inline docs
665 Fri Feb 04 01:07:54 2000 George Lebl <jirka@5z.com>
667 * src/main.c: use G_GNUC_UNUSED rather then our own macro for a
668 very slightly cleaner looking output file
670 2000-01-31 Eskil Heyn Olsen <deity@eskil.dk>
672 * gob.m4: checks for gob binary, GOB_CHECK([version [,
673 action_if_found[, action_if_not_found]]]).
675 * Makefile.am: Install gob in $prefix/share/aclocal
677 Thu Jan 27 17:50:11 2000 George Lebl <jirka@5z.com>
679 * src/main.c: add #include <stdlib.h>
681 Mon Jan 24 22:52:47 2000 George Lebl <jirka@5z.com>
685 Mon Jan 24 22:23:47 2000 George Lebl <jirka@5z.com>
687 * src/main.c: add a protecting define before the object typedef
689 * doc/gob.1.in: add docs for the new stuff
691 Sun Jan 23 16:19:54 2000 George Lebl <jirka@5z.com>
693 * src/{lexer.l,parse.y,tree.[ch],main.c}: make more types of header
694 %{ %} blocks, "headertop" and "privateheader" and made short as
695 well as long names possible.
697 * src/main.c: add an --no-extern-c option to not put entern "C" into
698 the output, which is now put in by default even if --for-cpp is
699 on so that it is possible to call those from C by default
701 Thu Jan 20 01:50:45 2000 George Lebl <jirka@5z.com>
703 * src/main.c: put the _real_ functions in our normal private
704 namespace of ___* to be more consistent.
706 Mon Jan 10 00:16:43 2000 George Lebl <jirka@5z.com>
708 * src/{main.[ch],util.[ch],checks.[ch]}: offload some functionality to
711 * src/main.c: cleanup the generation routine by spliting it up into
714 * src/{main.h,lexer.l,parse.y,out.c}: put some needed externs into the
715 main.h file and include that rather then doing it in the .c files
717 Thu Jan 06 18:33:44 2000 George Lebl <jirka@5z.com>
719 * src/main.c: use ___ for the signal marshalling typedefs as well
721 Thu Jan 06 17:32:46 2000 George Lebl <jirka@5z.com>
725 Thu Jan 06 17:13:22 2000 George Lebl <jirka@5z.com>
727 * src/main.c: be consistent with the use of "namespacing", we
728 prefix ALL internal gob stuff with "___". This should make it
729 easier to avoid name conflicts with user code and glibc/gcc (Which
730 seems to use __ prefix)
732 * src/main.c: check for init and class_init names for non-constructor
733 methods and give an error if found.
735 * src/main.c: check argument types and flags for correctness, error
736 on unknown type, but just a warning on unknown flag
738 * doc/gob.1.in: add a section for name conflicts
740 Wed Jan 05 02:23:21 2000 George Lebl <jirka@5z.com>
742 * src/main.c: doh! the symbols for the aliases need to be declared as
745 Wed Jan 05 02:13:59 2000 George Lebl <jirka@5z.com>
747 * src/main.c: just realized that args... for macros is a GNU
748 extention and so the PARENT_HANDLER no longer uses it, but prints
749 the argument names with __ prefixed into the argument list.
751 Wed Jan 05 01:58:32 2000 George Lebl <jirka@5z.com>
753 * src/main.c: if using gnu c, also define macros using varargs for
754 function aliases. This should allow the compiler to optimize
755 further and if we have arguments for the defines there are
756 no adverse side effects as there are for straight defines.
758 Wed Jan 05 01:48:12 2000 George Lebl <jirka@5z.com>
760 * src/main.c: fixup the aliases. They didn't actually work right.
761 now we set it up as a const pointer to a function using typeof.
763 Tue Jan 04 17:57:55 2000 George Lebl <jirka@5z.com>
765 * src/lexer.l: add support for 'requires x.y.z' line. This is
766 so that a .gob file can require at least version x.y.z of gob
768 * src/test.gob: update
770 * doc/gob.1.in: update for requires and run trhough ispell
772 Tue Jan 04 17:10:54 2000 George Lebl <jirka@5z.com>
774 * src/main.c: fix the non-gnu aliases
776 Tue Jan 04 16:46:16 2000 George Lebl <jirka@5z.com>
778 * src/{main.c,parser.y,tree.[ch]}: add optional C type specification
779 to arguments for full type safety
781 * doc/gob.1.in: updated
783 Tue Jan 04 15:34:16 2000 George Lebl <jirka@5z.com>
785 * src/main.c: --no-gnu option to completely disable any use
786 of GNU C extentions. This is for those weird people that don't
787 wish to use those extentions even with GNU C.
789 Tue Jan 04 14:43:49 2000 George Lebl <jirka@5z.com>
791 * src/main.c: use some GNU extentions (guarded with #ifdef __GNUC__)
792 to make arguments fully typesafe, and to make it easier for
793 GNU to optimize the aliases, as well as to avoid the ugly
796 * src/main.c: don't put #line 0 for the .gob file for method prototypes
798 * src/main.c: move the _priv structure freeing into finalize to enable
799 people to work with the private stuff inside the destroy handler
801 * src/main.c: use #line before every precondition check so that failed
802 checks should point to the function prototype rather then into
805 * src/main.c: remove the _END_ARG macro
807 * src/main.c: add GOB_VERSION_MAJOR, GOB_VERSION_MINOR and
808 GOB_VERSION_PATCHLEVEL defines into the generated C file
810 * src/out.c: don't redundantly put #line for outfile if we're already
813 * configure.in: raise version number
815 Tue Jan 04 02:22:33 2000 George Lebl <jirka@5z.com>
817 * src/main.c: add argument wrapper macros to make the argument system
818 a little more type safe.
820 Fri Dec 31 17:39:22 1999 George Lebl <jirka@5z.com>
824 Thu Dec 30 20:20:36 1999 George Lebl <jirka@5z.com>
826 * src/main.c: correctly handle the complex fundemental types,
827 so that we can handle ALL the fundemental types for signals
829 Thu Dec 30 19:29:56 1999 George Lebl <jirka@5z.com>
831 * src/main.c: don't use function types for casts in marshallers,
832 but default types we get from our GTK_TYPE_* -> C type translation,
833 and use this fact to check for same function types and combine
834 signal prototypes. This doesn't yet handle well complex types,
835 but I have an idea how to make complex types work. Though
836 I dunno if it's actually worth it.
838 Thu Dec 30 17:18:27 1999 George Lebl <jirka@5z.com>
840 * src/main.c: figure out some types from GTK types and cast properly
841 when emitting a signal. This catches some inconsistencies in
842 signal func argument lists and the GTK types of the arguments.
844 Wed Dec 29 18:04:13 1999 George Lebl <jirka@5z.com>
846 * src/parse.y: allow scope, public/private/protected, to come before
847 the signal or virtual keyword for consistency's sake.
849 Wed Dec 29 01:39:30 1999 George Lebl <jirka@5z.com>
851 * src/{tree.[ch],parser.y}: cleanup scope stuff
853 * src/{lexer.l,parser.y,tree.h,main.c}: add protected keyword and
854 methods. protected methods are put into the -private files and
855 are real exported functions just like public. protected data
856 members act like pre-0.91.x private datamembers, that is they
857 get stuck into the public header, but marked /* protected */.
859 * src/main.c: change the method body printing function so that we
860 can catch the no return warning properly and send us to the .gob
861 file instead of the .c file.
863 * src/{parse.y,main.c}: handle empty publics/privates/overrides
864 and handle the body being set to ';' rather then '{}'
866 * src/main.c: check for empty nonvoid regular methods, and error out
867 on finding them as that would produce warnings which we can't catch
868 and it is generally bad to do anyway
870 * src/{parse.y,tree.[ch],main.c}: use char pointers for C buffers,
871 and kill leading/trailing whitespace from them to make the C files
872 nicer and easier to recognize empty functions.
874 * src/main.c: add a --version switch
876 * doc/gob.1.in: Update with the above changes
878 * configure.in: raise version
880 Tue Dec 28 20:49:56 1999 George Lebl <jirka@5z.com>
882 * src/main.c: apply patch from ChiDeok Hwang <cdhwang@sr.hei.co.kr>
883 to make the hack function static so that we don't pollute namespace
885 Mon Dec 27 19:56:24 1999 George Lebl <jirka@5z.com>
889 Mon Dec 27 03:00:25 1999 George Lebl <jirka@5z.com>
891 * src/main.c: fixup PARENT_HANDLER to work well with non-void
892 functions, the macro becomes an expression if the function is
893 not void and returns the return of the parent or the onerror
894 expression if the function pointer was NULL.
896 Mon Dec 27 02:25:32 1999 George Lebl <jirka@5z.com>
898 * src/parse.y: allow completely empty classes
900 * src/main.c: don't add the ugly hack function if there are no
903 Mon Dec 27 01:26:26 1999 George Lebl <jirka@5z.com>
905 * src/parse.y: fixup the virtual rule as I forgot to shift the
906 argument numbers when adding to the expression
908 Mon Dec 27 01:07:14 1999 George Lebl <jirka@5z.com>
910 * src/parse.y: add optional public keyword to virtuals and signals,
911 (which doesn't do anything, only consistency). I should perhaps
912 rewrite and simplify this part of the parser
914 * src/lexer.l: fix a bug with empty braces producing a segfault
915 on public and private methods
917 * doc/gob.1.in: add a section about Constructor methods (init
918 class_init) and fix init_class -> class_init
920 * configure.in: raise version to 0.91.2
922 Tue Dec 14 00:06:00 1999 George Lebl <jirka@5z.com>
926 Mon Dec 13 23:25:06 1999 George Lebl <jirka@5z.com>
928 * src/{main.c,out.c}: create a private header file and stick
929 the private structure definition inside it. Add option
930 --no-private-header for 0.91.0 behaviour and
931 --always-private-header to force private header creation
933 * doc/gob.1.in: update WRT above changes
935 * examples/my-person.gob: include the private header
939 Mon Dec 13 18:30:09 1999 George Lebl <jirka@5z.com>
941 * src/main.c: don't print spurious #line's into the private
944 * src/{main.c,tree.[ch],lexer.l,parse.y}: implement support for
945 array types for data members and function arguments
947 Mon Dec 13 00:48:47 1999 George Lebl <jirka@5z.com>
951 Sun Dec 12 22:55:12 1999 George Lebl <jirka@5z.com>
953 * doc/gob.1.in: added paragraph noting that private data members
954 cannot be accessed above the class definition in the .gob file
956 Sun Dec 12 22:08:31 1999 George Lebl <jirka@5z.com>
958 * src/main.c: implement real private data members as promised in
959 the documentation, this however breaks some compatiblity with
960 things that already used the 'private' keyword for data members
962 * doc/gob.1.in: document private data member stuff
966 * src/main.c: a couple of sanity checks of the code to prevent weird
967 errors on some broken .gob code
969 * configure.in: update version to 0.91.0
971 Sun Dec 05 14:20:26 1999 George Lebl <jirka@5z.com>
973 * src/{lexer.l,main.c}: if we find the class header #include
974 statement in a %{ %} section above class definition, don't
975 include it ourselves.
977 * doc/gob.1.in: remove the note about the include always first from
978 BUGS, and make a new section for the include file.
980 Thu Nov 25 13:09:08 1999 George Lebl <jirka@5z.com>
984 Thu Nov 25 13:00:52 1999 George Lebl <jirka@5z.com>
986 * src/main.c: don't error out on a symbol conflict if the types of
987 the symbol node don't match (variable,method)
989 Sat Nov 20 16:15:42 1999 George Lebl <jirka@5z.com>
991 * src/main.c: add PARENT_HANDLER macro to make calling parent
992 handlers in override functions easier
994 Fri Nov 19 16:41:09 1999 George Lebl <jirka@5z.com>
996 * src/main.c: add a type macro
998 Thu Nov 18 22:56:09 1999 George Lebl <jirka@5z.com>
1000 * src/parse.y: add a warning check if the number of GTK types of
1001 a signal doesn't seem to be correct for the given number of
1004 Tue Nov 16 01:23:45 1999 George Lebl <jirka@5z.com>
1006 * src/main.c: support a "no-touch-headers" mode in which the
1007 headers are not touched unless they actually really changed,
1008 not on by default as it confuses automake
1010 Tue Nov 16 00:36:42 1999 George Lebl <jirka@5z.com>
1012 * src/{main.c,lexer.l,parser.y,out.c}: Implement a C++ mode, get
1013 rid of C++ errors/warnings when in C++ mode, and get rid of
1014 the 'this' pointer finally (it's been deprecated long enough)
1016 Mon Nov 15 23:45:37 1999 George Lebl <jirka@5z.com>
1018 * src/main.c: add prototype for the really bad hack function to
1021 Mon Nov 15 23:42:06 1999 George Lebl <jirka@5z.com>
1023 * src/main.c: generate correct function pointers in the structure
1024 for signals and virtuals. Also use a much nicer system instead
1025 of the method name defines, we now just set a bunch of static
1026 pointers, this removes a whole lot of headaches actually
1028 * doc/gob.1.in: repair to reflect the above (I removed the define
1031 Sun Nov 14 17:57:34 1999 George Lebl <jirka@5z.com>
1033 * doc/gob.1.in: repair some things that confused troff and add
1034 a C preprocessor warning to BUGS
1036 Sat Nov 13 17:22:49 1999 George Lebl <jirka@5z.com>
1038 * **/Makefile.am, configure.in: fix the conditional installation
1039 stuff, don't even go into the doc directory if we aren't installing
1041 Sat Nov 13 16:53:20 1999 George Lebl <jirka@5z.com>
1043 * doc/gob.1.in: describe BUGS better
1045 Sat Nov 13 16:20:41 1999 George Lebl <jirka@5z.com>
1047 * src/lexer.l: don't kill C++ style comments from C blocks
1049 Sat Nov 13 16:16:59 1999 George Lebl <jirka@5z.com>
1051 * src/{lexer.l,main.c,out.c}: fixed spurious newline printing, don't
1052 kill comments from C blocks so that line counts are right, accept
1053 newlines in strings, and don't take \'\"\' as a string delimiter
1055 Sat Nov 13 14:53:26 1999 George Lebl <jirka@5z.com>
1057 * src/main.c: don't add gtk_object_class to class_init if we only
1058 have non-GtkObject overrides to avoid warning
1060 Sat Nov 13 14:31:25 1999 George Lebl <jirka@5z.com>
1062 * configure.in,src/Makefile.am,doc/Makefile.am: check for
1063 ../NOINST_GOB and in case it's found don't install self
1065 Fri Nov 12 16:25:35 1999 George Lebl <jirka@5z.com>
1067 * configure.in,Makefile.am,src/main.c: don't use popt, our arguments
1068 are simple enough and popt doesn't seem to be widely used yet
1070 Sun Sep 05 22:08:40 1999 George Lebl <jirka@5z.com>
1074 Sun Sep 05 22:08:33 1999 George Lebl <jirka@5z.com>
1076 * doc/gob.1.in: updated for private virtual and signal wrappers
1078 Sun Sep 05 21:50:19 1999 George Lebl <jirka@5z.com>
1080 * configure.in: raise version and actually set POPT_LIB correctly
1082 * src/Makefile.am: use POPT_LIB
1084 Sun Sep 05 21:45:54 1999 George Lebl <jirka@5z.com>
1086 * src/tree.h,src/main.c,src/parse.y: add support for private signals
1089 * src/parse.y: fix bug with bogus vararg methods
1091 Sun Sep 04 17:44:37 1999 George Lebl <jirka@5z.com>
1095 Sat Sep 04 17:18:22 1999 George Lebl <jirka@5z.com>
1097 * src/lexer.l,src/parse.y,src/main.c,src/tree.[ch]: support
1098 variable arguments for public and private methods
1100 Sat Sep 04 16:51:11 1999 George Lebl <jirka@5z.com>
1102 * lexer.l,parse.y: accept const in parameter lists
1104 Sun Aug 29 13:46:33 1999 George Lebl <jirka@5z.com>
1108 Sat Aug 28 23:36:48 1999 George Lebl <jirka@5z.com>
1110 * src/main.[ch],parse.y: make error/warning reporting public
1111 and use it to report depreciated use of 'this'
1113 Sat Aug 28 22:41:52 1999 George Lebl <jirka@5z.com>
1115 * src/tree.[ch],parse.y,main.c: check for duplicate variables and
1116 signals and arguments as well.
1118 Sat Aug 28 22:00:19 1999 George Lebl <jirka@5z.com>
1120 * src/parse.y,src/main.c: change "this" to "self", but accept "this"
1123 * src/main.c: check for duplicate methods, and warn on non-public
1126 * configure.in: change to version 0.90.0
1128 * doc/gob.1.in: change this to self
1130 Tue Aug 24 20:37:26 1999 George Lebl <jirka@5z.com>
1134 Thu Aug 19 03:18:03 1999 George Lebl <jirka@5z.com>
1136 * src/main.c: also count overrides to avoid an unused variable on
1139 Thu Aug 19 03:08:49 1999 George Lebl <jirka@5z.com>
1141 * src/parse.y: in a check, we can check not only about numbers
1142 but for tokens as well
1144 Wed Aug 18 12:54:17 1999 George Lebl <jirka@5z.com>
1148 Tue Aug 17 22:24:47 1999 George Lebl <jirka@5z.com>
1150 * src/lexer.l,src/parse.y: don't use reserved words for check type
1153 * src/{lexer.l,parse.y,tree.[ch],main.c}: add #line's to output
1156 * src/out.[ch]: new functions for output so that we can easily add
1159 * src/main.c: fix get/set arguments
1161 * doc/gob.1.in: updated for newer version and spellchecked, also
1162 gob.1 is generated by configure now to get versions correct
1164 * gob.spec.in: added a spec file
1166 Fri Jul 30 02:19:05 1999 George Lebl <jirka@5z.com>
1168 * src/parse.y: accept simple char types
1170 * src/main.c: make prototypes look better, and don't output arg stuff
1171 when it won't be used
1173 * Makefile,src/Makefile: add test make target