1 Fri Dec 16 12:23:35 2005 Wanker who should set his $CHANGELOGNAME <wanker@wankers.com>
3 * src/main.c, src/parse.y: Fix for the libglade support from
4 Nicolas Bruguier <gandalfn@club-internet.fr>
6 * src/checks.c, src/main.c, src/util.c: Allow BOXED in signal
7 arguments. patch by Big Thor <lirico@web.de>
9 * src/main.c, src/main.c, src/parse.y, src/treefuncs.def:
10 Add abstract flag support, patch by Jean-Yves Lefort
13 * src/main.c: add --no-touch support to avoid unneccessary rebuilds
14 even for source files. Also avoid printing timestamp and
15 make the compare logic work without the 'cmp' command.
16 patch by Jean-Yves Lefort <jylefort@brutele.be>
18 * doc/gob2.1.in: document changes above
20 Fri Jul 22 13:10:20 2005 George Lebl <jirka@5z.com>
24 * doc/gob2.1.in: slight update
26 Fri Jul 22 12:56:26 2005 George Lebl <jirka@5z.com>
28 * src/main.c: Apply patch from "Big Thor" <lirico@web.de> to
29 not use TYPE_SELF for the privates code
31 Fri Jul 22 12:48:27 2005 George Lebl <jirka@5z.com>
33 * Apply patch from Nicolas Bruguier <gandalfn@club-internet.fr>
34 but changed the syntax slightly, fixed some minor glitches and
37 * src/check.[ch], src/lexer.l, src/main.[ch], src/parse.y,
38 src/treefuncs.[ch],src/treefuncs.def: Add liglade support
40 Fri Jul 22 11:41:20 2005 George Lebl <jirka@5z.com>
42 * src/lexer.l: allow parsing properties with no param spec, patch
43 from Jean-Yves Lefort <jylefort@brutele.be>
45 Wed Jul 06 16:35:14 2005 George Lebl <jirka@5z.com>
47 * src/main.c: Apply patch from Jean-Yves Lefort <jylefort@brutele.be>
48 to fixup parameters: (remove MASK, CHILD_ARG and add LAX_VALIDATION
49 and PRIVATE, and allow user created parameters).
51 Thu Dec 23 14:35:12 2004 George Lebl <jirka@5z.com>
53 * src/main.[ch], src/lexer.l: Add support for prealloc and add
54 support for bitfields. Patch from "K. Haley"
55 <haleykd@users.sourceforge.net>
57 Tue Oct 26 16:30:44 2004 George Lebl <jirka@5z.com>
61 Tue Oct 26 16:27:44 2004 George Lebl <jirka@5z.com>
63 * src/main.c: fix compile when overrides and privates are used
65 Wed Sep 22 17:12:25 2004 George Lebl <jirka@5z.com>
69 Wed Sep 22 17:07:35 2004 George Lebl <jirka@5z.com>
71 * src/main.c: Apply patch from "K. Haley"
72 <haleykd@users.sourceforge.net> to play nice with glibs private
73 stuff and have the private structure be allocated by glib
75 * src/main.c, src/util.c: Apply patch from
76 Pierre Gay <gay-pierre@wanadoo.fr> to add the --file-sep=c option
77 which allows one to change the file separator character.
79 * doc/gob2.1.in: update docs
81 * src/parse.y: apply patch from debian bug#270546 by Frank
82 Lichtenheld <djpig@debian.org> to fix c++ compilation of linked
83 POINTER types by adding a proper cast at the right place
85 * src/main.c: always add string.h since it doesn't hurt and we missed
88 * src/main.c: destroywith and unrefwith function get cast with
89 reinterpret_cast when using --for-cpp and don't get cast at all
90 for C, but for C we cast the pointer going into the function
93 Tue Aug 10 16:32:00 2004 George Lebl <jirka@5z.com>
95 * src/main.c, src/parse.y, src/treefuncs.def: Apply patch from
96 Jean-Yves Lefort <jylefort@brutele.be> to support overriding
97 properties (g_object_class_override_property)
99 * doc/gob2.1.in: update
101 Thu Jul 29 10:47:31 2004 George Lebl <jirka@5z.com>
103 * configure.in, src/Makefile.am: Apply patch from "K. Haley"
104 <haleykd@users.sourceforge.net> to fix handling of NOINSTGOB
105 on certain platforms (apparently windows).
107 Mon Jul 19 09:37:21 2004 George Lebl <jirka@5z.com>
111 Mon Jul 19 09:30:18 2004 George Lebl <jirka@5z.com>
113 * src/main.c, src/test.gob, src/Makefile.am, src/parse.y: Fix for
114 -Wbad-function-cast which is kind of a moronic warning when it
115 comes to enums so in non-C++ mode just use the generic gint and
116 guint casts for enums and flags, on the other hand C++ really
117 requires the proper enum casts, go figure.
119 * configure.in, NEWS: prepare for another release
121 Thu Jul 08 16:22:56 2004 George Lebl <jirka@5z.com>
123 * src/main.c: Rework the unused var warning avoidance since it was
124 causing different warnings. I sort of now assume we're using
125 gcc if we want no warnings, other compilers will likely get
126 warnings in places. But they probably got some warnings anyway.
127 Also fixup all kinds of other places that cause warnings to popup.
129 * src/test.gob, src/Makefile.am: Test for all kinds of warnings.
131 Fri Jun 11 15:16:05 2004 George Lebl <jirka@5z.com>
135 * doc/gob2.1.in: quote the version in GOB2_CHECK
137 Fri May 07 18:07:33 2004 George Lebl <jirka@5z.com>
139 * src/main.c: add -o,--output-dir command line option
141 * doc/gob2.1.in: document the above
143 Tue May 04 22:34:00 2004 George Lebl <jirka@5z.com>
145 * src/parse.y, src/main.c, src/util.[ch]: move the make_me_type
146 to util and use it when making the boxed property set/get function
149 Tue Apr 13 11:32:51 2004 George Lebl <jirka@5z.com>
151 * doc/gob2.1.in: --always-private-header is NOT the default, but
152 --ondemand-private-header is the default.
154 Tue Mar 30 17:32:47 2004 George Lebl <jirka@5z.com>
158 Tue Mar 30 17:27:32 2004 George Lebl <jirka@5z.com>
160 * src/checks.[ch], src/main.c: check for classwide members with
161 destructors and warn there, since our classes are all static,
162 we never destroy them anyway so this never happens. It all
163 depends on your setup, so we cannot do some atexit or whatnot.
164 Also disallow BOXED or FLAGS in signal arguments since that doesn't
165 work anyway and you can use POINTER and UINT instead.
167 * src/main.c, src/util.[ch]: fix the depracation fixing which broke
168 everything since g_strup/g_strdown had different semantics
169 then the new g_ascii_ versions. So make our own
170 gob_strup/gob_strdown functions with the old semantics.
172 * src/main.c: use our error function exclusively instead of g_error.
174 * src/util.c: fix the error function to correctly follow exit_on_warn
175 and fix it when filename == NULL still
177 * src/test.gob: fix the test wrt BOXED and FLAGS
179 Thu Feb 19 11:36:09 2004 George Lebl <jirka@5z.com>
181 * doc/gob2.1.in: further stupidity fix
183 Thu Feb 19 11:31:40 2004 George Lebl <jirka@5z.com>
185 * doc/gob2.1.in, doc/makehtml.pl: fix a small error with the
186 documentation and suppor the \& escape in the makehtml.pl script
188 Thu Feb 19 11:17:45 2004 George Lebl <jirka@5z.com>
190 * src/lexer.l, src/Makefile.am: Apply patch from Albert Chin-A-Young
191 <china@thewrittenword.com> to fix compilation on IBMs C compiler,
192 by tweaking the includes and removing the -W options from AM_CFLAGS
193 as those are supported only by gcc
195 2003-02-08 Tomasz K³oczko <kloczek@pld.org.pl>
197 * gob2.m4: Trivial fix: added missing [] quotation macro name
198 defined in AC_DEFUN() (neccessary for aclocal from automake 1.8.x
199 and backward compatible with older auto tools).
201 Tue Feb 03 12:57:45 2004 George Lebl <jirka@5z.com>
203 * src/main.c, src/util.c: Apply patch from Kjartan Maraas
204 <kmaraas@broadpark.no> to remove use of deprecated functions
206 Wed Jan 21 09:24:12 2004 Nicolas Bruguier <gandalfn@club-internet.fr>
208 * src/main.c: add INT64 and UINT64 type support for signal
211 Wed Aug 06 11:37:06 2003 George Lebl <jirka@5z.com>
213 * doc/gob2.1.in: very minor fix from my inbox from apr 03
216 Tue May 20 10:22:40 2003 George Lebl <jirka@5z.com>
220 Tue May 20 10:18:10 2003 George Lebl <jirka@5z.com>
222 * src/Makefile.am: fix some warnings related to newer automake
224 Thu May 15 09:53:25 2003 George Lebl <jirka@5z.com>
226 * src/lexer.l: new flex is on drugs and it broke syntax (or
227 well the generated code defines) so this will actually make things
228 work with newer flex and still work with old flex (tested both
231 Fri Feb 28 11:45:21 2003 George Lebl <jirka@5z.com>
233 * doc/gob2.1.in: minor update
235 Thu Jan 16 12:45:33 2003 George Lebl <jirka@5z.com>
239 Thu Jan 16 11:52:36 2003 George Lebl <jirka@5z.com>
241 * src/main.c: fix leak on signal emission
243 Fri Dec 13 10:23:16 2002 George Lebl <jirka@5z.com>
247 Thu Dec 12 09:35:46 2002 George Lebl <jirka@5z.com>
249 * src/main.c: use G_UNLIKELY/G_LIKELY if available in the get_type
250 methods and in the signal argument size checking
252 Thu Dec 05 10:32:09 2002 George Lebl <jirka@5z.com>
254 * src/lexer.l, src/main.c: fix a couple of gtkdoc issues,
255 first add \n after _get_type and second support tabs
256 after the leading * in gtkdoc comments
258 2002-11-27 Jody Goldberg <jody@gnome.org>
262 2002-11-01 Jody Goldberg <jody@gnome.org>
264 * src/parse.y (ensure_property) : patch obvious borkage in using item3
265 in a production with 2 items.
267 Fri Nov 01 14:41:52 2002 George Lebl <jirka@5z.com>
269 * src/lexer.l, src/util.c: when in cpp mode don't eat ::
271 Mon Oct 14 16:16:38 2002 George Lebl <jirka@5z.com>
273 * src/parse.y: Fix segfault reported by Gerhard Dieringer
274 <Gerhard.Dieringer@nexgo.de>
276 * src/main.c, src/util.c: Fix g_value_set/get for the unichar
277 case (glib doesn't have this, so use uint, this is so braindead).
278 Also add support for UNICHAR in places and add support for
281 Wed Sep 11 11:20:38 2002 George Lebl <jirka@5z.com>
283 * src/main.c: remove G_GNUC_CONST from the get_type, that seems to be
284 wrong and causes gcc3.2 to whack out and all that.
286 Tue Aug 20 11:01:52 2002 George Lebl <jirka@5z.com>
290 Tue Aug 06 12:30:15 2002 George Lebl <jirka@5z.com>
292 * doc/gob2.1.in: escape all ' characters, to fix debian
293 bug 155577. Also add the homepage to the last section
295 * doc/makehtml.pl: improve handling of some troff and add
296 automatic urlization of email and web addresses
298 Tue Aug 06 12:08:20 2002 George Lebl <jirka@5z.com>
300 * src/test.gob: further tests
302 Tue Aug 06 12:06:07 2002 George Lebl <jirka@5z.com>
304 * src/main.c: damnit s/shutdown/dispose/, why does glib change
305 these on me. I think there is an evil anti-gob plot in place.
307 * src/test.gob: add a test for unrefwith (should have been there in
308 the first place to catch this)
310 * doc/gob2.1.in: update the unref/unrefwith section
312 Mon Aug 05 11:11:01 2002 George Lebl <jirka@5z.com>
314 * src/parse.y: properly link the BOXED type (use g_value_set_boxed)
316 Wed Jul 17 11:01:40 2002 George Lebl <jirka@5z.com>
320 Wed Jul 17 10:52:29 2002 George Lebl <jirka@5z.com>
322 * src/test.gob: add more tests
324 * doc/gob2.1.in: minor updates
326 * src/lexer.l: allow comments in property definition code
328 Tue Jul 16 13:33:51 2002 George Lebl <jirka@5z.com>
330 * NEWS, configure.in: prepare for 2.0.1
332 Tue Jul 16 13:31:42 2002 George Lebl <jirka@5z.com>
334 * src/main.c, src/parse.y: Fix extra property types but still
335 recognize if someone used the broken undocumented way which
336 worked. Also fix object linking to not rely on GtkObject, and
337 fix BOXED linking as well.
339 * src/test.gob: add some tests for the above
341 * src/parse.y: fix C++ compilation for flags and enum linking
343 Mon Jul 15 13:05:18 2002 George Lebl <jirka@5z.com>
347 * */Makefile.am: add '.' to SUBDIRS to silence a stupid version
350 Mon Jul 15 12:54:30 2002 George Lebl <jirka@5z.com>
352 * configure.in: raise version to 2.0.0
354 * examples/*: update examples and readme. Remove old, bad examples
356 * doc/gob2.1.in: update for gob2
358 Wed Jul 10 11:10:37 2002 George Lebl <jirka@5z.com>
360 * doc/gob2.1.in: update the docs a bit. Still not finished.
362 Tue May 28 12:09:56 2002 George Lebl <jirka@5z.com>
366 Tue May 28 11:59:18 2002 George Lebl <jirka@5z.com>
368 * src/Makefile.am: some compilation voodoo
370 * src/main.c: Special case GtkEditable and GTypePlugin since
371 those end in Class, and all other interfaces should end in
372 Iface. Long live code consistency!
374 * src/main.c: use g_signal_emitv instead of g_signal_emit. This
375 will allow us to once again have default returns and all that
376 fun stuff. It should also slightly reduce emission overhead.
378 Mon Apr 15 09:55:29 2002 George Lebl <jirka@5z.com>
380 * README, COPYING.generated-code, Makefile.am: Add LGPL license
381 for generated code and clarify this in the README. Meant to do
382 this a long time ago, and told everyone that who asked. Now
385 Sun Apr 14 19:12:02 2002 George Lebl <jirka@5z.com>
387 * src/parse.y: apply patch from Dennis Bjorklund <db@zigo.dhs.org>
388 to fix export accessors function
390 Fri Feb 01 15:19:07 2002 George Lebl <jirka@5z.com>
394 Fri Feb 01 01:42:09 2002 George Lebl <jirka@5z.com>
396 * src/main.c: get rid of the old way of doing typesafe signal
397 connection and make a new way where there are full connect
398 macros for connect, connect_after and connect_data for each
399 signal. A bit more heavy weight (only at compile time), but
400 it actually works, and is cleaner really.
402 2002-01-22 Bastien Nocera <hadess@hadess.net>
404 * src/main.c: (make_arguments): move the get_ and set_property before
405 parameters settings to work with latest glib
407 Fri Jan 18 14:21:22 2002 George Lebl <jirka@5z.com>
409 * src/treefuncs.(def|c|h), src/parse.y, src/lexer.l, src/main.c:
410 Implement GError definitions.
412 Thu Jan 17 02:39:02 2002 George Lebl <jirka@5z.com>
414 * gob2.m4: fix version check
416 * configure.in, src/Makefile.am: some build fixes and raise version
418 Thu Jan 10 22:05:42 2002 George Lebl <jirka@5z.com>
420 * src/parser.y, src/lexer.l, src/main.c, src/Makefile.am,
421 src/test.gob, src/treefuncs.(def|c|h): Implement using of
422 interfaces. That is, you can now implement interfaces on your
423 objects. You still can't define interfaces, that's step two.
425 Sun Dec 30 18:25:25 2001 George Lebl <jirka@5z.com>
427 * src/main.c: Apply patch from Josh Parsons <jp30@st-andrews.ac.uk>,
428 to fix some code generation
430 * src/parse.y: Be anal in linking string properties.
432 Thu Dec 20 17:39:32 2001 George Lebl <jirka@5z.com>
434 * src/main.c: Apply patch from Josh Parsons <jp30@st-andrews.ac.uk>
435 to enhance the m4 support, fix init function generation and
436 correctly include glib-object.h. Massage it a bit further as
439 Mon Nov 05 11:45:46 2001 George Lebl <jirka@5z.com>
441 * src/lexer.l, src/parser.y, src/main.c, src/treefuncs.def:
442 Add flags and enum creation code, so you can do things in
443 a more gob like manner rather then the glib-mkenums setup.
445 2001-10-27 Seth Nickell <snickell@stanford.edu>
447 Make BonoboObject stuff work, almost as much fun as
448 blowing goats and twice as messy. Built code still
449 requires a patch to libbonobo to run (changing the
450 name of the TYPE macro to fit w/ GNOME standards),
451 so retaining a warning that BonoboObject doesn't
452 really work (oh, but it does :-)
456 Make sure to substitute YFLAGS so you don't get undefined
457 crap when you use @YFLAGS@ in Makefile.am.
459 * src/main.c: (add_bonobo_object_get_type)
461 Add a GObject type function for BonoboObject stuff.
463 * src/main.c: (make_bonobo_object_epv)
465 Append self_ to function call as per gob2.
467 * src/main.c: (add_inits), (print_class_block)
469 * src/treefuncs.c: (ensure_quarks), (copy_class), (copy_method),
470 (free_class), (setv_class), (setv_method):
474 Change to using BonoboObject rather than BonoboXObject.
476 * examples/foo-some-interface.c
478 Update to work with GOB2 with BonoboObjectTechnology(TM).
480 2001-10-26 Seth Nickell <snickell@stanford.edu>
484 Add top_srcdir to the include flags to pick up config.h
487 Sat Oct 20 17:40:58 2001 George Lebl <jirka@5z.com>
489 * src/Makefile.am: a few fixes
491 Sat Oct 20 16:59:19 2001 George Lebl <jirka@5z.com>
493 * src/lexer.l, src/main.c, src/Makefile.am: Apply m4 preprocessing
494 patch by Josh Parsons <jp30@st-andrews.ac.uk>
496 Sat Sep 29 17:00:39 2001 George Lebl <jirka@5z.com>
498 * doc/Makefile.am: update
500 Sat Sep 29 16:44:13 2001 George Lebl <jirka@5z.com>
502 * doc/gob2.1.in: update a tad and add a note that the manual
505 Sat Sep 29 16:33:57 2001 George Lebl <jirka@5z.com>
507 * gob2.spec.in: update for gob2
509 Fri Sep 28 17:39:57 2001 George Lebl <jirka@5z.com>
511 * **/*: Merge from gob-2 to HEAD
513 Fri Sep 28 17:08:19 2001 George Lebl <jirka@5z.com>
515 * configure.in, gob2.spec.in, gob2.m4, doc/gob2.1.in, Makefile.am,
516 doc/Makefile.am: rename rest of files for gob2
518 * src/main.c: minor cleanup
520 Thu Sep 27 21:56:17 2001 George Lebl <jirka@5z.com>
522 * src/generate_treefuncs.pl, src/treefuncs.def, src/parse.y,
523 src/main.c: Revamp the tree funcs stuff to be saner and cooler,
524 and fix some crashes and other things related to this.
526 * src/parse.y, src/lexer.l, src/main.c, src/util.[ch],
527 src/checks.[ch], treefuncs.def: Add properties (GParam), fix
528 C++ generation, add GET_NEW_VARG, whack the propname alias for
529 arguments setters/getters (they're deprecated anyway)
531 * src/test.gob: update tests
533 Sun Sep 16 13:07:37 2001 George Lebl <jirka@5z.com>
535 * src/main.c: replace GOB_ prefix for local functions with
536 self_. This makes much more sense.
538 Sun Sep 16 12:43:24 2001 George Lebl <jirka@5z.com>
540 * src/lexer.l, src/parse.y, src/main.c, src/treefuncs.(def|c|h),
541 src/util.[ch], src/test.gob: Add syntax for properties (GParam
542 or whatever you call these:). The code behind them is not yet
545 Sun Aug 12 16:15:46 2001 George Lebl <jirka@5z.com>
547 * src/main.c, src/parse.y, src/test.gob, src/util.c: Things now
548 make compilable objects, including with signals, how well it
549 works I don't know. cpp support seems broken in glib mostly.
551 Sat Jun 30 15:01:26 2001 George Lebl <jirka@5z.com>
553 * Applied the following from HEAD
555 Sat Jun 30 14:57:37 2001 George Lebl <jirka@5z.com>
557 * doc/gob.1.in: add documentation for (export)
559 Tue Jun 26 15:54:08 2001 George Lebl <jirka@5z.com>
561 * src/Makefile.am: add built sources to EXTRA_DIST
563 2001-06-24 Mark Brown <broonie@sirena.org.uk>
565 * src/main.c: Default to PRIVATE_HEADER_ONDEMAND rather than
566 PRIVATE_HEADER_ALWAYS as per documentation.
568 * doc/gob.1.in: Fix cut & paste error in object_{get,set}
571 Sat Jun 09 13:38:53 2001 George Lebl <jirka@5z.com>
573 * src/parse.y: was freeing the wrong token
575 2001-06-03 Eskil Heyn Olsen <eskil@eskil.dk>
577 * examples/my-person.gob:
580 * examples/test-export.gob:
581 File that tests the (export) keyword.
584 Added a (export) keyword to argument, so gob will
585 autodefine the my_object_[get|set]_var functions.
587 Sun May 13 02:45:43 2001 George Lebl <jirka@5z.com>
589 * src/main.c: revert the GET_NEW_VARG since it just won't work
592 Sun May 13 02:31:52 2001 George Lebl <jirka@5z.com>
594 * src/main.c: add GET_NEW_VARG macro/static func (for non-gcc)
595 and add TYPE_SELF macro
597 Sun May 13 02:02:47 2001 George Lebl <jirka@5z.com>
599 * src/util.c: patch from Frederic Crozat <fcrozat@mandrakesoft.com>
602 Sat Apr 21 20:06:10 2001 George Lebl <jirka@5z.com>
604 * examples/Makefile.am, examples/README,
605 examples/GNOME_Foo_SomeInterface.idl,
606 examples/foo-some-interface.gob: Add an example for BonoboXObject
608 Sat Apr 21 19:33:08 2001 George Lebl <jirka@5z.com>
610 * configure.in: Raise version to 1.0.9
612 * src/lexer.l: Properly check major version requirements (majors
613 must match in the requires line)
615 * src/parse.y, src/main.c, src/treefuncs.(def|c|h), src/checks.c:
616 Add direct BonoboXObject support
618 * src/parse.y: fix the chunks usage
620 * doc/gob.1.in: document BonoboXObject stuff, fix the bugs section
621 wrt gtk-doc which has been supported for quite some time
623 Sat Apr 14 00:11:50 2001 George Lebl <jirka@5z.com>
625 * configure.in: compile with glib 2.0
627 * src/test.gob, src/Makefile.am: make the test glib pure, or mostly
630 * src/lexer.l: added fixme
632 * src/main.c: work on signals a little bit
634 Fri Apr 13 21:23:19 2001 George Lebl <jirka@5z.com>
636 * src/checks.[ch], src/lexer.l, src/main.c, src/parse.y,
637 src/treefuncs.[ch], src/treefuncs.def: Work on gobject support,
638 based on the patch Sven sent me. Also do add unref as well as
639 destroy handlers to vars, and moved the destructors to finalize and
640 unreffers to shutdown. This all compiles, but that doesn't mean it
641 makes usable objects.
643 Fri Apr 13 17:45:14 2001 George Lebl <jirka@5z.com>
645 * src/parse.y, doc/gob.1.in: Fix a problem found by Eric Kidd
646 <eric.kidd@pobox.com>, where objectlink was not completely
647 refcounting safe. Could underref if you set the same object.
649 Sat Mar 31 00:24:58 2001 George Lebl <jirka@5z.com>
651 * src/main.c: fix crash with marshallers of signals with a return
652 type and no arguments.
654 Sun Mar 04 19:14:03 2001 George Lebl <jirka@5z.com>
656 * src/main.c, src/checks.c, src/util.[ch]: Remove the underscore
657 hack, remove the 1.2 code from the 1.3 compat hacks, make all
658 short names start with GOB_. Start of the direct GObject
659 support, gob compiles, but it will not create useful object
662 Tue Feb 27 06:14:59 2001 George Lebl <jirka@5z.com>
664 * configure.in, src/Makefile.am, README: this is the gob-2 branch
667 Tue Feb 27 00:53:41 2001 Jonathan Blandford <jrb@redhat.com>
669 * README: Use my new-found maintainer status!!! The power!
671 Sun Feb 25 17:17:46 2001 George Lebl <jirka@5z.com>
675 Sun Feb 25 16:57:45 2001 George Lebl <jirka@5z.com>
677 * src/main.c, src/checks.c: to make doing BonoboXObjects possible
678 allow overriding the _get_type function.
680 * doc/gob.1.in: document the above
682 Sun Feb 11 16:33:07 2001 George Lebl <jirka@5z.com>
686 Sat Feb 10 18:42:59 2001 George Lebl <jirka@5z.com>
688 * src/Makefile.am: fix the build
690 2001-02-08 Maciej Stachowiak <mjs@eazel.com>
692 * src/Makefile.am: Remove BUILT_SOURCES stuff; Automake knows how
693 to handle .l and .y files directly, and including the .c files as
694 well was making it fail to link as it would try to link in lexer.o
697 Thu Feb 08 02:43:22 2001 George Lebl <jirka@5z.com>
699 * src/main.c: add signal connection typesafety macros
701 * src/test.gob, doc/gob.1.in: new stuff foo
703 * configure.in: raise version
705 Thu Feb 08 01:42:52 2001 George Lebl <jirka@5z.com>
707 * src/Makefile.am: rule for parse.h includes parse.c, and
708 SOURCES include BUILT_SOURCES
710 Tue Dec 26 11:03:44 2000 George Lebl <jirka@5z.com>
712 * src/main.c: Remove ## from the varargs macro stuff, as it's not
713 needed and causes trouble for newer gcc's (like in rh7)
715 Sun Sep 10 18:04:07 2000 George Lebl <jirka@5z.com>
719 Fri Sep 01 03:45:30 2000 George Lebl <jirka@5z.com>
721 * src/main.c: add G_GNUC_CONST to the _get_type function
723 Wed Aug 23 15:05:40 2000 George Lebl <jirka@5z.com>
725 * src/main.c: when a method has no arguments make an argumentless
726 macro for the shortform to avoid a parse error
728 * src/test.gob: add a test for the above
730 Sun Aug 6 22:21:38 2000 Eskil Heyn Olsen <eskil@eazel.com>
732 * gob.m4 now defaults to WARN instead of ERROR on missing
735 Tue Jul 25 16:54:34 2000 George Lebl <jirka@5z.com>
739 * configure.in: raise version to 1.0.4
741 * src/main.c: fixup the -anal macro patch.
743 * src/util.[ch], src/main.c: constize (not in 1.0.4)
745 * src/main.c: the short form pointers unified for both gnu and non-gnu
748 Sun Jul 23 18:51:45 2000 George Lebl <jirka@5z.com>
750 * src/util.[ch], src/main.c, src/checks.c, src/lexer.l, src/parse.y:
751 make new cleaner error print routines including a printfstyle one.
752 Use the get_real_id on all method ids even for overrides. When a
753 signal is added there is also a sizeof check for the signature vs.
754 argument list with a g_error if it fails. Fix %at{ %} to not
755 appear twice in all files.
757 * src/main.c: Apply patch from Arturo Tena to make things compile
758 nicely with gcc's -ansi -pedantic
760 * src/out.[ch]: constize correctly and use G_GNUC_PRINTF macro for
763 Fri Jul 21 15:38:10 2000 George Lebl <jirka@5z.com>
765 * src/main.c: store the private structure pointer so that we
766 don't look inside the freed object structureafter finalize
768 Thu Jul 06 02:32:29 2000 George Lebl <jirka@5z.com>
772 Wed Jul 05 19:37:20 2000 George Lebl <jirka@5z.com>
774 * src/{main.c,parse.y}: couple of cleanups, and fixup the gtk 1.3
777 Wed Jul 05 18:57:13 2000 George Lebl <jirka@5z.com>
779 * src/{checks.c, main.c, parse.y, test.gob}: Apply and fix up patch
780 from Bas van der Linden <linden@win.tue.nl> that adds the ability
781 to use const on the "self" argument as well. Also adds a CONST
782 casting macro to use.
784 * src/main.c: Fix a memory leak when destroy wasn't overriden and
785 destructors were added, it now properly calls the parent handler.
788 * src/main.c: Spit out some macro magic foo to hopefully make it
789 possible to compile objects with GTK+ 1.3/2.0
791 * doc/gob.1.in, examples/*.gob: We should never do
792 GTK_OBJECT(GET_NEW) as that's a memory leak due to some weird
793 GTK_OBJECT() semantics
795 Fri Jun 30 14:08:53 2000 George Lebl <jirka@5z.com>
799 Fri Jun 30 13:11:05 2000 George Lebl <jirka@5z.com>
801 * doc/gob.1.in: add doc for --always-private-struct
803 * src/main.c: fix output of --help. Also print __GOB_FUNCTION__
804 for inits and for get/set_arg. And print the get_real_id to
805 avoid the underscore.
807 Mon Jun 26 00:06:45 2000 George Lebl <jirka@5z.com>
809 * src/parse.y: for stringlink, dup the string on argument
812 * doc/gob.1.in: update documentation to the above change
814 Sun Jun 25 03:34:02 2000 George Lebl <jirka@5z.com>
816 * src/treefuncs.def, src/main.c, src/utils.[ch], src/parse.y: sane
817 parsing of const. Get rid of "stars" integer and just use a
818 "pointer" string. Also the types in general are more sanely parsed,
819 thus recognizing hopefully all legal (and some illegal) C types.
821 * src/checks.[ch], src/main.c: checks the argument type to be one we can
824 * src/treefuncs.def, src/main.c, src/parse.y, src/lexer.l: Apply
825 patch from Bas van der Linden <linden@win.tue.nl> that adds the
826 possibility to use chunks to allocate objects.
828 * src/main.c: Apply patch from Bas van der Linden <linden@win.tue.nl>
829 to add a __GOB_FUNCTION__ define to each function
831 * src/Makefile.am, src/main.c, src/lexer.l, src/generate_treefuncs.pl:
832 avoid and fix warnings, and compile with all warnings
834 * src/main.[ch]: add an --always-private-struct option to always put
835 in the private pointer, even if there are no private members.
837 * src/test.gob: add some more tests for new stuff
839 Wed Jun 07 15:03:18 2000 George Lebl <jirka@5z.com>
843 Wed Jun 07 14:41:24 2000 George Lebl <jirka@5z.com>
845 * configure.in, doc/gob.1.in: updates
847 Mon Jun 05 12:10:46 2000 George Lebl <jirka@5z.com>
849 * doc/gob.1.in: run through ispell, and fix option stuff to produce
850 nicer html output with groff
852 Thu Jun 01 18:12:13 2000 George Lebl <jirka@5z.com>
854 * src/main.c: Make the private header switches work again.
856 Wed May 31 01:50:25 2000 George Lebl <jirka@5z.com>
860 Wed May 31 01:47:23 2000 George Lebl <jirka@5z.com>
862 * src/gob.1.in: documentation of makefile rules for gob.
864 Tue May 30 11:02:36 2000 George Lebl <jirka@5z.com>
866 * src/lexer.l: Accept identifiers in array dimensions, this is so
867 that you can make these some constants.
869 Sat May 20 18:22:33 2000 George Lebl <jirka@5z.com>
873 Sat May 20 18:22:23 2000 George Lebl <jirka@5z.com>
875 * src/{main.c,checks.[ch]}: check for duplicate overrides, it is
876 different from checking symbol names as they don't conflict with
877 other symbols AND they only conflict if both the name and their
880 Sat May 20 16:38:06 2000 George Lebl <jirka@5z.com>
882 * src/{main.[ch],util.[ch],checks.c}: Add underscore removal for
883 non-override methods. This means that local aliases will include
884 prepended underscores, but when the full name is generated, or
885 when the method name is added to class structure, the underscore
888 * src/checks.c: overrides no longer checked for uniqueness, a more
889 complex logic is needed.
891 * src/{main.c,treefuncs.def,parse.y}: override naming is done
892 with a unique id, so that we handle cases where two classes have
893 the same method name.
895 * doc/gob.1.in: update for the above.
897 Sat May 20 14:42:00 2000 George Lebl <jirka@5z.com>
899 * src/main.c: the private structure is now freed in finalize again and
900 thus do the same dance around finalize as we do around destroy.
901 Clean up some code. NULL all things being destroyed. The arbitary
902 destructor uses memset as those things might not be just pointers.
904 Thu May 11 23:48:44 2000 George Lebl <jirka@5z.com>
906 * src/main.[ch]: provide the Self and SelfClass typedefs in addition
907 to SELF, IS_SELF, SELF_CLASS macros. All of these can now be
908 disabled with the --no-self-alias option
910 * doc/gob.1.in: update
912 * configure.in: raise version
914 Tue May 09 23:18:16 2000 George Lebl <jirka@5z.com>
916 * src/parse.y: fix segfault on parse error and give better error
919 Tue May 09 21:54:10 2000 George Lebl <jirka@5z.com>
921 * doc/gob.1.in, src/main.c: Add destruction code into the destroy
922 handler rather then finalize. Setup an extra function if
923 neccessary to handle returns correctly as this must be called
926 Sat Apr 29 14:41:42 2000 George Lebl <jirka@5z.com>
930 Sat Apr 29 14:40:40 2000 George Lebl <jirka@5z.com>
932 * src/checks.c: code prettification
934 * src/lexer.l, src/parse.y, src/test.gob: change "class" scope to
935 "classwide" scope, not to overload the class keyword
937 * src/main.[ch]: make private header files be generated by default,
938 and cleanup that part a bit
940 * doc/gob.1.in: add documentation of classwide
944 Fri Apr 21 17:15:09 2000 George Lebl <jirka@5z.com>
946 * src/main.c: add spaces after commas
948 * src/lexer.l, src/main.c, src/parse.y: add class scope variables
949 which are put into the class structure
951 * src/test.gob: added a test for class variables
953 * src/treefuncs.def: added CLASS_SCOPE
955 * src/treefuncs.h: regenerated
957 Mon Apr 17 20:13:47 2000 George Lebl <jirka@5z.com>
959 * src/parse.y: on objectlink instead of just ref, do ref/sink.
961 Sat Apr 15 23:07:30 2000 George Lebl <jirka@5z.com>
965 Sat Apr 15 22:42:20 2000 George Lebl <jirka@5z.com>
967 * src/main.c: fixes for ANSI C and C++. Just use GTK_VALUE_POINTER
968 instead of GTK_VALUE_OBJECT so that we don't have to cast and don't
971 Sat Apr 15 22:09:49 2000 George Lebl <jirka@5z.com>
973 * src/main.c: use the generic return type in signal marshallers
974 rather then the specific one as the marshallers are truly generic
976 Sat Apr 15 21:52:52 2000 George Lebl <jirka@5z.com>
978 * src/main.c: fix some typesafety braindamages with OBJECT types
979 in arguments by casting GTK_VALUE_OBJECT to gpointer. Also
980 for seting arguments cast the ARG to atype if it exists
982 Wed Apr 05 13:42:28 2000 George Lebl <jirka@5z.com>
984 * src/parse.y: never allow NONE to be used as one of many arguments,
985 always only by itself in the argument list
987 * src/main.c: When printing out the signal marshaller prototype,
988 don't print out the NONE (void) into the argument list, thanks
989 to Soeren Sandmann <sandmann@daimi.au.dk> for reporting that
991 Mon Apr 03 13:07:33 2000 George Lebl <jirka@5z.com>
993 * examples/Makefile.am: add my-person2.gob to EXTRA_DIST
995 Sun Apr 02 18:09:40 2000 George Lebl <jirka@5z.com>
999 Sun Apr 02 17:38:12 2000 George Lebl <jirka@5z.com>
1001 * src/Makefile.am: ass the .pl and .def file to EXTRA_DIST
1003 Sun Apr 2 14:37:49 PDT 2000 Manish Singh <yosh@gimp.org>
1005 * configure.in: check for treefuncs.h instead of tree.h, since
1006 the latter has gone bye-bye
1008 Sat Apr 01 23:27:47 2000 George Lebl <jirka@5z.com>
1010 * doc/gob.1.in: add documentation for defreturn
1012 Sat Apr 01 18:03:31 2000 George Lebl <jirka@5z.com>
1014 * src/{treefuncs.(def|c|h),generate_treefuncs.pl}: What would gob
1015 be without some automatically generated code. The tree.[ch] was
1016 hard to keep up and didn't have free/copy so these do, otherwise
1017 it is the same. Also added a defreturn field to methods
1019 * src/*.[cyl]: include treefuncs.h rather then tree.h
1021 * src/{parse.y,lexer.l,main.c}: use the defreturn as the default for
1022 return values of signals and virtual methods. If this is not
1023 defined use the onerror or failing that '0'. onerror is also not
1024 a reserved keyword anymore
1026 * configure.in: raise version
1028 Mon Mar 27 13:08:01 2000 George Lebl <jirka@5z.com>
1032 Mon Mar 27 12:04:22 2000 George Lebl <jirka@5z.com>
1034 * src/util.[ch], src/main.c: figure out if we really need the special
1035 types, also make a hash for the gtk types instead of linear
1036 searching it all the time.
1038 * src/{lexer.c,checks.c,main.c}: minor fixes and cleanups
1040 2000-03-21 Eskil Heyn Olsen <deity@eskil.dk>
1042 * gob.m4: do not default GOB to no when not found (did that make
1044 And better error message.
1046 Mon Mar 20 14:35:35 2000 George Lebl <jirka@5z.com>
1048 * src/lexer.l: handle single word typenames with an empty namespace
1050 Sun Mar 05 02:23:04 2000 George Lebl <jirka@5z.com>
1052 * src/main.c: add #lines around setting default handlers
1054 * src/parse.y: fix line number for 'destroywith' destructors
1056 Sat Mar 04 15:33:18 2000 George Lebl <jirka@5z.com>
1058 * src/checks.c: duplicate name test for arguments and signals is
1059 case insensitive now as those could cause trouble
1061 Mon Feb 28 02:45:27 2000 George Lebl <jirka@5z.com>
1065 Sun Feb 27 20:59:45 2000 George Lebl <jirka@5z.com>
1067 * src/parse.y,doc/gob.1.in: For stringlink, just return a pointer on
1068 get rather then strduping as that is 1) consistent with objectlink
1069 and 2) more flexible.
1071 Sun Feb 27 20:38:19 2000 George Lebl <jirka@5z.com>
1073 * src/{main.c,tree.[ch],parse.y}: add the arbitrary destruction handler
1076 * doc/gob.1.in: updated and fixed up
1078 * configure.in,NEWS,examples/{README,my-person2.gob}: change version
1081 Sun Feb 27 18:37:57 2000 George Lebl <jirka@5z.com>
1083 * NEWS,doc/gob.1.in,examples/{README,my-person.gob,my-person2.gob}:
1084 update of docs and examples to include the new features and minor
1087 Sun Feb 27 04:41:41 2000 George Lebl <jirka@5z.com>
1089 * src/main.c: make the output nicer for classes with no methods
1090 better typechecking in get/set_arg, fix a couple of C++ issues,
1092 * src/{main.c,parse.y,tree.[ch]}: automatic linking of arguments to
1093 data members. Also alow empty statements inside a class. Also
1094 add automatic data member destruction for pointer data, and
1095 automatic initialization for any data member.
1097 * src/main.[ch],src/out.c: add --no-lines which inhibits printing
1098 of #line things to output files
1100 * doc/gob.1.in: update for the above
1102 Fri Feb 25 15:21:47 2000 George Lebl <jirka@5z.com>
1106 Fri Feb 25 14:46:51 2000 George Lebl <jirka@5z.com>
1108 * src/main.c: add SELF casting macros
1110 * doc/gob.1.in: document the above
1112 Fri Feb 25 02:29:26 2000 George Lebl <jirka@5z.com>
1114 * src/main.c,src/tree.[ch],src/parse.y: public signals get
1115 GTK_RUN_ACTION added. Plus an interface for adding additional
1118 * doc/gob.1.in: add docs for the above
1120 Fri Feb 25 01:37:20 2000 George Lebl <jirka@5z.com>
1122 * src/main.c: fix trailing comma on the end of the argument enum
1124 Sun Feb 13 23:54:53 2000 George Lebl <jirka@5z.com>
1126 * doc/gob.1.in: add doc patch from Dave Dunkin <dunkind@letu.edu>
1128 * doc/gob.1.in,examples/*.gob: use init(self) to be more consistent
1131 Sat Feb 12 14:42:15 2000 George Lebl <jirka@5z.com>
1133 * src/main.c,src/lexer.l: apply patches from Dave Dunkin
1134 <dunkind@letu.edu> to add all and alltop ccode sections
1135 and to add a --no-write,-n option to not actually write
1136 any files. Also did some very cosmetic changes to code
1138 Mon Feb 07 23:45:04 2000 George Lebl <jirka@5z.com>
1140 * src/main.c: use the magic /*< private >*/ and /*< public >*/
1141 comments to distinguish public and protected data members
1143 Mon Feb 07 03:02:48 2000 George Lebl <jirka@5z.com>
1147 Mon Feb 07 02:50:11 2000 George Lebl <jirka@5z.com>
1149 * src/lexer.l: error on multiple classes
1151 * src/main.c: nicer header output
1153 * src/{lexer.l,main.c}: Eat out gtk-doc like inline doc entries
1154 and stuff them into the output files where appropriate
1156 * doc/gob.1.in: added docs for gtk-doc like inline doc stuff
1158 * examples/{README, gtk-button-count.gob}: added inline docs
1160 Fri Feb 04 01:07:54 2000 George Lebl <jirka@5z.com>
1162 * src/main.c: use G_GNUC_UNUSED rather then our own macro for a
1163 very slightly cleaner looking output file
1165 2000-01-31 Eskil Heyn Olsen <deity@eskil.dk>
1167 * gob.m4: checks for gob binary, GOB_CHECK([version [,
1168 action_if_found[, action_if_not_found]]]).
1170 * Makefile.am: Install gob in $prefix/share/aclocal
1172 Thu Jan 27 17:50:11 2000 George Lebl <jirka@5z.com>
1174 * src/main.c: add #include <stdlib.h>
1176 Mon Jan 24 22:52:47 2000 George Lebl <jirka@5z.com>
1180 Mon Jan 24 22:23:47 2000 George Lebl <jirka@5z.com>
1182 * src/main.c: add a protecting define before the object typedef
1184 * doc/gob.1.in: add docs for the new stuff
1186 Sun Jan 23 16:19:54 2000 George Lebl <jirka@5z.com>
1188 * src/{lexer.l,parse.y,tree.[ch],main.c}: make more types of header
1189 %{ %} blocks, "headertop" and "privateheader" and made short as
1190 well as long names possible.
1192 * src/main.c: add an --no-extern-c option to not put entern "C" into
1193 the output, which is now put in by default even if --for-cpp is
1194 on so that it is possible to call those from C by default
1196 Thu Jan 20 01:50:45 2000 George Lebl <jirka@5z.com>
1198 * src/main.c: put the _real_ functions in our normal private
1199 namespace of ___* to be more consistent.
1201 Mon Jan 10 00:16:43 2000 George Lebl <jirka@5z.com>
1203 * src/{main.[ch],util.[ch],checks.[ch]}: offload some functionality to
1206 * src/main.c: cleanup the generation routine by spliting it up into
1209 * src/{main.h,lexer.l,parse.y,out.c}: put some needed externs into the
1210 main.h file and include that rather then doing it in the .c files
1212 Thu Jan 06 18:33:44 2000 George Lebl <jirka@5z.com>
1214 * src/main.c: use ___ for the signal marshalling typedefs as well
1216 Thu Jan 06 17:32:46 2000 George Lebl <jirka@5z.com>
1220 Thu Jan 06 17:13:22 2000 George Lebl <jirka@5z.com>
1222 * src/main.c: be consistent with the use of "namespacing", we
1223 prefix ALL internal gob stuff with "___". This should make it
1224 easier to avoid name conflicts with user code and glibc/gcc (Which
1225 seems to use __ prefix)
1227 * src/main.c: check for init and class_init names for non-constructor
1228 methods and give an error if found.
1230 * src/main.c: check argument types and flags for correctness, error
1231 on unknown type, but just a warning on unknown flag
1233 * doc/gob.1.in: add a section for name conflicts
1235 Wed Jan 05 02:23:21 2000 George Lebl <jirka@5z.com>
1237 * src/main.c: doh! the symbols for the aliases need to be declared as
1240 Wed Jan 05 02:13:59 2000 George Lebl <jirka@5z.com>
1242 * src/main.c: just realized that args... for macros is a GNU
1243 extention and so the PARENT_HANDLER no longer uses it, but prints
1244 the argument names with __ prefixed into the argument list.
1246 Wed Jan 05 01:58:32 2000 George Lebl <jirka@5z.com>
1248 * src/main.c: if using gnu c, also define macros using varargs for
1249 function aliases. This should allow the compiler to optimize
1250 further and if we have arguments for the defines there are
1251 no adverse side effects as there are for straight defines.
1253 Wed Jan 05 01:48:12 2000 George Lebl <jirka@5z.com>
1255 * src/main.c: fixup the aliases. They didn't actually work right.
1256 now we set it up as a const pointer to a function using typeof.
1258 Tue Jan 04 17:57:55 2000 George Lebl <jirka@5z.com>
1260 * src/lexer.l: add support for 'requires x.y.z' line. This is
1261 so that a .gob file can require at least version x.y.z of gob
1263 * src/test.gob: update
1265 * doc/gob.1.in: update for requires and run trhough ispell
1267 Tue Jan 04 17:10:54 2000 George Lebl <jirka@5z.com>
1269 * src/main.c: fix the non-gnu aliases
1271 Tue Jan 04 16:46:16 2000 George Lebl <jirka@5z.com>
1273 * src/{main.c,parser.y,tree.[ch]}: add optional C type specification
1274 to arguments for full type safety
1276 * doc/gob.1.in: updated
1278 Tue Jan 04 15:34:16 2000 George Lebl <jirka@5z.com>
1280 * src/main.c: --no-gnu option to completely disable any use
1281 of GNU C extentions. This is for those weird people that don't
1282 wish to use those extentions even with GNU C.
1284 Tue Jan 04 14:43:49 2000 George Lebl <jirka@5z.com>
1286 * src/main.c: use some GNU extentions (guarded with #ifdef __GNUC__)
1287 to make arguments fully typesafe, and to make it easier for
1288 GNU to optimize the aliases, as well as to avoid the ugly
1291 * src/main.c: don't put #line 0 for the .gob file for method prototypes
1293 * src/main.c: move the _priv structure freeing into finalize to enable
1294 people to work with the private stuff inside the destroy handler
1296 * src/main.c: use #line before every precondition check so that failed
1297 checks should point to the function prototype rather then into
1300 * src/main.c: remove the _END_ARG macro
1302 * src/main.c: add GOB_VERSION_MAJOR, GOB_VERSION_MINOR and
1303 GOB_VERSION_PATCHLEVEL defines into the generated C file
1305 * src/out.c: don't redundantly put #line for outfile if we're already
1308 * configure.in: raise version number
1310 Tue Jan 04 02:22:33 2000 George Lebl <jirka@5z.com>
1312 * src/main.c: add argument wrapper macros to make the argument system
1313 a little more type safe.
1315 Fri Dec 31 17:39:22 1999 George Lebl <jirka@5z.com>
1319 Thu Dec 30 20:20:36 1999 George Lebl <jirka@5z.com>
1321 * src/main.c: correctly handle the complex fundemental types,
1322 so that we can handle ALL the fundemental types for signals
1324 Thu Dec 30 19:29:56 1999 George Lebl <jirka@5z.com>
1326 * src/main.c: don't use function types for casts in marshallers,
1327 but default types we get from our GTK_TYPE_* -> C type translation,
1328 and use this fact to check for same function types and combine
1329 signal prototypes. This doesn't yet handle well complex types,
1330 but I have an idea how to make complex types work. Though
1331 I dunno if it's actually worth it.
1333 Thu Dec 30 17:18:27 1999 George Lebl <jirka@5z.com>
1335 * src/main.c: figure out some types from GTK types and cast properly
1336 when emitting a signal. This catches some inconsistencies in
1337 signal func argument lists and the GTK types of the arguments.
1339 Wed Dec 29 18:04:13 1999 George Lebl <jirka@5z.com>
1341 * src/parse.y: allow scope, public/private/protected, to come before
1342 the signal or virtual keyword for consistency's sake.
1344 Wed Dec 29 01:39:30 1999 George Lebl <jirka@5z.com>
1346 * src/{tree.[ch],parser.y}: cleanup scope stuff
1348 * src/{lexer.l,parser.y,tree.h,main.c}: add protected keyword and
1349 methods. protected methods are put into the -private files and
1350 are real exported functions just like public. protected data
1351 members act like pre-0.91.x private datamembers, that is they
1352 get stuck into the public header, but marked /* protected */.
1354 * src/main.c: change the method body printing function so that we
1355 can catch the no return warning properly and send us to the .gob
1356 file instead of the .c file.
1358 * src/{parse.y,main.c}: handle empty publics/privates/overrides
1359 and handle the body being set to ';' rather then '{}'
1361 * src/main.c: check for empty nonvoid regular methods, and error out
1362 on finding them as that would produce warnings which we can't catch
1363 and it is generally bad to do anyway
1365 * src/{parse.y,tree.[ch],main.c}: use char pointers for C buffers,
1366 and kill leading/trailing whitespace from them to make the C files
1367 nicer and easier to recognize empty functions.
1369 * src/main.c: add a --version switch
1371 * doc/gob.1.in: Update with the above changes
1373 * configure.in: raise version
1375 Tue Dec 28 20:49:56 1999 George Lebl <jirka@5z.com>
1377 * src/main.c: apply patch from ChiDeok Hwang <cdhwang@sr.hei.co.kr>
1378 to make the hack function static so that we don't pollute namespace
1380 Mon Dec 27 19:56:24 1999 George Lebl <jirka@5z.com>
1384 Mon Dec 27 03:00:25 1999 George Lebl <jirka@5z.com>
1386 * src/main.c: fixup PARENT_HANDLER to work well with non-void
1387 functions, the macro becomes an expression if the function is
1388 not void and returns the return of the parent or the onerror
1389 expression if the function pointer was NULL.
1391 Mon Dec 27 02:25:32 1999 George Lebl <jirka@5z.com>
1393 * src/parse.y: allow completely empty classes
1395 * src/main.c: don't add the ugly hack function if there are no
1398 Mon Dec 27 01:26:26 1999 George Lebl <jirka@5z.com>
1400 * src/parse.y: fixup the virtual rule as I forgot to shift the
1401 argument numbers when adding to the expression
1403 Mon Dec 27 01:07:14 1999 George Lebl <jirka@5z.com>
1405 * src/parse.y: add optional public keyword to virtuals and signals,
1406 (which doesn't do anything, only consistency). I should perhaps
1407 rewrite and simplify this part of the parser
1409 * src/lexer.l: fix a bug with empty braces producing a segfault
1410 on public and private methods
1412 * doc/gob.1.in: add a section about Constructor methods (init
1413 class_init) and fix init_class -> class_init
1415 * configure.in: raise version to 0.91.2
1417 Tue Dec 14 00:06:00 1999 George Lebl <jirka@5z.com>
1421 Mon Dec 13 23:25:06 1999 George Lebl <jirka@5z.com>
1423 * src/{main.c,out.c}: create a private header file and stick
1424 the private structure definition inside it. Add option
1425 --no-private-header for 0.91.0 behaviour and
1426 --always-private-header to force private header creation
1428 * doc/gob.1.in: update WRT above changes
1430 * examples/my-person.gob: include the private header
1434 Mon Dec 13 18:30:09 1999 George Lebl <jirka@5z.com>
1436 * src/main.c: don't print spurious #line's into the private
1439 * src/{main.c,tree.[ch],lexer.l,parse.y}: implement support for
1440 array types for data members and function arguments
1442 Mon Dec 13 00:48:47 1999 George Lebl <jirka@5z.com>
1446 Sun Dec 12 22:55:12 1999 George Lebl <jirka@5z.com>
1448 * doc/gob.1.in: added paragraph noting that private data members
1449 cannot be accessed above the class definition in the .gob file
1451 Sun Dec 12 22:08:31 1999 George Lebl <jirka@5z.com>
1453 * src/main.c: implement real private data members as promised in
1454 the documentation, this however breaks some compatiblity with
1455 things that already used the 'private' keyword for data members
1457 * doc/gob.1.in: document private data member stuff
1461 * src/main.c: a couple of sanity checks of the code to prevent weird
1462 errors on some broken .gob code
1464 * configure.in: update version to 0.91.0
1466 Sun Dec 05 14:20:26 1999 George Lebl <jirka@5z.com>
1468 * src/{lexer.l,main.c}: if we find the class header #include
1469 statement in a %{ %} section above class definition, don't
1470 include it ourselves.
1472 * doc/gob.1.in: remove the note about the include always first from
1473 BUGS, and make a new section for the include file.
1475 Thu Nov 25 13:09:08 1999 George Lebl <jirka@5z.com>
1479 Thu Nov 25 13:00:52 1999 George Lebl <jirka@5z.com>
1481 * src/main.c: don't error out on a symbol conflict if the types of
1482 the symbol node don't match (variable,method)
1484 Sat Nov 20 16:15:42 1999 George Lebl <jirka@5z.com>
1486 * src/main.c: add PARENT_HANDLER macro to make calling parent
1487 handlers in override functions easier
1489 Fri Nov 19 16:41:09 1999 George Lebl <jirka@5z.com>
1491 * src/main.c: add a type macro
1493 Thu Nov 18 22:56:09 1999 George Lebl <jirka@5z.com>
1495 * src/parse.y: add a warning check if the number of GTK types of
1496 a signal doesn't seem to be correct for the given number of
1499 Tue Nov 16 01:23:45 1999 George Lebl <jirka@5z.com>
1501 * src/main.c: support a "no-touch-headers" mode in which the
1502 headers are not touched unless they actually really changed,
1503 not on by default as it confuses automake
1505 Tue Nov 16 00:36:42 1999 George Lebl <jirka@5z.com>
1507 * src/{main.c,lexer.l,parser.y,out.c}: Implement a C++ mode, get
1508 rid of C++ errors/warnings when in C++ mode, and get rid of
1509 the 'this' pointer finally (it's been deprecated long enough)
1511 Mon Nov 15 23:45:37 1999 George Lebl <jirka@5z.com>
1513 * src/main.c: add prototype for the really bad hack function to
1516 Mon Nov 15 23:42:06 1999 George Lebl <jirka@5z.com>
1518 * src/main.c: generate correct function pointers in the structure
1519 for signals and virtuals. Also use a much nicer system instead
1520 of the method name defines, we now just set a bunch of static
1521 pointers, this removes a whole lot of headaches actually
1523 * doc/gob.1.in: repair to reflect the above (I removed the define
1526 Sun Nov 14 17:57:34 1999 George Lebl <jirka@5z.com>
1528 * doc/gob.1.in: repair some things that confused troff and add
1529 a C preprocessor warning to BUGS
1531 Sat Nov 13 17:22:49 1999 George Lebl <jirka@5z.com>
1533 * **/Makefile.am, configure.in: fix the conditional installation
1534 stuff, don't even go into the doc directory if we aren't installing
1536 Sat Nov 13 16:53:20 1999 George Lebl <jirka@5z.com>
1538 * doc/gob.1.in: describe BUGS better
1540 Sat Nov 13 16:20:41 1999 George Lebl <jirka@5z.com>
1542 * src/lexer.l: don't kill C++ style comments from C blocks
1544 Sat Nov 13 16:16:59 1999 George Lebl <jirka@5z.com>
1546 * src/{lexer.l,main.c,out.c}: fixed spurious newline printing, don't
1547 kill comments from C blocks so that line counts are right, accept
1548 newlines in strings, and don't take \'\"\' as a string delimiter
1550 Sat Nov 13 14:53:26 1999 George Lebl <jirka@5z.com>
1552 * src/main.c: don't add gtk_object_class to class_init if we only
1553 have non-GtkObject overrides to avoid warning
1555 Sat Nov 13 14:31:25 1999 George Lebl <jirka@5z.com>
1557 * configure.in,src/Makefile.am,doc/Makefile.am: check for
1558 ../NOINST_GOB and in case it's found don't install self
1560 Fri Nov 12 16:25:35 1999 George Lebl <jirka@5z.com>
1562 * configure.in,Makefile.am,src/main.c: don't use popt, our arguments
1563 are simple enough and popt doesn't seem to be widely used yet
1565 Sun Sep 05 22:08:40 1999 George Lebl <jirka@5z.com>
1569 Sun Sep 05 22:08:33 1999 George Lebl <jirka@5z.com>
1571 * doc/gob.1.in: updated for private virtual and signal wrappers
1573 Sun Sep 05 21:50:19 1999 George Lebl <jirka@5z.com>
1575 * configure.in: raise version and actually set POPT_LIB correctly
1577 * src/Makefile.am: use POPT_LIB
1579 Sun Sep 05 21:45:54 1999 George Lebl <jirka@5z.com>
1581 * src/tree.h,src/main.c,src/parse.y: add support for private signals
1584 * src/parse.y: fix bug with bogus vararg methods
1586 Sun Sep 04 17:44:37 1999 George Lebl <jirka@5z.com>
1590 Sat Sep 04 17:18:22 1999 George Lebl <jirka@5z.com>
1592 * src/lexer.l,src/parse.y,src/main.c,src/tree.[ch]: support
1593 variable arguments for public and private methods
1595 Sat Sep 04 16:51:11 1999 George Lebl <jirka@5z.com>
1597 * lexer.l,parse.y: accept const in parameter lists
1599 Sun Aug 29 13:46:33 1999 George Lebl <jirka@5z.com>
1603 Sat Aug 28 23:36:48 1999 George Lebl <jirka@5z.com>
1605 * src/main.[ch],parse.y: make error/warning reporting public
1606 and use it to report depreciated use of 'this'
1608 Sat Aug 28 22:41:52 1999 George Lebl <jirka@5z.com>
1610 * src/tree.[ch],parse.y,main.c: check for duplicate variables and
1611 signals and arguments as well.
1613 Sat Aug 28 22:00:19 1999 George Lebl <jirka@5z.com>
1615 * src/parse.y,src/main.c: change "this" to "self", but accept "this"
1618 * src/main.c: check for duplicate methods, and warn on non-public
1621 * configure.in: change to version 0.90.0
1623 * doc/gob.1.in: change this to self
1625 Tue Aug 24 20:37:26 1999 George Lebl <jirka@5z.com>
1629 Thu Aug 19 03:18:03 1999 George Lebl <jirka@5z.com>
1631 * src/main.c: also count overrides to avoid an unused variable on
1634 Thu Aug 19 03:08:49 1999 George Lebl <jirka@5z.com>
1636 * src/parse.y: in a check, we can check not only about numbers
1637 but for tokens as well
1639 Wed Aug 18 12:54:17 1999 George Lebl <jirka@5z.com>
1643 Tue Aug 17 22:24:47 1999 George Lebl <jirka@5z.com>
1645 * src/lexer.l,src/parse.y: don't use reserved words for check type
1648 * src/{lexer.l,parse.y,tree.[ch],main.c}: add #line's to output
1651 * src/out.[ch]: new functions for output so that we can easily add
1654 * src/main.c: fix get/set arguments
1656 * doc/gob.1.in: updated for newer version and spellchecked, also
1657 gob.1 is generated by configure now to get versions correct
1659 * gob.spec.in: added a spec file
1661 Fri Jul 30 02:19:05 1999 George Lebl <jirka@5z.com>
1663 * src/parse.y: accept simple char types
1665 * src/main.c: make prototypes look better, and don't output arg stuff
1666 when it won't be used
1668 * Makefile,src/Makefile: add test make target