Fri Jun 30 14:15:19 2000 Mark Fasheh <mfasheh@valinux.com> * Completed initial translation of external interface to glib. * Restructured directory layout slightly. All source and headers files are now located under src/ and all man pages are under doc/ * Removed build dependency on man pages (it was giving me errors, and I didn't see why you need them to make the package anyways -- though they can be usefull!) Wed Jul 5 18:31:22 2000 Mark Fasheh <mfasheh@valinux.com> * Refined translation of external interface. * Fixed a bug in the autoconf setup which didn't carry over the glib flags into the appropriate Makefile. * Began translating ppd_load into ppd_file_new. This is a 700 line function which references several other functions, so this may take awhile. * Added a '.indent.pro' file. Outside hackers should run the code through indent before submitting patches. * Started removing the 'safe_free' macro (and any references to it) from ppd.c; we don't need it if everything's going to use g_malloc anyways. * Added myself to the AUTHORS file. Thu Jul 6 18:50:26 2000 Mark Fasheh <mfasheh@valinux.com> * Continued translation of ppd_file_new* functions. There's only about 150 lines left to go... * Translated all other functions in ppd.c with the exception of ppd_file_new* and ppd_free. Fri Jul 7 18:36:48 2000 Mark Fasheh <mfasheh@valinux.com> * Completed translation of ppd.c. Still need to work out the debuging function though. That part of the library compiles now. * Added a file 'doc/new-functions-map' which should provide some guidance for anyone moving over to the new libppd namespace. * Fixed a few bugs in the autoconf setup. Specifically, src/Makefile.am was not passing the glib LIB flags to gcc properly. * Fixed a few bugs in ppd.h. Mostly a couple of typos and incorrect declarations. * Put the proper licensing information at the top of ppd.c and ppd.h. * Updated the AUTHORS file to include a reference to the CUPS people. Also added information on who did what, etc. Mon Jul 10 19:19:05 2000 Mark Fasheh <mfasheh@valinux.com> * Expanded GLIB_LIBS flags to every target in Makefile.am. * Redefined CFLAGS in configure.in to compile with gdb debugging information, and Wall. * Added functions ppd_find_option_by_keyword, ppd_get_page_size, ppd_find_choice to mark.c, and page.c. * Fixed parts of the debugging functionality in ppd.c, specifically, parts of ppd_debug_dump_ppd. * Recoded dumpppd.c, dumpppd now reflects the new function names, and can take any number of arbitrary ppd files on the command line. * Fixed several bugs in the ppd_file_new_from_filep function that prevented it from completing it's task. There are still some more to fix. * Added autoconf check for beer in libfridge. Tue Jul 11 18:52:05 2000 Mark Fasheh <mfasheh@valinux.com> * Fixed bug in ppd_file_new_from_filep; The string variable wasn't being set to NULL after being free'd. * Refined some of the code in ppd.c. Wed Jul 12 18:36:09 2000 Mark Fasheh <mfasheh@valinux.com> * Fixed several bugs in ppd_file_new_from_filep. The dumpppd program now provides a usefull dump of all the test ppds. * Finished reworking ppd_debug_dump_ppd function * Rewrote ppd_get_option to be cleaner and more efficient. As an added bonus, this wound up fixing several bugs in that portion of the code! * Added an inline function in ppd.c: str_rep; this takes a GString and returns it's char *, or "NULL". This is very usefull in ppd_debug_dump_ppd when it wants to conditionally print out a GString value. Thu Jul 13 18:59:02 2000 Mark Fasheh <mfasheh@valinux.com> * Finished converting and refining page.c. All functions located in that file now reflect the new api. * Finished converting and refining mark.c. See right below for a list of the new functions. * Put new licensing information in page.c and mark.c. * Added/Converted the following functions to the new namespace: ppd_get_num_conflicts ppd_check_option_is_marked ppd_mark_defaults ppd_mark_option ppd_find_choice ppd_find_marked_choice ppd_get_page_length ppd_get_page_width * Fixed a few minor compiler warnings I had missed in ppd.c Fri Jul 14 11:22:58 2000 Mark Fasheh <mfasheh@valinux.com> * Removed the 'bug1' files, and all references to it from Makefile.am * Incremented the version number to 0.5 in configure.in * Updated some of the man pages in the doc/ dir to reflect the changes made to libppd. This specifically includes the following changes: - Moved ppd_free.3 to ppd_file_free.3 and changed all references to reflect the new namespace. - Moved ppdFindChoice.3 to ppd_find_choice.3 and changed all references to reflect the new namespace. - Moved ppdConflicts.3 to ppd_get_num_conflicts.3 and changed all references to reflect the new namespace. - Moved ppd_load.3 to ppd_file_new.3 and changed all references to reflect the new namespace. * Fixed a typo in ppd.h: PpdChoice->option should be a PpdOption * and not a void * Mon Jul 17 18:09:57 2000 Mark Fasheh <mfasheh@valinux.com> * Finished rewrite of emit.c. The whole library should compile now, and it's ready for bug testing. * Changed interface definition of ppd_emit functions. They should all return a gboolean now. Tue Jul 18 17:40:49 2000 Mark Fasheh <mfasheh@valinux.com> * Everything I've done should now be available as cvs (HEAD). All old stuff is tagged as libppd-0-4 * Updated the man page for ppd_emit*. Also, the new file should be ppd_emit_to_file.3 * Updated the man page for ppdIsMarked. The new file is ppd_check_option_is_marked.3, and should reflect the new api. * Updated the man page for ppdPageLength. The new file is ppd_get_page_length.3, and should reflect the new api. * Began work on a typecasting/typechecking system. Some of the new code can be found in files ppdmacros.h and init.c. The code still needs to be completed, and integrated. Wed Jul 19 18:08:25 2000 Mark Fasheh <mfasheh@valinux.com> * Added constructor functions for all the classes (except PpdFile, which already had one). * Finished work on typechecking and typecasting macros. See ppdmacros.h for more details. * Added a quick test program testmacros.c just to make sure the macros worked. * Replaced all manual typecasts in libppd sources with my new macros. * Moved pstops.c to ppdfilt.c; Ben tells me that the CUPS people don't want any more namespace collision, so we're going to just call it ppdfilt from now on. * Moved cups.h to ppdfilt.h. * Modified the Makefile.am to build the all the new stuff. Of interest is the addition of '-DG_LOG_DOMAIN=\"LibPPD\"' to the INCLUDES variable. This is necesarry for g_log* calls to show that they're coming from libppd. This should not be #define'd in any files (ask the glib people why!). Thu Jul 20 17:48:43 2000 Mark Fasheh <mfasheh@valinux.com> * Quickly changed calls to 'mktemp' in cupsTempFile to 'mkstemp' as a quick ?fix? to some security issues. * Copied over old contents of options.c in order to facilitate porting of ppdfilt over to the new libPPD. * Began conversion of ppdfilt.h, and ppdfilt.c (and therefore, options.c). I'm not done yet. As such, the library will not quite compile, so if you want it to compile, just replace options.c, ppdfilt.h, and ppdfilt.c with empty files (actually, you'll have to put a 'main' in ppdfilt.c. It's pretty messy in these files, and I don't know how much prettier I can make it without spending alot of time redoing things... Fri Jul 21 16:01:04 2000 Mark Fasheh <mfasheh@valinux.com> * Completed converting ppdfilt.c and options.c. * Thanks to Matthew Helsley (larva@linux.ucla.edu) for sending me a small patch which fixed some compiler warnings. * Hacked around the Makefile.am's, trying to get everything installing correctly. * Removed files we don't need anymore, like ipp.h and exstring.h, also, I removed any remaining references to these files... * Fixed the licensing information in options.c * Readded the .spec files from our previous version * Made some minor adjustments to the .spec files, which still need a little work though. Tue Jul 25 15:48:41 2000 Mark Fasheh <mfasheh@valinux.com> * Fixed up the autoconf/automake stuff; everything compiles and installs now. * Fixed the .spec files; it is possible to make RPMS and SRPMS now.