1 Tue May 28 12:09:56 2002 George Lebl <jirka@5z.com>
5 Tue May 28 11:59:18 2002 George Lebl <jirka@5z.com>
7 * src/Makefile.am: some compilation voodoo
9 * src/main.c: Special case GtkEditable and GTypePlugin since
10 those end in Class, and all other interfaces should end in
11 Iface. Long live code consistency!
13 * src/main.c: use g_signal_emitv instead of g_signal_emit. This
14 will allow us to once again have default returns and all that
15 fun stuff. It should also slightly reduce emission overhead.
17 Mon Apr 15 09:55:29 2002 George Lebl <jirka@5z.com>
19 * README, COPYING.generated-code, Makefile.am: Add LGPL license
20 for generated code and clarify this in the README. Meant to do
21 this a long time ago, and told everyone that who asked. Now
24 Sun Apr 14 19:12:02 2002 George Lebl <jirka@5z.com>
26 * src/parse.y: apply patch from Dennis Bjorklund <db@zigo.dhs.org>
27 to fix export accessors function
29 Fri Feb 01 15:19:07 2002 George Lebl <jirka@5z.com>
33 Fri Feb 01 01:42:09 2002 George Lebl <jirka@5z.com>
35 * src/main.c: get rid of the old way of doing typesafe signal
36 connection and make a new way where there are full connect
37 macros for connect, connect_after and connect_data for each
38 signal. A bit more heavy weight (only at compile time), but
39 it actually works, and is cleaner really.
41 2002-01-22 Bastien Nocera <hadess@hadess.net>
43 * src/main.c: (make_arguments): move the get_ and set_property before
44 parameters settings to work with latest glib
46 Fri Jan 18 14:21:22 2002 George Lebl <jirka@5z.com>
48 * src/treefuncs.(def|c|h), src/parse.y, src/lexer.l, src/main.c:
49 Implement GError definitions.
51 Thu Jan 17 02:39:02 2002 George Lebl <jirka@5z.com>
53 * gob2.m4: fix version check
55 * configure.in, src/Makefile.am: some build fixes and raise version
57 Thu Jan 10 22:05:42 2002 George Lebl <jirka@5z.com>
59 * src/parser.y, src/lexer.l, src/main.c, src/Makefile.am,
60 src/test.gob, src/treefuncs.(def|c|h): Implement using of
61 interfaces. That is, you can now implement interfaces on your
62 objects. You still can't define interfaces, that's step two.
64 Sun Dec 30 18:25:25 2001 George Lebl <jirka@5z.com>
66 * src/main.c: Apply patch from Josh Parsons <jp30@st-andrews.ac.uk>,
67 to fix some code generation
69 * src/parse.y: Be anal in linking string properties.
71 Thu Dec 20 17:39:32 2001 George Lebl <jirka@5z.com>
73 * src/main.c: Apply patch from Josh Parsons <jp30@st-andrews.ac.uk>
74 to enhance the m4 support, fix init function generation and
75 correctly include glib-object.h. Massage it a bit further as
78 Mon Nov 05 11:45:46 2001 George Lebl <jirka@5z.com>
80 * src/lexer.l, src/parser.y, src/main.c, src/treefuncs.def:
81 Add flags and enum creation code, so you can do things in
82 a more gob like manner rather then the glib-mkenums setup.
84 2001-10-27 Seth Nickell <snickell@stanford.edu>
86 Make BonoboObject stuff work, almost as much fun as
87 blowing goats and twice as messy. Built code still
88 requires a patch to libbonobo to run (changing the
89 name of the TYPE macro to fit w/ GNOME standards),
90 so retaining a warning that BonoboObject doesn't
91 really work (oh, but it does :-)
95 Make sure to substitute YFLAGS so you don't get undefined
96 crap when you use @YFLAGS@ in Makefile.am.
98 * src/main.c: (add_bonobo_object_get_type)
100 Add a GObject type function for BonoboObject stuff.
102 * src/main.c: (make_bonobo_object_epv)
104 Append self_ to function call as per gob2.
106 * src/main.c: (add_inits), (print_class_block)
108 * src/treefuncs.c: (ensure_quarks), (copy_class), (copy_method),
109 (free_class), (setv_class), (setv_method):
113 Change to using BonoboObject rather than BonoboXObject.
115 * examples/foo-some-interface.c
117 Update to work with GOB2 with BonoboObjectTechnology(TM).
119 2001-10-26 Seth Nickell <snickell@stanford.edu>
123 Add top_srcdir to the include flags to pick up config.h
126 Sat Oct 20 17:40:58 2001 George Lebl <jirka@5z.com>
128 * src/Makefile.am: a few fixes
130 Sat Oct 20 16:59:19 2001 George Lebl <jirka@5z.com>
132 * src/lexer.l, src/main.c, src/Makefile.am: Apply m4 preprocessing
133 patch by Josh Parsons <jp30@st-andrews.ac.uk>
135 Sat Sep 29 17:00:39 2001 George Lebl <jirka@5z.com>
137 * doc/Makefile.am: update
139 Sat Sep 29 16:44:13 2001 George Lebl <jirka@5z.com>
141 * doc/gob2.1.in: update a tad and add a note that the manual
144 Sat Sep 29 16:33:57 2001 George Lebl <jirka@5z.com>
146 * gob2.spec.in: update for gob2
148 Fri Sep 28 17:39:57 2001 George Lebl <jirka@5z.com>
150 * **/*: Merge from gob-2 to HEAD
152 Fri Sep 28 17:08:19 2001 George Lebl <jirka@5z.com>
154 * configure.in, gob2.spec.in, gob2.m4, doc/gob2.1.in, Makefile.am,
155 doc/Makefile.am: rename rest of files for gob2
157 * src/main.c: minor cleanup
159 Thu Sep 27 21:56:17 2001 George Lebl <jirka@5z.com>
161 * src/generate_treefuncs.pl, src/treefuncs.def, src/parse.y,
162 src/main.c: Revamp the tree funcs stuff to be saner and cooler,
163 and fix some crashes and other things related to this.
165 * src/parse.y, src/lexer.l, src/main.c, src/util.[ch],
166 src/checks.[ch], treefuncs.def: Add properties (GParam), fix
167 C++ generation, add GET_NEW_VARG, whack the propname alias for
168 arguments setters/getters (they're deprecated anyway)
170 * src/test.gob: update tests
172 Sun Sep 16 13:07:37 2001 George Lebl <jirka@5z.com>
174 * src/main.c: replace GOB_ prefix for local functions with
175 self_. This makes much more sense.
177 Sun Sep 16 12:43:24 2001 George Lebl <jirka@5z.com>
179 * src/lexer.l, src/parse.y, src/main.c, src/treefuncs.(def|c|h),
180 src/util.[ch], src/test.gob: Add syntax for properties (GParam
181 or whatever you call these:). The code behind them is not yet
184 Sun Aug 12 16:15:46 2001 George Lebl <jirka@5z.com>
186 * src/main.c, src/parse.y, src/test.gob, src/util.c: Things now
187 make compilable objects, including with signals, how well it
188 works I don't know. cpp support seems broken in glib mostly.
190 Sat Jun 30 15:01:26 2001 George Lebl <jirka@5z.com>
192 * Applied the following from HEAD
194 Sat Jun 30 14:57:37 2001 George Lebl <jirka@5z.com>
196 * doc/gob.1.in: add documentation for (export)
198 Tue Jun 26 15:54:08 2001 George Lebl <jirka@5z.com>
200 * src/Makefile.am: add built sources to EXTRA_DIST
202 2001-06-24 Mark Brown <broonie@sirena.org.uk>
204 * src/main.c: Default to PRIVATE_HEADER_ONDEMAND rather than
205 PRIVATE_HEADER_ALWAYS as per documentation.
207 * doc/gob.1.in: Fix cut & paste error in object_{get,set}
210 Sat Jun 09 13:38:53 2001 George Lebl <jirka@5z.com>
212 * src/parse.y: was freeing the wrong token
214 2001-06-03 Eskil Heyn Olsen <eskil@eskil.dk>
216 * examples/my-person.gob:
219 * examples/test-export.gob:
220 File that tests the (export) keyword.
223 Added a (export) keyword to argument, so gob will
224 autodefine the my_object_[get|set]_var functions.
226 Sun May 13 02:45:43 2001 George Lebl <jirka@5z.com>
228 * src/main.c: revert the GET_NEW_VARG since it just won't work
231 Sun May 13 02:31:52 2001 George Lebl <jirka@5z.com>
233 * src/main.c: add GET_NEW_VARG macro/static func (for non-gcc)
234 and add TYPE_SELF macro
236 Sun May 13 02:02:47 2001 George Lebl <jirka@5z.com>
238 * src/util.c: patch from Frederic Crozat <fcrozat@mandrakesoft.com>
241 Sat Apr 21 20:06:10 2001 George Lebl <jirka@5z.com>
243 * examples/Makefile.am, examples/README,
244 examples/GNOME_Foo_SomeInterface.idl,
245 examples/foo-some-interface.gob: Add an example for BonoboXObject
247 Sat Apr 21 19:33:08 2001 George Lebl <jirka@5z.com>
249 * configure.in: Raise version to 1.0.9
251 * src/lexer.l: Properly check major version requirements (majors
252 must match in the requires line)
254 * src/parse.y, src/main.c, src/treefuncs.(def|c|h), src/checks.c:
255 Add direct BonoboXObject support
257 * src/parse.y: fix the chunks usage
259 * doc/gob.1.in: document BonoboXObject stuff, fix the bugs section
260 wrt gtk-doc which has been supported for quite some time
262 Sat Apr 14 00:11:50 2001 George Lebl <jirka@5z.com>
264 * configure.in: compile with glib 2.0
266 * src/test.gob, src/Makefile.am: make the test glib pure, or mostly
269 * src/lexer.l: added fixme
271 * src/main.c: work on signals a little bit
273 Fri Apr 13 21:23:19 2001 George Lebl <jirka@5z.com>
275 * src/checks.[ch], src/lexer.l, src/main.c, src/parse.y,
276 src/treefuncs.[ch], src/treefuncs.def: Work on gobject support,
277 based on the patch Sven sent me. Also do add unref as well as
278 destroy handlers to vars, and moved the destructors to finalize and
279 unreffers to shutdown. This all compiles, but that doesn't mean it
280 makes usable objects.
282 Fri Apr 13 17:45:14 2001 George Lebl <jirka@5z.com>
284 * src/parse.y, doc/gob.1.in: Fix a problem found by Eric Kidd
285 <eric.kidd@pobox.com>, where objectlink was not completely
286 refcounting safe. Could underref if you set the same object.
288 Sat Mar 31 00:24:58 2001 George Lebl <jirka@5z.com>
290 * src/main.c: fix crash with marshallers of signals with a return
291 type and no arguments.
293 Sun Mar 04 19:14:03 2001 George Lebl <jirka@5z.com>
295 * src/main.c, src/checks.c, src/util.[ch]: Remove the underscore
296 hack, remove the 1.2 code from the 1.3 compat hacks, make all
297 short names start with GOB_. Start of the direct GObject
298 support, gob compiles, but it will not create useful object
301 Tue Feb 27 06:14:59 2001 George Lebl <jirka@5z.com>
303 * configure.in, src/Makefile.am, README: this is the gob-2 branch
306 Tue Feb 27 00:53:41 2001 Jonathan Blandford <jrb@redhat.com>
308 * README: Use my new-found maintainer status!!! The power!
310 Sun Feb 25 17:17:46 2001 George Lebl <jirka@5z.com>
314 Sun Feb 25 16:57:45 2001 George Lebl <jirka@5z.com>
316 * src/main.c, src/checks.c: to make doing BonoboXObjects possible
317 allow overriding the _get_type function.
319 * doc/gob.1.in: document the above
321 Sun Feb 11 16:33:07 2001 George Lebl <jirka@5z.com>
325 Sat Feb 10 18:42:59 2001 George Lebl <jirka@5z.com>
327 * src/Makefile.am: fix the build
329 2001-02-08 Maciej Stachowiak <mjs@eazel.com>
331 * src/Makefile.am: Remove BUILT_SOURCES stuff; Automake knows how
332 to handle .l and .y files directly, and including the .c files as
333 well was making it fail to link as it would try to link in lexer.o
336 Thu Feb 08 02:43:22 2001 George Lebl <jirka@5z.com>
338 * src/main.c: add signal connection typesafety macros
340 * src/test.gob, doc/gob.1.in: new stuff foo
342 * configure.in: raise version
344 Thu Feb 08 01:42:52 2001 George Lebl <jirka@5z.com>
346 * src/Makefile.am: rule for parse.h includes parse.c, and
347 SOURCES include BUILT_SOURCES
349 Tue Dec 26 11:03:44 2000 George Lebl <jirka@5z.com>
351 * src/main.c: Remove ## from the varargs macro stuff, as it's not
352 needed and causes trouble for newer gcc's (like in rh7)
354 Sun Sep 10 18:04:07 2000 George Lebl <jirka@5z.com>
358 Fri Sep 01 03:45:30 2000 George Lebl <jirka@5z.com>
360 * src/main.c: add G_GNUC_CONST to the _get_type function
362 Wed Aug 23 15:05:40 2000 George Lebl <jirka@5z.com>
364 * src/main.c: when a method has no arguments make an argumentless
365 macro for the shortform to avoid a parse error
367 * src/test.gob: add a test for the above
369 Sun Aug 6 22:21:38 2000 Eskil Heyn Olsen <eskil@eazel.com>
371 * gob.m4 now defaults to WARN instead of ERROR on missing
374 Tue Jul 25 16:54:34 2000 George Lebl <jirka@5z.com>
378 * configure.in: raise version to 1.0.4
380 * src/main.c: fixup the -anal macro patch.
382 * src/util.[ch], src/main.c: constize (not in 1.0.4)
384 * src/main.c: the short form pointers unified for both gnu and non-gnu
387 Sun Jul 23 18:51:45 2000 George Lebl <jirka@5z.com>
389 * src/util.[ch], src/main.c, src/checks.c, src/lexer.l, src/parse.y:
390 make new cleaner error print routines including a printfstyle one.
391 Use the get_real_id on all method ids even for overrides. When a
392 signal is added there is also a sizeof check for the signature vs.
393 argument list with a g_error if it fails. Fix %at{ %} to not
394 appear twice in all files.
396 * src/main.c: Apply patch from Arturo Tena to make things compile
397 nicely with gcc's -ansi -pedantic
399 * src/out.[ch]: constize correctly and use G_GNUC_PRINTF macro for
402 Fri Jul 21 15:38:10 2000 George Lebl <jirka@5z.com>
404 * src/main.c: store the private structure pointer so that we
405 don't look inside the freed object structureafter finalize
407 Thu Jul 06 02:32:29 2000 George Lebl <jirka@5z.com>
411 Wed Jul 05 19:37:20 2000 George Lebl <jirka@5z.com>
413 * src/{main.c,parse.y}: couple of cleanups, and fixup the gtk 1.3
416 Wed Jul 05 18:57:13 2000 George Lebl <jirka@5z.com>
418 * src/{checks.c, main.c, parse.y, test.gob}: Apply and fix up patch
419 from Bas van der Linden <linden@win.tue.nl> that adds the ability
420 to use const on the "self" argument as well. Also adds a CONST
421 casting macro to use.
423 * src/main.c: Fix a memory leak when destroy wasn't overriden and
424 destructors were added, it now properly calls the parent handler.
427 * src/main.c: Spit out some macro magic foo to hopefully make it
428 possible to compile objects with GTK+ 1.3/2.0
430 * doc/gob.1.in, examples/*.gob: We should never do
431 GTK_OBJECT(GET_NEW) as that's a memory leak due to some weird
432 GTK_OBJECT() semantics
434 Fri Jun 30 14:08:53 2000 George Lebl <jirka@5z.com>
438 Fri Jun 30 13:11:05 2000 George Lebl <jirka@5z.com>
440 * doc/gob.1.in: add doc for --always-private-struct
442 * src/main.c: fix output of --help. Also print __GOB_FUNCTION__
443 for inits and for get/set_arg. And print the get_real_id to
444 avoid the underscore.
446 Mon Jun 26 00:06:45 2000 George Lebl <jirka@5z.com>
448 * src/parse.y: for stringlink, dup the string on argument
451 * doc/gob.1.in: update documentation to the above change
453 Sun Jun 25 03:34:02 2000 George Lebl <jirka@5z.com>
455 * src/treefuncs.def, src/main.c, src/utils.[ch], src/parse.y: sane
456 parsing of const. Get rid of "stars" integer and just use a
457 "pointer" string. Also the types in general are more sanely parsed,
458 thus recognizing hopefully all legal (and some illegal) C types.
460 * src/checks.[ch], src/main.c: checks the argument type to be one we can
463 * src/treefuncs.def, src/main.c, src/parse.y, src/lexer.l: Apply
464 patch from Bas van der Linden <linden@win.tue.nl> that adds the
465 possibility to use chunks to allocate objects.
467 * src/main.c: Apply patch from Bas van der Linden <linden@win.tue.nl>
468 to add a __GOB_FUNCTION__ define to each function
470 * src/Makefile.am, src/main.c, src/lexer.l, src/generate_treefuncs.pl:
471 avoid and fix warnings, and compile with all warnings
473 * src/main.[ch]: add an --always-private-struct option to always put
474 in the private pointer, even if there are no private members.
476 * src/test.gob: add some more tests for new stuff
478 Wed Jun 07 15:03:18 2000 George Lebl <jirka@5z.com>
482 Wed Jun 07 14:41:24 2000 George Lebl <jirka@5z.com>
484 * configure.in, doc/gob.1.in: updates
486 Mon Jun 05 12:10:46 2000 George Lebl <jirka@5z.com>
488 * doc/gob.1.in: run through ispell, and fix option stuff to produce
489 nicer html output with groff
491 Thu Jun 01 18:12:13 2000 George Lebl <jirka@5z.com>
493 * src/main.c: Make the private header switches work again.
495 Wed May 31 01:50:25 2000 George Lebl <jirka@5z.com>
499 Wed May 31 01:47:23 2000 George Lebl <jirka@5z.com>
501 * src/gob.1.in: documentation of makefile rules for gob.
503 Tue May 30 11:02:36 2000 George Lebl <jirka@5z.com>
505 * src/lexer.l: Accept identifiers in array dimensions, this is so
506 that you can make these some constants.
508 Sat May 20 18:22:33 2000 George Lebl <jirka@5z.com>
512 Sat May 20 18:22:23 2000 George Lebl <jirka@5z.com>
514 * src/{main.c,checks.[ch]}: check for duplicate overrides, it is
515 different from checking symbol names as they don't conflict with
516 other symbols AND they only conflict if both the name and their
519 Sat May 20 16:38:06 2000 George Lebl <jirka@5z.com>
521 * src/{main.[ch],util.[ch],checks.c}: Add underscore removal for
522 non-override methods. This means that local aliases will include
523 prepended underscores, but when the full name is generated, or
524 when the method name is added to class structure, the underscore
527 * src/checks.c: overrides no longer checked for uniqueness, a more
528 complex logic is needed.
530 * src/{main.c,treefuncs.def,parse.y}: override naming is done
531 with a unique id, so that we handle cases where two classes have
532 the same method name.
534 * doc/gob.1.in: update for the above.
536 Sat May 20 14:42:00 2000 George Lebl <jirka@5z.com>
538 * src/main.c: the private structure is now freed in finalize again and
539 thus do the same dance around finalize as we do around destroy.
540 Clean up some code. NULL all things being destroyed. The arbitary
541 destructor uses memset as those things might not be just pointers.
543 Thu May 11 23:48:44 2000 George Lebl <jirka@5z.com>
545 * src/main.[ch]: provide the Self and SelfClass typedefs in addition
546 to SELF, IS_SELF, SELF_CLASS macros. All of these can now be
547 disabled with the --no-self-alias option
549 * doc/gob.1.in: update
551 * configure.in: raise version
553 Tue May 09 23:18:16 2000 George Lebl <jirka@5z.com>
555 * src/parse.y: fix segfault on parse error and give better error
558 Tue May 09 21:54:10 2000 George Lebl <jirka@5z.com>
560 * doc/gob.1.in, src/main.c: Add destruction code into the destroy
561 handler rather then finalize. Setup an extra function if
562 neccessary to handle returns correctly as this must be called
565 Sat Apr 29 14:41:42 2000 George Lebl <jirka@5z.com>
569 Sat Apr 29 14:40:40 2000 George Lebl <jirka@5z.com>
571 * src/checks.c: code prettification
573 * src/lexer.l, src/parse.y, src/test.gob: change "class" scope to
574 "classwide" scope, not to overload the class keyword
576 * src/main.[ch]: make private header files be generated by default,
577 and cleanup that part a bit
579 * doc/gob.1.in: add documentation of classwide
583 Fri Apr 21 17:15:09 2000 George Lebl <jirka@5z.com>
585 * src/main.c: add spaces after commas
587 * src/lexer.l, src/main.c, src/parse.y: add class scope variables
588 which are put into the class structure
590 * src/test.gob: added a test for class variables
592 * src/treefuncs.def: added CLASS_SCOPE
594 * src/treefuncs.h: regenerated
596 Mon Apr 17 20:13:47 2000 George Lebl <jirka@5z.com>
598 * src/parse.y: on objectlink instead of just ref, do ref/sink.
600 Sat Apr 15 23:07:30 2000 George Lebl <jirka@5z.com>
604 Sat Apr 15 22:42:20 2000 George Lebl <jirka@5z.com>
606 * src/main.c: fixes for ANSI C and C++. Just use GTK_VALUE_POINTER
607 instead of GTK_VALUE_OBJECT so that we don't have to cast and don't
610 Sat Apr 15 22:09:49 2000 George Lebl <jirka@5z.com>
612 * src/main.c: use the generic return type in signal marshallers
613 rather then the specific one as the marshallers are truly generic
615 Sat Apr 15 21:52:52 2000 George Lebl <jirka@5z.com>
617 * src/main.c: fix some typesafety braindamages with OBJECT types
618 in arguments by casting GTK_VALUE_OBJECT to gpointer. Also
619 for seting arguments cast the ARG to atype if it exists
621 Wed Apr 05 13:42:28 2000 George Lebl <jirka@5z.com>
623 * src/parse.y: never allow NONE to be used as one of many arguments,
624 always only by itself in the argument list
626 * src/main.c: When printing out the signal marshaller prototype,
627 don't print out the NONE (void) into the argument list, thanks
628 to Soeren Sandmann <sandmann@daimi.au.dk> for reporting that
630 Mon Apr 03 13:07:33 2000 George Lebl <jirka@5z.com>
632 * examples/Makefile.am: add my-person2.gob to EXTRA_DIST
634 Sun Apr 02 18:09:40 2000 George Lebl <jirka@5z.com>
638 Sun Apr 02 17:38:12 2000 George Lebl <jirka@5z.com>
640 * src/Makefile.am: ass the .pl and .def file to EXTRA_DIST
642 Sun Apr 2 14:37:49 PDT 2000 Manish Singh <yosh@gimp.org>
644 * configure.in: check for treefuncs.h instead of tree.h, since
645 the latter has gone bye-bye
647 Sat Apr 01 23:27:47 2000 George Lebl <jirka@5z.com>
649 * doc/gob.1.in: add documentation for defreturn
651 Sat Apr 01 18:03:31 2000 George Lebl <jirka@5z.com>
653 * src/{treefuncs.(def|c|h),generate_treefuncs.pl}: What would gob
654 be without some automatically generated code. The tree.[ch] was
655 hard to keep up and didn't have free/copy so these do, otherwise
656 it is the same. Also added a defreturn field to methods
658 * src/*.[cyl]: include treefuncs.h rather then tree.h
660 * src/{parse.y,lexer.l,main.c}: use the defreturn as the default for
661 return values of signals and virtual methods. If this is not
662 defined use the onerror or failing that '0'. onerror is also not
663 a reserved keyword anymore
665 * configure.in: raise version
667 Mon Mar 27 13:08:01 2000 George Lebl <jirka@5z.com>
671 Mon Mar 27 12:04:22 2000 George Lebl <jirka@5z.com>
673 * src/util.[ch], src/main.c: figure out if we really need the special
674 types, also make a hash for the gtk types instead of linear
675 searching it all the time.
677 * src/{lexer.c,checks.c,main.c}: minor fixes and cleanups
679 2000-03-21 Eskil Heyn Olsen <deity@eskil.dk>
681 * gob.m4: do not default GOB to no when not found (did that make
683 And better error message.
685 Mon Mar 20 14:35:35 2000 George Lebl <jirka@5z.com>
687 * src/lexer.l: handle single word typenames with an empty namespace
689 Sun Mar 05 02:23:04 2000 George Lebl <jirka@5z.com>
691 * src/main.c: add #lines around setting default handlers
693 * src/parse.y: fix line number for 'destroywith' destructors
695 Sat Mar 04 15:33:18 2000 George Lebl <jirka@5z.com>
697 * src/checks.c: duplicate name test for arguments and signals is
698 case insensitive now as those could cause trouble
700 Mon Feb 28 02:45:27 2000 George Lebl <jirka@5z.com>
704 Sun Feb 27 20:59:45 2000 George Lebl <jirka@5z.com>
706 * src/parse.y,doc/gob.1.in: For stringlink, just return a pointer on
707 get rather then strduping as that is 1) consistent with objectlink
708 and 2) more flexible.
710 Sun Feb 27 20:38:19 2000 George Lebl <jirka@5z.com>
712 * src/{main.c,tree.[ch],parse.y}: add the arbitrary destruction handler
715 * doc/gob.1.in: updated and fixed up
717 * configure.in,NEWS,examples/{README,my-person2.gob}: change version
720 Sun Feb 27 18:37:57 2000 George Lebl <jirka@5z.com>
722 * NEWS,doc/gob.1.in,examples/{README,my-person.gob,my-person2.gob}:
723 update of docs and examples to include the new features and minor
726 Sun Feb 27 04:41:41 2000 George Lebl <jirka@5z.com>
728 * src/main.c: make the output nicer for classes with no methods
729 better typechecking in get/set_arg, fix a couple of C++ issues,
731 * src/{main.c,parse.y,tree.[ch]}: automatic linking of arguments to
732 data members. Also alow empty statements inside a class. Also
733 add automatic data member destruction for pointer data, and
734 automatic initialization for any data member.
736 * src/main.[ch],src/out.c: add --no-lines which inhibits printing
737 of #line things to output files
739 * doc/gob.1.in: update for the above
741 Fri Feb 25 15:21:47 2000 George Lebl <jirka@5z.com>
745 Fri Feb 25 14:46:51 2000 George Lebl <jirka@5z.com>
747 * src/main.c: add SELF casting macros
749 * doc/gob.1.in: document the above
751 Fri Feb 25 02:29:26 2000 George Lebl <jirka@5z.com>
753 * src/main.c,src/tree.[ch],src/parse.y: public signals get
754 GTK_RUN_ACTION added. Plus an interface for adding additional
757 * doc/gob.1.in: add docs for the above
759 Fri Feb 25 01:37:20 2000 George Lebl <jirka@5z.com>
761 * src/main.c: fix trailing comma on the end of the argument enum
763 Sun Feb 13 23:54:53 2000 George Lebl <jirka@5z.com>
765 * doc/gob.1.in: add doc patch from Dave Dunkin <dunkind@letu.edu>
767 * doc/gob.1.in,examples/*.gob: use init(self) to be more consistent
770 Sat Feb 12 14:42:15 2000 George Lebl <jirka@5z.com>
772 * src/main.c,src/lexer.l: apply patches from Dave Dunkin
773 <dunkind@letu.edu> to add all and alltop ccode sections
774 and to add a --no-write,-n option to not actually write
775 any files. Also did some very cosmetic changes to code
777 Mon Feb 07 23:45:04 2000 George Lebl <jirka@5z.com>
779 * src/main.c: use the magic /*< private >*/ and /*< public >*/
780 comments to distinguish public and protected data members
782 Mon Feb 07 03:02:48 2000 George Lebl <jirka@5z.com>
786 Mon Feb 07 02:50:11 2000 George Lebl <jirka@5z.com>
788 * src/lexer.l: error on multiple classes
790 * src/main.c: nicer header output
792 * src/{lexer.l,main.c}: Eat out gtk-doc like inline doc entries
793 and stuff them into the output files where appropriate
795 * doc/gob.1.in: added docs for gtk-doc like inline doc stuff
797 * examples/{README, gtk-button-count.gob}: added inline docs
799 Fri Feb 04 01:07:54 2000 George Lebl <jirka@5z.com>
801 * src/main.c: use G_GNUC_UNUSED rather then our own macro for a
802 very slightly cleaner looking output file
804 2000-01-31 Eskil Heyn Olsen <deity@eskil.dk>
806 * gob.m4: checks for gob binary, GOB_CHECK([version [,
807 action_if_found[, action_if_not_found]]]).
809 * Makefile.am: Install gob in $prefix/share/aclocal
811 Thu Jan 27 17:50:11 2000 George Lebl <jirka@5z.com>
813 * src/main.c: add #include <stdlib.h>
815 Mon Jan 24 22:52:47 2000 George Lebl <jirka@5z.com>
819 Mon Jan 24 22:23:47 2000 George Lebl <jirka@5z.com>
821 * src/main.c: add a protecting define before the object typedef
823 * doc/gob.1.in: add docs for the new stuff
825 Sun Jan 23 16:19:54 2000 George Lebl <jirka@5z.com>
827 * src/{lexer.l,parse.y,tree.[ch],main.c}: make more types of header
828 %{ %} blocks, "headertop" and "privateheader" and made short as
829 well as long names possible.
831 * src/main.c: add an --no-extern-c option to not put entern "C" into
832 the output, which is now put in by default even if --for-cpp is
833 on so that it is possible to call those from C by default
835 Thu Jan 20 01:50:45 2000 George Lebl <jirka@5z.com>
837 * src/main.c: put the _real_ functions in our normal private
838 namespace of ___* to be more consistent.
840 Mon Jan 10 00:16:43 2000 George Lebl <jirka@5z.com>
842 * src/{main.[ch],util.[ch],checks.[ch]}: offload some functionality to
845 * src/main.c: cleanup the generation routine by spliting it up into
848 * src/{main.h,lexer.l,parse.y,out.c}: put some needed externs into the
849 main.h file and include that rather then doing it in the .c files
851 Thu Jan 06 18:33:44 2000 George Lebl <jirka@5z.com>
853 * src/main.c: use ___ for the signal marshalling typedefs as well
855 Thu Jan 06 17:32:46 2000 George Lebl <jirka@5z.com>
859 Thu Jan 06 17:13:22 2000 George Lebl <jirka@5z.com>
861 * src/main.c: be consistent with the use of "namespacing", we
862 prefix ALL internal gob stuff with "___". This should make it
863 easier to avoid name conflicts with user code and glibc/gcc (Which
864 seems to use __ prefix)
866 * src/main.c: check for init and class_init names for non-constructor
867 methods and give an error if found.
869 * src/main.c: check argument types and flags for correctness, error
870 on unknown type, but just a warning on unknown flag
872 * doc/gob.1.in: add a section for name conflicts
874 Wed Jan 05 02:23:21 2000 George Lebl <jirka@5z.com>
876 * src/main.c: doh! the symbols for the aliases need to be declared as
879 Wed Jan 05 02:13:59 2000 George Lebl <jirka@5z.com>
881 * src/main.c: just realized that args... for macros is a GNU
882 extention and so the PARENT_HANDLER no longer uses it, but prints
883 the argument names with __ prefixed into the argument list.
885 Wed Jan 05 01:58:32 2000 George Lebl <jirka@5z.com>
887 * src/main.c: if using gnu c, also define macros using varargs for
888 function aliases. This should allow the compiler to optimize
889 further and if we have arguments for the defines there are
890 no adverse side effects as there are for straight defines.
892 Wed Jan 05 01:48:12 2000 George Lebl <jirka@5z.com>
894 * src/main.c: fixup the aliases. They didn't actually work right.
895 now we set it up as a const pointer to a function using typeof.
897 Tue Jan 04 17:57:55 2000 George Lebl <jirka@5z.com>
899 * src/lexer.l: add support for 'requires x.y.z' line. This is
900 so that a .gob file can require at least version x.y.z of gob
902 * src/test.gob: update
904 * doc/gob.1.in: update for requires and run trhough ispell
906 Tue Jan 04 17:10:54 2000 George Lebl <jirka@5z.com>
908 * src/main.c: fix the non-gnu aliases
910 Tue Jan 04 16:46:16 2000 George Lebl <jirka@5z.com>
912 * src/{main.c,parser.y,tree.[ch]}: add optional C type specification
913 to arguments for full type safety
915 * doc/gob.1.in: updated
917 Tue Jan 04 15:34:16 2000 George Lebl <jirka@5z.com>
919 * src/main.c: --no-gnu option to completely disable any use
920 of GNU C extentions. This is for those weird people that don't
921 wish to use those extentions even with GNU C.
923 Tue Jan 04 14:43:49 2000 George Lebl <jirka@5z.com>
925 * src/main.c: use some GNU extentions (guarded with #ifdef __GNUC__)
926 to make arguments fully typesafe, and to make it easier for
927 GNU to optimize the aliases, as well as to avoid the ugly
930 * src/main.c: don't put #line 0 for the .gob file for method prototypes
932 * src/main.c: move the _priv structure freeing into finalize to enable
933 people to work with the private stuff inside the destroy handler
935 * src/main.c: use #line before every precondition check so that failed
936 checks should point to the function prototype rather then into
939 * src/main.c: remove the _END_ARG macro
941 * src/main.c: add GOB_VERSION_MAJOR, GOB_VERSION_MINOR and
942 GOB_VERSION_PATCHLEVEL defines into the generated C file
944 * src/out.c: don't redundantly put #line for outfile if we're already
947 * configure.in: raise version number
949 Tue Jan 04 02:22:33 2000 George Lebl <jirka@5z.com>
951 * src/main.c: add argument wrapper macros to make the argument system
952 a little more type safe.
954 Fri Dec 31 17:39:22 1999 George Lebl <jirka@5z.com>
958 Thu Dec 30 20:20:36 1999 George Lebl <jirka@5z.com>
960 * src/main.c: correctly handle the complex fundemental types,
961 so that we can handle ALL the fundemental types for signals
963 Thu Dec 30 19:29:56 1999 George Lebl <jirka@5z.com>
965 * src/main.c: don't use function types for casts in marshallers,
966 but default types we get from our GTK_TYPE_* -> C type translation,
967 and use this fact to check for same function types and combine
968 signal prototypes. This doesn't yet handle well complex types,
969 but I have an idea how to make complex types work. Though
970 I dunno if it's actually worth it.
972 Thu Dec 30 17:18:27 1999 George Lebl <jirka@5z.com>
974 * src/main.c: figure out some types from GTK types and cast properly
975 when emitting a signal. This catches some inconsistencies in
976 signal func argument lists and the GTK types of the arguments.
978 Wed Dec 29 18:04:13 1999 George Lebl <jirka@5z.com>
980 * src/parse.y: allow scope, public/private/protected, to come before
981 the signal or virtual keyword for consistency's sake.
983 Wed Dec 29 01:39:30 1999 George Lebl <jirka@5z.com>
985 * src/{tree.[ch],parser.y}: cleanup scope stuff
987 * src/{lexer.l,parser.y,tree.h,main.c}: add protected keyword and
988 methods. protected methods are put into the -private files and
989 are real exported functions just like public. protected data
990 members act like pre-0.91.x private datamembers, that is they
991 get stuck into the public header, but marked /* protected */.
993 * src/main.c: change the method body printing function so that we
994 can catch the no return warning properly and send us to the .gob
995 file instead of the .c file.
997 * src/{parse.y,main.c}: handle empty publics/privates/overrides
998 and handle the body being set to ';' rather then '{}'
1000 * src/main.c: check for empty nonvoid regular methods, and error out
1001 on finding them as that would produce warnings which we can't catch
1002 and it is generally bad to do anyway
1004 * src/{parse.y,tree.[ch],main.c}: use char pointers for C buffers,
1005 and kill leading/trailing whitespace from them to make the C files
1006 nicer and easier to recognize empty functions.
1008 * src/main.c: add a --version switch
1010 * doc/gob.1.in: Update with the above changes
1012 * configure.in: raise version
1014 Tue Dec 28 20:49:56 1999 George Lebl <jirka@5z.com>
1016 * src/main.c: apply patch from ChiDeok Hwang <cdhwang@sr.hei.co.kr>
1017 to make the hack function static so that we don't pollute namespace
1019 Mon Dec 27 19:56:24 1999 George Lebl <jirka@5z.com>
1023 Mon Dec 27 03:00:25 1999 George Lebl <jirka@5z.com>
1025 * src/main.c: fixup PARENT_HANDLER to work well with non-void
1026 functions, the macro becomes an expression if the function is
1027 not void and returns the return of the parent or the onerror
1028 expression if the function pointer was NULL.
1030 Mon Dec 27 02:25:32 1999 George Lebl <jirka@5z.com>
1032 * src/parse.y: allow completely empty classes
1034 * src/main.c: don't add the ugly hack function if there are no
1037 Mon Dec 27 01:26:26 1999 George Lebl <jirka@5z.com>
1039 * src/parse.y: fixup the virtual rule as I forgot to shift the
1040 argument numbers when adding to the expression
1042 Mon Dec 27 01:07:14 1999 George Lebl <jirka@5z.com>
1044 * src/parse.y: add optional public keyword to virtuals and signals,
1045 (which doesn't do anything, only consistency). I should perhaps
1046 rewrite and simplify this part of the parser
1048 * src/lexer.l: fix a bug with empty braces producing a segfault
1049 on public and private methods
1051 * doc/gob.1.in: add a section about Constructor methods (init
1052 class_init) and fix init_class -> class_init
1054 * configure.in: raise version to 0.91.2
1056 Tue Dec 14 00:06:00 1999 George Lebl <jirka@5z.com>
1060 Mon Dec 13 23:25:06 1999 George Lebl <jirka@5z.com>
1062 * src/{main.c,out.c}: create a private header file and stick
1063 the private structure definition inside it. Add option
1064 --no-private-header for 0.91.0 behaviour and
1065 --always-private-header to force private header creation
1067 * doc/gob.1.in: update WRT above changes
1069 * examples/my-person.gob: include the private header
1073 Mon Dec 13 18:30:09 1999 George Lebl <jirka@5z.com>
1075 * src/main.c: don't print spurious #line's into the private
1078 * src/{main.c,tree.[ch],lexer.l,parse.y}: implement support for
1079 array types for data members and function arguments
1081 Mon Dec 13 00:48:47 1999 George Lebl <jirka@5z.com>
1085 Sun Dec 12 22:55:12 1999 George Lebl <jirka@5z.com>
1087 * doc/gob.1.in: added paragraph noting that private data members
1088 cannot be accessed above the class definition in the .gob file
1090 Sun Dec 12 22:08:31 1999 George Lebl <jirka@5z.com>
1092 * src/main.c: implement real private data members as promised in
1093 the documentation, this however breaks some compatiblity with
1094 things that already used the 'private' keyword for data members
1096 * doc/gob.1.in: document private data member stuff
1100 * src/main.c: a couple of sanity checks of the code to prevent weird
1101 errors on some broken .gob code
1103 * configure.in: update version to 0.91.0
1105 Sun Dec 05 14:20:26 1999 George Lebl <jirka@5z.com>
1107 * src/{lexer.l,main.c}: if we find the class header #include
1108 statement in a %{ %} section above class definition, don't
1109 include it ourselves.
1111 * doc/gob.1.in: remove the note about the include always first from
1112 BUGS, and make a new section for the include file.
1114 Thu Nov 25 13:09:08 1999 George Lebl <jirka@5z.com>
1118 Thu Nov 25 13:00:52 1999 George Lebl <jirka@5z.com>
1120 * src/main.c: don't error out on a symbol conflict if the types of
1121 the symbol node don't match (variable,method)
1123 Sat Nov 20 16:15:42 1999 George Lebl <jirka@5z.com>
1125 * src/main.c: add PARENT_HANDLER macro to make calling parent
1126 handlers in override functions easier
1128 Fri Nov 19 16:41:09 1999 George Lebl <jirka@5z.com>
1130 * src/main.c: add a type macro
1132 Thu Nov 18 22:56:09 1999 George Lebl <jirka@5z.com>
1134 * src/parse.y: add a warning check if the number of GTK types of
1135 a signal doesn't seem to be correct for the given number of
1138 Tue Nov 16 01:23:45 1999 George Lebl <jirka@5z.com>
1140 * src/main.c: support a "no-touch-headers" mode in which the
1141 headers are not touched unless they actually really changed,
1142 not on by default as it confuses automake
1144 Tue Nov 16 00:36:42 1999 George Lebl <jirka@5z.com>
1146 * src/{main.c,lexer.l,parser.y,out.c}: Implement a C++ mode, get
1147 rid of C++ errors/warnings when in C++ mode, and get rid of
1148 the 'this' pointer finally (it's been deprecated long enough)
1150 Mon Nov 15 23:45:37 1999 George Lebl <jirka@5z.com>
1152 * src/main.c: add prototype for the really bad hack function to
1155 Mon Nov 15 23:42:06 1999 George Lebl <jirka@5z.com>
1157 * src/main.c: generate correct function pointers in the structure
1158 for signals and virtuals. Also use a much nicer system instead
1159 of the method name defines, we now just set a bunch of static
1160 pointers, this removes a whole lot of headaches actually
1162 * doc/gob.1.in: repair to reflect the above (I removed the define
1165 Sun Nov 14 17:57:34 1999 George Lebl <jirka@5z.com>
1167 * doc/gob.1.in: repair some things that confused troff and add
1168 a C preprocessor warning to BUGS
1170 Sat Nov 13 17:22:49 1999 George Lebl <jirka@5z.com>
1172 * **/Makefile.am, configure.in: fix the conditional installation
1173 stuff, don't even go into the doc directory if we aren't installing
1175 Sat Nov 13 16:53:20 1999 George Lebl <jirka@5z.com>
1177 * doc/gob.1.in: describe BUGS better
1179 Sat Nov 13 16:20:41 1999 George Lebl <jirka@5z.com>
1181 * src/lexer.l: don't kill C++ style comments from C blocks
1183 Sat Nov 13 16:16:59 1999 George Lebl <jirka@5z.com>
1185 * src/{lexer.l,main.c,out.c}: fixed spurious newline printing, don't
1186 kill comments from C blocks so that line counts are right, accept
1187 newlines in strings, and don't take \'\"\' as a string delimiter
1189 Sat Nov 13 14:53:26 1999 George Lebl <jirka@5z.com>
1191 * src/main.c: don't add gtk_object_class to class_init if we only
1192 have non-GtkObject overrides to avoid warning
1194 Sat Nov 13 14:31:25 1999 George Lebl <jirka@5z.com>
1196 * configure.in,src/Makefile.am,doc/Makefile.am: check for
1197 ../NOINST_GOB and in case it's found don't install self
1199 Fri Nov 12 16:25:35 1999 George Lebl <jirka@5z.com>
1201 * configure.in,Makefile.am,src/main.c: don't use popt, our arguments
1202 are simple enough and popt doesn't seem to be widely used yet
1204 Sun Sep 05 22:08:40 1999 George Lebl <jirka@5z.com>
1208 Sun Sep 05 22:08:33 1999 George Lebl <jirka@5z.com>
1210 * doc/gob.1.in: updated for private virtual and signal wrappers
1212 Sun Sep 05 21:50:19 1999 George Lebl <jirka@5z.com>
1214 * configure.in: raise version and actually set POPT_LIB correctly
1216 * src/Makefile.am: use POPT_LIB
1218 Sun Sep 05 21:45:54 1999 George Lebl <jirka@5z.com>
1220 * src/tree.h,src/main.c,src/parse.y: add support for private signals
1223 * src/parse.y: fix bug with bogus vararg methods
1225 Sun Sep 04 17:44:37 1999 George Lebl <jirka@5z.com>
1229 Sat Sep 04 17:18:22 1999 George Lebl <jirka@5z.com>
1231 * src/lexer.l,src/parse.y,src/main.c,src/tree.[ch]: support
1232 variable arguments for public and private methods
1234 Sat Sep 04 16:51:11 1999 George Lebl <jirka@5z.com>
1236 * lexer.l,parse.y: accept const in parameter lists
1238 Sun Aug 29 13:46:33 1999 George Lebl <jirka@5z.com>
1242 Sat Aug 28 23:36:48 1999 George Lebl <jirka@5z.com>
1244 * src/main.[ch],parse.y: make error/warning reporting public
1245 and use it to report depreciated use of 'this'
1247 Sat Aug 28 22:41:52 1999 George Lebl <jirka@5z.com>
1249 * src/tree.[ch],parse.y,main.c: check for duplicate variables and
1250 signals and arguments as well.
1252 Sat Aug 28 22:00:19 1999 George Lebl <jirka@5z.com>
1254 * src/parse.y,src/main.c: change "this" to "self", but accept "this"
1257 * src/main.c: check for duplicate methods, and warn on non-public
1260 * configure.in: change to version 0.90.0
1262 * doc/gob.1.in: change this to self
1264 Tue Aug 24 20:37:26 1999 George Lebl <jirka@5z.com>
1268 Thu Aug 19 03:18:03 1999 George Lebl <jirka@5z.com>
1270 * src/main.c: also count overrides to avoid an unused variable on
1273 Thu Aug 19 03:08:49 1999 George Lebl <jirka@5z.com>
1275 * src/parse.y: in a check, we can check not only about numbers
1276 but for tokens as well
1278 Wed Aug 18 12:54:17 1999 George Lebl <jirka@5z.com>
1282 Tue Aug 17 22:24:47 1999 George Lebl <jirka@5z.com>
1284 * src/lexer.l,src/parse.y: don't use reserved words for check type
1287 * src/{lexer.l,parse.y,tree.[ch],main.c}: add #line's to output
1290 * src/out.[ch]: new functions for output so that we can easily add
1293 * src/main.c: fix get/set arguments
1295 * doc/gob.1.in: updated for newer version and spellchecked, also
1296 gob.1 is generated by configure now to get versions correct
1298 * gob.spec.in: added a spec file
1300 Fri Jul 30 02:19:05 1999 George Lebl <jirka@5z.com>
1302 * src/parse.y: accept simple char types
1304 * src/main.c: make prototypes look better, and don't output arg stuff
1305 when it won't be used
1307 * Makefile,src/Makefile: add test make target