X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/b17287deb56775a49030d738d8c8c0e9cd15f9fe..c9d96fcfcf9b74099775a3a260eccdfdc31474c7:/ChangeLog diff --git a/ChangeLog b/ChangeLog index f95e8ed..ff9feb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,390 @@ +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 + + * Release 0.93.3 + +Sat Apr 15 22:42:20 2000 George Lebl + + * src/main.c: fixes for ANSI C and C++. Just use GTK_VALUE_POINTER + instead of GTK_VALUE_OBJECT so that we don't have to cast and don't + cast lvalues. + +Sat Apr 15 22:09:49 2000 George Lebl + + * src/main.c: use the generic return type in signal marshallers + rather then the specific one as the marshallers are truly generic + +Sat Apr 15 21:52:52 2000 George Lebl + + * src/main.c: fix some typesafety braindamages with OBJECT types + in arguments by casting GTK_VALUE_OBJECT to gpointer. Also + for seting arguments cast the ARG to atype if it exists + +Wed Apr 05 13:42:28 2000 George Lebl + + * src/parse.y: never allow NONE to be used as one of many arguments, + always only by itself in the argument list + + * src/main.c: When printing out the signal marshaller prototype, + don't print out the NONE (void) into the argument list, thanks + to Soeren Sandmann for reporting that + +Mon Apr 03 13:07:33 2000 George Lebl + + * examples/Makefile.am: add my-person2.gob to EXTRA_DIST + +Sun Apr 02 18:09:40 2000 George Lebl + + * Release 0.93.2 + +Sun Apr 02 17:38:12 2000 George Lebl + + * src/Makefile.am: ass the .pl and .def file to EXTRA_DIST + +Sun Apr 2 14:37:49 PDT 2000 Manish Singh + + * configure.in: check for treefuncs.h instead of tree.h, since + the latter has gone bye-bye + +Sat Apr 01 23:27:47 2000 George Lebl + + * doc/gob.1.in: add documentation for defreturn + +Sat Apr 01 18:03:31 2000 George Lebl + + * src/{treefuncs.(def|c|h),generate_treefuncs.pl}: What would gob + be without some automatically generated code. The tree.[ch] was + hard to keep up and didn't have free/copy so these do, otherwise + it is the same. Also added a defreturn field to methods + + * src/*.[cyl]: include treefuncs.h rather then tree.h + + * src/{parse.y,lexer.l,main.c}: use the defreturn as the default for + return values of signals and virtual methods. If this is not + defined use the onerror or failing that '0'. onerror is also not + a reserved keyword anymore + + * configure.in: raise version + +Mon Mar 27 13:08:01 2000 George Lebl + + * Release 0.93.1 + +Mon Mar 27 12:04:22 2000 George Lebl + + * src/util.[ch], src/main.c: figure out if we really need the special + types, also make a hash for the gtk types instead of linear + searching it all the time. + + * src/{lexer.c,checks.c,main.c}: minor fixes and cleanups + +2000-03-21 Eskil Heyn Olsen + + * gob.m4: do not default GOB to no when not found (did that make + sense ?) + And better error message. + +Mon Mar 20 14:35:35 2000 George Lebl + + * src/lexer.l: handle single word typenames with an empty namespace + +Sun Mar 05 02:23:04 2000 George Lebl + + * src/main.c: add #lines around setting default handlers + + * src/parse.y: fix line number for 'destroywith' destructors + +Sat Mar 04 15:33:18 2000 George Lebl + + * src/checks.c: duplicate name test for arguments and signals is + case insensitive now as those could cause trouble + +Mon Feb 28 02:45:27 2000 George Lebl + + * Release 0.93.0 + +Sun Feb 27 20:59:45 2000 George Lebl + + * src/parse.y,doc/gob.1.in: For stringlink, just return a pointer on + get rather then strduping as that is 1) consistent with objectlink + and 2) more flexible. + +Sun Feb 27 20:38:19 2000 George Lebl + + * src/{main.c,tree.[ch],parse.y}: add the arbitrary destruction handler + for data members + + * doc/gob.1.in: updated and fixed up + + * configure.in,NEWS,examples/{README,my-person2.gob}: change version + to 0.93.0 + +Sun Feb 27 18:37:57 2000 George Lebl + + * NEWS,doc/gob.1.in,examples/{README,my-person.gob,my-person2.gob}: + update of docs and examples to include the new features and minor + fixups + +Sun Feb 27 04:41:41 2000 George Lebl + + * src/main.c: make the output nicer for classes with no methods + better typechecking in get/set_arg, fix a couple of C++ issues, + + * src/{main.c,parse.y,tree.[ch]}: automatic linking of arguments to + data members. Also alow empty statements inside a class. Also + add automatic data member destruction for pointer data, and + automatic initialization for any data member. + + * src/main.[ch],src/out.c: add --no-lines which inhibits printing + of #line things to output files + + * doc/gob.1.in: update for the above + Fri Feb 25 15:21:47 2000 George Lebl * Release 0.92.4 @@ -484,7 +871,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 @@ -537,7 +924,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