X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/dd11885aadcfaafae2d6268c381b0aac94cbc149..69c350c69e70bddb040dfc5d90b0368376a6389e:/ChangeLog diff --git a/ChangeLog b/ChangeLog index da67a18..e6c85fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,624 @@ +Mon Jul 15 13:05:18 2002 George Lebl + + * Release 2.0.0 + + * */Makefile.am: add '.' to SUBDIRS to silence a stupid version + of bash + +Mon Jul 15 12:54:30 2002 George Lebl + + * configure.in: raise version to 2.0.0 + + * examples/*: update examples and readme. Remove old, bad examples + + * doc/gob2.1.in: update for gob2 + +Wed Jul 10 11:10:37 2002 George Lebl + + * doc/gob2.1.in: update the docs a bit. Still not finished. + +Tue May 28 12:09:56 2002 George Lebl + + * Release 1.99.3 + +Tue May 28 11:59:18 2002 George Lebl + + * src/Makefile.am: some compilation voodoo + + * src/main.c: Special case GtkEditable and GTypePlugin since + those end in Class, and all other interfaces should end in + Iface. Long live code consistency! + + * src/main.c: use g_signal_emitv instead of g_signal_emit. This + will allow us to once again have default returns and all that + fun stuff. It should also slightly reduce emission overhead. + +Mon Apr 15 09:55:29 2002 George Lebl + + * README, COPYING.generated-code, Makefile.am: Add LGPL license + for generated code and clarify this in the README. Meant to do + this a long time ago, and told everyone that who asked. Now + it's in writing. + +Sun Apr 14 19:12:02 2002 George Lebl + + * src/parse.y: apply patch from Dennis Bjorklund + to fix export accessors function + +Fri Feb 01 15:19:07 2002 George Lebl + + * Release 1.99.2 + +Fri Feb 01 01:42:09 2002 George Lebl + + * src/main.c: get rid of the old way of doing typesafe signal + connection and make a new way where there are full connect + macros for connect, connect_after and connect_data for each + signal. A bit more heavy weight (only at compile time), but + it actually works, and is cleaner really. + +2002-01-22 Bastien Nocera + + * src/main.c: (make_arguments): move the get_ and set_property before + parameters settings to work with latest glib + +Fri Jan 18 14:21:22 2002 George Lebl + + * src/treefuncs.(def|c|h), src/parse.y, src/lexer.l, src/main.c: + Implement GError definitions. + +Thu Jan 17 02:39:02 2002 George Lebl + + * gob2.m4: fix version check + + * configure.in, src/Makefile.am: some build fixes and raise version + +Thu Jan 10 22:05:42 2002 George Lebl + + * src/parser.y, src/lexer.l, src/main.c, src/Makefile.am, + src/test.gob, src/treefuncs.(def|c|h): Implement using of + interfaces. That is, you can now implement interfaces on your + objects. You still can't define interfaces, that's step two. + +Sun Dec 30 18:25:25 2001 George Lebl + + * src/main.c: Apply patch from Josh Parsons , + to fix some code generation + + * src/parse.y: Be anal in linking string properties. + +Thu Dec 20 17:39:32 2001 George Lebl + + * src/main.c: Apply patch from Josh Parsons + to enhance the m4 support, fix init function generation and + correctly include glib-object.h. Massage it a bit further as + well. + +Mon Nov 05 11:45:46 2001 George Lebl + + * src/lexer.l, src/parser.y, src/main.c, src/treefuncs.def: + Add flags and enum creation code, so you can do things in + a more gob like manner rather then the glib-mkenums setup. + +2001-10-27 Seth Nickell + + Make BonoboObject stuff work, almost as much fun as + blowing goats and twice as messy. Built code still + requires a patch to libbonobo to run (changing the + name of the TYPE macro to fit w/ GNOME standards), + so retaining a warning that BonoboObject doesn't + really work (oh, but it does :-) + + * configure.in: + + Make sure to substitute YFLAGS so you don't get undefined + crap when you use @YFLAGS@ in Makefile.am. + + * src/main.c: (add_bonobo_object_get_type) + + Add a GObject type function for BonoboObject stuff. + + * src/main.c: (make_bonobo_object_epv) + + Append self_ to function call as per gob2. + + * src/main.c: (add_inits), (print_class_block) + * src/parse.y: + * src/treefuncs.c: (ensure_quarks), (copy_class), (copy_method), + (free_class), (setv_class), (setv_method): + * src/treefuncs.def: + * src/treefuncs.h: + + Change to using BonoboObject rather than BonoboXObject. + + * examples/foo-some-interface.c + + Update to work with GOB2 with BonoboObjectTechnology(TM). + +2001-10-26 Seth Nickell + + * src/Makefile.am: + + Add top_srcdir to the include flags to pick up config.h + on my system. + +Sat Oct 20 17:40:58 2001 George Lebl + + * src/Makefile.am: a few fixes + +Sat Oct 20 16:59:19 2001 George Lebl + + * src/lexer.l, src/main.c, src/Makefile.am: Apply m4 preprocessing + patch by Josh Parsons + +Sat Sep 29 17:00:39 2001 George Lebl + + * doc/Makefile.am: update + +Sat Sep 29 16:44:13 2001 George Lebl + + * doc/gob2.1.in: update a tad and add a note that the manual + is now out of date + +Sat Sep 29 16:33:57 2001 George Lebl + + * gob2.spec.in: update for gob2 + +Fri Sep 28 17:39:57 2001 George Lebl + + * **/*: Merge from gob-2 to HEAD + +Fri Sep 28 17:08:19 2001 George Lebl + + * configure.in, gob2.spec.in, gob2.m4, doc/gob2.1.in, Makefile.am, + doc/Makefile.am: rename rest of files for gob2 + + * src/main.c: minor cleanup + +Thu Sep 27 21:56:17 2001 George Lebl + + * src/generate_treefuncs.pl, src/treefuncs.def, src/parse.y, + src/main.c: Revamp the tree funcs stuff to be saner and cooler, + and fix some crashes and other things related to this. + + * src/parse.y, src/lexer.l, src/main.c, src/util.[ch], + src/checks.[ch], treefuncs.def: Add properties (GParam), fix + C++ generation, add GET_NEW_VARG, whack the propname alias for + arguments setters/getters (they're deprecated anyway) + + * src/test.gob: update tests + +Sun Sep 16 13:07:37 2001 George Lebl + + * src/main.c: replace GOB_ prefix for local functions with + self_. This makes much more sense. + +Sun Sep 16 12:43:24 2001 George Lebl + + * src/lexer.l, src/parse.y, src/main.c, src/treefuncs.(def|c|h), + src/util.[ch], src/test.gob: Add syntax for properties (GParam + or whatever you call these:). The code behind them is not yet + there though. + +Sun Aug 12 16:15:46 2001 George Lebl + + * src/main.c, src/parse.y, src/test.gob, src/util.c: Things now + make compilable objects, including with signals, how well it + works I don't know. cpp support seems broken in glib mostly. + +Sat Jun 30 15:01:26 2001 George Lebl + + * Applied the following from HEAD + + Sat Jun 30 14:57:37 2001 George Lebl + + * doc/gob.1.in: add documentation for (export) + + Tue Jun 26 15:54:08 2001 George Lebl + + * src/Makefile.am: add built sources to EXTRA_DIST + + 2001-06-24 Mark Brown + + * src/main.c: Default to PRIVATE_HEADER_ONDEMAND rather than + PRIVATE_HEADER_ALWAYS as per documentation. + + * doc/gob.1.in: Fix cut & paste error in object_{get,set} + examples. + + Sat Jun 09 13:38:53 2001 George Lebl + + * src/parse.y: was freeing the wrong token + + 2001-06-03 Eskil Heyn Olsen + + * examples/my-person.gob: + Fixed some comments + + * examples/test-export.gob: + File that tests the (export) keyword. + + * src/parse.y: + Added a (export) keyword to argument, so gob will + autodefine the my_object_[get|set]_var functions. + +Sun May 13 02:45:43 2001 George Lebl + + * src/main.c: revert the GET_NEW_VARG since it just won't work + with non-gcc systems + +Sun May 13 02:31:52 2001 George Lebl + + * src/main.c: add GET_NEW_VARG macro/static func (for non-gcc) + and add TYPE_SELF macro + +Sun May 13 02:02:47 2001 George Lebl + + * src/util.c: patch from Frederic Crozat + to fix warning + +Sat Apr 21 20:06:10 2001 George Lebl + + * examples/Makefile.am, examples/README, + examples/GNOME_Foo_SomeInterface.idl, + examples/foo-some-interface.gob: Add an example for BonoboXObject + +Sat Apr 21 19:33:08 2001 George Lebl + + * configure.in: Raise version to 1.0.9 + + * src/lexer.l: Properly check major version requirements (majors + must match in the requires line) + + * src/parse.y, src/main.c, src/treefuncs.(def|c|h), src/checks.c: + Add direct BonoboXObject support + + * src/parse.y: fix the chunks usage + + * doc/gob.1.in: document BonoboXObject stuff, fix the bugs section + wrt gtk-doc which has been supported for quite some time + +Sat Apr 14 00:11:50 2001 George Lebl + + * configure.in: compile with glib 2.0 + + * src/test.gob, src/Makefile.am: make the test glib pure, or mostly + so + + * src/lexer.l: added fixme + + * src/main.c: work on signals a little bit + +Fri Apr 13 21:23:19 2001 George Lebl + + * src/checks.[ch], src/lexer.l, src/main.c, src/parse.y, + src/treefuncs.[ch], src/treefuncs.def: Work on gobject support, + based on the patch Sven sent me. Also do add unref as well as + destroy handlers to vars, and moved the destructors to finalize and + unreffers to shutdown. This all compiles, but that doesn't mean it + makes usable objects. + +Fri Apr 13 17:45:14 2001 George Lebl + + * src/parse.y, doc/gob.1.in: Fix a problem found by Eric Kidd + , where objectlink was not completely + refcounting safe. Could underref if you set the same object. + +Sat Mar 31 00:24:58 2001 George Lebl + + * src/main.c: fix crash with marshallers of signals with a return + type and no arguments. + +Sun Mar 04 19:14:03 2001 George Lebl + + * src/main.c, src/checks.c, src/util.[ch]: Remove the underscore + hack, remove the 1.2 code from the 1.3 compat hacks, make all + short names start with GOB_. Start of the direct GObject + support, gob compiles, but it will not create useful object + files yet. + +Tue Feb 27 06:14:59 2001 George Lebl + + * configure.in, src/Makefile.am, README: this is the gob-2 branch + for GObject support + +Tue Feb 27 00:53:41 2001 Jonathan Blandford + + * README: Use my new-found maintainer status!!! The power! + +Sun Feb 25 17:17:46 2001 George Lebl + + * Release 1.0.7 + +Sun Feb 25 16:57:45 2001 George Lebl + + * src/main.c, src/checks.c: to make doing BonoboXObjects possible + allow overriding the _get_type function. + + * doc/gob.1.in: document the above + +Sun Feb 11 16:33:07 2001 George Lebl + + * Release 1.0.6 + +Sat Feb 10 18:42:59 2001 George Lebl + + * src/Makefile.am: fix the build + +2001-02-08 Maciej Stachowiak + + * src/Makefile.am: Remove BUILT_SOURCES stuff; Automake knows how + to handle .l and .y files directly, and including the .c files as + well was making it fail to link as it would try to link in lexer.o + and parse.o twice. + +Thu Feb 08 02:43:22 2001 George Lebl + + * src/main.c: add signal connection typesafety macros + + * src/test.gob, doc/gob.1.in: new stuff foo + + * configure.in: raise version + +Thu Feb 08 01:42:52 2001 George Lebl + + * src/Makefile.am: rule for parse.h includes parse.c, and + SOURCES include BUILT_SOURCES + +Tue Dec 26 11:03:44 2000 George Lebl + + * src/main.c: Remove ## from the varargs macro stuff, as it's not + needed and causes trouble for newer gcc's (like in rh7) + +Sun Sep 10 18:04:07 2000 George Lebl + + * Release 1.0.5 + +Fri Sep 01 03:45:30 2000 George Lebl + + * src/main.c: add G_GNUC_CONST to the _get_type function + +Wed Aug 23 15:05:40 2000 George Lebl + + * src/main.c: when a method has no arguments make an argumentless + macro for the shortform to avoid a parse error + + * src/test.gob: add a test for the above + +Sun Aug 6 22:21:38 2000 Eskil Heyn Olsen + + * gob.m4 now defaults to WARN instead of ERROR on missing + gob. + +Tue Jul 25 16:54:34 2000 George Lebl + + * Release 1.0.4 + + * configure.in: raise version to 1.0.4 + + * src/main.c: fixup the -anal macro patch. + + * src/util.[ch], src/main.c: constize (not in 1.0.4) + + * src/main.c: the short form pointers unified for both gnu and non-gnu + (not in 1.0.4) + +Sun Jul 23 18:51:45 2000 George Lebl + + * src/util.[ch], src/main.c, src/checks.c, src/lexer.l, src/parse.y: + make new cleaner error print routines including a printfstyle one. + Use the get_real_id on all method ids even for overrides. When a + signal is added there is also a sizeof check for the signature vs. + argument list with a g_error if it fails. Fix %at{ %} to not + appear twice in all files. + + * src/main.c: Apply patch from Arturo Tena to make things compile + nicely with gcc's -ansi -pedantic + + * src/out.[ch]: constize correctly and use G_GNUC_PRINTF macro for + warnings. + +Fri Jul 21 15:38:10 2000 George Lebl + + * src/main.c: store the private structure pointer so that we + don't look inside the freed object structureafter finalize + +Thu Jul 06 02:32:29 2000 George Lebl + + * Release 1.0.3 + +Wed Jul 05 19:37:20 2000 George Lebl + + * src/{main.c,parse.y}: couple of cleanups, and fixup the gtk 1.3 + support + +Wed Jul 05 18:57:13 2000 George Lebl + + * src/{checks.c, main.c, parse.y, test.gob}: Apply and fix up patch + from Bas van der Linden that adds the ability + to use const on the "self" argument as well. Also adds a CONST + casting macro to use. + + * src/main.c: Fix a memory leak when destroy wasn't overriden and + destructors were added, it now properly calls the parent handler. + Same with finalize. + + * src/main.c: Spit out some macro magic foo to hopefully make it + possible to compile objects with GTK+ 1.3/2.0 + + * doc/gob.1.in, examples/*.gob: We should never do + GTK_OBJECT(GET_NEW) as that's a memory leak due to some weird + GTK_OBJECT() semantics + +Fri Jun 30 14:08:53 2000 George Lebl + + * Release 1.0.2 + +Fri Jun 30 13:11:05 2000 George Lebl + + * doc/gob.1.in: add doc for --always-private-struct + + * src/main.c: fix output of --help. Also print __GOB_FUNCTION__ + for inits and for get/set_arg. And print the get_real_id to + avoid the underscore. + +Mon Jun 26 00:06:45 2000 George Lebl + + * src/parse.y: for stringlink, dup the string on argument + getting + + * doc/gob.1.in: update documentation to the above change + +Sun Jun 25 03:34:02 2000 George Lebl + + * src/treefuncs.def, src/main.c, src/utils.[ch], src/parse.y: sane + parsing of const. Get rid of "stars" integer and just use a + "pointer" string. Also the types in general are more sanely parsed, + thus recognizing hopefully all legal (and some illegal) C types. + + * src/checks.[ch], src/main.c: checks the argument type to be one we can + truly check. + + * src/treefuncs.def, src/main.c, src/parse.y, src/lexer.l: Apply + patch from Bas van der Linden that adds the + possibility to use chunks to allocate objects. + + * src/main.c: Apply patch from Bas van der Linden + to add a __GOB_FUNCTION__ define to each function + + * src/Makefile.am, src/main.c, src/lexer.l, src/generate_treefuncs.pl: + avoid and fix warnings, and compile with all warnings + + * src/main.[ch]: add an --always-private-struct option to always put + in the private pointer, even if there are no private members. + + * src/test.gob: add some more tests for new stuff + +Wed Jun 07 15:03:18 2000 George Lebl + + * Release 1.0.1 + +Wed Jun 07 14:41:24 2000 George Lebl + + * configure.in, doc/gob.1.in: updates + +Mon Jun 05 12:10:46 2000 George Lebl + + * doc/gob.1.in: run through ispell, and fix option stuff to produce + nicer html output with groff + +Thu Jun 01 18:12:13 2000 George Lebl + + * src/main.c: Make the private header switches work again. + +Wed May 31 01:50:25 2000 George Lebl + + * Release 1.0.0 + +Wed May 31 01:47:23 2000 George Lebl + + * src/gob.1.in: documentation of makefile rules for gob. + +Tue May 30 11:02:36 2000 George Lebl + + * src/lexer.l: Accept identifiers in array dimensions, this is so + that you can make these some constants. + +Sat May 20 18:22:33 2000 George Lebl + + * Release 0.93.5 + +Sat May 20 18:22:23 2000 George Lebl + + * src/{main.c,checks.[ch]}: check for duplicate overrides, it is + different from checking symbol names as they don't conflict with + other symbols AND they only conflict if both the name and their + type match + +Sat May 20 16:38:06 2000 George Lebl + + * src/{main.[ch],util.[ch],checks.c}: Add underscore removal for + non-override methods. This means that local aliases will include + prepended underscores, but when the full name is generated, or + when the method name is added to class structure, the underscore + is removed. + + * src/checks.c: overrides no longer checked for uniqueness, a more + complex logic is needed. + + * src/{main.c,treefuncs.def,parse.y}: override naming is done + with a unique id, so that we handle cases where two classes have + the same method name. + + * doc/gob.1.in: update for the above. + +Sat May 20 14:42:00 2000 George Lebl + + * src/main.c: the private structure is now freed in finalize again and + thus do the same dance around finalize as we do around destroy. + Clean up some code. NULL all things being destroyed. The arbitary + destructor uses memset as those things might not be just pointers. + +Thu May 11 23:48:44 2000 George Lebl + + * src/main.[ch]: provide the Self and SelfClass typedefs in addition + to SELF, IS_SELF, SELF_CLASS macros. All of these can now be + disabled with the --no-self-alias option + + * doc/gob.1.in: update + + * configure.in: raise version + +Tue May 09 23:18:16 2000 George Lebl + + * src/parse.y: fix segfault on parse error and give better error + message + +Tue May 09 21:54:10 2000 George Lebl + + * doc/gob.1.in, src/main.c: Add destruction code into the destroy + handler rather then finalize. Setup an extra function if + neccessary to handle returns correctly as this must be called + after any user code. + +Sat Apr 29 14:41:42 2000 George Lebl + + * Release 0.93.4 + +Sat Apr 29 14:40:40 2000 George Lebl + + * src/checks.c: code prettification + + * src/lexer.l, src/parse.y, src/test.gob: change "class" scope to + "classwide" scope, not to overload the class keyword + + * src/main.[ch]: make private header files be generated by default, + and cleanup that part a bit + + * doc/gob.1.in: add documentation of classwide + + * NEWS: + +Fri Apr 21 17:15:09 2000 George Lebl + + * src/main.c: add spaces after commas + + * src/lexer.l, src/main.c, src/parse.y: add class scope variables + which are put into the class structure + + * src/test.gob: added a test for class variables + + * src/treefuncs.def: added CLASS_SCOPE + + * src/treefuncs.h: regenerated + +Mon Apr 17 20:13:47 2000 George Lebl + + * src/parse.y: on objectlink instead of just ref, do ref/sink. + Sat Apr 15 23:07:30 2000 George Lebl - * Released 0.93.3 + * Release 0.93.3 Sat Apr 15 22:42:20 2000 George Lebl @@ -625,7 +1243,7 @@ Sun Sep 05 21:45:54 1999 George Lebl Sun Sep 04 17:44:37 1999 George Lebl - * Released 0.90.1 + * Release 0.90.1 Sat Sep 04 17:18:22 1999 George Lebl @@ -678,7 +1296,7 @@ Thu Aug 19 03:08:49 1999 George Lebl Wed Aug 18 12:54:17 1999 George Lebl - * Released 0.0.3 + * Release 0.0.3 Tue Aug 17 22:24:47 1999 George Lebl