12007-05-25 Ales Hvezda <ahvezda@geda.seul.org> 2 3 * configure.ac: Updated version to 20070526 in prep for the next 4 release. Also changed shared library's version number to 29:0:0. 5 62007-05-13 Ales Hvezda <ahvezda@geda.seul.org> 7 8 * src/o_text_basic.c: Fixed a memory leak reported by Peter Brett 9 (found using valgrind). Thanks. 10 112007-04-28 Stuart Brorson <sdb AT cloud9 DOT net> 12 * src/o_attrib.c, src/o_complex_basic.c, src/s_tile.c: 13 made changes to o_attrib_slot_update and 14 o_attrib_search_pinseq to enable searching slotted parts 15 by pinseq. Added o_complex_count_pins as part of project. 16 172007-04-22 Peter Brett <peter@peter-b.co.uk> 18 * src/o_box_basic.c: Fix some unused variable warnings in libgeda. 19 20 In a recent patch libgd was disabled by default (i.e. HAS_LIBGD 21 was unset by default). This exposed some variable declarations 22 which should have been #ifdefed out, but weren't. Although most 23 were later cleared up, some were missed. 24 252007-04-21 Mike Jarabek <mjarabek@sentex.ca> 26 27 * src/f_print.c: 28 - Added %%Orientation to DSC block in PS output, fixing SF#1680214. 29 302007-04-21 Carlos Nieves Onega <cnieves (AT) iespana (DOT) es> 31 32 * src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 33 src/o_pin_basic.c: 34 - Put unused variables inside #ifdef HAS_LIBGD. 35 - Reverted the patch below. Those variables are used when 36 compiling with libgd. 37 - Removed unused variables. 38 39 * configure.ac: Don't enable libgd by default. 40 This makes gdk-pixbuf the default library for png output. 41 422007-04-21 Peter Clifton <pcjc2@cam.ac.uk> 43 44 * src/m_basic.c: Fix visibility test in visible(..) for the case when the 45 object completely surrounds the screen clipping region. 46 47 * src/o_circle_basic.c: Tidy up dist() function in o_circle_basic.c 48 to be much more readable. 49 502007-04-17 Peter Clifton <pcjc2@cam.ac.uk> 51 52 Merge changes from noscreen 53 54 2007-16-06 Peter Clifton <pcjc2@cam.ac.uk> 55 56 * src/o_text_basic.c: Use o_text_recalc() to update bounds, as we don't 57 want to duplicate code. Fixes a bug where the bounds were reset manually 58 even with invisible text (causing uninitialised values to be stored in 59 for the object's bounds). Fixed o_text_recalc() to silently return 60 (rather than write uninitialised values) if no bound was found for the 61 text object's prim_objects. 62 63 2007-12-06 Peter Clifton <pcjc2@cam.ac.uk> 64 65 * src/f_image.c, src/f_print.c, src/g_smob.c, src/o_complex_basic.c, 66 src/o_pin_basic.c: Replace incorrect use of world_get_complex_bounds() 67 with world_get_object_list_bounds(). Changed o_complex_recalc() to 68 (correctly) use world_complex_get_bounds(). Fixed up documentation in 69 g_smob.c to reflect the current bounds code. 70 71 2007-04-06 Peter Clifton <pcjc2@cam.ac.uk> 72 73 * src/a_basic.c: Fix bounds for embedded objects as they are loaded from 74 file. This places a call to o_complex_recalc() in o_read(), which is 75 not great from an encapsulation point of view, but is the neatest solution 76 with the current method of loading embedded objects. 77 78 2007-03-26 Peter Clifton <pcjc2@cam.ac.uk> 79 80 * include/prototype.h, src/o_arc_basic.c, src/o_basic.c, src/o_box_basic.c, 81 src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 82 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c: Pass OBJECT instead 83 of derived type into world_get_..._bounds(). Modifed objects to include 84 the drawn line width when calculating bounds. Set OBJECT->line_width to 85 {NET|BUS|PIN}_WIDTH as appropriate in o_{net|bus|pin}_add(). Replaced 86 copied code in world_get_{net|pin|bus}_bounds() with calls to 87 world_get_line_bounds(). Added call to o_recalc_single_object() in 88 o_set_line_options() to keep line width up-to-date with editing. 89 90 * libgeda/include/struct.h, src/s_toplevel.c: Added variables 91 to support (select-slack-pixels #) rc keyword. 92 93 2007-03-24 Peter Clifton <pcjc2@cam.ac.uk> 94 95 * src/o_complex_basic.c: Convert world_get_complex_bounds() to 96 be a wrapper around world_get_list_bounds(). Based upon a patch 97 by Patrick Bernaud which did the same for get_complex_bounds(). 98 99 * src/o_pin_basic.c: Re-write the bounds checking in o_pin_update_whichend() 100 to be more robust 101 102 * src/o_complex_basic.c: Modify world_get_single_object_bounds() to 103 use cached bounds where possible. Text objects are special-cased 104 to determine if they are visible. 105 106 * src/o_complex_basic.c: Add call to o_complex_recalc() in o_complex_add() 107 to cache bounds. 108 109 2007-02-25 Peter Clifton <pcjc2@cam.ac.uk> 110 111 * include/prototype.h, src/o_arc_basic.c, src/o_box_basic.c, 112 src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 113 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c, 114 src/o_text_basic.c: Removed get_..._bounds() functions. 115 116 * include/prototype.h, src/o_arc_basic.c, src/o_box_basic.c, 117 src/o_bus_basic.c, src/o_circle_basic.c, src/o_complex_basic.c, 118 src/o_line_basic.c, src/o_net_basic.c, src/o_picture.c, 119 src/o_pin_basic.c, src/o_text_basic.c: Switched over to 120 caching world rather than screen coordinates 121 122 * include/struch.h, src/s_basic.c: Removed screen coordinates from 123 object datastructures, and renamed variables storing cached 124 bounds with prefix w_ to differentiate their world coord usage. 125 Changed s_basic.c to initialise all these variables to zero. 126 127 * src/o_text_basic.c: Added call to o_text_recalc() to 128 o_text_recreate(), since we should automatically keep 129 all cached coordiantes up to date. 130 131 * src/o_arc_basic.c, src/o_box_basic.c, src/o_bus_basic.c, 132 src/o_circle_basic.c, src/o_complex_basic.c, src/o_line_basic.c, 133 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c: Tidied 134 world_get_..._bounds() functions to use simple min() max() 135 implementations where appropriate. Fixed world_get_arc_bounds() 136 to have same semantics as the other functions, IE. top and bottom 137 swapped to give bottom > top numerically. 138 139 * src/o_arc_basic.c, src/o_box_basic.c, src/o_bus_basic.c, 140 src/o_circle_basic.c, src/o_line_basic.c, src/o_net_basic.c, 141 src/o_pin_basic.c: Modified PNG export routines to calculate 142 coordinates directly from object world coords. 143 1442007-04-06 Carlos Nieves Onega <cnieves@iespana.es> 145 146 * src/g_smob.c: make g_get_object_type scheme function return 147 a character instead of a string. 148 149 * include/o_types.h, include/prototype.h, src/g_register.c, 150 src/libgeda.c : 151 152 Register the OBJ_* object type definitions as scheme character 153 variables. 154 1552007-04-05 Carlos Nieves Onega <cnieves@iespana.es> 156 157 * include/prototype.h, src/g_smob.c: Added two new scheme functions: 158 159 - g_calcule_new_attrib_bounds: calcule the new bounds of an 160 attribute with the given parameters, _without_ modifying the 161 attribute. 162 163 - g_get_attrib_value_by_attrib_name: given an object and an 164 attribute name, this function returns a list with the values 165 of the attributes with the given name in that object. 166 1672007-02-24 Peter Clifton <pcjc2@cam.ac.uk> 168 169 Merge changes to date from noscreen branch. 170 171 2007-02-12 Peter Clifton <pcjc2@cam.ac.uk> 172 173 * include/prototype.h, src/o_arc_basic.c, src/o_basic.c, 174 src/o_box_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 175 src/o_picture.c: Removed o_object_recalc() and all calls 176 to it now the data it calculates is no longer used. 177 178 * src/m_basic.c: Remove implicit grid snapping in SCREENtoWOLRD() 179 180 2006-12-30 Peter Clifton <pcjc2@cam.ac.uk> 181 182 * include/prototype.h, src/o_basic.c: Changed variable names and 183 comments to function inside_region() to allow its use with world 184 coordinates without apparently swapping top and bottom (which have 185 different sense in screen and world coords. Now uses {x/y}{min/max}. 186 187 2006-12-27 Peter Clifton <pcjc2@cam.ac.uk> 188 189 * include/prototype.h, src/o_arc_basic.c, src/o_box_basic.c, 190 src/o_bus_basic.c, src/o_circle_basic.c, src/o_complex_basic.c, 191 src/o_line_basic.c, src/o_net_basic.c, src/o_picture.c, 192 src/o_pin_basic.c: Removed o_..._translate() functions which 193 are unused. 194 195 * include/prototype.h, src/o_arc_basic.c, src/o_box_basic.c, 196 src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 197 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c, 198 src/o_text_basic.c: Removed o_..._rotate() functions unused 199 since changing to world coordinates 200 201 * include/prototype.h, src/o_arc_basic.c, src/o_box_basic.c, 202 src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c, 203 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c, 204 src/o_text_basic.c: Removed o_..._mirror() functions unused 205 since changing to world coordinates 206 2072007-02-24 Werner Hoch <werner.ho@gmx.de> 208 209 * include/struct.h, src/s_page.c, src/s_toplevel.c: Removed unused 210 fields in PAGE and TOPLEVEL as well as functions for old (GtkCList 211 based) page manager. (Patch written by Patrick Bernaud) 212 2132007-02-14 Carlos Nieves Onega <cnieves@iespana.es> 214 215 * autogen.sh: Removed debug messages added on 2007-02-10. 216 2172007-02-11 Werner Hoch <werner.ho@gmx.de> 218 219 * src/s_toplevel.c: added missing toplevel inits (tshowwindow, ...) 220 2212007-02-10 Ales Hvezda <ahvezda@geda.seul.org> 222 223 * include/funcs.h: Removed quit_func since it is completely unused. 224 225 * include/prototype.h, src/f_basic.c, src/o_arc_basic.c: Fixed 226 a whole bunch of compiler warnings and work on [ 1620806 ] 227 various probably bugs and comments about them 228 229 * configure.ac: Bumped package version to 20070216. Also changed 230 shared library's version number to 28:0:0 231 2322007-02-10 Carlos Nieves Onega <cnieves@iespana.es> 233 234 * src/f_print.c: Make f_print_header return an error return value 235 if something goes wrong, and propagate it to the caller functions. 236 Unlink the file created by f_print_file if there is an error in 237 f_print_header. 238 239 * autogen.sh: Added automake version number check. 240 2412007-02-10 Mike Jarabek <mjarabek@sentex.ca> 242 243 * include/struct.h, src/o_text_basic.c, src/s_toplevel.c: Added 244 code to scale the output postscript font under user control. This 245 is controlled via the postscript-font-scale rc keyword. 246 2472007-02-10 Mike Jarabek <mjarabek@sentex.ca> 248 249 * src/f_print.c: Applied Wojciech Kazubski's patch for offset 250 printing orgins. Fixes bug #160757 251 2522007-01-16 Ales Hvezda <ahvezda@geda.seul.org> 253 254 * src/o_arc_basic.c: Applied patch by Peter Clifton to fix 255 the output of arcs when using libgd. 256 257 * src/Makefile.am: Applied patch by Peter Clifton to add --silent to 258 libtool. 259 2602007-01-08 Ales Hvezda <ahvezda@geda.seul.org> 261 262 * include/prototype.h, src/Makefile.am, src/o_embed.c: Moved 263 o_embed(...) and o_unembed(...) into o_embed.c so that gschlas 264 can also call these useful functions (to support scriptable 265 embedding and unembedding of components). 266 267 * src/.cvsignore: Oops, remove obsolete *.c rule that was causing 268 cvs to ignore new (but not added) C files. 269 2702006-12-26 Carlos Nieves Onega <cnieves@iespana.es> 271 272 * include/prototype.h, src/g_smob.c: 273 Added a new scheme function: get-page-filename, returning 274 the page filename of the given page. 275 2762006-12-21 Peter Brett <peter@peter-b.co.uk> 277 278 * include/prototype.h, src/o_selection.c: Update interface of 279 o_selection_print_all() to match other o_selection_*() functions. Pass 280 the GList by reference. 281 282 * include/prototype.h: Comment o_selection_select() and 283 o_selection_unselect() as deprecated (should only be used internally to 284 libgeda). 285 286 * include/prototype.h, src/o_net_basic.c, src/o_selection.c: 287 Update interface of o_selection_add() to match 288 o_selection_remove(). Pass the GList by reference so head can be 289 updated. 290 2912006-12-16 Ales Hvezda <ahvezda@geda.seul.org> 292 293 Merged Carlos' glist work via Peter Brett's patch sets to the trunk 294 295 2006-10-22 Carlos Nieves Onega <cnieves@iespana.es> 296 297 * src/s_page.c: Don't free objects in the complex place 298 list. It is only a reference to the objects in the page. 299 300 2006-10-21 Carlos Nieves Onega <cnieves@iespana.es> 301 302 * include/prototype.h, include/struct.h, src/o_basic.c, 303 src/o_complex_basic.c, src/o_list.c, src/o_net_basic.c, 304 src/o_selection.c, src/s_basic.c, src/s_page.c, Convert 305 the SELECTION list into a GList. Added new functions 306 o_recalc_object_glist, get_object_glist_bounds to 307 handle glists. 308 309 * include/prototype.h, src/o_basic.c: Rename o_recalc to 310 o_recalc_object_list, and make it to call a new function 311 o_recalc_single_object, for each object in the list. 312 313 * include/prototype.h, src/o_complex_basic.c, 314 src/o_text_basic.c: Rename get_complex_bounds to 315 get_object_list_bounds, and make it to call a new function 316 get_single_object_bounds, for each object in the list. 317 318 * src/o_complex_basic.c: Fixed logic level of some checks. 319 * src/o_complex_basic.c: Added some sanity checks. 320 3212006-12-16 Werner Hoch <werner.ho@gmx.de> 322 323 * include/struct.h: added widget pointers for the modal dialogs 324 find text, show text, hide text 325 3262006-12-13 Carlos Nieves Onega <cnieves@iespana.es> 327 328 * include/prototype.h, src/g_smob.c: 329 Added a new scheme function: get-object-type, returning 330 the object type (object->type as a scheme string) of the given 331 object. 332 3332006-12-05 Carlos Nieves Onega <cnieves@iespana.es> 334 335 * include/prototype.h, src/s_clib.c: Converted the clib_directories 336 list into a double linked list and reversed the search order 337 (last added directories first). 338 339 * include/prototype.h, src/o_complex_basic.c: 340 Added new function world_get_single_object_bounds to calculate 341 the bounds of a single object, and make world_get_complex_bounds 342 call it. 343 344 * include/prototype.h, src/g_smob.c: 345 Added new scheme function get-attrib-angle. It returns the angle 346 of the given attribute. 347 Also made a minor fix to the documentation of g_get_attrib_bounds. 348 3492006-12-04 Ales Hvezda <ahvezda@geda.seul.org> 350 351 * src/s_toplevel.c: Added missing init of toplevel->line_style 352 (all variables in the TOPLEVEL struct ure should be initalized). 353 3542006-12-02 Mike Jarabek <mike@laptop.istop.com> 355 356 * include/defines.h include/struct.h: Added 357 toplevel->line_style'. This new entry is a flag to set whether 358 or not lines are drawn really thin on the output postscript or 359 will only be drawn to the width of pins or nets. 360 361 * src/o_arc_basic.c src/o_box_basic.c src/o_circle_basic.c 362 libgeda/src/o_line_basic.c: Changes to the postscript output 363 code to ensure that lines can't be drawn too thin. 364 3652006-12-02 Ales Hvezda <ahvezda@geda.seul.org> 366 367 * src/o_bus_basic.c: Added missing call to s_tile_update_object 368 for buses. This missing call could cause buses to not have 369 correct connectivity when using grips. Pointed out by and patch 370 by Peter Clifton. 371 3722006-11-21 Werner Hoch <werner.ho@gmx.de> 373 374 * include/struct.h, src/s_toplevel.c: readded toplevel->filename_label 375 to the toplevel structure, it's still required by gattib. 376 fixes Bug [#1600448] 377 3782006-11-19 Werner Hoch <werner.ho@gmx.de> 379 380 * include/struct.h, src/s_toplevel.c: moved schematic title 381 from the status bar to the window title. Added grid settings 382 to the status bar: 383 replaced toplevel->filename_label with toplevel->grid_label 384 3852006-11-01 Carlos Nieves Onega <cnieves@iespana.es> 386 387 * include/prototype.h, src/g_smob.c: Added new "get-attribute-bounds" 388 scheme function. 389 3902006-10-20 Ales Hvezda <ahvezda@geda.seul.org> 391 392 * configure.ac: Bumped package version to 20061020. 393 394 * configure.ac: Bumped shared library version to 27:0:0 395 3962006-10-19 Patrick Bernaud <b-patrick@wanadoo.fr> 397 398 * configure.ac: Cleaned up to remove remaining traces of noweb 399 days. 400 401 * noweb/.cvsignore: Removed file for directory to get pruned on 402 checkout. 403 404 * docs/libgedadoc.texi, docs/texinfo.tex: Removed unused files for 405 old noweb documentation. 406 407 * scripts/geda_totexi.in: 408 * scripts/notangle_guile.in: 409 * scripts/prepnoweb: Removed unused scripts for noweb. 410 4112006-10-17 Patrick Bernaud <b-patrick@wanadoo.fr> 412 413 * src/o_text_basic.c (o_text_create_string): Fixed overbar feature 414 to work with UTF-8 characters (Bug#1578416). 415 4162006-10-04 Carlos Nieves Onega <cnieves@iespana.es> 417 418 * include/struct.h, src/s_toplevel.c: 419 Removed the new variable to track wether the main window is maximized 420 or not. It's no more necessary due to the patch from Patrick Bernaud. 421 4222006-09-30 Carlos Nieves Onega <cnieves@iespana.es> 423 424 * include/struct.h, src/s_toplevel.c: 425 Added a new variable to track wether the main window is maximized 426 or not. This is part of the bug #1527465 fix. 427 4282006-09-30 Ales Hvezda <ahvezda@geda.seul.org> 429 430 * src/a_basic.c: Fixed a memory leak in o_save when saving 431 complex objects. Not a large leak, but this function gets called 432 all the time when recording undo info. Found using valgrind. 433 434 * src/s_page.c: Added check to fix Bug#1562352 (Gattrib crashes 435 doing file-save when no files open) 436 4372006-09-28 Carlos Nieves Onega <cnieves@iespana.es> 438 439 * include/prototype.h, include/struct.h, src/g_smob.c: 440 Added new page smob. 441 4422006-09-27 Carlos Nieves Onega <cnieves@iespana.es> 443 444 * configure.ac : Applied patch #1564796 by Cesar Strauss, 445 enabling Cygwin's compilation. Thanks. 446 4472006-09-24 Ales Hvezda <ahvezda@geda.seul.org> 448 449 * AUTHORS: Updated file pointing people at gschem's AUTHOR file 450 as the complete list of authors. Merged all listed files in this 451 file into gschem's file. 452 4532006-09-24 Ales Hvezda <ahvezda@geda.seul.org> 454 455 * configure.ac: Tweaked glib detection to not fail ./configure 456 when gdlib is not installed. gdlib is an optional dependancy. 457 4582006-09-24 03:57 Dan McMahill <danmc> 459 460 * configure.ac, libgeda.pc.in: Improve gdlib detection. Now 461 instead of just dropping gd support if gdlib is not found, have 462 configure error out with a message that tells the user what needs 463 to be fixed or what feature will be missing if --disable-gd is 464 used. 465 466 Also add a variable to libgeda.pc.in so pkg-config can determine 467 if libgeda was compiled with gdlib support. This makes 468 determination of this by gschem more robust. 469 4702006-09-23 Patrick Bernaud <b-patrick@wanadoo.fr> 471 472 * include/defines.h: 473 * include/struct.h: Removed unused constants and structures 474 because of new file selection and component selection dialogs in 475 gschem. 476 477 * include/struct.h: Changed type of field 'preview' in 478 st_filedialog to GtkWidget*. 479 480 * src/s_toplevel.c (s_toplevel_new): Added missing init of 481 rotated_inside. 482 4832006-09-22 Carlos Nieves Onega <cnieves@iespana.es> 484 485 * README, configure.ac, include/globals.h, src/f_image.c, 486 src/o_arc_basic.c, src/o_box_basic.c, src/o_bus_basic.c, 487 src/o_circle_basic.c, src/o_image.c, src/o_line_basic.c, 488 src/o_net_basic.c, src/o_pin_basic.c, src/s_color.c, 489 src/s_cue.c: 490 Use gd 2.0.x library instead of libgdgeda. 491 libgdgeda is not used anymore. Work based on a patch by 492 Wojciech Kazubski (patch #1479983). 493 4942006-09-06 Ales Hvezda <ahvezda@geda.seul.org> 495 496 * configure.ac: Updated program version to 20060906. 497 498 * share/Makefile.am: Changed the install directory of prolog.ps 499 to the DATA directory and not the RC directory since that is 500 where system-gafrc is looking for it. This bug was found when 501 --with-rcdir was used. This fix is related to Bug#1552338. 502 503 * include/defines.h: Added CUSTOM_VERSION string #define. 504 Normally this #define defines an empty string, but for those 505 people who need to spin a custom version of gEDA/gaf (of course, 506 following the licensing/distribution requirements of the GPL), they 507 can set this to a string which is appended to printfs/output/dialog 508 boxes where VERSION is used. 509 5102006-09-04 Ales Hvezda <ahvezda@geda.seul.org> 511 512 * src/s_toplevel.c: Added code to s_toplevel_delete 513 to check for and remove a GSource before it is deleted. Patch by 514 Patrick Bernaud. Thanks! 515 516 * src/s_page.c: Added s_page_autosave_init to setup the autosave 517 callback (instead of doing it in i_vars_set) which was also 518 be set in the preview toplevel (having the callback there is 519 undesirable). 520 521 * src/s_toplevel.c: Added the init of auto_save_timeout in 522 s_toplevel_new(). Pointed out by PeterC and this make valgrind 523 happy again. 524 5252006-09-02 Patrick Bernaud <b-patrick@wanadoo.fr> 526 527 * src/s_toplevel.c (s_toplevel_new): Added missing initialization 528 of TOPLEVEL print_command. 529 5302006-08-31 Ales Hvezda <ahvezda@geda.seul.org> 531 532 * configure.ac: Updated gtk+ tests to look for 2.4.x or greater. 533 5342006-08-30 Werner Hoch <werner.ho@gmx.de> 535 536 * src/o_attrib.c: fix for Bug#1547138: Segfault on adding 537 toplevel slot attribute to symbol 538 5392006-08-29 Ales Hvezda <ahvezda@geda.seul.org> 540 541 * include/i_vars.h, include/prototype.h, include/struct.h, 542 src/f_print.c, src/i_vars.c, src/s_toplevel.c: Applied first 543 part of patch by Peter Brett to add a new print dialog to 544 gschem. Patch#1530417. 545 5462006-08-22 Ales Hvezda <ahvezda@geda.seul.org> 547 548 * src/Makefile.am: Removed old VPATH, since it is no longer needed 549 and it is interfering with make distcheck 550 551 * share/Makefile.am: Added prolog.ps to EXTRA_DIST to make distcheck 552 happy (and it was missing from the dist in general). 553 5542006-08-21 Ales Hvezda <ahvezda@geda.seul.org> 555 556 * README: Updated the README a little to be ready for the next 557 release. 558 5592006-08-19 Ales Hvezda <ahvezda@geda.seul.org> 560 561 * configure.ac: Bumped version number to 20060821 in prep for the 562 next gEDA/gaf release. Also changed the so version of libgeda to 563 26:0:0 564 5652006-08-06 Ales Hvezda <ahvezda@geda.seul.org> 566 567 * src/*.c: Applied Patch#1533798: Remove pre-GTK2 code from geda 568 by Peter Brett. 569 570 * src/a_basic.c: Applied Patch#1534089: libgeda: bugfix for 571 segfault when loading corrupted file by Tomaz Solc. 572 573 * include/struct.h, src/s_toplevel.c: Added keyboardpan_gain 574 variable to TOPLEVEL 575 5762006-07-24 Ales Hvezda <ahvezda@geda.seul.org> 577 578 * src/s_toplevel.c: Added initialization of missing variable 579 (toplevel->prev). This caused a rare segmentation fault 580 (Bug#1528080) 581 5822006-07-23 Ales Hvezda <ahvezda@geda.seul.org> 583 584 * include/defines.h: Applied mouse pan patch by Peter Clifton. 585 (Patch #1527361): Allow middle button panning in gschem 586 587 * include/struct.h, src/s_toplevel.c: Added variables to support 588 (mousepan-gain #) rc keyword. 589 5902006-07-23 Mike Jarabek <mjarabek@istop.com> 591 592 * src/o_text_basic.c: Fixed 180 degree rotated text so that it 593 prints upside right unstead of upside down in the postscipt 594 back end. 595 5962006-07-15 Ales Hvezda <ahvezda@geda.seul.org> 597 598 * src/a_basic.c, src/f_basic.c, src/f_print.c, src/g_basic.c, 599 src/g_rc.c, src/g_smob.c, src/i_vars.c, src/o_arc_basic.c, 600 src/o_attrib.c, src/o_box_basic.c, src/o_bus_basic.c, 601 src/o_circle_basic.c, src/o_complex_basic.c, src/o_line_basic.c, 602 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c, 603 src/o_selection.c, src/o_text_basic.c, src/s_attrib.c, src/s_basic.c, 604 src/s_color.c, src/s_conn.c, src/s_hierarchy.c, src/s_menu.c, 605 src/s_papersizes.c, src/s_slib.c, src/s_stretch.c, src/s_tile.c, 606 src/s_undo.c, src/u_basic.c: Converted all free, ?alloc, and 607 strdup calls to use g_free, g_?alloc, and g_strdup. This is the 608 first phase in fixing the slice crash under glib 2.10.x. 609 610 * src/libgeda.c: Clarified putenv/free comment 611 612 * src/o_attrib.c, src/o_complex_basic.c src/o_text_basic.c: 613 Removed some residual noweb #lines and comments 614 615 * src/s_conn.c: Finally figured out that setting a freed object's 616 data field was causing lots of trouble for glib's slice allocator. 617 618 * src/s_basic.c src/o_picture.c: Changed all g_free() calls on 619 all pixbufs to be g_object_unref. This was causing crashes with 620 glib 2.10.x. 621 622 * src/o_attrib.c: Added todo to an if statement that causes an 623 invalid read 624 6252006-07-13 Ales Hvezda <ahvezda@geda.seul.org> 626 627 * libgeda.pc.in: Re-Fixed incorrect order of macros. Reverted back 628 to the previous order, since the new order is clearly wrong on other 629 platforms than FreeBSD. 630 6312006-07-04 Ales Hvezda <ahvezda@geda.seul.org> 632 633 * Integrated noweb removal patch by Jason Childs. Changed default 634 target in docs/Makefile.am to not build the docs by default; this 635 is to speed up the build. 636 637 * src/o_arc_basic.c, src/o_circle_basic.c, src/s_cue.c: 638 Merged changes from the .nw files to the c files that Mike made 639 related to removing mils from PS output. 640 641 * src/g_rc.c, o_complex_basic.c: Merged changes from the .nw files 642 to the .c files that I made just recently. 643 644 * noweb/*.nw, Makefile.am: Removed all files 645 6462006-07-04 Jason Childs <oblivian@users.sourceforge.net> 647 648 * noweb/a_basic.nw, noweb/f_basic.nw, noweb/f_image.nw, 649 noweb/f_print.nw, noweb/g_basic.nw, noweb/g_rc.nw, 650 noweb/g_register.nw, noweb/g_smob.nw, noweb/gdk-pixbuf-hacks.nw, 651 noweb/i_vars.nw, noweb/libgeda.nw, noweb/m_basic.nw, 652 noweb/o_arc_basic.nw, noweb/o_attrib.nw, noweb/o_basic.nw, 653 noweb/o_box_basic.nw, noweb/o_bus_basic.nw, noweb/o_circle_basic.nw, 654 noweb/o_complex_basic.nw, noweb/o_image.nw, noweb/o_line_basic.nw, 655 noweb/o_list.nw, noweb/o_net_basic.nw, noweb/o_picture.nw, 656 noweb/o_pin_basic.nw, noweb/o_selection.nw, noweb/o_text_basic.nw, 657 noweb/s_attrib.nw, noweb/s_basic.nw, noweb/s_clib.nw, 658 noweb/s_color.nw, noweb/s_conn.nw, noweb/s_cue.nw, 659 noweb/s_encoding.nw, noweb/s_hierarchy.nw, noweb/s_log.nw, 660 noweb/s_menu.nw, noweb/s_page.nw, noweb/s_papersizes.nw, 661 noweb/s_slib.nw, noweb/s_stretch.nw, noweb/s_tile.nw, 662 noweb/s_toplevel.nw, noweb/s_undo.nw, noweb/u_basic.nw: 663 Ported as real c source code file in the src directory. 664 Deleted after porting all noweb comments into doxygen format 665 in respective c source files. 666 667 * noweb: Removed subdirectory. 668 669 * src/Makefile.am: Updated to build from c source instead of noweb. 670 Fixed distclean setup to not remove c source files. 671 672 * docs/Makefile.am: Added support for Doxygen html and LaTex 673 documents. Fixed distclean setup to not remove required Doxygen html 674 files, and to remove html and latex subdirectories on clean. 675 676 * Makefile.am: Removed noweb as a buildable subdirectory. 677 678 * configure.ac: Removed checks for noweb and texi2html. 679 Added check for Doxygen. 680 6812006-07-04 Ales Hvezda <ahvezda@geda.seul.org> 682 683 * libgeda.pc.in: Fixed incorrect order of macros. Discovered by 684 reading USENET's FreeBSD commit logs. :-) 685 686 * noweb/g_rc.nw, o_complex_basic.nw: Minor bug fix to properly 687 promotion code to properly promote only specified changes. 688 6892006-07-03 Mike Jarabek <mjarabek@istop.com> 690 691 * noweb/o_arc_basic.nw, noweb/o_circle_basic.nw, noweb/s_cue.nw: 692 Removing of references to `mils' function in PS output. 693 6942006-06-16 Werner Hoch <werner.ho@gmx.de 695 696 * noweb/f_basic.nw: fixed noweb chunk error 697 698 * noweb/s_page.nw: added function to find a page by it's id 699 700 * noweb/s_hierarchy.nw: added s_hierarchy_traversepages(), it 701 returns a list of pages either in preorder order 702 s_hierarchy_print_page(): test function used for traversing 703 in s_hierarchy_down_schematic_single(): added page loop detector. 704 705 * include/defines.h: added some flags for s_hierarchy* 706 7072006-06-02 Mike Jarabek <mjarabek@istop.com> 708 709 * noweb/f_print.nw: Added code to check flag for vector vs. PS 710 text output in text f_print_objects(). 711 7122006-05-22 Mike Jarabek <mjarabek@istop.com> 713 714 * share/prolog.ps: Added custom stringwidth function to printing 715 routines that handles overbar characters. Added overbar drawing 716 support. The overbar thickness is coded to be 10% of the font 717 size. The height of the overbar is set to the font size. 718 7192006-05-21 Werner Hoch <werner.ho@gmx.de: 720 721 * src/Makefile.am: moved the comment sign to the first column. 722 "make reconfig" is happy now. 723 7242006-05-20 Carlos Nieves Onega <cnieves@iespana.es> 725 726 * src/Makefile.am: Commented out the indentation of the C code, 727 so gdb can return correct information when debugging. 728 729 * noweb/s_page.nw: Added one more sanity check. 730 731 * include/struct.h: Moved rotated_inside into the TOPLEVEL structure. 732 7332006-05-20 Ales Hvezda <ahvezda@geda.seul.org> 734 735 * scripts/notangle_guile.in: Applied patch by Steve Brown to fix 736 guile stack overflow 737 738 * noweb/f_print.nw: Fixed missing @ which made notangle_guile a 739 little happier. 740 741 * include/i_vars.h, include/prototype.h, include/struct.h, 742 noweb/g_rc.nw, noweb/g_register.nw, noweb/i_vars.nw, 743 noweb/o_complex_basic.nw, noweb/s_toplevel.nw: Finally added code 744 to support the rc keyword: always-promote-attributes. This string 745 holds a list of attribute names that are always promoted. 746 747 * src/Makefile.am: Changed the .nw.c: rule to redirect the generated 748 C file to a temp file and then move it to the real one. This fixes 749 the stale file problem when notangle fails. 750 751 * noweb/s_toplevel.nw: Added missing variable init 752 7532006-05-17 Mike Jarabek <mjarabek@istop.com> 754 755 * Makefile.am, configure.ac 756 Added share directory and rule to support share directory. 757 * include/i_vars.h, include/prototype.h, include/struct.h 758 Added struct variable to contain name of PostScript prolog file 759 and changes to function prototypes. 760 * noweb/f_print.nw 761 New PostScript output functions. Unicode support. 762 * noweb/g_rc.nw, noweb/g_register.nw, i_vars.nw 763 New RC command to set the PostScript prolog file. 764 * noweb/o_*.nw, noweb/s_cue.nw 765 New PostScript output changes. Output code now 50% smaller 766 * share/Makefile.am 767 New makefile to install prolog. 768 7692006-05-17 Carlos Nieves Onega <cnieves@iespana.es> 770 * include/struct.h: Added variable which controls if the user 771 can move objects just dragging them. 772 7732006-04-22 Carlos Nieves Onega <cnieves@iespana.es> 774 * noweb/o_complex_basic.nw: Allow rotation and mirroring of 775 complex objects inside complex objects. 776 7772006-04-14 Werner Hoch <werner.ho@gmx.de> 778 * noweb/f_basic.nw: added <time.h> for f_open() 779 compiler warning was: implicit declaration function of difftime() 780 7812006-04-13 Werner Hoch <werner.ho@gmx.de> 782 * noweb/f_print.nw: added <time.h> for f_print_header() 783 7842006-04-09 Carlos Nieves Onega <cnieves@iespana.es> 785 * noweb/o_text_basic.nw: Fixed the overbar misinterpretation of 786 multiple escape slashed (bug 1458681). Thanks to Werner Hoch for 787 reporting the bug. 788 7892006-03-03 Carlos Nieves Onega <cnieves@iespana.es> 790 * noweb/o_text_basic.nw: Finish the overbar if the ending overbar 791 delimiter is omitted. Feature suggested by Enoch H. Wexler. Thanks. 792 7932006-02-27 Carlos Nieves Onega <cnieves@iespana.es> 794 * noweb/o_text_basic.nw: 795 Added support for overbars. Delimiter character for the overbar is 796 "\_" string (it should be at the beginning and at the end of the 797 overbar). Support for overbars in Postscript code needs to be done. 798 7992006-02-26 Mike Jarabek <mjarabek@istop.com> 800 * noweb/f_print.nw: 801 Added DSC comments and logic to f_print() so that page managers 802 can make more intelligent choices about paper sizes. The code 803 lies about the actual extents, and so does not completely obey 804 the DSC rules. 805 8062006-02-25 Carlos Nieves Onega <cnieves@iespana.es> 807 808 * include/prototype.h, include/struct.h, noweb/g_smob.nw: 809 Added new smob functions for OBJECT type. 810 811 * include/prototype.h, noweb/s_color.nw: 812 Added a new function returning the index of a given color name. 813 8142006-02-25 Carlos Nieves Onega <cnieves@iespana.es> 815 * noweb/f_basic.nw: Set the backup file readonly, so an 'rm *' 816 command will ask the user if he really wants to delete the file. 817 When loading an autosave backup file, set the page as changed. 818 Thus, when the user closes the page, gschem will ask him wether to 819 save it or not. 820 8212006-01-22 Ales Hvezda <ahvezda@geda.seul.org> 822 823 * autogen.sh, m4/gettext.m4: Removed m4 files since they are 824 installation specific 825 8262006-01-16 Ales Hvezda <ahvezda@geda.seul.org> 827 828 * configure.ac: Bumped package version to 20060123 and also 829 change the shared library's version to 25:0:0 830 831 * README: Updated for the new year and release. 832 8332006-01-07 Stuart Brorson <sdb AT cloud9 DOT net> 834 * autogen.sh, m4/gettext.m4: Included "-I m4" into 835 aclocal to pick up gettext.m4 from local dir. 836 8372006-01-04 Ales Hvezda <ahvezda@geda.seul.org> 838 839 * noweb/s_encoding.nw: Removed extra @'s since they are no longer 840 required for either notangle_guile or notangle (noweb proper) and 841 they were breaking the build for notangle_guile. Thank to Stuart 842 and Matthias Wenzel for the fix. 843 8442005-12-02 Carlos Nieves Onega <cnieves@iespana.es> 845 * noweb/s_page.nw: Make the s_page_autosave function more 846 failproof, checking all the pointers. This change, together 847 with some gschem changes at the same date will fix some gschem 848 crashes reported by David Carr. Thanks David! 849 8502005-11-27 Carlos Nieves Onega <cnieves@iespana.es> 851 * noweb/s_encoding.nw: Break some lines so notangle_guile 852 doesn't get confused by noweb scape sequences. 853 8542005-11-27 Carlos Nieves Onega <cnieves@iespana.es> 855 * include/funcs.h, include/struct.h, noweb/f_basic.nw, 856 noweb/s_page.nw: 857 Added definition of the autosave backup filename string. 858 Added check for a backup file when loading a schematic, 859 and a function to call an app-dependant function to ask 860 the user if the backup file should be loaded or not. 861 8622005-11-18 Carlos Nieves Onega <cnieves@iespana.es> 863 * include/struct.h, noweb/f_basic.nw, noweb/s_page.nw: 864 Changed autosave code so the timer callback doesn't do the 865 autosave backups. Now are made within o_undo_savestate, so 866 backups will ONLY be saved when there was a change to the 867 schematic and there was a timeout of the autosave timer. 868 8692005-11-06 Ales Hvezda <ahvezda@geda.seul.org> 870 871 * include/prototype.h, noweb/s_conn.nw: Added search routine which 872 is used in determining if a net segment (of the "L") connects to 873 something else. 874 8752005-10-30 Ales Hvezda <ahvezda@geda.seul.org> 876 877 * noweb/s_log.nw: Added an if to get rid of an assert from glib if 878 the logfile_fd is not initialized. Bug reported by John Luciani. 879 8802005-10-29 Carlos Nieves Onega <cnieves@iespana.es> 881 * include/defines.h, include/prototype.h, include/struct.h, 882 noweb/f_basic.nw, noweb/s_page.nw, noweb/s_toplevel.nw, 883 noweb/s_undo.nw: 884 Added support for backup copies and autosaving every 885 "interval" seconds. 886 8872005-10-15 Carlos Nieves Onega <cnieves@iespana.es> 888 * noweb/f_image.nw: 889 Print error if calling f_image_write without libgdgeda support. 890 8912005-10-05 Werner Hoch <werner.ho@gmx.de> 892 * include/struct.h: added the net-drawing patch from David Carr 893 it requires two additional coordinates in st_toplevel 894 8952005-10-01 Carlos Nieves Onega <cnieves@iespana.es> 896 * noweb/s_encoding.h: Fixed compiler warning. Thanks to Dan McMahill 897 for pointing out the solution. 898 8992005-09-30 Carlos Nieves Onega <cnieves@iespana.es> 900 * include/struct.h, noweb/o_picture.nw: 901 Added embedded variable to the picture struct and initialize it. 902 * include/prototypes.h, noweb/Makefile.am, noweb/s_encoding.nw, 903 src/Makefile.am: 904 Added new file containing functions for base64 encoding/decoding. 905 9062005-09-27 18:31 Dan McMahill <danmc> 907 908 * docs/libgedadoc.texi: add title to document to quiet the 909 warnings. 910 9112005-09-27 18:31 Dan McMahill <danmc> 912 913 * noweb/s_slib.nw: remove some compiler warnings (use of char as a 914 subscript) 915 9162005-09-19 Werner Hoch <werner.ho@gmx.de> 917 918 * noweb/f_print.nw: fixed color background box size in f_print_header 919 9202005-08-19 Ales Hvezda <ahvezda@geda.seul.org> 921 922 * configure.ac: Bumped the package version to 20050820 which will be 923 a real snapshot. 924 9252005-08-14 Ales Hvezda <ahvezda@geda.seul.org> 926 927 * noweb/g_basic.nw: Applied patch by Carlos Azevedo which fully expands 928 the path of an rc file, so that it can be found. 929 930 * include/struct.h, noweb/s_toplevel.nw: Added add_attribute_offset 931 rc variable to TOPLEVEL. 932 933 * include/struct.h, noweb/s_toplevel.nw: Added grid_mode and 934 grid_spacing rc variables to TOPLEVEL. 935 936 * configure.ac: Updated package version to 20050814. This is a 937 temporary version and not a real release number. 938 9392005-06-26 Ales Hvezda <ahvezda@geda.seul.org> 940 941 * include/globals.h: Removed a completely bogus extern declaration. 942 Reported by Wojciech Kazubski. Thanks. 943 9442005-04-20 Carlos Nieves Onega <cnieves@iespana.es> 945 * include/prototype.h, noweb/o_picture.nw, noweb/f_print.nw: 946 Added support for printing pictures to postscript. 947 9482005-03-14 Ales Hvezda <ahvezda@geda.seul.org> 949 950 * noweb/o_text_basic.nw: Removed an extra g_free which was corrupting 951 the heap. Many thanks to Patrick for helping resolve this bug. 952 9532005-03-13 Ales Hvezda <ahvezda@geda.seul.org> 954 955 * configure.ac: Removed all tests for gtk+ 1.2.x and fixed error 956 message if gtk+ 2.2.x is not found. 957 9582005-03-11 Patrick Bernaud <b-patrick@wanadoo.fr> 959 960 * noweb/g_rc.nw (g_rc_map_font_character_to_file): Adapted for the 961 new char-to-file hash table. 962 963 * noweb/o_text_basic.nw: Improved memory use and global efficiency 964 in the unicode support: hash tables now takes a gunichar as key. 965 Also removed GTK 1.2 specific code. 966 9672005-03-11 7:05 Sturt Brorson <sdb@cloud9.net> 968 * noweb/s_toplevel.nw: Added initialization of toplevel_head->next 969 in s_toplevel_init() to fix possible uninitialized jump in 970 s_toplevel_new(). 971 9722005-03-10 Patrick Bernaud <b-patrick@wanadoo.fr> 973 974 * noweb/g_rc.nw (g_rc_map_font_character_to_file): Added validation of 975 SCM parameters (SCM_ASSERT). 976 9772005-03-09 Ales Hvezda <ahvezda@geda.seul.org> 978 979 * noweb/f_basic.nw, o_complex_basic.nw: Fixed compiler warnings 980 about uninitialized variables 981 9822005-03-08 Ales Hvezda <ahvezda@geda.seul.org> 983 984 * configure.ac: Bumped version to 20050313 985 986 * configure.ac: Bumped libgeda.so version to 23. 987 9882005-03-05 Carlos Nieves Onega <cnieves@iespana.es> 989 990 * noweb/g_rc.nw: Removed deprecated guile functions. 991 9922005-03-05 Carlos Nieves Onega <cnieves@iespana.es> 993 * noweb/g_rc.nw, noweb/g_register.nw, noweb/libgeda.nw, 994 noweb/o_text_basic.nw, include/prototype.h, include/defines.h, 995 noweb/s_toplevel.nw: 996 Added Unicode support, character to font file mapping by hashtable, 997 and font mapping definition using system-gafrc. 998 9992005-02-28 Patrick Bernaud <b-patrick@wanadoo.fr> 1000 1001 * scripts/notangle_guile.in: Improved script with changes suggested 1002 by Thien-Thi Nguyen. 1003 10042005-02-24 Patrick Bernaud <b-patrick@wanadoo.fr> 1005 1006 * scripts/notangle_guile.in: New version. 1007 1008 * configure.ac, scripts/Makefile.am: Adapted for renaming of script. 1009 1010 * scripts/notangle_guile.scm.in: Renamed to notangle_guile.in. 1011 10122005-02-23 Ales Hvezda <ahvezda@geda.seul.org> 1013 1014 * configure.ac: Fixed a minor typo that was causing the linking of 1015 both glib 1.2.x and glib 2.x into the same executable. This caused 1016 gschem and friends to segfault upon startup. 1017 10182005-02-23 Carlos Nieves Onega <cnieves@iespana.es> 1019 1020 * configure.ac, noweb/o_picture.nw: 1021 Added temporary GDK dependency. Fixed CLI compilation error 1022 when gdk_init was not found when linking. 1023 10242005-02-22 Carlos Nieves Onega <cnieves@iespana.es> 1025 1026 * noweb/o_picture.nw: Fix character conversion. 1027 1028 * noweb/o_picture.nw: Initialize GDK if it's a non-graphical app. 1029 10302005-02-21 05:38 Dan McMahill <danmc> 1031 1032 * configure.ac, src/Makefile.am: if we are using gcc, add -Wall 1033 10342005-02-21 03:58 Dan McMahill <danmc> 1035 1036 * autogen.sh: avoid using the '-path' primary to find(1) as it's an 1037 extension to posix.2 and is not supported on some operating 1038 systems such as solaris. Now we can autogen.sh on solaris 9. 1039 10402005-02-21 03:04 Dan McMahill <danmc> 1041 1042 * noweb/: f_image.nw, g_rc.nw, o_picture.nw, o_text_basic.nw: fix 1043 some format string/type mismatches, format string/# of arg 1044 mismatches, /* within comments, unused variables, and undeclared 1045 variable bugs. 1046 10472005-02-20 Patrick Bernaud <b-patrick@wanadoo.fr> 1048 1049 * noweb/s_clib.nw: Added a missing include of defines.h required for 1050 s_log_message(). 1051 1052 * include/defines.h (s_log_message): Added macro for message logging. 1053 1054 * noweb/s_log.nw: Rewritten to use GLib's message logging. 1055 10562005-02-19 Carlos Nieves Onega <cnieves@iespana.es> 1057 1058 * configure.ac, include/funcs.h, include/libgeda.h, 1059 include/o_types.h, include/prototype.h, include/struct.h, 1060 noweb/Makefile.am, noweb/a_basic.nw, noweb/f_image.nw, 1061 noweb/f_print.nw, noweb/gdk-pixbuf-hacks.nw, noweb/o_attrib.nw, 1062 noweb/o_basic.nw, noweb/o_complex_basic.nw, noweb/o_list.nw, 1063 noweb/o_picture.nw, noweb/s_basic.nw, noweb/s_toplevel.nw, 1064 src/Makefile.am: 1065 Added picture support. 1066 10672005-02-18 22:26 Dan McMahill <danmc> 1068 1069 * noweb/g_rc.nw: remove a static declaration to match prototype in 1070 prototype.h 1071 10722005-02-17 20:00 Stuart Brorson <sdb@cloud9.net> 1073 * noweb/g_rc.nw, noweb/libgeda.nw: Reverted to putenv after 1074 W. Hoch had problems with compiling g_setenv. 1075 10762005-02-14 22:32 Dan McMahill <danmc> 1077 1078 * noweb/o_complex_basic.nw: fix a couple of format string not 1079 matching # of arguments bugs 1080 10812005-02-14 22:32 Dan McMahill <danmc> 1082 1083 * noweb/f_basic.nw: remove an unused variable 1084 10852005-02-14 22:31 Dan McMahill <danmc> 1086 1087 * noweb/s_clib.nw: add some missing config.h inclusions 1088 10892005-02-14 22:30 Dan McMahill <danmc> 1090 1091 * noweb/a_basic.nw: fix a "/* in a comment" warning 1092 10932005-02-14 22:29 Dan McMahill <danmc> 1094 1095 * include/prototype.h: change prototypes in public header file to 1096 not be static 1097 10982005-02-14 02:17 Dan McMahill <danmc> 1099 1100 * include/defines.h, noweb/g_basic.nw, noweb/g_smob.nw: put back 1101 scm_makfrom0str(). It is scm_makfromstr() which was deprecated, 1102 scm_makfrom0str() is still ok. Suggested by Patrick Bernaud. 1103 11042005-02-13 Patrick Bernaud <b-patrick@wanadoo.fr> 1105 1106 * noweb/s_page.nw (s_page_init_list): Removed useless initialization 1107 of page head fields. 1108 1109 * docs/Makefile.am, src/Makefile.am, noweb/Makefile.am: 1110 * docs/libgedadoc.texi: Updated after removal of s_scratch. 1111 1112 * noweb/s_scratch.nw: Removed. 1113 11142005-02-13 01:38 Dan McMahill <danmc> 1115 1116 * include/prototype.h, noweb/s_slib.nw: fix up const usage to be 1117 consistant. Gets rid of several gcc warnings. 1118 11192005-02-11 Patrick Bernaud <b-patrick@wanadoo.fr> 1120 1121 * noweb/f_basic.nw, noweb/libgeda.nw, s_hierarchy.nw: Adapted for 1122 changes in toplevel and page APIs and function set_window. 1123 1124 * noweb/m_basic.nw (set_window): New prototype: added pointer on page 1125 to work on as second parameter. 1126 1127 * noweb/s_page.nw: Simplified API and refactoring. 1128 1129 * src/Makefile.am, docs/Makefile.am, noweb/Makefile.am: Modified for 1130 addition of s_toplevel.nw and deletion of s_project.nw. 1131 1132 * docs/libgedadoc.texi: Changed references to s_project in s_toplevel. 1133 1134 * noweb/s_toplevel.nw: New file for handling of toplevel structures. 1135 1136 * noweb/s_project.nw: Removed: replaced by s_toplevel.nw. 1137 1138 * include/struct.h: Modified cwd field of toplevel for dynamic memory 1139 allocation. 1140 11412005-02-08 22:26 Dan McMahill <danmc> 1142 1143 * include/defines.h, noweb/g_basic.nw, noweb/g_smob.nw: replace 1144 deprecated guile functions with approved guile-1.6.6 ones 1145 11462005-02-04 Patrick Bernaud <b-patrick@wanadoo.fr> 1147 1148 * include/prototype.h: 1149 * noweb/f_basic.nw, noweb/g_smob.nw, noweb/i_vars.nw: 1150 * noweb/libgeda.nw, noweb/o_attrib.nw, noweb/s_color.nw: 1151 * noweb/s_log.nw, noweb/s_menu.nw, noweb/s_page.nw: 1152 * noweb/s_undo.nw, noweb/u_basic.nw: Deleted functions u_basic_strdup() 1153 and u_basic_strdup_multiple(): use GLib functions instead. 1154 1155 * noweb/o_complex_basic.nw, noweb/o_text_basic.nw: 1156 * noweb/s_log.nw, noweb/s_page.nw, noweb/s_slib.nw: 1157 * include/defines.h: Deleted *_SEPARATER_* macros: now rely on GLib 1158 for the determination of the directory separator. 1159 11602005-02-04 04:39 danmc 1161 1162 * configure.ac, noweb/a_basic.nw, noweb/f_basic.nw, 1163 noweb/f_image.nw, noweb/f_print.nw, noweb/g_basic.nw, 1164 noweb/g_rc.nw, noweb/g_register.nw, noweb/g_smob.nw, 1165 noweb/i_vars.nw, noweb/libgeda.nw, noweb/m_basic.nw, 1166 noweb/o_arc_basic.nw, noweb/o_attrib.nw, noweb/o_basic.nw, 1167 noweb/o_box_basic.nw, noweb/o_bus_basic.nw, 1168 noweb/o_circle_basic.nw, noweb/o_complex_basic.nw, 1169 noweb/o_image.nw, noweb/o_line_basic.nw, noweb/o_list.nw, 1170 noweb/o_net_basic.nw, noweb/o_pin_basic.nw, noweb/o_selection.nw, 1171 noweb/o_text_basic.nw, noweb/s_attrib.nw, noweb/s_basic.nw, 1172 noweb/s_clib.nw, noweb/s_color.nw, noweb/s_conn.nw, 1173 noweb/s_cue.nw, noweb/s_hierarchy.nw, noweb/s_log.nw, 1174 noweb/s_menu.nw, noweb/s_page.nw, noweb/s_papersizes.nw, 1175 noweb/s_project.nw, noweb/s_scratch.nw, noweb/s_slib.nw, 1176 noweb/s_stretch.nw, noweb/s_tile.nw, noweb/s_undo.nw, 1177 noweb/u_basic.nw: - add dmalloc debugging support, enabled by 1178 --enable-dmalloc - add Electric Fence debugging support, enabled 1179 by --enable-efence 1180 1181 Both are off by default 1182 11832005-02-03 23:04 danmc 1184 1185 * include/prototype.h, noweb/a_basic.nw, noweb/f_basic.nw, 1186 noweb/f_image.nw, noweb/f_print.nw, noweb/g_basic.nw, 1187 noweb/o_image.nw, noweb/s_project.nw: - lots of clean up of 1188 'const' usage. Seems to have squished all gcc warnings around 1189 const. Mostly this involved adding lots of missing const's. - 1190 also add a few missing prototypes and header files. - fix call 1191 to realpath (it was being given a pointer to a pointer rather 1192 than a pointer). 1193 11942005-02-03 03:54 danmc 1195 1196 * include/prototype.h: add missing s_project_alloc prototype 1197 11982005-02-01 Patrick Bernaud <b-patrick@wanadoo.fr> 1199 1200 * noweb/*.nw: 1201 * include/libgeda.h: Changed the includes of gh.h in include of 1202 libguile.h required by the scm interface of guile. 1203 1204 * noweb/g_basic.nw, noweb/g_rc.nw: 1205 * noweb/g_register.nw, noweb/g_smob.nw: Switched to the new scm 1206 interface of guile. 1207 12082005-01-31 Patrick Bernaud <b-patrick@wanadoo.fr> 1209 1210 * noweb/g_rc.nw: Fixed the escaping in format strings of messages. 1211 12122005-01-30 Patrick Bernaud <b-patrick@wanadoo.fr> 1213 1214 * noweb/g_rc.nw: Code cleanup: added guile assertions, fixed some 1215 memory problems, make it use more of glib. 1216 1217 * noweb/o_complex_basic.nw (o_complex_read): Fixed test after library 1218 search to avoid crash when the component is not found. 1219 12202005-01-29 Patrick Bernaud <b-patrick@wanadoo.fr> 1221 1222 * noweb/g_rc.nw, noweb/o_complex_basic.nw: Adapted for new component 1223 library code. 1224 1225 * noweb/s_clib.nw: Rewrote code for component library. 1226 12272005-01-28 Stuart Brorson <sdb@cloud9.net> 1228 1229 * noweb/f_basic.nw, noweb/g_rc.nw, noweb/s_page.nw, 1230 noweb/s_project.nw: incorporated patch by Patrick Bernaud. 1231 12322005-01-27 Stuart Brorson <sdb@cloud9.net> 1233 1234 * include/prototype.h, include/struct.h, noweb/f_basic.nw, 1235 noweb/g_rc.nw, noweb/s_page.nw, noweb/s_project.nw, 1236 noweb/u_basic.nw: Changes made to enable correct opening 1237 of schematics in foreign directories. New algorithm: 1238 1239 1. Take the filename the user wants to open. 1240 2. Turn it into an absolute path, like /foo/bar/baz.sch 1241 3. From the path, figure out the directory, /foo/bar 1242 4. From this, create the absolute path to the local gafrc, 1243 /foo/bar/gafrc. 1244 5. cd to /foo/bar 1245 6. read /foo/bar/gafrc while sitting in the directory /foo/bar. 1246 This takes care of all the guile search path problems, 1247 like when people put things like 1248 (component-library "../common/symlib") or some such into 1249 their RC files. 1250 7. After that, read the file itself. 1251 8. Leave the directory set to this directory. 1252 12532005-01-23 Ales Hvezda <ahvezda@geda.seul.org> 1254 1255 * noweb/o_complex_basic.nw: Fixed a bug where sometimes 1256 missing rotated/mirror components will cause gschem to render the 1257 "missing component symbol" out in la la land. 1258 1259 * noweb/o_complex_basic.nw: Changed the appearance of the hazard 1260 triangle to look a little better (angles rounded). Suggestion by 1261 Patrick. 1262 1263 * noweb/a_basic.nw: Fixed another bug in the handling of symversion=. 1264 If the component was the last one in the file and had no attributes, 1265 then it was not getting checked. 1266 1267 * noweb/o_complex_basic.nw: Further expanded when the placed 1268 holder component is created in o_complex_add(): when the component 1269 filename cannot be found. This hopefully fixes the bug that 1270 Peter reported: 1) running gschem file.sch, 2) renaming 1271 a symbol, 3) doing a page revert 4) place holder not being shown. 1272 12732005-01-22 Ales Hvezda <ahvezda@geda.seul.org> 1274 1275 * include/defines.h, noweb/a_basic.nw, f_image.nw, f_print.nw, 1276 o_attrib.nw, o_basic.nw, o_complex_basic.nw, o_list.nw, o_selection.nw, 1277 s_basic.nw, s_clib.nw, s_conn.nw, s_cue.nw: Slightly refactored 1278 and rearranged Stuart's OBJ_PLACEHOLDER code to make it a first 1279 class object within libgeda. Added a graphical representation and 1280 a few bits of code here and there to make it manipulatable in gschem. 1281 12822005-01-22 Carlos Nieves Onega <cnieves@iespana.es> 1283 * noweb/prototype.h, noweb/s_scratch.nw: Added function 1284 s_scratch_non_unique_string_fill. This can enable gnetlist 1285 to return a non-unique list of packages. 1286 In order to don't duplicate code, s_scratch_string_fill 1287 function now checks if the string is unique and calls 1288 s_scratch_non_unique_string_fill. 1289 12902005-01-19 Stuart Brorson <sdb@cloud9.net> 1291 * noweb/o_complex_basic.nw, include/o_types.h: Created 1292 OBJ_PLACEHOLDER to signal a complex found with no 1293 symbol file. Changed o_complex_read to put this 1294 placeholder into object_list instead of nuking complex. 1295 This is to mitigate problem where components were being 1296 removed if sym files weren't found. 1297 12982005-01-15 Stuart Brorson <sdb@cloud9.net> 1299 * noweb/s_log.nw, prototype.h: changed s_log_init 1300 to take const char as arg since it's always called 1301 with a quoted string. 1302 13032005-01-10 Ales Hvezda <ahvezda@geda.seul.org> 1304 1305 * noweb/a_basic.nw: Fixed the symbol version checking code to 1306 handle the case when no attribute are attached to component. The 1307 symbol version wasn't being checked in this case in the past. 1308 13092005-01-07 Patrick Bernaud <b-patrick@wanadoo.fr> 1310 1311 * noweb/s_project.nw (s_project_setup_rest): Made it handle 1312 initialization of field current_clib. 1313 1314 * include/struct.h: Changed field current_clib of st_toplevel to 1315 char*. 1316 1317 * noweb/s_clib.nw (s_clib_getfiles): Modified prototype and 1318 simplified code: now returns a list of filenames to avoid 1319 limitation on number of files in directory. 1320 13212005-01-04 Patrick Bernaud <b-patrick@wanadoo.fr> 1322 1323 * noweb/o_basic.nw (o_set_line_options): Moved in this function some 1324 error checking and correcting that previously was in gschem code. 1325 13262005-01-03 Ales Hvezda <ahvezda@geda.seul.org> 1327 1328 * include/struct.h, noweb/s_project.nw, noweb/f_print.nw: Implemented 1329 a threshold which controls when postscript outputted text is rendered 1330 using the vector font instead of the postscript font. This is a 1331 work around for the rather inaccurate multi-line postscript output. 1332 13332004-12-27 Ales Hvezda <ahvezda@geda.seul.org> 1334 1335 * configure.ac: Updated version to 20041228, update shared library 1336 version to 22 1337 13382004-07-06 Ales Hvezda <ahvezda@geda.seul.org> 1339 1340 * include/struct.h: Added major_changed_refdes GList to toplevel 1341 structure. 1342 1343 * include/prototype.h: Added new function prototype for: 1344 o_complex_check_symversion 1345 1346 * noweb/a_basic.nw: Added some code to make the call to 1347 o_complex_check_symversion when a symbol has been read from disk. 1348 1349 * noweb/s_project.nw: Misc init code 1350 1351 * noweb/o_complex_basic.nw: Added code to implement 1352 o_complex_check_symversion which is called whenever a symbol is 1353 loaded from disk. This function goes through and searches for 1354 the symversion= attribute both inside the symbol and attached to 1355 the instanciated symbol and checks to make sure nothing/something 1356 has changed. 1357 1358 * noweb/o_complex_basic.nw: Rearranged o_complex_is_eligible_attribute 1359 a little to make it easier to force certain attributes (like the 1360 new symversion= attribute) to be always promoted (even if they are 1361 invisible). Misc whitespace cleanup too. 1362 1363 * noweb/o_complex_basic.nw: Fixed a few spelling mistakes and 1364 changed version checking so that minor changes are not checked if 1365 there are major changes. 1366 13672004-07-03 Ales Hvezda <ahvezda@geda.seul.org> 1368 1369 * configure.ac: Added code to specify the rc directory via 1370 --with-rcdir. Also set GEDARCDIR for the newly added rc code. 1371 1372 * include/Makefile.am, papersizes.h, libgeda.h: Added papersizes.h 1373 from gschem. 1374 1375 * include/prototypes.h: Added a whole slew of new function 1376 prototypes for the new g_rc_* functions. 1377 1378 * src/Makefile.am, noweb/Makefile.am, noweb/g_register.nw, 1379 g_rc.nw, i_vars.nw, include/i_vars.h: Moved a whole bunch of rc code 1380 into libgeda from the various programs. It is now possible to 1381 write libgeda dependent programs without having to duplicate a lot 1382 of rc code. 1383 1384 * noweb/libgeda.nw: Added a bunch of init routines which the 1385 individual programs were calling into libgeda_init(). 1386 1387 * configure.ac: Updated version to 20040710 and changed shared library 1388 version to 21:0:0 1389 13902004-05-23 Ales Hvezda <ahvezda@geda.seul.org> 1391 1392 * noweb/o_bus_basic.nw, o_net_basic.nw, s_cue.nw: Fixed the multi 1393 colored dot postscript problem reported by Gabriel Paubert. Removed 1394 some completely redundant postscript to set the color in the wrong 1395 spot. 1396 13972004-01-17 Ales Hvezda <ahvezda@geda.seul.org> 1398 1399 * config.h.in: Remove machine generated file. 1400 14012004-01-11 Ales Hvezda <ahvezda@geda.seul.org> 1402 1403 * configure.ac: Updated version to 20040111 1404 1405 * noweb/o_arc_basic.nw o_attrib.nw o_box_basic.nw o_bus_basic.nw 1406 o_circle_basic.nw o_line_basic.nw o_pin_basic.nw o_text_basic.nw: 1407 Fixed most -Wall warnings. 1408 1409 * include/prototype.h: Added missing function (caught by -Wall 1410 in gschem) 1411 1412 * noweb/o_pin_basic.nw: Had to remove the pin whichend reset 1413 I added on 2003-12-22, since it broke the auto pin whichend 1414 code (o_pin_update_whichend; which relies on whichend equaling -1 1415 when the whichend is unknown). Fix the whichend for embedded 1416 components still needs to be dealt/fixed. This problem needs a 1417 release note. 1418 14192004-01-10 Ales Hvezda <ahvezda@geda.seul.org> 1420 1421 * noweb/o_text_basic.nw: Fixed the postscript printing of text 1422 when it is rotated 180 degrees. 1423 1424 * noweb/o_text_basic.nw: Attempted to get the multi line text 1425 printing a little more accurate. Not quite there, still have a 1426 large error when the text consists of many lines. Work in 1427 progress. 1428 1429 * include/defines.h: Changes LINE_SPACING to be a float. 1430 14312004-01-04 Ales Hvezda <ahvezda@geda.seul.org> 1432 1433 * noweb/o_text_basic.nw: Applied a patch by Carlos for the new 1434 spanish characters he contributed. 1435 14362003-12-31 Ales Hvezda <ahvezda@geda.seul.org> 1437 1438 * noweb/o_attrib.nw: Fixed a really nasty bug which only 1439 appeared when using glib 1.2.x. Appearently g_strsplit() does 1440 not split strings under glib 1.2.x vs glib 2.2.x in the same way. 1441 Put back some old code which works properly when using glib 1.2.x. 1442 Bug identified by Stuart. Thanks! 1443 1444 * include/prototype.h: Added missing function prototypes. 1445 1446 * configure.ac: Bumped version to 20031231 1447 14482003-12-30 Ales Hvezda <ahvezda@geda.seul.org> 1449 1450 * noweb/o_text_basic.nw, include/struct.h: Added displayed_width 1451 and displayed_height variables to the st_text structure. These 1452 variables represent the actual width and height of the displayed 1453 string. This info is needed when drawing the quick text rectangles. 1454 14552003-12-29 Ales Hvezda <ahvezda@geda.seul.org> 1456 1457 * noweb/o_text_basic.nw: Added multi line text postscript output. 1458 It works mostly, but there are still some unexplained 1459 inaccuracies. 1460 1461 * noweb/o_pin_basic.nw: Further refined the fix to the embedded 1462 pins not having the right whichone set. 1463 1464 * noweb/o_text_basic.nw: Partially applied a UTF patch by Carlos. 1465 This patch started adding unicode support to the internal font 1466 table. Since I cannot test this change right now, I have decided 1467 to not apply this patch completely. I did apply all the 1.5 to 2 1468 changes as well as the memory leak plug. 1469 1470 * noweb/o_text_basic.nw: Included in the above patch was the 1471 change to make the multi line spacing 2 instead of 1.5. I made 1472 this line spacing parameter a #define (in defines.h) to make 1473 changing it easier. Eventually this will have to become a rc files 1474 parameter. 1475 1476 * noweb/o_attrib.nw: Applied another patch by Carlos to remove 1477 the restriction that attributes cannot be multi line text objects. 1478 14792003-12-22 Ales Hvezda <ahvezda@geda.seul.org> 1480 1481 * noweb/o_pin_basic.nw: In search of the "why aren't pins which are 1482 part of embedded components not connecting" bug, discovered 1483 that if an older schematic is read (with embedded components), 1484 the whichone variable wasn't being reset properly (missing <= ). 1485 14862003-11-20 Ales Hvezda <ahvezda@geda.seul.org> 1487 1488 * include/struct.h, noweb/s_project.nw: Added unnamed_netname 1489 variable to TOPLEVEL (and initialized to NULL). This is for 1490 gnetlist. 1491 14922003-11-09 Ales Hvezda <ahvezda@geda.seul.org> 1493 1494 * config.guess config.sub depcomp install-sh ltmain.sh missing 1495 mkinstalldirs: Removed machine generated files from CVS 1496 1497 * Makefile.am: Added the above files to be cleaned during 1498 maintainer-clean 1499 1500 * autogen.sh: Added script to create auto* generated files 1501 15022003-10-26 Ales Hvezda <ahvezda@geda.seul.org> 1503 1504 * noweb/o_text_basic.nw: Added some code to make sure that the 1505 TAB_CHAR_MODEL character is loaded (via o_text_load_font) before 1506 its text_size is used. 1507 15082003-10-22 Ales Hvezda <ahvezda@geda.seul.org> 1509 1510 * include/defines.h: Applied Carlos' latest tab improvement patch. 1511 Added TAB_CHAR_MODEL as a #define. TAB_CHAR_MODEL defines what 1512 character is used to decide how big the single space in the tab 1513 character is. 1514 1515 * noweb/o_text_basic.nw: Also part of Carlos' latest tab 1516 improvement patch. Calculated the spacing for a tab using the 1517 TAB_CHAR_MODEL and adding an offset. 1518 15192003-10-19 Ales Hvezda <ahvezda@geda.seul.org> 1520 1521 * a_basic.nw, g_smob.nw, m_basic.nw, o_arc_basic.nw, o_attrib.nw, 1522 o_box_basic.nw, o_bus_basic.nw, o_circle_basic.nw, o_complex_basic.nw, 1523 o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw, o_text_basic.nw, 1524 s_basic.nw, s_slib.nw: Applied Carlos Nieves Onega's multi-line text 1525 patch. Thank you Carlos! The next items are the all changes from 1526 Carlos' patch and my integration changes. The changes happened 1527 over a period of a few weeks, but were checked in on the above 1528 date. 1529 1530 * noweb/a_basic.nw: Removed fixed size buffer from o_save_embedded() 1531 and o_save(). Also changed the function signature (removed buf) 1532 of all o_*_save functions. 1533 1534 * noweb/a_basic.nw: Changed call to o_text_read to take file pointer. 1535 string(s) is now read inside o_text_read(). 1536 1537 * noweb/a_basic.nw: Removed old string[...] variable. 1538 1539 * noweb/a_basic.nw: Added missing free() in o_save_embedded(). 1540 1541 * noweb/a_basic.nw: Simplified the update sym/sch message 1542 1543 * noweb/g_smob.nw: Fixed up call to o_attrib_get_name_value (which 1544 now it's own memory allocation of the parameters). 1545 1546 * noweb/g_smob.nw: Added if's around free's since 1547 o_attrib_get_name_value can return null in certain cases. 1548 1549 * noweb/m_basic.nw: Removed unnecessary calculation from 1550 set_window() 1551 1552 * noweb/o_arc_basic.nw: Changed signature of o_arc_save to just 1553 take an object pointer. 1554 1555 * noweb/o_attrib.nw: Removed fixed size character buffer in 1556 o_read_attribs. 1557 1558 * noweb/o_attrib.nw: Changed o_save_attribs to call new signature 1559 save functions. 1560 1561 * noweb/o_attrib.nw: Changed o_attrib_get_name_value to return 1562 allocated character buffers (instead of having to pre-allocate 1563 them). This change had significant impact on lots of other code. 1564 If instability occurs, then look at all instances of 1565 o_attrib_get_name_value to make sure memory is allocated properly 1566 and freed. Name and value must be freed eventually. 1567 1568 * noweb/o_attrib.nw: o_attrib_get_name_value() was rewritten to 1569 use g_strsplit to break up the string into name and value. 1570 1571 * noweb/o_attrib.nw: o_attrib_search_name(), 1572 o_attrib_search_string_partial(), o_attrib_search_attrib_value(), 1573 o_attrib_search_attrib_name(), o_attrib_search_toplevel(), 1574 o_attrib_search_name_single(), o_attrib_search_name_single_count(): 1575 All modified to use the newly changed o_attrib_get_name_value(). 1576 1577 * noweb/o_attrib.nw: Added a bunch of frees in certain places to 1578 prevent memory leaks. 1579 1580 * noweb/o_attrib.nw: Rearranged o_attrib_get_name_value() so that 1581 a memory leak does not occur (check the input up front as possible 1582 before splitting the attribute) 1583 1584 * noweb/o_attrib.nw: Added extra checks to prevent possible core 1585 dumps. 1586 1587 * noweb/o_attrib.nw: Removed an extra malloc which was causing a 1588 memory leak. 1589 1590 * noweb/o_attrib.nw: Changed the "Found an improper attribute: ..." 1591 message to be logged to the log file instead of stderr. 1592 1593 * noweb/o_box_basic.nw: Changed signature of o_box_save to just 1594 take an object pointer. 1595 1596 * noweb/o_bus_basic.nw: Changed signature of o_bus_save to just 1597 take an object pointer. 1598 1599 * noweb/o_circle_basic.nw: Changed signature of o_circle_save to just 1600 take an object pointer. 1601 1602 * noweb/o_complex_basic.nw: Removed fixed size character buffer 1603 from: o_complex_add(), o_complex_read(), o_complex_save(). 1604 Changed signature of o_complex_save to just take an object pointer. 1605 1606 * noweb/o_line_basic.nw: Changed signature of o_line_save to just 1607 take an object pointer. 1608 1609 * noweb/o_net_basic.nw: Changed signature of o_net_save to just 1610 take an object pointer. 1611 1612 * noweb/o_pin_basic.nw: Changed signature of o_pin_save to just 1613 take an object pointer. 1614 1615 * noweb/s_basic.nw: Add null check in nl_remove(). Added 1616 remove_last_nl(). 1617 1618 * noweb/s_slib.nw: Removed fixed size character buffer. 1619 1620 * noweb/o_text_basic.nw: Added o_text_num_lines() 1621 1622 * noweb/o_text_basic.nw: In o_text_load_font removed fixed size 1623 character buffer. Added code to set the width of the new line 1624 character (a nop really) and set the width of characters that 1625 cannot be identified. 1626 1627 * noweb/o_text_basic.nw: Rewrote o_text_height() and 1628 o_text_width() to handle multiple line text objects. o_text_height 1629 takes the input string (since it can be multiple lines long) as 1630 a parameter now. 1631 1632 * noweb/o_text_basic.nw: Removed a size adjustment hack when 1633 calculating the width of a string. 1634 1635 * noweb/o_text_basic.nw: Added code to o_text_create_string to 1636 handle multi-line text objects. Also added code to handle 1637 tab characters within text lines. 1638 1639 * noweb/o_text_basic.nw: Added code to o_text_create_string to 1640 not add newline or tabs to the lowlevel text list 1641 1642 * noweb/o_text_basic.nw: Removed fixed size character buffers in 1643 o_text_add(). Removed 1024 limit on text lines. Fixed up a call 1644 to o_attrib_get_name_value to use the new function signature. 1645 1646 * noweb/o_text_basic.nw: Changed o_text_read() to take the file 1647 pointer as an argument. This function now reads in the multiple 1648 lines of text. Added code to handle the reading in of multi-line 1649 text items when the file format is 1. 1650 1651 * noweb/o_text_basic.nw: Added log message when using gtk+ 1.2.x and 1652 a multi-line text item is read in. 1653 1654 * noweb/o_text_basic.nw: In o_text_set_info_font(), added code to 1655 set the width of the special newline character correctly. 1656 1657 * noweb/o_text_basic.nw: Added code to set the text width of 1658 character not found (loaded the ? char instead) 1659 1660 * noweb/o_text_basic.nw: Changed signature of o_net_save to just 1661 take an object pointer. Changed file format to save the number 1662 of lines in the text item. 1663 1664 * noweb/o_text_basic.nw: In o_text_recreate(), o_text_print(), 1665 o_text_mirror_old(), fixed the usage of o_attrib_get_name_value(). 1666 1667 * noweb/o_text_basic.nw: Removed the w_current parameter from 1668 o_text_height() since it is not used. 1669 1670 * noweb/g_smob.nw, o_attrib.nw, o_text_basic.nw: Added some checks 1671 to make sure valid pointers are freed (everywhere 1672 o_attrib_get_name_value) is called. 1673 1674 * noweb/*.nw: misc code format cleanup 1675 1676 * include/prototype.h: Changed string to file pointer to 1677 o_text_read() 1678 1679 * include/defines.h: Added #define for max single line length. 1680 The text line can spawn multiple 1024 length lines, but a single 1681 line can only be 1024 characters long. 1682 1683 * include/globals.h: Added tab_in_chars global variable. 1684 1685 * noweb/o_attrib.nw: Removed old string[...] variable. 1686 1687 * noweb/o_attrib.nw: Added code to make sure that attributes are 1688 only a single line. 1689 1690 * noweb/o_box_basic.nw, noweb/o_circle_basic.nw: Removed all // 1691 comments (replaced them with C comments) 1692 16932003-10-18 Ales Hvezda <ahvezda@geda.seul.org> 1694 1695 * configure.ac: Updated version to something more recent, but this 1696 version is not an official release. 1697 16982003-10-05 Ales Hvezda <ahvezda@geda.seul.org> 1699 1700 * configure.ac: Oops, misspelled saved_CFLAGS and therefore libgeda 1701 wasn't being built with -O2 -g which probably caused the code to be 1702 rather un-optimal. Fixed. 1703 17042003-10-04 Ales Hvezda <ahvezda@geda.seul.org> 1705 1706 * configure.ac: Updated version to something more recent, but this 1707 version is not an official release. 1708 1709 * noweb/a_basic.nw, o_arc_basic.nw, o_attrib.nw, o_box_basic.nw, 1710 o_bus_basic.nw, o_circle_basic.nw, o_complex_basic.nw, 1711 o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw, o_text_basic.nw: 1712 Added the file format flag to the "v" file line. Also moved all 1713 version numbers into include/define.h. 1714 1715 * noweb/o_text_basic.nw: Removed fudge factor from width calculation. 1716 1717 * include/defines.h: Added version numbers, added #define for the 1718 current file format version (FILEFORMAT_VERSION). 1719 1720 * include/prototype.h: Updated due to changed loading function 1721 signatures. 1722 1723 * configure.ac: Incremented shared library to 20 1724 17252003-09-20 Ales Hvezda <ahvezda@geda.seul.org> 1726 1727 * configure.ac: Fixed MinGW cflags/ldflags 1728 1729 * auto* files: Updated to autoconf 2.57 and automake 1.7.6 1730 17312003-08-31 Ales Hvezda <ahvezda@geda.seul.org> 1732 1733 * configure.ac: Changed AC_CONFIG_HEADER to AM_CONFIG_HEADER 1734 1735 * configure.ac: Removed the use of GUILE_PROGS as it is not part 1736 of guile 1.4. Put in a manual check for guile-config. 1737 17382003-08-30 Ales Hvezda <ahvezda@geda.seul.org> 1739 1740 * configure.ac: Fixed the test for libgdgeda. It was failing if 1741 it was not installed; libgdgeda is optional and should not cause 1742 a configure to fail. 1743 17442003-08-24 Ales Hvezda <ahvezda@geda.seul.org> 1745 1746 * configure.ac: Improved a bunch of the external library tests for 1747 gtk+, guile. 1748 1749 * configure.ac: Improved the configuration summary message. 1750 1751 * configure.ac: Oops forgot to AC_SUBST the LIBTOOL_FLAGS variable, 1752 shared library was being build with the wrong version 1753 1754 * configure.ac: Added --with-gtk12 flag so that users can force 1755 libgeda to use gtk+ 1.2 instead of gtk+ 2.2.x (if it is found) 1756 1757 * configure.ac: Removed gtk+ and the X libraries from LIBGEDA_LDFLAGS 1758 variable so that programs that don't need gtk+ or X, don't link those 1759 libraries. gschem is the only program which should be linking gtk+ 1760 and X. 1761 17622003-07-01 Ales Hvezda <ahvezda@geda.seul.org> 1763 1764 * configure.ac and friends: Rewrote the configure scripts to be sane, 1765 much simpler, and up-to-date. 1766 1767 * configure.in, acconfig.h, and others: Removed a whole bunch of 1768 obsolete files. 1769 1770 * noweb/o_arc_basic.nw, o_box_basic.nw o_bus_basic.nw 1771 o_circle_basic.nw, o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw: 1772 Obsoleted the HAS_LIBGDGEDA2 #define. libgdgeda 2.0.15 is now 1773 required. 1774 1775 * libgeda.pc.in: Added new file which is used with pkg-config. 1776 libgeda now requires pkg-config to configure and the other tools will 1777 need pkg-config to link to libgeda. 1778 1779 * libgeda-config.in: Remove this file in favor to using pkg-config. 1780 1781 * Toplevel Makefile: Added PKG_CONFIG_PATH environment variable to 1782 the help message. This variable is now required. 1783 1784 * *.in, *.h, etc: Removed a bunch of old unneeded auto* files. 1785 1786 * Toplevel Makefile: Changed the libgeda-config-install to 1787 libgeda-pc-install (for the libgeda.pc file) 1788 1789 * Toplevel Makefile: Removed all traces of gesym-config*, since 1790 this script is no longer used. 1791 17922003-06-30 Ales Hvezda <ahvezda@geda.seul.org> 1793 1794 * configure.in, Makefile.am's etc: Applied gtk+-2.x patch by Ye Ma 1795 1796 * noweb/*.nw: A few tweaks to get the above to build. 1797 17982003-05-25 Ales Hvezda <ahvezda@geda.seul.org> 1799 1800 * noweb/o_arc_basic.nw, o_circle_basic.nw: Added missing break; 1801 to make compiler happy. 1802 1803 * noweb/o_bus_basic.nw: Removed unused variable. 1804 1805 * noweb/s_page.nw: Added missing string.h include. 1806 18072003-05-22 Ales Hvezda <ahvezda@geda.seul.org> 1808 1809 * configure.in: Updated version 1810 18112003-02-24 Ales Hvezda <ahvezda@geda.seul.org> 1812 1813 * src/Makefile.am: Bumped shared library version number to 18. 1814 18152003-02-23 Ales Hvezda <ahvezda@geda.seul.org> 1816 1817 * include/defines.h, noweb/f_print.nw: Applied Antonio's no 1818 margin printing patch (with minor modifications). Thanks. 1819 1820 * include/defines.h, noweb/f_print.nw: Renamed "limits" to 1821 "extents" 1822 18232003-02-22 Ales Hvezda <ahvezda@geda.seul.org> 1824 1825 * noweb/s_clib.nw: Added a little more error checking to 1826 s_clib_add_entry(). 1827 18282003-02-18 Ales Hvezda <ahvezda@geda.seul.org> 1829 1830 * configure.in: Bumped version to 20030223 1831 1832 * config.h.in, configure.in, include/libgeda.h, noweb/g_basic.nw: 1833 Applied Steve Tell's guile 1.6.3 patch. Thanks. 1834 18352003-02-06 Ales Hvezda <ahvezda@geda.seul.org> 1836 1837 * configure.in: Applied Gabriel Paubert's warning reducing patch with 1838 a few minor mods. 1839 18402003-01-29 Ales Hvezda <ahvezda@geda.seul.org> 1841 1842 * configure.in: Changed -fnative-struct to -mms-bitfields for 1843 gcc 3.2 mingw compiler (older mingw compilers are no longer 1844 supported) 1845 18462003-01-07 Ales Hvezda <ahvezda@geda.seul.org> 1847 1848 * noweb/s_page.nw: Fixed debian Bug#175718: geda-gschem: schematic 1849 silently discarded by adding code into s_page_save_all(). 1850 18512002-12-29 Ales Hvezda <ahvezda@geda.seul.org> 1852 1853 * noweb/o_text_basic.nw: Fixed a minor typo by applying Egil's latest 1854 extended character patch (missing break; statement). 1855 18562002-12-23 Ales Hvezda <ahvezda@geda.seul.org> 1857 1858 * acconfig.h, config.h.in, configure.in.h: Added tests to look for 1859 the new libgdgeda 2.0.x 1860 1861 * noweb/o_arc_basic.nw, o_box_basic.nw, o_bus_basic.nw, 1862 o_circle_basic.nw, o_line_basic.nw, o_net_basic.nw, 1863 o_pin_basic.nw: Added calls to the gd thickness function to render 1864 thick lines in the png output 1865 1866 * noweb/s_basic.nw: Initialized a few members of st_object which 1867 should have been set to zero. 1868 18692002-12-22 Ales Hvezda <ahvezda@geda.seul.org> 1870 1871 * noweb/o_text_basic.nw: Applied Norwegian/Danish/German characters 1872 patch from Egil Kvaleberg 1873 18742002-12-15 Ales Hvezda <ahvezda@geda.seul.org> 1875 1876 * include/struct.h: Added menubar variable to TOPLEVEL 1877 18782002-11-30 Ales Hvezda <ahvezda@geda.seul.org> 1879 1880 * aclocal.m4: Removed file from cvs. 1881 18822002-11-04 Egil Kvaleberg <egil@kvaleberg.no> 1883 1884 * noweb/o_text_basic.nw: Changed comment for swedish/finnish characters 1885 since they cause (my version of nowaeve at least) to dump core. 1886 18872002-11-03 Ales Hvezda <ahvezda@geda.seul.org> 1888 1889 * noweb/a_basic.nw: Added code to print out a message when an old 1890 file is read in. 1891 1892 * configure.in: Updated version to 20021103 (an official version) 1893 18942002-10-31 Ales Hvezda <ahvezda@geda.seul.org> 1895 1896 * Makefile.am: Added libgeda-config-install target 1897 18982002-10-28 Ales Hvezda <ahvezda@geda.seul.org> 1899 1900 * configure.in: Bumped version to 20021031 1901 19022002-10-27 Ales Hvezda <ahvezda@geda.seul.org> 1903 1904 * include/defines.h: Added a bunch of #defines for various widths 1905 and the visual cues 1906 1907 * noweb/f_print.nw: Fixed bug: When generating color postscript, 1908 the size of the paper wasn't being dealt with at all (wrt to the 1909 background fill). 1910 1911 * noweb/o_pin_basic.nw: Changed the hard coded value for pin width 1912 when outputing postscript to be 1) #defined and 2) properly computed. 1913 1914 * noweb/o_net_basic.nw: Changed the hard coded value for net width 1915 when outputing postscript to be 1) #defined and 2) properly computed. 1916 1917 * noweb/o_bus_basic.nw: Changed the hard coded value for bus width 1918 when outputing postscript to be 1) #defined and 2) properly computed. 1919 1920 * noweb/o_arc_basic.nw: Fixed a long standing bug (since July 2002), 1921 where arc png output would be wrong. Turns out that the width and 1922 height of an arc are not always equal. Bug reported by Karel 1923 'Clock' Kulhavy. 1924 1925 * noweb/s_cues.nw: Changed the hard coded value for all cues sizes 1926 when outputing postscript to be 1) #defined and 2) properly computed. 1927 1928 * configure and friends: Ran "autoreconf --force --install -v" 1929 to really upgrade to the newest version of the auto* tools. 1930 1931 * include/struct.h: Added force_boundingbox rc variable. 1932 1933 * noweb/s_project.nw: Added init code for above variable. 1934 1935 * noweb/s_pin_basic.nw: Added code that if force_boundingbox variable 1936 is true, then use the entire bounding box in the pin auto whichend 1937 calculation (instead of default: just the pins). 1938 19392002-10-26 Ales Hvezda <ahvezda@geda.seul.org> 1940 1941 * include/struct.h: Added variables for the bus ripper support 1942 in gschem (to TOPLEVEL structure). 1943 1944 * include/defines.h: Added #defines for the bus ripper support 1945 in gschem. 1946 1947 * noweb/s_basic.nw: Added code to init some of the above added 1948 variables 1949 1950 * noweb/o_bus_basic.nw: Added code to properly set the 1951 bus_ripper_direction variable when rotating nets. 1952 19532002-10-22 Ales Hvezda <ahvezda@geda.seul.org> 1954 1955 * include/struct.h: Added bus_ripper_direction variable to objects. 1956 Only valid for buses. 1957 1958 * include/struct.h: Added st_bus_ripper structure. Used in the 1959 auto creation of bus rippers when connecting a net to a bus. 1960 1961 * noweb/s_cue.nw: Changed code to draw the new smaller circles 1962 when connecting a net to a bus. 1963 1964 * noweb/s_conn.nw: Added some restrictions on connections between 1965 nets / pins and buses. You cannot connect a pin to a bus period. 1966 You cannot connect a net to the end of a bus (only to the middle). 1967 1968 * noweb/s_basic.nw: Init of the bus_ripper_direction variable, 1969 which holds a value (0 = no connection, -1, or 1) to decide which 1970 direction the rippers are drawn. 1971 1972 * noweb/o_line_basic.nw: Added o_line_length (returns the length 1973 of a line). 1974 1975 * noweb/o_bus_basic.nw: Added code to the read/save functions to 1976 read/save the bus_ripper_direction flag to disk. Also handled old 1977 versioned files (variable defaults to zero). 1978 1979 * noweb/s_project.nw: Oops, missed override_bus_color in the init 1980 of the toplevel variable. Important since the color of buses was 1981 being set to zero by gschlas. 1982 19832002-10-19 Ales Hvezda <ahvezda@geda.seul.org> 1984 1985 * noweb/o_pin_basic.nw: Oops, broke the single pin case. Added 1986 code handle this case (basically do the original world bounding 1987 box if only one pin is found). Changed function to take this pin 1988 count as a paramater. 1989 1990 * noweb/a_basic.nw: Passed the number of found pins to 1991 o_pin_update_whichend 1992 1993 * configure.in, *.m4: Upgraded to automake 1.7.1 and autoconf 2.54 1994 19952002-10-17 Ales Hvezda <ahvezda@geda.seul.org> 1996 1997 * noweb/o_pin_basic.nw: Added some error checking for the whichend 1998 parameter on pins. 1999 2000 * noweb/o_pin_basic.nw: Changed the get world bounding box call in 2001 o_pin_update_whichend to only look at pins instead of all 2002 graphics. This fixes a bug which Werner Hoch reported. 2003 20042002-09-25 Ales Hvezda <ahvezda@geda.seul.org> 2005 2006 * noweb/a_basic.nw: Minor performance tweek wrt the 20020825 2007 pin compatiblity referenced below. 2008 20092002-09-22 Ales Hvezda <ahvezda@geda.seul.org> 2010 2011 * noweb/o_attrib.nw: Added a missing termination character to an 2012 error condition where an invalid attribute is found. A premptive 2013 fix for a possible core dump in gschem's multi attribute dialog box. 2014 2015 * configure.in: Bumped version to 20020922, which is NOT a release. 2016 2017 * include/struct.h: Added whichend and pin_type to the st_object 2018 structure. These are pin specific variables. 2019 2020 * include/defines.h: Added #defines to support pin_type. Not in use 2021 yet. 2022 2023 * noweb/o_pin_basic.nw: Added o_pin_update_whichend, which figures out 2024 which end is the active connection end point. It does not work on 2025 angled pins. 2026 2027 * noweb/a_basic.nw: Added a call to o_pin_update_whichend (in 2028 o_read) which is called when an old symbol/schematic is read 2029 in to update the pin's which end variable. This code is only 2030 called if a pin is read in. 2031 2032 * noweb/o_pin_basic.nw: Added code to read and write the new file 2033 pin fields (pin_type and whichend). libgeda will still read all the 2034 old formats just fine. 2035 2036 * noweb/o_pin_basic.nw: Updated o_pin_add to take pin_type and 2037 whichend as parameters. 2038 2039 * noweb/s_basic.nw: Inited pin_type and whichend in st_object. 2040 2041 * noweb/s_conn.nw: Added code to control which end point of a pin 2042 can have a connection attached to it. This is control via the 2043 whichend variable. A 0 in whichend is the first end point, while 2044 a 1 is the second end point. You can now draw a net through a pin 2045 and libgeda will only register one connection (at the active end). 2046 20472002-09-16 Ales Hvezda <ahvezda@geda.seul.org> 2048 2049 * noweb/s_project.nw: Added new file. Basically the s_project.c 2050 that gnetlist used is now in libgeda. This will make writing 2051 utils which read in sch/sym files much easier. 2052 2053 * src/Makefile.am: Bumped shared library version number to 17. 2054 2055 * include/funcs.h: Added variable_set_func and quit_func to allow 2056 user programs to use the new s_project_* code. 2057 20582002-08-25 Ales Hvezda <ahvezda@geda.seul.org> 2059 2060 * include/struct.h: Added setpagedevice* rc file variables 2061 2062 * noweb/f_print.nw: Added the code to implement the 2063 setpagedevice-* rc keywords. 2064 2065 * noweb/*.nw: Cleaned up -Wall warnings 2066 20672002-07-14 Ales Hvezda <ahvezda@geda.seul.org> 2068 2069 * noweb/o_attrib.nw: Added a comment to a line which was using 2070 uref= which is now deprecated (replaced by refdes=) 2071 20722002-07-09 Ales Hvezda <ahvezda@geda.seul.org> 2073 2074 * noweb/o_text_basic.nw: Fixed the crash when you try to display 2075 the finnish/swedish characters 2076 20772002-07-07 Ales Hvezda <ahvezda@geda.seul.org> 2078 2079 * noweb/o_complex_basic.nw: Changed o_complex_return_pin_object() 2080 to look for things using the pinnumber= attribute (instead of 2081 pinseq) 2082 2083 * include/defines.h: Renamed a few #defines to slowly migrate away 2084 from the word "label" 2085 20862002-07-06 Ales Hvezda <ahvezda@geda.seul.org> 2087 2088 * configure.in/Makefile.am: Upgraded to automake 1.6.2 2089 20902002-07-05 Ales Hvezda <ahvezda@geda.seul.org> 2091 2092 * noweb/o_complex_basic.nw: Removed an extra / when reading in 2093 embedded components 2094 2095 * noweb/o_attrib.nw: Removed a log message which is not an error: 2096 ( Did not find slot= attribute ) 2097 2098 * noweb/o_complex_basic.nw: Changed o_complex_return_pin_object to 2099 search using the pinseq attribute 2100 21012002-06-27 Ales Hvezda <ahvezda@geda.seul.org> 2102 2103 * noweb/o_attrib.nw: Added a o_attrib_print_reverse to help 2104 in debugging. 2105 2106 * noweb/o_attrib.nw: Added a bit more output to o_attrib_print 2107 to help in debugging. 2108 21092002-06-22 Ales Hvezda <ahvezda@geda.seul.org> 2110 2111 * noweb/u_basic.nw: Changed u_basic_breakup_string to take a 2112 character as a delimiter. 2113 21142002-06-21 Ales Hvezda <ahvezda@geda.seul.org> 2115 2116 * include/struct.h: Moved all the gsymcheck structures to a 2117 gsymcheck specific file 2118 2119 * noweb/o_attrib.nw: Completely removed two obsolete o_attrib_search_* 2120 functions 2121 21222002-06-20 Ales Hvezda <ahvezda@geda.seul.org> 2123 2124 * noweb/s_basic.nw: Added patch by Bryce Denney to remove \r in 2125 remove_nl(...). This was done to have clean interoperability between 2126 the unix and win32 ports. I don't know if the patch is sufficient 2127 to cleanup component (etc...) lines. Will have to test this for the 2128 next release. 2129 2130 * noweb/o_attrib.nw: A few misc cleanups in various functions 2131 2132 * noweb/o_attrib.nw: Added o_attrib_search_string_single to help 2133 support gnetlist backend fix work. Takes an object and a complete 2134 attribute and returns a pointer to the object. 2135 2136 * noweb/o_attrib.nw: Added a null pointer check in 2137 o_attrib_return_parent(...) 2138 21392002-06-18 Ales Hvezda <ahvezda@geda.seul.org> 2140 2141 * noweb/o_attrib.nw: Drastic changes to the standard attributes. 2142 - pin#=# has been removed 2143 - slot#=# has been removed 2144 - pinseq=# added 2145 - pinnumber=# added 2146 - slot#=# removed 2147 - slotdef=#:#,#,#,# added 2148 - A bunch of functions renamed / removed 2149 - A few lame hacks removed 2150 These changes are the first of many that deal with how libgeda handles 2151 pin / slot attributes 2152 2153 * noweb/Makefile.am: Incremented libgeda.so version number 2154 21552002-06-09 Ales Hvezda <ahvezda@geda.seul.org> 2156 2157 * noweb/u_basic.nw: Added u_basic_strip_trailing utility function 2158 21592002-05-27 Ales Hvezda <ahvezda@geda.seul.org> 2160 2161 * include/defines.h: Added OTHER_* seperater #defines. Mainly for 2162 mingw32 port. 2163 2164 * configure.in: Added OTHERPATHSEP 2165 21662002-05-23 Ales Hvezda <ahvezda@geda.seul.org> 2167 2168 * include/libgeda.h: Removed the last reference to gdkx.h 2169 21702002-05-19 Ales Hvezda <ahvezda@geda.seul.org> 2171 2172 * include/struct.h: Added toolbars and handleboxes rc variables 2173 21742002-05-16 Ales Hvezda <ahvezda@geda.seul.org> 2175 2176 * include/struct.h: Added bitmap-directory rc variable 2177 21782002-05-12 Ales Hvezda <ahvezda@geda.seul.org> 2179 2180 * acinclude.m4: Removed file from repository 2181 2182 * include/pcb_struct.h: Removed obsolete file 2183 2184 * include/struct.h: Added warp_cursor rc variable and a bunch of 2185 comment cleanup 2186 21872002-04-08 Ales Hvezda <ahvezda@geda.seul.org> 2188 2189 * configure.in: Changed the function which is search for libpng. 2190 This was needed for the win32 port. 2191 21922002-04-03 Ales Hvezda <ahvezda@geda.seul.org> 2193 2194 * configure.in and friends: More work on getting the upgrade of 2195 autoconf, automake, and libtool to behave correctly. 2196 2197 * configure.in: Added PATHSEP variable which holds the proper path 2198 separater depending on the platform. 2199 2200 * lib/system-*.in: Work on getting rc files to use above variable. 2201 2202 * noweb/o_text_basic.nw: Changed the name of the lower case symbols 2203 to include an _ to make systems like win32 (which have semi-case 2204 sensitive) file systems happy. 2205 22062002-04-01 Ales Hvezda <ahvezda@geda.seul.org> 2207 2208 * include/defines.h: Added a #if and a #define for M_PI 2209 2210 * include/defines.h: Put in #defines for path separater for unix vs 2211 mingw 2212 2213 * noweb/o_complex.nw: Used above path separater #defines in a few 2214 sprintf/u_strdup_multiple 2215 2216 * noweb/o_text.nw: Used above path separater #defines in a few 2217 sprintf/u_strdup_multiple 2218 2219 * noweb/s_log.nw: Used above path separater #defines in a few 2220 sprintf/u_strdup_multiple 2221 2222 * noweb/s_page.nw: Used above path separater #defines in a few 2223 sprintf/u_strdup_multiple 2224 2225 * noweb/s_clib.nw: Used above path separater #defines in a few 2226 sprintf/u_strdup_multiple 2227 2228 * noweb/s_slib.nw: Used above path separater #defines in a few 2229 sprintf/u_strdup_multiple 2230 2231 * configure.in and friends: Upgraded to autoconf 2.53, libtool 1.5, 2232 and automake 1.5. Lots of changes in various places for this upgrade. 2233 22342002-02-24 Ales Hvezda <ahvezda@geda.seul.org> 2235 2236 * configure.in, config.h.in: Added a few checks for some 2237 non-portable #includes 2238 2239 * noweb/*.nw: Reworked the #include section to use the above 2240 checks. 2241 2242 * configure.in: Added checks for mingw32 and disabled the 2243 cygwin port 2244 22452002-02-18 Ales Hvezda <ahvezda@geda.seul.org> 2246 2247 * src/Makefile.am: Andrew Dyer found a GUILE_* bug. Fixed. 2248 2249 * configure.in: Removed all trace of GUILE_LIB and GUILE_INCLUDE 2250 22512001-02-09 Ales Hvezda <ahvezda@geda.seul.org> 2252 2253 * noweb/o_selection.nw: Added o_selection_return_num to return the 2254 number of selected objects 2255 2256 * include/struct.h: Added show_hidden_text to toplevel structure 2257 2258 * noweb/o_text_basic.nw: Went through and make sure that text is 2259 created properly if it is invisible and show_hidden_text is true 2260 2261 * noweb/*.nw bunch of files: Make sure visibility is being dealt with 2262 correct wrt show_hidden_text 2263 2264 * noweb/*.nw: Removed most -Wall warnings 2265 22662001-11-25 Patrick Bernaud <b-patrick@wanadoo.fr> 2267 2268 * noweb/o_arc_basic.nw: Corrected a bug about arc mirroring due to 2269 the last changes (2001-11-21) : my fault. 2270 22712001-11-21 Patrick Bernaud <b-patrick@wanadoo.fr> 2272 2273 * configure.in, Makefile.am: Added test to use notangle_guile.scm 2274 if notangle is not available. 2275 2276 * docs/Makefile.am: Moved the documentation generation here. 2277 2278 * docs/libgedadoc.texi: Renamed libgeda.texi to libgedadoc.texi 2279 to be similar with gschem and to avoid confusion with documentation 2280 of source file libgeda.c. 2281 2282 * src/Makefile.am: Added a rule to produce prototype.h from noweb 2283 files and moved the documentation generation to docs/. 2284 2285 * scripts/geda_totexi.in: Changed geda_totexi to geda_totexi.in 2286 to take benefit from the configure test on AWK. Backend updated 2287 to handle cross-references. 2288 2289 * scripts/notangle_guile.scm.in: Added guile script to tangle 2290 noweb code without the whole noweb package installed. 2291 2292 * noweb/o_{arc|box|circle|line}_basic.nw: Full documentation, 2293 code clean-up and use of the new identifiers for modification. 2294 2295 * include/struct.h: Defined identifiers for particular points 2296 on each type of object. 2297 22982001-07-24 Ales Hvezda <ahvezda@geda.seul.org> 2299 2300 * noweb/o_bus_basic.c: Fixed a typo pointed out by Roger Williams. 2301 23022001-07-22 Ales Hvezda <ahvezda@geda.seul.org> 2303 2304 * noweb/s_attrib.nw, s_basic.nw, s_color.nw, s_log.nw, s_papersizes.nw: 2305 Added patch by Dan Mcmahill for 64-bit architectures. 2306 23072001-07-21 Ales Hvezda <ahvezda@geda.seul.org> 2308 2309 * src/Makefile.am: Bumped shared library version to 14 2310 23112001-07-20 Ales Hvezda <ahvezda@geda.seul.org> 2312 2313 * noweb/s_conn.c: Added s_conn_remove_complex to remove complex 2314 conn connections 2315 23162001-07-19 Ales Hvezda <ahvezda@geda.seul.org> 2317 2318 * configure.in: Bumped up version to 20010722 2319 2320 * configure.in: More updates to get cygwin to build right 2321 23222001-07-07 Ales Hvezda <ahvezda@geda.seul.org> 2323 2324 * noweb/s_menu.nw: Added new file to support dynamic menus in 2325 gschem (add file to all Makefile.am files too) 2326 23272001-07-06 Ales Hvezda <ahvezda@geda.seul.org> 2328 2329 * include/defines.h: Increased the maximum number of files and 2330 directories 2331 2332 * configure.in: (and all other configure.in's) set the VERSION 2333 to 20010708. 2334 23352001-07-02 Ales Hvezda <ahvezda@geda.seul.org> 2336 2337 * configure.in: A little more work to get indent vs gindent to 2338 be detected correctly 2339 23402001-07-01 Ales Hvezda <ahvezda@geda.seul.org> 2341 2342 * configure.in: Now searching for gindent as well as indent 2343 2344 * configure.in: Make sure configure scripts work with autoconf-2.50 2345 (had to fix cygwin check), they do not yet work with 2.50 2346 23472001-06-24 Ales Hvezda <ahvezda@geda.seul.org> 2348 2349 * include/struct.h: Added rc variable and reformated the code 2350 23512001-06-21 Stefan Petersen <spe@geda.seul.org> 2352 2353 * noweb/g_basic.nw: Improved error information when reading *rc 2354 and other minor clean ups. 2355 2356 * include/prototype.h: Removed ORIG_g_read_file 2357 23582001-06-16 Ales Hvezda <ahvezda@geda.seul.org> 2359 2360 * src/Makefile.am: Further improvements on the noweb build mechansim 2361 2362 * src/Makefile.am: Added the ability to build the docs 2363 2364 * docs/Makefile.am: Added makefile 2365 2366 * noweb/Makefile.am: Added makefile 2367 2368 * scripts/Makefile.am: Added makefile 2369 23702001-06-10 Ales Hvezda <ahvezda@geda.seul.org> 2371 2372 * configure.in: Minor cleanup 2373 2374 * src/Makefile.am: Added support for automatic dependency tracking 2375 wrt the noweb files (using VPATH) 2376 2377 * noweb/libgeda.c: Changed the init code so that you do not have 2378 to have the GEDADATADIR variable set, but if it is, override 2379 the default 2380 23812001-06-07 Ales Hvezda <ahvezda@geda.seul.org> 2382 2383 * noweb/libgeda.c: Added an init function for the library which is 2384 responsible for make sure the require environment variable is set 2385 2386 * noweb/Makefile: Added above file 2387 2388 * src/Makefile.am: Added above file 2389 23902001-06-05 Ales Hvezda <ahvezda@geda.seul.org> 2391 2392 * noweb/Makefile: misc path changes 2393 2394 * scripts/geda_totexi: renamed gawk to just plain awk 2395 23962001-06-03 Ales Hvezda <ahvezda@geda.seul.org> 2397 2398 * noweb/*: Added all the .nw files that were done by Patrick B. 2399 2400 * Started the slow switch to noweb (almost there, just have to 2401 get the configure mechanism setup) 2402 2403 * scripts/*: Added noweb -> texi backend script written by Patrick B. 2404 2405 * src/*.c: Removed all *.c files from the repository 2406 24072001-03-18 Ales Hvezda <ahvezda@geda.seul.org> 2408 2409 * Removed all Makefile.in files and configure 2410 24112001-03-17 Ales Hvezda <ahvezda@geda.seul.org> 2412 2413 * Got make dist and make distcheck working (means all files which are 2414 in CVS are in some Makefile) 2415 2416 * configure.in: Added DATADIR instead of PACKAGE 2417 24182001-03-16 Stefan Petersen <spe@geda.seul.org> 2419 2420 * configure, configure.in: Didn't build properly if libgdgeda 2421 was placed in a not common place. 2422 24232001-03-11 Stefan Petersen <spe@geda.seul.org> 2424 2425 * Makefile.am, Makefile.in, acconfig.h, config.h.in, 2426 configure, configure.in, include/Makefile.in, src/Makefile.am, 2427 src/Makefile.in: Removed all traces of libstroke et al and 2428 regenerated some files. 2429 2430 * s_stroke.c : Removed 2431 24322001-03-07 Stefan Petersen <spe@geda.seul.org> 2433 2434 * configure.in: Fixed minor bug introduced yesterday. 2435 24362001-03-06 Stefan Petersen <spe@geda.seul.org> 2437 2438 * configure.in: Removed some hard coded libraries and rearranged 2439 how zlib, libpg and libgdgeda was scanned during configure. 2440 Patch and suggestion from Bruno Schwander. 2441 24422001-03-05 Stefan Petersen <spe@geda.seul.org> 2443 2444 * src/libgeda/s_cue.c: added some missing HAS_LIBGDGEDA. 2445 24462001-03-04 Ales Hvezda <ahvezda@geda.seul.org> 2447 2448 * src/o_complex_basic.c: Re-enabled the bounding box calculation 2449 for arcs inside complex objects. This was possible because 2450 Patrick fixed the bounding box for arcs! 2451 2452 * src/o_arc_basic.c: Fixed mirror / rotate code according to what 2453 Patrick suggested (all object manipulation occurs in world coord 2454 space). 2455 2456 * src/Makefile.am: Bumped shared library version to 12 2457 2458 * configure.in: Updated version 2459 2460 * src/o_complex_basic.c: Allowed the promotion of the device= 2461 attribute 2462 24632001-03-03 Ales Hvezda <ahvezda@geda.seul.org> 2464 2465 * configure.in: Fixed a few bugs dealing with the enabling and 2466 disabling of features via the command line (pointed out by 2467 Karel Kulhavy) 2468 2469 * src/s_cue.c: Added file which contains the postscript and 2470 the image output routines for the cues 2471 2472 * src/f_print.c: Added call to output the cues 2473 2474 * src/f_image.c: Added call to output the cues 2475 2476 * include/defines.h: Added #defines for cue output routines 2477 2478 * src/o_arc_basic.c: Fixed the image output of arcs 2479 24802001-03-02 Ales Hvezda <ahvezda@geda.seul.org> 2481 2482 * src/o_arc_basic.c: Fixed a bug pointed out by Bruno Schwander 2483 (Arcs were to thin compared to thin lines/boxes) 2484 2485 * src/o_circle_basic.c: Removed some line whitespace at the top 2486 of the file 2487 24882001-03-01 Ales Hvezda <ahvezda@geda.seul.org> 2489 2490 * src/*.c: Converted some // comments to /* */ 2491 2492 * src/*.c: Cleaned up some -Wall warning messages 2493 24942001-02-25 Ales Hvezda <ahvezda@geda.seul.org> 2495 2496 * src/o_attrib.c: Added some if (... == NULL) checks to prevent 2497 some core dumps 2498 24992001-02-23 Ales Hvezda <ahvezda@geda.seul.org> 2500 2501 * src/s_hierarchy.c: Added code to either do a normal hierarchy 2502 load or force the load (for gnetlist and hierarchical traversal) 2503 2504 * src/s_page.c: Added code to forcibly load a schematic page 2505 (s_page_new_lowlevel). Modified s_page_new to use this new 2506 routine. 2507 25082001-02-17 Ales Hvezda <ahvezda@geda.seul.org> 2509 2510 * include/struct.c: Removed more of the old connection code 2511 (which was #ifdef'ed out) 2512 2513 * src/s_page.c: Commented in stretch_head, stretch_tail init code 2514 2515 * src/s_page.c: Removed all trace of the old connection code 2516 (which was #ifdef'ed out) 2517 2518 * src/s_stretch.c: Put this file back into the build 2519 2520 * src/f_*.c: Removed all traces of the old connection code 2521 25222001-02-16 Ales Hvezda <ahvezda@geda.seul.org> 2523 2524 * src/o_net_basic.c: Oops, nets which caused midpoints were being 2525 consolidated away (bad), fixed this by checking first to make 2526 sure that that particular endpoint didn't cause any midpoints 2527 (if it did, don't consolidate the net) 2528 25292001-02-11 Ales Hvezda <ahvezda@geda.seul.org> 2530 2531 * src/o_net_basic.c, src/o_pin_basic.c: Moved the tile update call 2532 inside the ADDING_SEL if inside the *_add functions. 2533 2534 * src/s_tile.c: Added a return if ADDING_SEL is true. 2535 2536 * src/o_list.c: Made some changes in the various o_list_* 2537 functions regarding ADDING_SEL. Have to watch for any side 2538 effects 2539 2540 * src/o_net_basic.c: Rewrote net consolidate code to work with the 2541 new connection system 2542 25432001-02-10 Ales Hvezda <ahvezda@geda.seul.org> 2544 2545 * src/o_complex_basic.c: Minor changes, call net functions for 2546 nets (not the line functions). All this needs to be cleaned up 2547 eventually 2548 2549 * Started syncing with cvs repository 2550 25512001-02-08 Ales Hvezda <ahvezda@geda.seul.org> 2552 2553 * src/o_complex_basic.c: In one of the translate functions, 2554 removed a whole bunch of cruft. 2555 25562001-02-04 Ales Hvezda <ahvezda@geda.seul.org> 2557 2558 * src/o_complex_basic.c: Added a flag to save the state of 2559 ADDING_SEL (bad variable name, it really means that you want to 2560 delay doing any s_conn_update_* calls) 2561 2562 * src/s_conn.c: Changed the *_return* functions to take in a list 2563 and then return it 2564 2565 * src/s_tile.c: Changed update function to return if an invalid 2566 v, w tile index was ever calculated (this means that the objects 2567 is outside of the tile grid (which is okay mainly for rotation of 2568 objects) 2569 2570 * src/s_page.c: Made sure page_current points to the current page 2571 being freed in s_page_free_all 2572 2573 * src/s_tile.c: Changed s_tile_remove_object to take a page 2574 parameter (so that the objects get removed from the right page) 2575 25762001-02-03 Ales Hvezda <ahvezda@geda.seul.org> 2577 2578 * src/s_conn.c: Added s_conn_return_complex_others to support 2579 o_copy in gschem 2580 25812001-02-03 Patrick Bernaud <b-patrick@wanadoo.fr> 2582 2583 * src/o_arc_basic.c: Added function o_arc_modify() 2584 25852000-01-30 Ales Hvezda <ahvezda@geda.seul.org> 2586 2587 * src/o_attrib.c: Added o_attrib_search_component which looks for 2588 an attribute both inside and outside of the component 2589 25902001-01-24 Patrick Bernaud <b-patrick@wanadoo.fr> 2591 2592 * src/o_arc_basic.c: Modified the code for bounding box on arc, 2593 cleaned the translation/rotation functions, added function 2594 o_arc_recalc_world(), changed the meaning of arc fields 2595 2596 * src/o_box_basic.c: Added functions to print the filling of a box 2597 2598 * src/o_circle_basic.c : Added functions to print the filling 2599 of a circle 2600 26012001-01-23 Ales Hvezda <ahvezda@geda.seul.org> 2602 2603 * src/s_conn.c: Minor cleanups 2604 26052001-01-17 Ales Hvezda <ahvezda@geda.seul.org> 2606 2607 * src/s_conn.c: More work on getting this all done (worked on mid- 2608 point connections 2609 2610 * src/s_tile.c: Minor update to the free all routine (more info) 2611 26122001-01-16 Ales Hvezda <ahvezda@geda.seul.org> 2613 2614 * src/s_conn.c: Bunch of changes to get new conn system finished 2615 26162000-01-15 Ales Hvezda <ahvezda@geda.seul.org> 2617 2618 * src/o_image.c: Fixed bug -- allow the background of pngs to 2619 take on a different value than black, bug pointed out by 2620 George Billios 2621 26222001-01-07 Ales Hvezda <ahvezda@geda.seul.org> 2623 2624 * include/struct.h: Added conn_list list as well as new version 2625 of st_conn 2626 2627 * src/s_conn.c: Added new file which contains the routines to support 2628 the new connection scheme 2629 2630 * src/o_net_basic.c: Added s_conn_update_object call to *net_add 2631 function 2632 2633 * src/o_pin_basic.c: Added s_conn_update_object call to *pin_add 2634 function 2635 2636 * src/o_bus_basic.c: Added s_conn_update_object call to *bus_add 2637 function 2638 2639 * src/o_complex_basic.c: Had to add some flags to prevent the 2640 calc of connections for complex objects; the connection update needs 2641 to happen once all the prim_objs have been translated to their 2642 final resting spot 2643 2644 * src/s_basic.c: Added calls and variable inits for new conn system 2645 2646 * include/defines.h: Removed some old conn #defines, replaced them 2647 with new simplified ones 2648 26492001-01-05 Ales Hvezda <ahvezda@geda.seul.org> 2650 2651 * src/o_arc_basic.c: Fixed the PS printing of solid arcs if they 2652 are mirror (and/or rotated). Bug pointed out by Matt Ettus 2653 26542001-01-01 Ales Hvezda <ahvezda@geda.seul.org> 2655 2656 * src/*.c: Removed all trace of the conn_table, o_conn, s_nethash 2657 functions. This is in prep for the total rewrite 2658 2659 * include/struct.h: Removed conn table and nethash table and also 2660 removed stretch structure for now. 2661 2662 * src/s_tile.c: Added new file and function which divide up the 2663 world space into smaller tiles (will be used by the new conn 2664 system) 2665 2666 * include/struct.h: Added world_tiles 2d array to page structure 2667 2668 * include/struct.h: Added st_tile data structure 2669 2670 * include/defines.h: Added MAX_TILES_X and MAX_TILES_Y #defines 2671 2672 * src/s_page.c: Added s_tile_init to s_page_add 2673 2674 * src/s_tile.c: More work on some of the routines to get objects 2675 into the right tiles 2676 2677 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Added call to 2678 s_tile_add_object when an object is added to object_head 2679 (or object_tail) 2680 2681 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Called copy 2682 routines with the right x,y values so that tiling code works right 2683 2684 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Added a bunch of 2685 calls to s_tile_update_object after the object is translate 2686 (moved around) 2687 2688 * include/struct.h: Added to the object structure tile_locs which is 2689 a list of tile locations (in which tiles the object exists in) 2690 2691 * src/s_basic.c: Added init code to deal with above list 2692 26932000-12-17 Ales Hvezda <ahvezda@geda.seul.org> 2694 2695 * src/Makefile.am: Bumped libgeda.so version to 11 2696 26972000-12-10 Ales Hvezda <ahvezda@geda.seul.org> 2698 2699 * include/struct.h: Removed zoom_factor variable 2700 2701 * src/o_arc.c: Finally added code to implement the line type 2702 postscript output for arcs 2703 2704 * src/o_circle.c: Also added code to implement the line type 2705 postscript output for circles (using arc code) 2706 2707 * src/configure.in: Added back the lines (saved_cflags etc...) 2708 which caused debug output to be included in the build 2709 27102000-12-09 Ales Hvezda <ahvezda@geda.seul.org> 2711 2712 * src/m_basic.c: Put some code into WORLDtoSCREEN routines to bound 2713 coords to +/- 2^15 - 1 This is caused by 1) a less than perfect 2714 clipping routine and 2) the fact that X stores coords in signed 2715 shorts. This may effect portability to machines where this isn't 2716 the case. The original manifested itself by an endpoint (zoomed 2717 really really close) suddenly drawing itself incorrectly. The 2718 clipping routine I used doesn't handle horizontal lines at all. 2719 2720 * src/s_nethash.c: #if DEBUG'ed out a printf 2721 2722 * src/f_basic.c: Removed all trace of zoom_factor 2723 2724 * src/s_page.c: Removed all trace of zoom_factor 2725 2726 * src/m_basic.c: #if 0'd out unused return_zoom_number function 2727 27282000-12-07 Ales Hvezda <ahvezda@geda.seul.org> 2729 2730 * src/o_basic.c, o_conn.c: Started Removing DONT_* flags 2731 2732 * include/defines.h: Added some pan related #defines 2733 27342000-12-03 Ales Hvezda <ahvezda@geda.seul.org> 2735 2736 * configure.in: Slightly rearranged things to make cygwin port happy 2737 2738 * src/m_basic.c: Integrated changes by Werner Hoch, added round_5_2_1 2739 function 2740 27412000-11-30 Ales Hvezda <ahvezda@geda.seul.org> 2742 2743 * src/s_nethash.c: Rewrote s_nethash_build to not use the internals 2744 of the hash table. New version uses a *_hash_foreach function. 2745 The original function was poorly written and violated library 2746 encapsulation (my bad). 2747 2748 * src/o_circle.c: Removed unneeded variable 2749 2750 * configure.in: Added -fnative-struct flag for CYGWIN port only 2751 2752 * configure.in: Added --enable-debug flag to enable -g flag 2753 27542000-11-21 Ales Hvezda <ahvezda@geda.seul.org> 2755 2756 * include/struct.h: Added netconn_rubberband variable to st_toplevel 2757 structure 2758 27592000-11-16 Ales Hvezda <ahvezda@geda.seul.org> 2760 2761 * src/s_nethash.c: Added creation function (from 2762 gnetlist/src/s_traverse.c) 2763 2764 * src/s_nethash.c: Renamed all functions to s_nethash_* 2765 2766 * src/s_page.c: Put in the calls to destroy the nethash data structure 2767 when a page is deleted 2768 2769 * src/s_nethash.c: Added s_nethash_delete_all function 2770 2771 * include/struct.h: Added conn_list function to st_nethash 2772 2773 * src/s_nethash.c: Added conn_list variable usage code 2774 2775 * src/s_stretch.c: Added code to check the uniqueness of midpoint 2776 connections when they are added to the stretch structure 2777 27782000-11-12 Ales Hvezda <ahvezda@geda.seul.org> 2779 2780 * include/struct.h: Added st_stretch structure (and typdef) 2781 2782 * src/s_stretch.c: Added file which will contain the low level 2783 data structure for stretching/rubberbanding when a move occurs 2784 2785 * include/struct.h: Added stretch_head to page structure 2786 2787 * src/s_page.c: Added the init of stretch_head 2788 2789 * include/struct.h: Fixed the misspelling of separator 2790 27912000-11-04 Ales Hvezda <ahvezda@geda.seul.org> 2792 2793 * include/struct.h: Added some variables the undo structure to hold 2794 hierarchy state 2795 2796 * src/s_undo.c: Put in code to use the above added variables 2797 2798 * src/s_undo.c: Added the above variables to s_undo_add 2799 2800 * src/u_basic.c: Oops, didn't allocate enough memory for a temp string 2801 in u_basic_breakup_string. Fixed. 2802 2803 * src/u_basic.c: Minor correct to malloc 2804 28052000-11-02 Ales Hvezda <ahvezda@geda.seul.org> 2806 2807 * include/struct.h: Added some more gnetlist rc variables to toplevel 2808 struct 2809 2810 * include/defines.h: Added some hierarchy_*_order #defines 2811 2812 * src/o_attrib.c: Put in a very very lame lame lame hack in 2813 o_attrib_search_name_partial which should be taken out and shot. 2814 It better be removed when I fix the pin#=# problems 2815 28162000-10-31 Ales Hvezda <ahvezda@geda.seul.org> 2817 2818 * include/struct.h: Added some gnetlist rc variables to toplevel 2819 struct 2820 28212000-10-31 Stefan Petersen <spe@geda.seul.org> 2822 2823 * src/f_basic.c: Fixed f_open to return 0 on failure to open a 2824 schematic and 1 on success. (Ales merged his changes to match this) 2825 28262000-10-26 Patrick Bernaud <b-patrick@wanadoo.fr> 2827 2828 * src/o_basic.c, o_box_basic.c, o_circle_basic.c: New fill 2829 support and minor changes to line type support. 2830 28312000-10-22 Ales Hvezda <ahvezda@geda.seul.org> 2832 2833 * src/f_basic.c: Slightly changed Stefan's f_open change. Even if 2834 you cannot open a file, you should still setup the page. 2835 2836 * include/struct.h: Added some fields in the gnetlist structs for 2837 the pinlabel 2838 2839 * include/struct.h: Added more fields in the gnetlist structs for 2840 prefix / suffix strings (for hierarchy support) 2841 28422000-10-10 Stefan Petersen <spe@geda.seul.org> 2843 2844 * src/f_basic.c: f_open returns an int; 0 on failure, 1 on success 2845 2846 * include/prototype.h: f_open returns an int. 2847 28482000-10-07 Ales Hvezda <ahvezda@geda.seul.org> 2849 2850 * src/s_slib.c, src/s_clib.c: changed order for #include <dirent.h> 2851 and removed a #if defined for CYGWIN32 2852 2853 * configure.in: Removed an really old GTK+ check which is no longer 2854 needed 2855 28562000-10-06 Ales Hvezda <ahvezda@geda.seul.org> 2857 2858 * src/o_line_basic.c: Removed all // comments 2859 2860 * src/Makefile.am: Bumped libgeda so version to 10.0.0 2861 28622000-10-05 Ales Hvezda <ahvezda@geda.seul.org> 2863 2864 * src/o_circle_basic.c: Added o_circle_modify 2865 2866 * src/*.c: Fixed most -Wall warnings 2867 2868 * include/struct.h: Added some variables for new line type / width 2869 dialog box 2870 28712000-10-04 Ales Hvezda <ahvezda@geda.seul.org> 2872 2873 * include/struct.h: Added draw_grips variable to OBJECT structure 2874 2875 * src/o_selection.c: Added code to set and unset draw_grips variable 2876 2877 * src/s_basic.c: Added code to init draw_grips variable 2878 2879 * include/defines.h: Added a few grip related #define's 2880 2881 * src/o_line_basic.c: Added o_line_modify 2882 2883 * src/o_net_basic.c: Made o_net_modify look like o_line_modify 2884 2885 * src/o_pin_basic.c: Made o_pin_modify look like o_line_modify 2886 2887 * src/o_bus_basic.c: Made o_bus_modify look like o_line_modify 2888 2889 * src/o_box_basic.c: Added o_box_modify 2890 28912000-10-02 Ales Hvezda <ahvezda@geda.seul.org> 2892 2893 * src/o_box_basic.c: Further updated the file format per Patrick's 2894 instructions 2895 2896 * src/o_circle_basic.c: Further updated the file format per Patrick's 2897 instructions 2898 2899 * src/o_arc_basic.c: Found a instance where the wrong object was 2900 getting it's line type and file options set (in o_arc_copy.c) 2901 2902 * src/o_basic.c: Renamed all d1 to length and d2 to space 2903 2904 * src/f_print.c: Added f_print_set_line_width 2905 2906 * src/o_*_basic.c: Make the appropriate call to above 2907 2908 * src/o_line_basic.c: Added line type postscript output (solid, 2909 dotted, dashed, center, phantom) 2910 2911 * src/o_box_basic.c: Added postscript output using line postscript 2912 output code 2913 2914 * src/o_complex_basic.c: Found an bug where mirror flag was being 2915 set to -1 for embedded components (should have really been 0) 2916 29172000-09-26 Ales Hvezda <ahvezda@geda.seul.org> 2918 2919 * include/struct.h: Intergrated OBJECT structure changes by 2920 Patrick Bernaud 2921 2922 * src/o_arc_basic.c: Intergrated changes to the arc primitive by 2923 Patrick Bernaud 2924 2925 * src/o_box_basic.c: Intergrated changes to the box primitive by 2926 Patrick Bernaud 2927 2928 * src/o_circle_basic.c: Intergrated changes to the circle primitive by 2929 Patrick Bernaud 2930 2931 * src/o_line_basic.c: Intergrated changes to the line primitive by 2932 Patrick Bernaud 2933 2934 * src/create_proto: Updated script to be a lot more general (but 2935 unfortunately had to add an ugly hack to get it to work) 2936 2937 * src/o_attrib.c: Changed <strings.h> to <string.h> 2938 2939 * src/o_arc_basic.c: Moved some common code out of this file 2940 src/o_basic.c: Moved the above code into this file 2941 29422000-09-22 Ales Hvezda <ahvezda@geda.seul.org> 2943 2944 * src/o_net_basic.c: Martin found a core dump bug. Fixed. Wasn't 2945 being careful about derefencing a possible NULL pointer (added an 2946 if to check if NULL) 2947 29482000-09-14 Ales Hvezda <ahvezda@geda.seul.org> 2949 2950 * src/o_net_basic.c: In o_net_consolidate_segments, added a if 2951 expression to make sure you don't try consolidate non-ortho nets 2952 (pointed out by Patrick) 2953 29542000-08-28 Stefan Petersen <spe@geda.sul.org> 2955 2956 * Fixed bug in configure.in. Probably a bug in autoconf. 2957 Now it should work to configure when libguile is dependent 2958 on other libs. 2959 29602000-08-26 Stefan Petersen <spe@geda.seul.org> 2961 2962 * Cleaned up configure stuff and added guile.m4 to enhance 2963 guile configuration. 2964 29652000-08-22 Ales Hvezda <ahvezda@geda.seul.org> 2966 2967 * src/f_image.c: Oops found a core dumping bug which was 2968 introduced in this latest variable reorg (wrong structure 2969 passed f_image_write_objects) 2970 2971 * src/f_print.c: Oops found a core dumping bug which was 2972 introduced in this latest variable reorg (wrong structure 2973 passed f_print_objects) 2974 29752000-08-22 Stefan Petersen <spe@geda.seul.org> 2976 2977 * configure.in/configure: Made configure look for scm_make_smob_type 2978 in libguile. 2979 2980 29812000-08-21 Ales Hvezda <ahvezda@geda.seul.org> 2982 2983 * src/o_text_basic.c: #if'ed 0 out o_text_translate (since it is 2984 unused) 2985 2986 * include/struct.h: Put a complex pointer into the TEXT item 2987 2988 * src/o_text.c: Changed all complex to use the above new pointer 2989 2990 * src/o_text.c: Added o_text_recalc to work on the text complex 2991 pointer 2992 2993 * src/s_basic.c: Added free of text->complex structure to s_delete 2994 2995 * include/struct.h: Added COMPLEX structure/typedef (includes private 2996 complex pointer, x (and screen), y (and screen) mirror, and 2997 angle variables) 2998 2999 * src/*.c: Removed all traces of the old complex pointer and changed 3000 them to use the new above pointer 3001 3002 * include/struct.h: Renamed complex (inside COMPLEX *) to be called 3003 prim_objs instead of complex. Better name (I hope). 3004 3005 * src/s_basic.c: Removed some dead code 3006 3007 * src/o_text_basic.c: Removed some dead code 3008 3009 * src/*.c: Temporarily called complex (COMPLEX *) complex2 (for 3010 easy search) 3011 3012 * include/struct.h: Renamed text->complex to text->prim_objs 3013 30142000-08-20 Ales Hvezda <ahvezda@geda.seul.org> 3015 3016 * include/struct.h: Started the conversion from LINEPTS/CIRCLE to 3017 a more generic representation 3018 3019 * include/struct.h: Added LINE, BOX, ARC structure/typedef 3020 3021 * include/struct.h: Added void *graphical to OBJECT structure. 3022 which for now is commented out 3023 3024 * src/o_arc_basic.c: Converted all line_points to arc 3025 3026 * src/s_basic.c: Add ARC structure to various basic init / free 3027 functions 3028 3029 * src/o_box_basic.c: Converted all line_points to box 3030 3031 * src/s_basic.c: Add BOX structure to various basic init / free 3032 functions 3033 3034 * src/o_complex_basic.c: Made sure you call get_box_bounds with the 3035 right (box) parameters 3036 3037 * include/struct.h: Had to comment out all gpcb related structures 3038 (eventually these will be rewritten and put back into production) 3039 3040 * include/struct.h: Moved all text parameters into TEXT structure 3041 3042 * src/o_text_basic.c: Converted all graphical paramters to text 3043 3044 * src/s_basic.c: Add TEXT structure to various basic init / free 3045 functions 3046 3047 * src/g_smob.c: Changed text_string to text->string 3048 3049 * src/o_attrib.c: Found a whole bunch of instances where an if 3050 was checking for a null, but in the same if that same item was 3051 being dereferenced (for another value). Bad. Fixed. 3052 3053 * src/a_basic.c: Found another 2 instances of above, Fixed. 3054 3055 * src/o_circle.c: Removed some dead code 3056 3057 * src/s_basic.c: Add LINE structure to various basic init / free 3058 functions 3059 3060 * src/o_complex_basic.c: Made sure you call get_line_bounds with the 3061 right (line) parameters 3062 3063 * src/o_box_basic.c: Converted all line_points to line structure 3064 3065 * src/o_net_basic.c: Converted all line_points to line structure 3066 3067 * src/o_pin_basic.c: Converted all line_points to line structure 3068 3069 * src/o_bus_basic.c: Converted all line_points to line structure 3070 3071 * src/s_basic.c: Removed all traces of line_points 3072 3073 * include/struct.h: Removed *line_points variable, structure, and 3074 typedef 3075 30762000-08-15 Stefan Petersen <spe@geda.seul.org> 3077 3078 * Fixed bug causing seg fault during GC with new attribute smob. 3079 Changed mark function from scm_markcdr to 0. 3080 30812000-08-12 Stefan Petersen <spe@geda.seul.org> 3082 3083 * src/Makefile.am: Makes VPATH building work. 3084 Patch by Roger Gammans. src/Makefile.in regenerated. 3085 30862000-08-12 Stefan Petersen <spe@geda.seul.org> 3087 3088 * src/g_smob.c: Added. Contains attribute smob functions. 3089 3090 * src/Makefile.am: Added above source file. -> 3091 all Makefile* and configure are regenerated. 3092 3093 * include/struct.h: Added attribute smob definitio struct 3094 3095 * include/prototype.h: Added prototypes for smob functions defined 3096 in src/g_smob.c 3097 30982000-07-04 Ales Hvezda <ahvezda@geda.seul.org> 3099 3100 * src/*.c: Updated copyright info in each file 3101 3102 * src/*.c: Changed all GNU to GPL in the appropriate places 3103 3104 * configure.in: Bumped version up to 20000704 3105 3106 * src/*.c: Removed all // comments 3107 3108 * src/*.c: Removed all warnings 3109 3110 * src/o_selection.c: Fixed some functions which were either supposed 3111 to return something (and were not) or functions which should not 3112 have been returning anything but were. 3113 3114 * */*: Upgraded to libtool 1.3.5 3115 3116 * src/s_basic.c: Increased the memory size of the object name string 3117 (more digits) 3118 3119 * src/u_basic.c: Removed #include <malloc.h>, replaced it with 3120 #include <stdlib.h> 3121 31222000-06-27 Ales Hvezda <ahvezda@geda.seul.org> 3123 3124 * include/struct.c: Added type variable to UNDO structure 3125 3126 * src/s_undo.c: Added code to deal with type variable 3127 3128 * configure.in: Put in checks for gtk+ and glib 1.2.3 3129 3130 * src/Makefile.am: Bumped up shared library version to 9 3131 3132 * All gEDA directories/programs: Created distribution Makefile.in 3133 files 3134 3135 * include/defines.h: Added #defines to support attrib_edit_dialog 3136 invocation flag 3137 31382000-06-26 Ales Hvezda <ahvezda@geda.seul.org> 3139 3140 * include/struct.h: Added object_head pointer to UNDO struct 3141 3142 * src/s_undo.c: Added code to deal with above new pointer 3143 3144 * src/s_undo.c: Had to change some of the s_undo_* functions to 3145 have the TOPLEVEL *w_current argument. Need to review and make 3146 sure this is really needed. 3147 3148 * src/o_*_basic.c: Fixed all *_copy functions to copy the color of 3149 the object correctly (not the selection color) 3150 3151 * src/o_*_basic.c: Also make sure all *_copy functions copy the 3152 saved_color variable 3153 3154 * src/o_complex_basic.c: Fixed *_copy functions to preserve the 3155 selectability of complex objects 3156 3157 * include/struct.h: Added undo-type to TOPLEVEL structure 3158 3159 * src/o_list.c: OOPS! Found an ancient bug. Forgot to restore 3160 object_parent pointer if you passed in an empty list src list 3161 to the o_list_copy* functions (did the same for ADDING_SEL flag) 3162 3163/*************************************************************************/ 3164/* NOT DONE */ 3165src/*.c: Removed all the ADDING_SEL nonsense (code). 3166include/struct.h: Removed the ADDING_SEL variable from the TOPLEVEL struct 3167/* NOT DONE */ 3168/*************************************************************************/ 3169 3170 * include/defines.h: Added UNDO_ALL and UNDO_VIEWPORT_ONLY #defines 3171 31722000-06-23 Ales Hvezda <ahvezda@geda.seul.org> 3173 3174 * src/o_*_basic.c: Fixed o_*_save to properly save the object if it 3175 is selected 3176 3177 * include/struct.h: Moved undo_* into the PAGE structure 3178 3179 * src/s_page.c: Added necessary free and init in s_page_* for undo 3180 structs 3181 3182 * include/struct.h: Added undo_levels and undo_control rc vars to 3183 TOPLEVEL structure 3184 31852000-06-22 Ales Hvezda <ahvezda@geda.seul.org> 3186 3187 * include/struct.h: Added first cut of UNDO structure/typedef 3188 3189 * src/s_undo.c: Added new file which will hold low level undo 3190 code 3191 31922000-06-07 Ales Hvezda <ahvezda@geda.seul.org> 3193 3194 * src/o_attrib.c: Added Martin Benes' uref renaming patch. The 3195 one call to the function which does all the work was #if'ed 3196 out. o_attrib_update_urefMB has some side effects which makes 3197 it problematic to have in the mainstream release. 3198 31992000-06-04 Ales Hvezda <ahvezda@geda.seul.org> 3200 3201 * src/o_text_basic.c: Oops, found an old memory leak; made the 3202 assumption that text which was invisible had no text_head.?? and 3203 just set complex pointer to NULL, and hence created a leak. 3204 Plugged leak by freeing complex list completely before NULLing 3205 3206 * src/o_net_basic.c: #if DEBUG'ed out some printf's which dealt 3207 with net consolidation 3208 32092000-06-03 Ales Hvezda <ahvezda@geda.seul.org> 3210 3211 * include/struct.c: Added continue_component_place variable to the 3212 TOPLEVEL structure 3213 32142000-06-01 Ales Hvezda <ahvezda@geda.seul.org> 3215 3216 * include/struct.h: Added promote_invisible variable to the TOPLEVEL 3217 structure 3218 3219 * src/o_complex.c: Added code to act on above variable in the new 3220 attribute promotion code 3221 3222 * include/struct.h: Added keep_invisible variable to the TOPLEVEL 3223 structure 3224 32252000-05-28 Ales Hvezda <ahvezda@geda.seul.org> 3226 3227 * include/struct.h: Added attribute_promotion to TOPLEVEL structure 3228 3229 * src/o_complex_basic.c: Added Martin Benes' code to implement 3230 attribute promotion. 3231 3232 * src/o_complex_basic.c: Renamed attach_attributes to 3233 attribute_promotion 3234 3235 * src/o_complex_basic.c: Changed some 0's to FALSEs. 3236 3237 * src/o_complex_basic.c: Added another test to 3238 o_complex_is_eligible_attribute, only visible floating text 3239 attributes will be promoted 3240 3241 * src/o_list.c: Added Martin Benes' code changes 3242 32432000-05-27 Ales Hvezda <ahvezda@geda.seul.org> 3244 3245 * src/o_text.c: Replaced o_text_mirror and o_text_mirror_world 3246 by the much improved routines written by Martin Benes, these 3247 function properly handle the changing of the origin when mirroring 3248 text 3249 32502000-05-23 Ales Hvezda <ahvezda@geda.seul.org> 3251 3252 * include/struct.h: Added buffer_number to TOPLEVEL structure 3253 32542000-05-22 Ales Hvezda <ahvezda@geda.seul.org> 3255 3256 * src/o_complex.c: Added o_complex_unset_color_single and 3257 o_complex_set_color_single which unset/set the color on only 3258 one object 3259 3260 * src/o_list.c: Added a return paramater to o_list_copy_to 3261 (return the new object which was copied) 3262 3263 * src/o_list.c: Added o_list_copy_all_selection2 which copies 3264 the objects in a selection list into a plain object list 3265 3266 * src/o_list.c: In o_list_copy_all_selection2 unselected the object 3267 first (all objects in the selection list should be selected) and 3268 then reselected it 3269 32702000-04-21 Ales Hvezda <ahvezda@geda.seul.org> 3271 3272 * src/o_*_basic.c: Added a check to make sure the color of all read 3273 in objects is valid 3274 32752000-04-16 Ales Hvezda <ahvezda@geda.seul.org> 3276 3277 * src/o_text.c: Added some more checking when reading in text items 3278 Specifically to check for invalid alignment fields 3279 3280 * src/o_text.c: Added missing alignment field to some of the other 3281 warning messages in o_text_read 3282 3283 * src/u_basic.c: Added u_basic_breakup_string 3284 3285 * include/struct.h: Added raise_dialog_boxes to TOPLEVEL structure 3286 32872000-04-15 Ales Hvezda <ahvezda@geda.seul.org> 3288 3289 * src/o_complex.c: Renamed o_complex_return_pin to 3290 o_complex_return_nth_pin 3291 3292 * src/o_complex.c: Created new o_complex_return_pin_object to support 3293 gnetlist's g_get_pin_attribute 3294 3295 * src/create_proto: Updated prototype.h creation script to use gtk/glib 3296 paths from my machine (installed in /usr/local ...) 3297 3298 * src/o_attrib.c: Added o_attrib_search_attrib_value to support 3299 o_complex_return_pin_object 3300 3301 * src/o_attrib.c: Added o_attrib_search_attrib_name to support 3302 gnetlist's g_get_pin_attribute 3303 33042000-03-23 Ales Hvezda <ahvezda@geda.seul.org> 3305 3306 * src/o_net.c: Started fixing the broken code in o_net_consolidate* 3307 which was causing a core dump with the new selection code 3308 3309 * src/o_net.c: Added some intelligence to o_net_consolidate_segments 3310 so that objects are properly selected when consolidation happens 3311 33122000-03-20 Ales Hvezda <ahvezda@geda.seul.org> 3313 3314 * include/struct.h: Added locked_color to OBJECT structure 3315 3316 * src/s_basic.c: Inited locked_color to -1 3317 3318 * src/o_selection.c: Removed some old debugging info 3319 3320 * src/a_basic.c: Removed dead code from o_scale 3321 3322 * src/o_attrib.c: Removed some more dead code (old selection related) 3323 from o_attrib_* 3324 3325 * src/o_complex.c: Misc code cleanup 3326 3327 * src/s_color.c: Removed an obsolete comment 3328 33292000-03-16 Ales Hvezda <ahvezda@geda.seul.org> 3330 3331 * src/o_attrib.c: Got o_attrib_set_color to work with the new selection 3332 mechanism 3333 33342000-03-10 Ales Hvezda <ahvezda@geda.seul.org> 3335 3336 * include/struct.h: Added doing_pan variable to TOPLEVEL structure 3337 3338 * include/struct.h: Added fast_mousepan variable to TOPLEVEL structure 3339 33402000-03-09 Ales Hvezda <ahvezda@geda.seul.org> 3341 3342 * src/o_attrib.c: Removed the first (of many) o_redraw_single's from 3343 the attrib free routine 3344 33452000-03-08 Ales Hvezda <ahvezda@geda.seul.org> 3346 3347 * src/o_attrib.c: Further cleaned up o_attrib_attach to only attach 3348 the single specified attribute item (instead of looping which is 3349 not correct anymore) 3350 3351 * src/o_attrib.c: Got the color setting on attributes and 3352 non-attributes right 3353 3354 * src/o_net_basic.c: Put some comments in the net consolidate functions 3355 since these functions are really broken with new selection mechanism 3356 33572000-03-06 Ales Hvezda <ahvezda@geda.seul.org> 3358 3359 * src/o_attrib.c: Got rid of some of the o_list_search's which are 3360 now not required anymore 3361 33622000-03-05 Ales Hvezda <ahvezda@geda.seul.org> 3363 3364 * src/o_text_basic.c: Got o_text_recreate to work right with new 3365 selection mechanism (set saved_color correctly) 3366 33672000-02-28 Ales Hvezda <ahvezda@geda.seul.org> 3368 3369 * src/o_complex.c: Added o_complex_set_saved_color_only which only 3370 sets the saved_color flag of a complex object 3371 3372 * src/o_complex.c: Added some selection specific functions 3373 3374 * src/x_event.c: Got middle button actions working again 3375 33762000-02-25 Ales Hvezda <ahvezda@geda.seul.org> 3377 3378 * include/struct.h: Added SELECTION typedef and structure 3379 3380 * src/o_selection.c: Added new selection (data structure) code 3381 3382 * include/defines.h: Changed NORMAL and SELECTION #defines to be 3383 NORMAL_FLAG and SELECTION_FLAG due to name clashes 3384 3385 * include/struct.h: Added selected flag to OBJECT structure 3386 3387 * src/o_complex.c: Simplified o_complex_set_color to have only the 3388 required parameters (object and the new color) (Also changed order) 3389 3390 * src/o_complex.c: Found/Fixed a bug in o_complex_set_color 3391 3392 * src/o_complex.c: Added o_complex_set_color_save which sets the color 3393 but also saves it for future use (used in selection mechanism) 3394 3395 * src/o_complex.c: Added o_complex_unset_color which restores the 3396 color from the saved_color variable (used in selection mechanism). 3397 3398 * src/o_selection.c: Added o_selection_return_first_object 3399 3400 * src/o_selection.c: Added o_selection_return_nth_object (returns 3401 the nth object starting at zero being the first object) 3402 3403 * include/struct.h: Removed selection_tail and selection_head so that 3404 gschem can be completely purged of the old selection mechanism 3405 34062000-02-19 Ales Hvezda <ahvezda@geda.seul.org> 3407 3408 * README/INSTALL: Updated files to reflect next release 3409 3410 * src/*.c: Removed all // comments (changed to /* */) 3411 3412 * src/*.c: Fixed all warnings (using -Wall -Werror) 3413 3414 * src/o_attrib.c: Really enforced the no spaces beside the equals 3415 sign when checking if an attribute is valid or not 3416 3417 * src/Makefile.am: Incremented libgeda.so version number 3418 34192000-02-17 Ales Hvezda <ahvezda@geda.seul.org> 3420 3421 * src/o_text_basic.c: More work on getting postscript output to work 3422 with new text alignment 3423 3424 * include/struct.h: Added text_origin_marker flag in TOPLEVEL struct 3425 3426 * include/struct.h: Added text_alignment flag in TOPLEVEL struct 3427 3428 * src/o_text_basic.c: Changed the order of the T (text) item in 3429 schematic files (... angle alignment) 3430 34312000-02-16 Ales Hvezda <ahvezda@geda.seul.org> 3432 3433 * All configure.in files: Changed the version to 20000220 (to force 3434 a release) 3435 3436 * include/struct.h: Added text_alignment flag to object structure 3437 3438 * src/s_basic.c: Inited above flag to default value 3439 3440 * src/s_basic.c: Removed old unused code 3441 3442 * src/o_text_basic.c: Added the text alignment flag to the file format 3443 for reading in text items (old text format is still valid though) 3444 3445 * src/o_text_basic.c: Added the text alignment flag to the file format 3446 (saving text times) 3447 3448 * include/defines.h: Added text alignment #defines 3449 3450 * src/a_basic.c: Change the default version number (to the current 3451 version) if the version tag is not found in a file read in by o_read 3452 3453 * src/o_text_basic.c: Added o_text_height function to help 3454 readability of the up the code and get rid of awful hardcoded 3455 constants 3456 3457 * src/o_text_basic.c: Added code to support text alignment flag as well 3458 as code to support rotation and mirroring of this new text 3459 3460 * src/o_text_basic.c: Started getting postscript printing to work; not 3461 complete yet 3462 34632000-02-01 Ales Hvezda <ahvezda@geda.seul.org> 3464 3465 * src/s_hierarchy.c: Fixed some bugs so that detached pages (from 3466 the hierarchy) get properly reconnected when they are called for 3467 again 3468 34692000-01-31 Ales Hvezda <ahvezda@geda.seul.org> 3470 3471 * src/s_slib.c: Created s_slib_search_single which just search for 3472 the filename and does nothing else to the name. 3473 3474 * src/s_hierarchy.c: Created s_hierarchy_down_schematic_single and 3475 transformed old call into s_hierarchy_down_schematic_multiple 3476 3477 * src/o_attrib.c: Put in another check in o_attrib_free_returned 3478 to make sure found_objects is not null before it is dereferenced 3479 3480 * include/struct.h: Added enforce_hierarchy to toplevel structure 3481 3482 * include/struct.h: Added mawindow to toplevel structure 3483 (multi-attrib window) 3484 3485 * include/struct.h: Added aewindow to toplevel structure 3486 (attrib-edit window) 3487 3488 * include/struct.h: Added sewindow/seentry to toplevel structure 3489 (slot-edit) 3490 34912000-01-17 Ales Hvezda <ahvezda@geda.seul.org> 3492 3493 * include/struct.h: up and down pointers to the st_page structure 3494 3495 * src/s_hierarchy.c: Added push/pop symbol/schematic functions 3496 3497 * src/s_page.c: Added inits of up and down pointers in the st_page 3498 structure 3499 3500 * include/struct.h: Added page_control variable (which contains an 3501 int which basically describes what hierarchy level you are at) 3502 3503 * src/s_page.c: Make sure all the above new vars are properly inited 3504 35052000-01-04 Ales Hvezda <ahvezda@geda.seul.org> 3506 3507 * src/o_attrib.c: Fixed o_attrib_return_attribs so that it returns 3508 an array of objects instead of an array of strings 3509 35102000-01-03 Ales Hvezda <ahvezda@geda.seul.org> 3511 3512 * src/o_attrib.c: Added o_attrib_return_attribs which returns an 3513 array of all attached attributes given an object 3514 3515 * HACKING: Added file which describes file prefix (for now) 3516 35171999-11-09 Ales Hvezda <ahvezda@geda.seul.org> 3518 3519 * src/s_clib.c: Fixed s_clib_getfiles to filter files based on 3520 the filter (new argument) passed in 3521 3522 * src/s_slib.c: Fixed a debugging routine to call the right functions 3523 for slib 3524 35251999-10-23 Ales Hvezda <ahvezda@geda.seul.org> 3526 3527 * src/s_basic.c: Added some checks in the object malloc, just for 3528 robustness sake 3529 35301999-10-18 Ales Hvezda <ahvezda@geda.seul.org> 3531 3532 * src/f_print.c: Added some error checking to make sure you can open 3533 the postscript output file, otherwise log an error message. 3534 Pointed out by Mike Riendeau 3535 3536 * src/f_print.c: Modified f_print() to return something indicating 3537 success or error 3538 35391999-10-17 Ales Hvezda <ahvezda@geda.seul.org> 3540 3541 * include/*.h: Added multiple controlling #ifdef's into all *.h files 3542 3543 * include/libgeda.h: Created file which contains all the required 3544 include files in the right order 3545 3546 35471999-10-11 Ales Hvezda <ahvezda@geda.seul.org> 3548 3549 * src/s_clib.c: Added the ability to set the count in s_clib_getfiles 3550 3551 * include/struct.h: Added another search related var to FILEDIALOG 3552 3553 * include/defines.h: Added SET_COUNT #define for s_clib_getfiles 3554 3555 * include/struct.h: Added search_label gtk widget to FILEDIALOG struct 3556 3557 * ../*/configure.in: Changed version number to today's date 3558 3559 * src/Makefile.am: Incremented libgeda.so version number 3560 3561 * src/o_attrib.c: Fixed -Wall warnings 3562 3563 * src/s_clib.c: Fixed -Wall warnings 3564 3565 * src/s_page.c: Fixed -Wall warnings 3566 3567 * src/s_clib.c: Fixed s_clib_getfiles so that *only* files which .sym 3568 suffix get read in as valid symbol files 3569 3570 * src/o_pin_basic.c: Added o_pin_modify() 3571 35721999-10-10 Ales Hvezda <ahvezda@geda.seul.org> 3573 3574 * include/defines.h: Added a few more defines to support SAVEAS_* 3575 and the new file dialog box 3576 3577 * include/struct.h: Added a few type vars to the FILEDIALOG struct 3578 3579 * src/s_log.c: Added cwd to s_log_init to deal with the chdirs that 3580 gschem now does 3581 3582 * include/struct.h: Added a last search pointer (int) vars to the 3583 FILEDIALOG struct 3584 3585 * src/s_clib.c: Added s_clib_return_num 3586 35871999-10-09 Ales Hvezda <ahvezda@geda.seul.org> 3588 3589 * src/s_page.c: Changed s_page_add: full path is now in page_filename 3590 3591 * src/s_page.c: Added full path only if page_filename doesn't start 3592 with a '/' 3593 35941999-10-05 Ales Hvezda <ahvezda@geda.seul.org> 3595 3596 * include/defines.h: Added some FILEDIALOG #defines 3597 3598 * include/struct.h: Added filter_type variable to FILEDIALOG struct 3599 36001999-10-03 Ales Hvezda <ahvezda@geda.seul.org> 3601 3602 * include/struct.h: Added filename_entry variable to FILEDIALOG struct 3603 3604 * include/struct.h: Added preview rc variable to TOPLEVEL struct 3605 3606 * include/struct.h: Added preview_control variable to FILEDIALOG struct 3607 3608 * include/struct.h: Added directory_entries and file_entries to 3609 FILEDIALOG struct 3610 3611 * include/defines.h: Added MAX_DIRS and MAX_FILES 3612 3613 * Fixed all *.c files to #include defines.h before struct.h 3614 3615 * include/struct.h: Added toplevel variable to FILEDIALOG struct 3616 36171999-10-02 Ales Hvezda <ahvezda@geda.seul.org> 3618 3619 * include/struct.h: Added TOPLEVEL preview variable to FILEDIALOG struct 3620 36211999-10-01 Ales Hvezda <ahvezda@geda.seul.org> 3622 3623 * include/struct.h: Added xfwindow array to TOPLEVEL structure 3624 3625 * include/struct.h: Made the above array a structure 3626 3627 * include/struct.h: Changed FILESEL struct to FILEDIALOG struct 3628 3629 * src/g_basic.c: Added #include for define.h 3630 36311999-09-28 Ales Hvezda <ahvezda@geda.seul.org> 3632 3633 * src/o_attrib.c: Removed the ability to attach non-text items 3634 as attributes as a sch/sym is being read in (o_read_attribs) 3635 3636 * src/o_attrib.c: Fixed a nasty bug where the color of text was 3637 being forced to the attribute color even if you didn't want that 3638 color (pointed out by Magnus) 3639 36409/19/99 Make sure libgeda works with guile-1.3.2a 3641 3642 Added some code to o_text.c to look for char_.sym for lowercase 3643 characters when running CYGWIN32 3644 3645 Messed up above slightly, now fixed 3646 3647 Did not return a success (zero) in s_color_request, now fixed 3648 3649 Increased the number colors to 25 3650 3651 Fixed all warnings 3652 3653 Increased the .so version of libgeda to 4 3654 36559/18/99 Fixed a bug in s_color_gdcolor_init, had the gd color alloc in the 3656 wrong place (before a pointer was set) 3657 36589/17/99 Added/changed a few variables the various structures in struct.h 3659 36609/16/99 Removed the restriction that sym/sch files have to be perfect. You 3661 now can have garbage in a sym/sch file and it won't exit, but instead 3662 warn the user and display what it read in. 3663 3664 Added a bunch of tests into o_attrib_attach to prevent: 3665 - Attaching a non-text item as an attribute 3666 - Attaching an attribute to more than one object 3667 3668 Improved the warning that is displayed when an attribute is already 3669 attached to an object 3670 3671 Updated f_open and s_page_new to only open a schematic/symbol if it 3672 isn't opened already. 3673 36749/12/99 Added a flag in s_netlist structure for net naming priority 3675 36769/7/99 Added s_color.c 3677 3678 Cleaned up code to reflect the new function names created by s_color.c 3679 3680 Removed all lame function pointers now that the color stuff is part 3681 of libgeda 3682 3683 Added st_color structure to struct.h 3684 3685 Added o_attrib_search_name_single_count which is like the other 3686 search_name functions in that it allows you to pick the n'th 3687 occurance of an attribute but only searching the specified in object 3688 36899/6/99 Removed most color #defines from color.h, in prep for the new color 3690 system 3691 3692 Temporarily broke color postscript printing 3693 Temporarily broke color image writing 3694 3695 Put into colors.h the proper #defines for the new colors scheme 3696 3697 Put a few user rc variables into the toplevel struct 3698 3699 Fixed color postscript printing 3700 To do this, I had to create a ps_color_string global variable function 3701 pointer, so every gEDA program needs to define this if it has to be 3702 linked to libgeda 3703 3704 Fixed a coredump bug which was caused by improper attributes (ie 3705 pin15= (and no value)) 3706 3707 Fixed o_attrib_get_name_value so that improper attributes are NOT 3708 returned as proper attributes 3709 3710 Started to fix the broken color image writing 3711 - Re-arranged the allocation of colors in o_image.c 3712 3713 Got color image writing working again 3714 3715 Unfortunately had to create another function pointer for 3716 x_color_gdcolor_init (ugg... I need to clean all this up...) 3717 37188/31/99 Renamed ntext to text (finally) 3719 3720 Hopefully fixed the problem that gnetlist was having with embedded 3721 components ? 3722 37238/30/99 Fixed the bus visual cues postscript output to look better 3724 (by controlling the capstyle) 3725 3726 Fixed the direction of horizontal bus visual cues in postscript 3727 output 3728 3729 Renamed all ales to conn and ALES to CONN 3730 3731 37328/29/99 Added bus_gc 3733 3734 Added support to the postscript / image printing for the bus cues 3735 3736 Got bus to look thicker when they are imaged. Still need to do 3737 the same to nets 3738 3739 Fixed a postscript problem when you have thin nets enabled 3740 (everything would be thick... which is the exact opposite of what 3741 you would want) 3742 3743 Removed a "this is totally broken" comment from o_complex_add_embedded 3744 (I think it works... but just in case...) 3745 3746 Removed all warnings from the code 3747 37488/28/99 Fixed a minor bug: connect two nets to a bus to the same point, you 3749 would get an invalid cue, which isn't right (that's a valid bus 3750 midpoint connection). 3751 37528/27/99 Set the program version to 19990829 to force Ales to release 3753 on the 29th :) 3754 3755 Updated all *.c and *.h files to have the right address for the 3756 FSF in the copyright/licence header 3757 3758 Updated library so version 3759 37608/18/99 More work getting buses to work correctly, updates to o_ales 3761 (which will turn into o_conn eventually) 3762 3763 Added #defines for output-capstyle 3764 3765 Added code in f_print which does the work of the capstyle keyword 3766 3767 More work in o_ales to get bus to work right. 3768 3769 Added code which determines if a connection is valid or invalid 3770 NOT valid: pin to bus 3771 NOT valid: net to endpoint of bus 3772 37738/17/99 Started adding bus object 3774 Including creation of all basic functions 3775 Update toplevel structure (struct.h) 3776 Update of enumerated types of objects 3777 37788/12/99 Added o_net_modify to support the stretch command 3779 37808/11/99 Added o_attrib_search_toplevel which searches for toplevel attributes 3781 in all loaded pages. 3782 3783 Fixed a fatal bug (core dump) in the o_net_consolidate_lowlevel 3784 function (as well as a possible memory leak) that deal with 3785 connecting nets together which both had attributes. 3786 3787 Fixed another memory leak in o_net_consolidate_* 3788 3789 Fixed configure.in to properly check for cygwin port and X11 3790 libraries (for all other tools as well) 3791 37928/5/99 Added some stuff to configure.in for win32 builds 3793 3794 Removed some bogus #includes <dirent.h> from a bunch of files 3795 s_attrib.c, s_papersize.c, s_stroke.c 3796 3797 Renamed private POINT structure to sPOINT (single POINT) in m_basic.c 3798 (it was conflicting with some includes in win32) 3799 3800 Added some more #if conditions to the #include <direct.h>, only 3801 include this on UNIX platforms 3802 3803 Added code in configure.in to ignore the requirement for X11 for 3804 cygwin 3805 38068/3/99 Added to TOPLEVEL the net_consolidate flag 3807 3808 Upgraded to libtool 1.3.3 3809 3810 First attempt at getting net_consolidate to work with attached 3811 attributes 3812 3813 Removed an extra return from o_attrib.c 3814 3815 net-consolidate code is not 100% working today. 3816 38177/27/99 Added o_net_consolidate* functions which take net segments and 3818 if possible combine the nets into one single net. 3819 3820 Added o_net_consolidate to f_open so that it runs 3821 whenever you open a schematic 3822 3823 Added o_net_consolidate to f_save so that it runs 3824 whenever you save a schematic 3825 38267/25/99 Cleaned up g_read_file(). (by Kazu Hirata) 3827 38287/23/99 Added u_basic_strdup_multiple() to u_basic.c. (by Kazu Hirata) 3829 38307/21/99 More work on getting all objects to use new object init and link 3831 routines (rest of o_*_basic.c functions) 3832 3833 Created u_basic.c for utitlity functions to which Kazu is adding 3834 3835 Removed all traces of s_passing.c and s_passing.h (Yeah, no more 3836 p_* kludge) 3837 3838 #if 0'ed out add_object, replaced by new object init and link 3839 routines 3840 3841 Found all unknown p_* variables and removed them 3842 38437/16/99 Added s_basic_init_object which just creates an object and inits 3844 it with default values (this is part of the s_passing kludge removal) 3845 3846 Added s_basic_link_object which links in the object into the passed in 3847 ptr linked list. 3848 3849 Removed "int selected" from struct.h (was totally unused) 3850 3851 Minor cosmetic changes in struct.h 3852 3853 As a first test, converted o_ntext_basic.c to use new 3854 s_basic_init_object and s_basic_link_object 3855 38567/15/99 Added support for libgdgeda 1.6 (mainly means searching for libpng) 3857 3858 Removed all traces of old libgdgeda 1.5 gif support 3859 3860 Changed the check for zlib (uncompress is the function it searches 3861 for) 3862 38637/10/99 Started to improve the performance of the math functions 3864 (was doing to much math everytime I was calling pix_x/pix_y) 3865 3866 Finished speed improvements in mil_x and mil_y 3867 3868 Updated a few places where it's important to call set_window 3869 (part of the math speed improvements) 3870 3871 Added some variables to struct.h to support gschem rc files 3872 3873 Added displayed_text_len which holds the true string length of 3874 text which is displayed 3875 3876 Added a check in o_ntext_read for unsupported text angles 3877 38787/6/99 Didn't really disable libgdgeda when using --disable-gdgeda 3879 Now fixed. 3880 38817/5/99 Fixed a minor typo when allocating a string "pin" instead of "slot" 3882 3883 Hopefully got slotting to work with alphanumeric pins 3884 3885 Removed all warnings 3886 3887 Updated configure.in a bit 3888 3889 Updated version number (in all other programs as well) 3890 3891 Updated README file (in all other programs as well) 3892 38937/4/99 Fixed the headers in all files to be correct (GPL) 3894 38957/3/99 Removed some debug printfs from s_nethash.c 3896 3897 Removed some obsolete data structure elements in the gnetlist part 3898 of struct.h 3899 3900 Added code to warn user that a zero length object (line, net, pin 3901 etc...) was just read in 3902 39037/2/99 Fixed the ./configure stuff dealing with libgdgeda so that it works 3904 when libgdgeda isn't installed in a system directory 3905 39067/1/99 Changed all gd includes to gdgeda to distinguish my version of gd 3907 from the official one 3908 3909 Changed HAS_LIBGD to HAS_LIBGDGEDA 3910 3911 Added #ifdef HAS_LIBGDGEDA where appropriate 3912 3913 Missed a few spots in adding above, found them all I hope 3914 39156/29/99 Added s_nethash.c which deals with the nethash table in gnetlist 3916 3917 Added init of the nethash table to s_page.c 3918 39196/26/99 Fixed the output of 180 rotated text in the postscript output 3920 39216/25/99 Added the ability to generate black and white gifs 3922 3923 Moved a o_redraw_all from libgeda into gschem where it belongs 3924 (f_image.c) 3925 3926 Removed all traces of GTK_DEVEL 3927 39286/24/99 Got all the object primatives outputing to the image (including 3929 the rather painful arcs) 3930 3931 Added the ability to change the image size 3932 3933 Added a o_recalc function which recalcs, but doesn't draw the objects 3934 39356/23/99 Added o_image.c (which is code which uses the gd lib to output 3936 schematics to gifs) 3937 3938 Added some entries in the TOPLEVEL structure to support the image 3939 printing 3940 3941 Added f_print.c which includes all the toplevel code for writing 3942 an image 3943 3944 Added support to configure and friends to make libgd an optional 3945 library 3946 39476/17/99 Added o_ales_search_object which goes through entire the ales_table and 3948 finds the n'th occurance of object 3949 3950 Above may be removed and moved somewhere else (into gnetlist) 3951 39526/13/99 Removed s_delete_head from production 3953 3954 Attempted to find the hidden attribute memory leak 3955 3956 Found above memory leak and squashed. 3957 39586/10/99 Added the start of support for not creating text items which are 3959 hidden 3960 39616/9/99 Increased the number of symbols which can be in a directory to 1024 3962 from (256) in s_clib.c (s_clib_getfiles) 3963 39646/1/99 Fixed a few minor things in s_page.c and s_basic.c (p_circle stuff) 3965 3966 Put some checks to prevent the coredump condition described below 3967 3968 Put some casts to make make happy (less warnings) 3969 39705/31/99 Fixed printing for nets visual cues 3971 3972 Removed all traces of the old connection system 3973 3974 Discovered a core dump condition in clib_cache_free 3975 (caused by reading in swedish/non-standard-ascii character font 3976 files, okay for now) 3977 3978 Few minor touch up to s_clib.c, but not enough to solve above 3979 39805/29/99 Change the license for libgeda back to GPL (from LGPL) 3981 3982 Put in another check in the o_ales_update_nets function to 3983 make sure we don't add duplicate objects into the ales_list's 3984 3985 Added in code which allows for unattached toplevel attributes 3986 (o_attrib.c) 3987 39885/99 See ChangeLog in gschem for all the changes related to the new 3989 connection stuff 3990 3991 All connection stuff is in o_ales.c (will be renamed to o_conn.c 3992 once things get a big more stable) 3993 39945/16/99 Removed ../libgeda/prototype.h from f_print.c 3995 3996 Removed ../include/x_states.h and ../include/x_events.c 3997 3998 Moved prototype.h to ../include (change all the source as well) 3999 4000 Commented out most of ../include/globals.h 4001 40025/13/99 Increased the size of buffers and the reading in of attributes 4003 (o_attrib.c -- o_read_attribs) 4004 4005 Increased the size of text strings (in o_ntext_basic.c) 4006 4007 Fixed the appropriate string in s_passing.c (and s_passing.h) 4008 4009 Fixed text_string allocation size in add_object (s_basic.c) 4010 4011 The above changes should fix the bug reported by Thomas Dean 4012 40134/27/99 Minor comment fix in include/struct.h 4014 40154/20/99 Minor fprintf warning/error message touchups in s_clib.c 4016 40174/15/99 Added coord dialog variables to WINDOW structure 4018 40193/23/99 Added GtkWidget *abwindow to struct.h 4020 40213/19/99 Added expand_env_variables which takes a string and expands all 4022 shell enviroment variables. 4023 4024 Fixed it so that when you do some attribute related activities 4025 the changed flag gets set 4026 4027 Had to remove one of the above because just selecting something 4028 with attributes would cause the flag to be set... 4029 40303/9/99 Remove all // from all include/*.h files 4031 40323/2/99 Added missing #include <stdarg.h> to s_basic.c 4033 40343/1/99 Fixed the vsnprintf problem I thought I fixed. It's fixed now! 4035 4036 Updated struct.h (new schcheck structure) 4037 40382/25/99 Added gsymcheck structures (include/struct.h) 4039 40402/12/99 Added code (#ifndef'ed) for vnsprintf to fix the Solaris 5.5.x 4041 problem (didn't have vnsprintf). The vnsprintf wrapper is from 4042 Timidity++-1.2.1, which is under the GPL v2.0 4043 4044 Minor bug fix to s_log_close (disable the logging of messages after 4045 you close the log file) 4046 4047 Found a memory leak in s_clib_cache_free, the index used in the loop 4048 could wrap, so you might end up freeing only a portion of the entries 4049 40502/11/99 Searching through stroke structure fixed to be faster (does not 4051 search the whole array of structures) 4052 4053 Implemented a return value of s_stroke_search_execute (TRUE if it 4054 finds a stroke, FALSE otherwise) 4055 4056 Increased max number of strokes to 256 4057 40582/9/99 Increased buffer which is used for reading in schematics to 1024 4059 characters 4060 4061 Increased buffer which is used for saving schematics to 1024 4062 characters 4063 4064 Added s_stroke.c (place where strokes to action mapping is stored) 4065 40661/24/99 Fixed a fprintf format statement (%% instead of %) in f_print.c 4067 40681/23/99 Fixed printing problem created when I switched the rc reading order 4069 4070 Added code to support portrait printing printing (in struct.h : 4071 print_orientation, defines.h - a few useful defines) 4072 4073 Changed f_print_header, w_current is passed in now 4074 4075 Worked some on getting portait mode right (instead of the _hack_ 4076 which it currently is) 4077 4078 Changed the way the translating actual happens in the actual 4079 postscript (instead of changing the points in C, it's done with a 4080 translate), much cleaner. (be sure to remove all the dead code... 4081 maybe?) 4082 4083 Got portrait printing working more or less. Still might be buggy 4084 though. 4085 4086 Added support for color postscript printing (f_print_set_color) 4087 4088 Fixed some bugs in the printing of colored nets (end/midpoints not 4089 being colored right) 4090 40911/17/99 More gtk+ 1.1.x compatibility work (in s_log.c) (minor #ifndef) 4092 4093 Changed s_log_message to use vsnprintf instead of the g_v* functions 4094 since they were not behaving like I want them to. 4095 40961/9/99 Added gtk+ 1.1.x compatibility to libgeda 4097 g_vprintf -> g_strdup_vprintf (s_log.c) 4098 409912/30/98 Removed duplicate code from snap_grid function 4100 410112/15/98 Added clip_nochange and clip_change (really just copied and 4102 changed existing code). These routines either just tell if a 4103 line (object) should be clipped and/or the actual points are 4104 clipped. 4105 4106 Added SCREENencode_halfspace and WORLDencode_halfspace 4107 which support above code 4108 4109 Discovered that my clipping routine wasn't working completely 4110 right (slope was always zero) fixed now? 4111 411212/13/98 Fixed pin color being saved as -1 4113 4114 Added some checks in clip to make sure you don't divide by zero 4115 Assume the object is visible if you were going to divide by zero. 4116 411712/9/98 Added WORLDabs and SCREENabs, these function, don't return a points 4118 coordinates, but rather an absolute measure in either world or screen 4119 coordinates (such as a width of a line or the radius of a circle) 4120 4121 Finally fixed o_ntext_print so that you can print out ('s and )'s. 4122 (should work on all postscript printers correctly) 4123 4124 Changed the ps of text output so that it uses "show" instead of 4125 "true charpath fill" 4126 4127 Cleaned up rest of circlefixme comments left over from yesterday 4128 412912/8/98 Added st_circle structure and CIRCLE typedef to include/struct.h 4130 4131 Started changing o_circle_basic to use new structures above 4132 4133 Changed s_basic to allocate and free above structures 4134 4135 Added circle structure to s_passing.c/s_passing.h 4136 4137 Added some if's in add_object for p_line_points and p_circle 4138 4139 Went through and added p_circle=NULL to all the places that needed it 4140 4141 Went through and fixed up all prototype errors associated with above 4142 change 4143 4144 Discovered a major bug in o_complex_rotate_lowlevel, was trying to 4145 rotate a circle using a box routine (worked previously since circle/box 4146 used similar datastructs, now that's changed) 4147 4148 Found the same sort of bug as above in o_complex_mirror_lowlevel. 4149 (trying to use box routine to mirror a circle) 4150 415112/6/98 Found another really long term bug in dist() (wrong value being 4152 set to temp var). I don't know how it worked with this bug. 4153 4154 Found another long standing bug in circle, again not sure how things 4155 worked before, dumb luck. When saving, radius which was saved 4156 could have been zero due to how the circle is represented in memory 4157 (stupidly) 4158 415912/5/98 Found a nasty bug in the printing of X endpoint lines, was using 4160 offset variable instead of cross, also had the wrong variables 4161 in various places 4162 416312/3/98 Added Tom Javen's finnish / swedish libgeda patch to o_ntext_basic.c 4164 416511/27/98 Apparently I didn't fix the %! in f_print.c so now it's definately 4166 fixed 4167 416811/18/98 Removed some irrelavent/dead/wasteful code from m_basic.c (math 4169 routines) 4170 417111/15/98 Added code to center LIMITS printed schematics 4172 4173 Added code to deal with space.sym (the right way) (when reading in 4174 the width specifier) 4175 4176 Added backtick.sym to o_ntext_basic.c 4177 417811/6/98 Added sort routine to s_clib_getfiles (so that components are in 4179 alphabetical order when displayed) 4180 4181 Added support to TOPLEVEL struct for print dialog box 4182 4183 Added s_papersizes.c, place to hold paper sizes read from rc file 4184 4185 Added print_output_type to TOPLEVEL structure 4186 418711/5/98 Added paper_width, paper_height to the TOPLEVEL structure 4188 4189 Started work on generalizing the postscript printing (print to 4190 any papersize) 4191 4192 Started work on being able to print out the current window 4193 419410/28/98 Cleaned up o_ntext_basic to get rid of special code for space 4195 character 4196 419710/25/98 Cleaned up all warnings (-Wall only) 4198 4199 Added some error checking in a few misc places 4200 4201 Added version information to o_save (o_save_write_header) 4202 4203 Added version information reading to o_read 4204 4205 Passed version info to all o_*_read functions (this was done so, 4206 because o_read is called recursively) 4207 420810/24/98 Added the ability to have comments in schematic files, but they are 4209 not saved... 4210 421110/22/98 Removed arc bounding code again... still not working right 4212 4213 Added o_attrib_slot_update (update pins based on slot, given complex) 4214 4215 Added o_attrib_search_slot_number (search for slot#) 4216 4217 Added o_attrib_search_pin_number (search for pin#) 4218 4219 Added o_attrib_slot_copy (copy pin information over to new complex) 4220 4221 Added the o_attrib_slot_copy to o_complex_copy 4222 4223 Found a memory leak in the above code, fixed (along with some other 4224 major/minor bugs) 4225 4226 Got the first working version of the slotting done 4227 422810/18/98 Added o_attrib_search_slot 4229 4230 Changed o_attrib_search_name_single to return the object where the 4231 attribute lives 4232 4233 Added a bunch of o_attrib_search_name_* function to search for 4234 various standard attributes 4235 423610/17/98 Applied patch by Roger to add variable grid spacing 4237 423810/15/98 Attempt to fix the arc bounding code (doesn't quite work 100%) 4239 424010/12/98 Found a small bug in world_get_circle_bounds which was causing 4241 a_zoom_limits to set the wrong value if a circle was the largest 4242 object 4243 4244 Finally fixed o_arc_add so that it takes world coords like all 4245 the other objects! Woo Hoo! 4246 424710/10/98 Added netlist structures to struct.h 4248 4249 Added visited flag to object structure 4250 425110/9/98 Removed some really old #if 0 and did a small amount of code cleanup 4252 425310/8/98 Worked some more on the mirror code of complex objects 4254 4255 Almost working except for text inside components which is unmirrored 4256 (that displays incorrectly) 4257 425810/6/98 Broke schematic format again with the addition of the mirror flag 4259 on complex objects 4260 4261 Added code to implement above 4262 4263 Changed the way the rotating of complex is done 4264 426510/5/98 Added o_line_mirror 4266 4267 Found a nasty cpu sucker, in o_ntext_rotate, where you were doing 4268 the rotate effectively twice. Oops. Removed one line rotate while 4269 loop 4270 4271 Added rest of o_*_mirror 4272 4273 Worked on o_ntext_mirror 4274 4275 Worked on o_complex_mirror 4276 4277 Added all o_*_mirror_world 4278 4279 Found/fixed a minor bug in the text rotate dealing with the mirror of 4280 attributes (mirroring wrong point when mirroring attributes) 4281 4282 Discovered a case which broke arc printing (negative sweep angles), 4283 Hacked something together to fix it, but unknown if it's a complete 4284 solution 4285 4286 Figured out how to finish up complex mirrors, but that will have 4287 to wait till tomorrow. 4288 428910/4/98 Worked on gettting printing working and flexible (f_print) 4290 4291 Got text to be printed using native postscript fonts. The mapping 4292 between the stroked fonts and the real ones is really close, not 4293 perfect, but close. 4294 429510/1/98 Fixed all warnings (with -Wall) 4296 4297 Found a place where temp_parent wasn't being used to temporarly 4298 hold object_parent (o_list.c _copy_all) 4299 4300 Added README and COPYING 4301 43029/30/98 Added code to have text that is rotate 180 degrees be upright and 4303 readable (almost perfect, but still need to get it exactly looking 4304 right) (text with bars and text with subscripts doesn't rotate right, 4305 but that can be fixed in a better way) 4306 43079/29/98 Today starts the new release system: 19980929 4308 4309 Added o_attrib_copy_all (to copy attribute lists), useful when you 4310 rotate components (and the attribute list is discarded) 4311 4312 Added o_attrib_reattach and o_attrib_set_color to help support the 4313 proper continuation of attached attributes to complexes when they 4314 are rotated 4315 43160.0.5 4317------- 43189/27/98 Fixed o_complex_*_rotate functions to actually work 4319 Modelled after the ntext ones 4320 4321 Found a rotate bug in arc_world if you passed in a zero angle 4322 Made a similar change to all the rotate_world functions 4323 4324 Found a new bug in arc_rotate_world, arc's were not being rotated 4325 correctly 4326 4327 Moved the highly gschem specific o_complex_rotate into gschem/ 4328 4329 Fixed the broken x_update_log call in s_log_message 4330 43319/26/98 Added o_*_rotate_world routines 4332 4333 More attempts at getting complex's to read and rotate in correctly 4334 4335 Added o_ntext_rotate_lowlevel (which properly rotates text 4336 based on angle) 4337 4338 Fixed rotate_point_90 so that it can accept any angle in increments 4339 of 90 degrees. 4340 4341 Wrote and Got o_ntext_rotate working (which rotates text when you 4342 hit the rotate button) 4343 43449/25/98 Added the angle argument to the complex type (this breaks all 4345 schematic files!!) (embedded components now totally broken) 4346 43479/23/98 Fixed snap_grid, so that it would work on negative inputs (doh!) 4348 4349 Added rotate_point_90, a simplied more general func of rotate_point 4350 Might be removed in the future, but for now is guaranteed to work. 4351 4352 Fixed o_line_rotate (better name) and to use above function 4353 4354 Added all the o_*_rotate functions, most stubbed, only ones that work 4355 are the line related ones 4356 43579/17/98 New code for snapping to the grid (m_basic.c) 4358 43599/13/98 Added scheme_directory to the TOPLEVEL structure 4360 43619/12/98 Added return_zoom_number (m_basic.c) 4362 4363 Added world_get_complex_bounds (o_complex_basic.c) 4364 4365 Added o_complex_world_translate_toplevel (for object like components) 4366 which should be completely translated (o_complex_basic.c) 4367 4368 Added world_get_ntext_bounds (o_ntext_basic.c) 4369 4370 Fixed a bug in o_ntext_add where the bounding box of the text item 4371 was not being set (incorrect call to get_ntext_bounds) 4372 4373 Fixed a bug in the translate_all deal with complex objects, wrong 4374 complex translate was being called (should have been _toplevel) 4375 43769/4/98 Switched to -version-info since it's more portable 4377 4378 Moved o_basic (mostly) out of libgeda and into gschem 4379 4380 Removed a lot of gschem specific functions out of libgeda 4381 4382 Made some function pointers so that various functions can be 4383 revectored (very useful) 4384 43859/3/98 Create libgeda using libtool 4386 4387 Forced library name to use -release instead of -version-info 4388 because library will change drastically for a while 4389 4390 Started work on breaking (removing specifics) libgeda from gschem 4391