1commit 875406c9d1211fd88e3e7e1ee5349cba41a7becf 2Author: Peter TB Brett <peter@peter-b.co.uk> 3Date: Wed Sep 25 22:17:56 2013 +0100 4 5 Update NEWS and version information for 1.8.2. 6 7commit 1ae405d39a3822875d3dbc5f20f8152bf172bed7 8Author: Peter TB Brett <peter@peter-b.co.uk> 9Date: Wed Sep 25 22:24:51 2013 +0100 10 11 Update translations. 12 13commit d088ec192ac9fbc1dff3509527cb238520c2ee33 14Author: Peter TB Brett <peter@peter-b.co.uk> 15Date: Fri Nov 23 21:24:42 2012 +0000 16 17 Update version numbers to 1.8.1. 18 19commit 988e63ef358d7d44e447e08f4be58ac15f008d3e 20Author: Peter TB Brett <peter@peter-b.co.uk> 21Date: Fri Nov 23 21:32:49 2012 +0000 22 23 Update translations. 24 25commit 79c242437c4ba0a32c499a8c922f41759398c23e 26Author: Peter TB Brett <peter@peter-b.co.uk> 27Date: Fri Nov 23 21:18:03 2012 +0000 28 29 gschem: Update copyright date in usage & 'About' dialog. 30 31commit 2f5799e3936040e186db0ebc9c5188e62a2706d8 32Author: Peter TB Brett <peter@peter-b.co.uk> 33Date: Tue Nov 20 00:18:50 2012 +0000 34 35commit bbb663612afa98c274279edbe167f86dd7b3f6d8 36Author: Peter TB Brett <peter@peter-b.co.uk> 37Date: Sun Nov 18 16:03:31 2012 +0000 38 39 Final .po file update before release. 40 41commit 87f1e0e76965a514277c949dbf2191993962cb88 42Author: Peter TB Brett <peter@peter-b.co.uk> 43Date: Sun Nov 18 15:26:09 2012 +0000 44 45 Update version numbers to 1.8.0-20121118. 46 47commit 7f6d142d6a17d77d3185f8bbc690d13f2e128c18 48Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 49Date: Mon Jan 30 23:32:34 2012 +0100 50 51 gschem: fix segfault when multiple windows are closed 52 53 Reported-by Vladimir Zhbanov <vzhbanov@gmail.com>, introduced in 54 commit 8342bddce4487edf4a7214d5d6ab83cb73a066d4. 55 56 Add new function gschem_toplevel_alloc_libgeda_toplevel which allocates 57 the TOPLEVEL and appends new hooks that force pin cues redraw when net 58 connectivity changes. 59 60 Previously each new TOPLEVEL had invalidation hooks attached which had 61 the GSCHEM_TOPLEVEL hardcoded, pointing at the very first window created 62 when gschem was launched. 63 64 Closes-bug: lp-1070243 65 66commit f0b0b0d7e26cae671692a23edc0251a59c3a7e6b 67Author: Peter TB Brett <peter@peter-b.co.uk> 68Date: Sat Nov 17 22:39:42 2012 +0000 69 70 gschem: Add "fully-connected" net to "drawing primitives" example. 71 72 Useful for testing how net ends appear, now that the 73 "connection-tracking" function has been added that affects when 74 warning markers are printed at the ends of nets. 75 76commit 1598b5884ba8790efe713907c5707240c97a934e 77Author: Peter TB Brett <peter@peter-b.co.uk> 78Date: Sat Nov 17 21:35:31 2012 +0000 79 80 gschem: Draw arrows on 'connected' dangling net ends. 81 82 Recently, gschem was changed to not draw anything at a net endpoint 83 when it thinks the net is connected. This has the drawback that in 84 some cases the eye can be fooled into thinking that two nets are 85 connected together when they are not, with the concomitant risk of 86 badly breaking a design. 87 88 This patch alters gschem to draw an arrow in 'junction colour' on 89 dangling net segment ends when it thinks the net is properly 90 connected. This is not an ideal solution, but should go most of the 91 way towards solving the "invisible errors wrecking my expensive 92 boards" problem. 93 94 A follow-up patch should probably do the same for printed output. 95 96 Affects-bug: lp-1014160 97 98commit 546d2bb9333209059a00810ddf386242651cdb95 99Author: Sergey Alyoshin <alyoshin.s@gmail.com> 100Date: Fri Nov 16 22:13:06 2012 +0000 101 102 gschem: unreference existing view models on library refresh 103 104 Closes-bug: lp-1075142 105 106commit e6cdf09ad9330c2066363809f7839f698ca2476b 107Author: Peter TB Brett <peter@peter-b.co.uk> 108Date: Thu Nov 15 23:22:20 2012 +0000 109 110 Hand-merge Dutch translations from master branch. 111 112 Merge Dutch translation improvements made by Bert Timmerman in from 113 the unstable branch (commits 4b17c888, f9bd70f6, and a164660f). 114 115commit 24ef353613c1a0114920a90c89167127cbcdf925 116Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 117Date: Wed Nov 14 21:45:45 2012 +0000 118 119 gschem: update translations with new URLs in usage message 120 121 Commit 10e8788d updated the address for filing bugs and the gEDA/gaf 122 webpage. Update the translation strings to match. 123 124 Affects-bug: lp-926456 125 126commit 96a2822b1e5b5ee9d789dea2cd7b0efa04c70b01 127Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 128Date: Thu Nov 8 19:07:28 2012 +0000 129 130 gschem: replace deprecated calls to g_strcasecmp () 131 132 g_strcasecmp() is deprecated, so replace it with a combination of calls 133 to g_utf8_collate() and g_utf8_casefold() in various bits of dialog code. 134 135commit eeba9560d8c015a6ce3bba2ad9d489e42a4bd8b0 136Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 137Date: Wed Oct 31 22:59:41 2012 +0000 138 139 gschem: remove unused pointer values in multiattrib code 140 141 In function multiattrib_action_promote_attribute(), the pointer 142 "o_new" returned by "o_attrib_add_attrib()" is never used. In 143 function attrib_edit_dialog_ok(), Pointer "new" returned by 144 "o_attrib_add_attrib()" is never used. In 145 gschem_action_connect_proxy(), "label" is unused. Replace all with 146 cast to (void). 147 148 Coverity-ID: 201684 149 Coverity-ID: 201683 150 Coverity-ID: 201682 151 152commit e7b0a2338de5f31d2bab6d3348fec69ae9c9c2fa 153Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 154Date: Mon Oct 29 15:14:10 2012 +0000 155 156 gschem: replace deprecated call to g_strcasecmp () in gschem-version Guile function. 157 158 g_rc_gschem_version() was using g_strcasecmp () which has been deprecated since 159 glib 2.2. Replace it with UTF8 implementations as recommended in the glib 160 documentation. 161 162commit d189176e41b642ddd227cf35dc0535574560084a 163Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 164Date: Mon Oct 29 18:14:46 2012 +0000 165 166 gschem: suppress compiler warning in line type dialog code 167 168 gcc is complaining that "end" may not be set. Pre-set it to a sensible 169 default at declaration. 170 171commit 0e8dada182d9045677e92d44f9254f1f07b375b3 172Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 173Date: Fri Mar 16 21:54:45 2012 +0000 174 175 gschem: fix unsafe use of strncpy 176 177 Make sure string is zero-terminated after using strncpy. 178 179 Coverity-ID: 201559 180 Coverity-ID: 201560 181 Coverity-ID: 201561 182 Coverity-ID: 201562 183 184commit ac4757af8ef6db9509e137f49ae1b106ea4698a4 185Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 186Date: Fri Mar 16 21:35:44 2012 +0000 187 188 gschem: Remove dead code 189 190 Default statement in switch in o_arc.c will never be executed due to the 191 earlier "if" statement. 192 193 Coverity-ID: 201571 194 195commit 10e8788d2bc4d227dc62bd46013ab29ca5b4219c 196Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 197Date: Mon Mar 19 22:28:51 2012 +0000 198 199 gschem: update usage with bug-filing address 200 201 Change the bug filing address from email to the launchpad site. Also 202 update the website address for the gEDA project and update the copyright 203 date range for the file to include 2012. 204 205 Closes-bug: lp-926456 206 207commit f0923997c5ea727f6b73afad23ee2f974ac6b6b0 208Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 209Date: Sun Mar 18 11:36:59 2012 +0000 210 211 Update FSF mailing address. 212 213 Change all references to the FSF mailing address to the new Franklin 214 Street location. 215 216 Closes-bug: lp-934934 217 218commit a6dff5449e17ebe2bd3a6a4ee4ca0fabef9d04bb 219Author: Peter TB Brett <peter@peter-b.co.uk> 220Date: Wed Nov 14 17:15:13 2012 +0000 221 222 gschem: Import translations from Launchpad 223 224 N.b. Did not import AF, AR, or ZH_CN translations, as 225 Launchpad translations were less fully-translated than translations 226 already in tree. 227 228commit 74f1fcc061a4f08ed4bcce3dba7c6e1f3006c41d 229Author: Peter TB Brett <peter@peter-b.co.uk> 230Date: Thu Feb 9 12:51:41 2012 +0000 231 232 gschem: Fix unchecked return value. 233 234 Coverity-ID: 201567 235 236commit 6a5247b6d5706c95f8f9af3b9f056b035603ee2f 237Author: Peter TB Brett <peter@peter-b.co.uk> 238Date: Thu Feb 9 12:07:10 2012 +0000 239 240 gschem: Fix dereference after NULL check. 241 242 In o_undo_savestate(), we assume that u_current must be non-NULL. 243 Make this explicit by adding an assertion. 244 245 Coverity-ID: 201602 246 247commit e5465cc12e620be1c4cf6d2b41f672d6c13f97cc 248Author: Peter TB Brett <peter@peter-b.co.uk> 249Date: Thu Feb 9 11:27:51 2012 +0000 250 251 gschem: Fix buffer overruns in buffer handling code. 252 253 Off-by-one errors. 254 255 Coverity-ID: 201623 256 Coverity-ID: 201624 257 Coverity-ID: 201625 258 259commit ea3a3214312203f886c10faa5a28ade7c5e9d4f6 260Author: Peter TB Brett <peter@peter-b.co.uk> 261Date: Tue Jan 31 10:50:10 2012 +0000 262 263 gschem: Don't import srfi-69 in keymap.scm. 264 265 We don't currently use SRFI 69 functions in the keymap system anyway. 266 267 Closes-bug: lp-923874 268 269commit 82e62f3dcb2a55f69a892b9922edeb4fde80244a 270Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 271Date: Wed Jan 18 23:54:10 2012 +0100 272 273 gschem: cleanup o_cue_draw_lowlevel 274 (cherry picked from commit bbcb153180b2c45fe74012059b428b06ad61eaae) 275 276commit 18658e26cb65aa99b7dba4954a973000e057929f 277Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 278Date: Wed Jan 18 23:53:41 2012 +0100 279 280 gschem: fix drawing of junction cues 281 282 Closes bug "disappearing dots in gschem" reported by 283 Gabriel Paubert <paubert@iram.es>. Issue was introduced in 284 commit 6cae96e. 285 286 Additionally, now junction cues are also drawn when 3 or more pins are 287 connected (same behavior as for net segments). 288 (cherry picked from commit 0df45c9f859537bf9683b7fa8fb3d4b35828672e) 289 290commit 7943b8a2c696265b334dbfa4dce1101e95754024 291Author: Vladimir Zhbanov <vzhbanov@gmail.com> 292Date: Sun Jan 15 19:24:45 2012 +0400 293 294 Updated Russian translation 295 296commit 59eafeb48043ec092e7b33017698a4ed10b0f5f6 297Author: Vladimir Zhbanov <vzhbanov@gmail.com> 298Date: Tue Jan 17 02:53:52 2012 +0400 299 300 libgeda,gschem: add three missing files to POTFILES.in 301 302 Reported by Sergey Alyoshin 303 304commit b0a8dc828c4a94f90ca90b966f141924d45d3c64 305Author: Peter TB Brett <peter@peter-b.co.uk> 306Date: Sun Jan 15 18:51:08 2012 +0000 307 308 gschem: Use correct textdomain in Scheme code. 309 310 Reported-by: Sergey Alyoshin 311 Closes-bug: lp-916803 312 313commit cc53dd4e0671c27fde2738d12be7d44a416e753d 314Author: Vladimir Zhbanov <vzhbanov@gmail.com> 315Date: Sun Jan 15 19:02:28 2012 +0400 316 317 gschem l10n: add missing file to POTFILES.in 318 319 x_rc.c is missing in POTFILES.in (reported by Sergey Alyoshin) 320 and contains typo (missing space) in one of strings. 321 322commit 037b21c18cb674ac50970e8474138b6809d3fcb6 323Author: Nathan Schulte <nmschulte@gmail.com> 324Date: Fri Jan 13 19:32:21 2012 -0600 325 326 gschem: Fix formatting and code style 327 328 Affects-bug: lp-916234 329 330commit e0140ecc98a57fc480a152717b53ac6fe5463611 331Author: Nathan Schulte <nmschulte@gmail.com> 332Date: Fri Jan 13 19:23:04 2012 -0600 333 334 gschem: Fix bug with selection and hidden attributes 335 336 Fixes a regression caused by 9b73a4c7f6f5e9dade0ddaca5aadc9ecb326bb5c. 337 When selecting an object via box selection it's invisible attributes 338 are now automatically selected as well. 339 340 Closes-bug: lp-916234 341 342commit 13664d6acc70b939668493bb43e60eeaa9c202ea 343Author: Peter TB Brett <peter@peter-b.co.uk> 344Date: Thu Jan 12 00:14:35 2012 +0000 345 346 gschem: Remove some unused variables and labels. 347 348commit f86efb8f2d426810c6405f4a9696280e1cf63215 349Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 350Date: Wed Jan 11 21:52:17 2012 +0000 351 352 gschem: fix potential memory leak in g_funcs_filesel() 353 354 Guard against non-local guile exit using a dynamic context. 355 356commit cfaf93e4a1fd5592ed40caf7ed643a7011f8d727 357Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 358Date: Wed Jan 11 21:37:27 2012 +0000 359 360 gschem: Fix potential memory leak in g_rc_paper_sizes() 361 362 Move the conversion of the "papername" string from a Scheme object to 363 be the last Scheme call in the function, so that no potential 364 non-local exits in guile could cause the string not to be freed. 365 366commit 321c005a6170b34fc9f3e9f6ab1e4ab931120f81 367Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 368Date: Wed Jan 11 07:37:47 2012 +0000 369 370 gschem: display gschemrc filename properly on version failure 371 372 Add a new Scheme function "rc-filename" to libgeda to extract the 373 filename of the Scheme file under evaluation, and use this in the 374 "gschem-version" Scheme function in gschem to show which file is 375 wrong. 376 377 Closes-bug: lp-910663 378 379commit 684211777ffcf0414887f814207da97dc37dd5fa 380Merge: 72be40e cbdd5af 381Author: Peter TB Brett <peter@peter-b.co.uk> 382Date: Wed Jan 11 20:06:11 2012 +0000 383 384 Merge branch 'entropy_reduction' of git://github.com/gareth8118/geda-gaf into for-stable-1.8 385 386commit cbdd5af9825c99a38164fdd76f49be6a5e887821 387Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 388Date: Wed Jan 4 22:35:21 2012 +0000 389 390 gschem: add function documentation for g_rc_gschem_version() 391 392commit 72be40e1081e56050a81e73e74c5a4e0c645fe3d 393Author: Nathan Schulte <nmschulte@gmail.com> 394Date: Sat Jan 7 15:16:44 2012 -0600 395 396 gschem: Fix a bug with invert selection 397 398 When invert selecting "nothing", all currently selected objects are 399 deselected. This is annoying when you "miss" trying to invert select a 400 small group of objects. This is now fixed such that "missing" and 401 selecting "nothing" does not deselect everything. 402 403 Closes-bug: lp-912489 404 405commit 97bea3a73c9c8d25d54454ea28a942b9c9c38c57 406Author: Nathan Schulte <nmschulte@gmail.com> 407Date: Tue Jan 10 12:28:51 2012 -0600 408 409 gschem: Fix bug with invert selection and attributes 410 411 This fixes a bug that causes attributes to be left unselected when 412 selected in the same select box as their parent object. 413 414 Closes-bug: lp-912475 415 416commit 3671d4acdab78025b658cdba81f53c2ecec0208d 417Author: Peter TB Brett <peter@peter-b.co.uk> 418Date: Tue Jan 10 09:20:26 2012 +0000 419 420 Update translations. 421 422commit 31440e054a54001bf462f7da9d31bfc0f0063d3f 423Merge: c6db159 0884425 424Author: Peter TB Brett <peter@peter-b.co.uk> 425Date: Mon Jan 9 20:13:41 2012 +0000 426 427 Merge branch 'bug-700448-load-error'. 428 429 Eivind Kvedalen has provided some changes to libgeda and tools that 430 provide better error detection when loading schematic and symbol 431 files, and I have made a few improvements and bugfixes based on his 432 branch. 433 434 Closes-bug: lp-700448 435 436 Conflicts: 437 libgeda/src/a_basic.c 438 439commit 08844256caf27c2ac0be8614388f6e30c034437d 440Author: Peter TB Brett <peter@peter-b.co.uk> 441Date: Mon Jan 9 19:48:55 2012 +0000 442 443 gschem: Improve clipboard paste error dialog. 444 445commit fbb6ccced155992563052f4c23ac40dec43998f4 446Author: Peter TB Brett <peter@peter-b.co.uk> 447Date: Mon Jan 9 19:40:01 2012 +0000 448 449 gschem: Make file load error dialog more useful. 450 451commit 08573f2f4f53afa3735081ea129cd1d86f14a6a2 452Author: Peter TB Brett <peter@peter-b.co.uk> 453Date: Fri Jan 6 23:48:30 2012 +0000 454 455 gschem: Correctly checked-cast arguments when creating dialog. 456 457commit 8342bddce4487edf4a7214d5d6ab83cb73a066d4 458Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 459Date: Wed May 18 22:27:51 2011 +0200 460 461 gschem: refresh pin-cues on connectivity change 462 463 Closes-bug: lp-707064 464 465commit 6cae96ed0629a87bd71cecce4cc966e58b8bd0af 466Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 467Date: Fri Mar 11 00:13:23 2011 +0100 468 469 gschem: skip drawing endpoint cues on fully connected nets 470 471 Affects-bug: lp-707064 472 473commit b5f994f7c439cb0fbc863eec4843594165986683 474Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 475Date: Sat Jan 22 17:55:42 2011 +0100 476 477 gschem: replace pin end markings with boxes 478 479 Affects-bug: lp-706552 480 481commit 58af3327f4fbca32597f7081cc84453fdf4c8dee 482Author: Nathan Schulte <nmschulte@gmail.com> 483Date: Thu Jan 5 12:49:50 2012 -0600 484 485 gschem: Fix bug with inverted (control key) selection. 486 487 Fixes a regression caused by commit 7f88749446b6. The previous commit 488 made it so that making a selection with the control key pressed no 489 longer inverts the selection state of the objects selected, but 490 instead starts a new selection. 491 492 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 493 Closes-bug: lp-721445 494 495commit 7fa7d9ec42e089fcba9f2876c45330c406b19891 496Author: Eivind Kvedalen <eivind@kvedalen.name> 497Date: Tue Jan 3 00:25:39 2012 +0100 498 499 Use an "Ok" button instead of "Close" button for dialog box if 500 parsing data from clipboard fails. 501 502commit 8c4438ef6071fede03c687c317a1f9d1489dd5f4 503Author: Eivind Kvedalen <eivind@kvedalen.name> 504Date: Wed Sep 7 20:33:02 2011 +0200 505 506 Improved error reporting/behaviour when a symbol cannot be loaded. 507 508commit 4cebffe4ffc464cc16ac08191083deb0cbc76bbc 509Author: Eivind Kvedalen <eivind@kvedalen.name> 510Date: Wed Sep 7 20:32:09 2011 +0200 511 512 Use GtkMeessageDialog instead of the generic dialog. 513 514commit d1305adf92982b3a159707c940bafb8c293223fe 515Author: Eivind Kvedalen <eivind@kvedalen.name> 516Date: Tue Jun 28 21:43:13 2011 +0200 517 518 Partial fix for bug #700448. 519 520 NULL is returned from o_*_read and o_read_buffer functions if parsing of the input buffer fails. 521 An error object is returned in these cases, describing in detail what error occured. 522 523 gnetlist is updated to exit with status code 2 if the input file can't be read. 524 525 gschem is updated to report errors when using o_read_buffer. 526 527 TODO: 528 * Prone to segfaults on bad input files (separate patch) 529 530commit 5033a7a8765b35c405cd5cc44269b67d17dc2b19 531Author: Peter TB Brett <peter@peter-b.co.uk> 532Date: Mon Jan 2 19:20:17 2012 +0000 533 534 gschem: Correctly construct expressions for running hooks. 535 536 In commit 71cc3eb5583b, the way hooks were run was changed from 537 directly calling libguile's scm_run_hook(). Instead, an expression 538 was constructed as a Scheme list structure, to be evaluated. 539 540 Unfortunately, the way that the expression was constructed was wrong, 541 and led to the Guile evaluator attempting (and failing) to evaluate 542 gEDA OBJECT smobs. 543 544commit c5d37e544e04f42db420f9f6f3e4d042311947b7 545Author: Peter TB Brett <peter@peter-b.co.uk> 546Date: Mon Jan 2 18:52:27 2012 +0000 547 548 gschem: Don't dirty page by adding default titleblock. 549 550 The hook that adds the default titleblock to a newly-created, empty 551 schematic page shouldn't mark the page as having been changed. gschem 552 will now no longer prompt to save when you run gschem and immediately 553 quit. 554 555commit d68a5277f1a4f1ad67a3cd9448b11d1a3dda6d01 556Author: Peter TB Brett <peter@peter-b.co.uk> 557Date: Mon Jan 2 18:27:58 2012 +0000 558 559 gschem: Unbreak most of the dialog boxes. 560 561 In commit 78c8ee905dad, OBJECT smobs were altered to store a TOPLEVEL 562 pointer for use when freeing them during garbage collection. The 563 TOPLEVEL pointer is obtained using edascm_current_toplevel(). 564 Unfortunately, since edascm_current_toplevel() raises a Scheme error 565 when the TOPLEVEL fluid is not set, this means that 566 edascm_from_object() can crash gEDA applications if it is not called 567 from inside a Scheme catch context *and* the TOPLEVEL fluid isn't set 568 in the current dynamic context. 569 570 This exposed a bug in commit 71cc3eb5583b, where OBJECT smobs were 571 created *before* setting the TOPLEVEL fluid. As a result, gschem 572 crashed pretty reliably when hooks were triggered via dialog boxes 573 rather than via keystrokes or menu item (e.g. when adding attributes 574 with the "Add Attribute" dialog box). This patch fixes the issue. 575 576commit 528ae278c95dd38dee2c4747effb18d723cbc271 577Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 578Date: Sun Jan 1 18:46:02 2012 +0000 579 580 gschem: add zero termination to invalid keycode list. 581 582 A loop in g_key_is_valid() scans a list of keycodes to see if the current 583 one matches. Add a zero to the end of the list so that the search terminates 584 correctly. 585 586commit e2eda476fb8f3a16aeba8eab0cc8b7fa12e37d6b 587Author: Ales Hvezda <ahvezda@seul.org> 588Date: Sat Dec 31 16:00:23 2011 -0500 589 590 Updated man page date and version in prep for a new release (1.7.2) 591 592commit 46bfb5cf26f33947a2efc7522dabd1107ce0afe4 593Author: Ales Hvezda <ahvezda@seul.org> 594Date: Sat Dec 31 15:56:11 2011 -0500 595 596 Updated all po files in prep for a new release (1.7.2) 597 598commit 0bf198375db72ec4ec2ba2b288993fd054e059fb 599Author: Peter TB Brett <peter@peter-b.co.uk> 600Date: Sat Dec 31 11:59:01 2011 +0000 601 602 gschem: Add some guidance comments for translators. 603 604 Make it clear that "ChangeLog" is a filename and shouldn't be 605 translated. Also untranslate it in the Dutch translation. 606 607commit eb13877a8e1f5d270d70dbb68739f506a7fd8873 608Author: Peter TB Brett <peter@peter-b.co.uk> 609Date: Sat Dec 31 12:00:37 2011 +0000 610 611 gschem: Remove postscript-font-scale option. 612 613 Since 1.6.0, this has emitted a warning that it will be removed in 614 1.8.0. So remove it. 615 616commit 0f2b06d2aa2693de9baf79a7bb6ac0bc5110bbcf 617Author: Bert Timmerman <bert.timmerman@xs4all.nl> 618Date: Sat Dec 31 11:48:58 2011 +0100 619 620 gschem: updated the Dutch translation. 621 622 Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl> 623 624commit 6b1c656f8833b6f3b893d5c204c72eb789a2221d 625Author: Vladimir Zhbanov <vzhbanov@gmail.com> 626Date: Tue Dec 27 16:57:46 2011 +0400 627 628 gattrib/po, gschem/po: Updated Russian translation 629 630commit ec9259f77f9af88f0bf3dbaa1c09a92b87b2c36b 631Author: Peter TB Brett <peter@peter-b.co.uk> 632Date: Wed Dec 28 11:01:55 2011 +0000 633 634 gschem: Correct dynamic extent for complex place list changed hook. 635 636 Note that the changes in commit 71cc3eb5583b did not affect this hook, 637 since it works through a different mechanism to the rest of the hooks. 638 639 Closes-bug: 909193 640 641commit 71cc3eb5583b88e886d2a7bbd652db415af52259 642Author: Peter TB Brett <peter@peter-b.co.uk> 643Date: Wed Dec 28 10:53:08 2011 +0000 644 645 gschem: Always set gschem state fluid & catch errors for hooks. 646 647 This should squash any remaining bugs of the same class as bug 908997 648 or bug 908444. At some point in the future, we should do something 649 helpful if an error occurs when running a hook, rather than just 650 dumping it into the log and carrying on blithely. 651 652commit a8cd39f99d2c354b76edc064bda1b6936c6ff736 653Author: Peter TB Brett <peter@peter-b.co.uk> 654Date: Tue Dec 27 11:18:01 2011 +0000 655 656 gschem: Set GSCHEM_TOPLEVEL fluid when calling deselect-object-hook. 657 658 Closes-bug: lp-908997 659 660commit 5e557fdfcb55b64dea1492df898785694f9ed155 661Author: Peter TB Brett <peter@peter-b.co.uk> 662Date: Sat Dec 24 20:07:01 2011 +0000 663 664 scheme-api: Correct bug in set-attribute-value! 665 666 Closes-bug: lp-908444 667 668commit df9c96cc352c7723e5ba64cad7835c3972433556 669Author: Peter TB Brett <peter@peter-b.co.uk> 670Date: Sat Dec 24 01:00:56 2011 +0000 671 672 Update translation files. 673 674commit dd18397d667622407f0cf2856c5f407b0c3dca80 675Author: Peter TB Brett <peter@peter-b.co.uk> 676Date: Fri Dec 23 21:14:30 2011 +0000 677 678 gschem: Remove special case for Escape. 679 680 In commit ef8cf3e9cd75, the <Escape> key was special-cased to do 681 nothing in g_keys_execute(). This meant that pressing <Escape> no 682 longer fired the 'cancel' action to reset to Select Mode. 683 684 A better approach is to just treat <Escape> like any other key. 685 686commit 6fac0c0f99b51a845f8ab7be2c358f703a54d61f 687Author: Peter TB Brett <peter@peter-b.co.uk> 688Date: Wed Dec 21 15:14:03 2011 +0000 689 690 scheme-api: Add 'snap-point' function to (gschem window) module. 691 692 The snap-point function returns the closest on-grid position to a 693 given point. Suggested by Luigi Palese. 694 695 Affects-bug: lp-905294 696 697commit f958bbe344b9834291446858e884ee742927596f 698Author: Peter TB Brett <peter@peter-b.co.uk> 699Date: Wed Dec 21 15:44:22 2011 +0000 700 701 scheme-api: Correct some comments. 702 703commit 8134a47e969c9025b7469d40d5ae1e56a8bab9a5 704Author: Peter TB Brett <peter@peter-b.co.uk> 705Date: Wed Dec 14 12:12:53 2011 +0000 706 707 gschem: Error in gschemdoc PDF internet search. 708 709 gschemdoc was trying to call internet-pdf-search to Google for 710 documentation, but the correct function was internet-doc-search. 711 712commit fea67660e14d7e927e5ec2c6df5d18c2ea23f82c 713Author: Peter TB Brett <peter@peter-b.co.uk> 714Date: Wed Dec 14 11:41:51 2011 +0000 715 716 gschem: Update state properly on changing pages using page manager. 717 718 Closes-bug: lp-705524 719 720commit 9c9744fa1a4dec33ecd3022412d80267a93a8370 721Author: Vladimir Zhbanov <vzhbanov@gmail.com> 722Date: Tue Dec 13 23:38:49 2011 +0400 723 724 gschem: Fixed incorrectly formed list for stroke Z 725 726 Closes-bug: 904101 727 728commit 42182f0ae6b16171329f00f32ff1857d38c1c33e 729Author: Peter TB Brett <peter@peter-b.co.uk> 730Date: Mon Dec 12 23:45:53 2011 +0000 731 732 gschem: Workaround for zero-height text view bug. 733 734 This is a temporary workaround for a bug on systems using overlay 735 scrollbars for GTK+ widgets, where the value editing GtkTextView in 736 the multi-attribute editing dialog was appearing with zero height. 737 738 Obviously, setting the height request to a constant size isn't ideal. 739 It would be better to set the height request based on the font size, 740 so that a certain number of lines are displayed. 741 742 This should be revisited at a later date. 743 744 Affects-bug: lp-876299 745 746commit ed520a7824eef460c3924e064330ccef3696592e 747Author: Peter TB Brett <peter@peter-b.co.uk> 748Date: Mon Dec 12 14:52:22 2011 +0000 749 750 gschem: Remove empty FIXME file. 751 752commit 0e506ebd5d5cc87a7f373b83b24f2ad3c90fd18b 753Author: Peter TB Brett <peter@peter-b.co.uk> 754Date: Mon Dec 12 14:13:22 2011 +0000 755 756 Remove per-tool INSTALL files. 757 758 Only one top-level INSTALL file is needed, and that is provided by 759 automake. 760 761commit a957588adee2ec54f0cc3c23f9650dff6ed03d09 762Author: Peter TB Brett <peter@peter-b.co.uk> 763Date: Mon Dec 12 13:50:01 2011 +0000 764 765 gschem: Correct error in (gschem core gettext) 766 767 Corrects an error introduced in commit 8d4c574efc3a, where the wrong 768 Scheme module name was defined. 769 770commit 8d4c574efc3a081324ef92d16e6feb6720c86c33 771Author: Peter TB Brett <peter@peter-b.co.uk> 772Date: Mon Dec 12 10:31:12 2011 +0000 773 774 scheme-api: Translate strings. 775 776 Makes the messages emitted by Scheme API functions 777 internationalizable. This required an update to the gnetlist 778 testsuite to set the library path for built-but-not-installed Scheme 779 modules. 780 781 Closes-bug: lp-901013 782 783commit 182110f690c51eb53ea1799fd022e87322d742e3 784Author: Dima Kogan <dima@secretsauce.net> 785Date: Thu Sep 8 01:40:46 2011 -0700 786 787 gschem: Move variables closer to where they are used, for clarity 788 789 Signed-off-by: Dima Kogan <dima@secretsauce.net> 790 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 791 Affects-bug: lp-845380 792 793commit 039e012397f2638d1577dd7c80fb862a5503dbfd 794Author: Dima Kogan <dima@secretsauce.net> 795Date: Thu Sep 8 01:40:17 2011 -0700 796 797 gschem: Fix searching for hidden text. 798 799 searching (and finding) hidden text no longer produces random results 800 by looking at uninitialized data. 801 802 Signed-off-by: Dima Kogan <dima@secretsauce.net> 803 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 804 Affects-bug: lp-845380 805 806commit bd7a0be7431df1a2a03027edb96cfde558256cb1 807Author: Dima Kogan <dima@secretsauce.net> 808Date: Thu Sep 8 01:05:02 2011 -0700 809 810 gschem: Update optional debug printing to work with the latest code 811 812 Signed-off-by: Dima Kogan <dima@secretsauce.net> 813 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 814 Affects-bug: lp-845380 815 816commit ebfe6ae6a76b6a44a0bbe2d184bf99bfee7d97bf 817Author: Peter TB Brett <peter@peter-b.co.uk> 818Date: Sun Dec 11 00:11:59 2011 +0000 819 820 Add s_clib_symbol_invalidate_data(). 821 822 This allows a symbol's data to be reloaded from disk without 823 invalidating the full symbol data cache. 824 825 Closes-bug: lp-698504 826 827commit 0f978cc519016ac1cbb56c772107e1f23c98c831 828Author: Peter TB Brett <peter@peter-b.co.uk> 829Date: Tue Jan 4 17:25:51 2011 +0000 830 831 Remove exit_if_null(). 832 833 Replace with g_return_if_fail(), g_return_val_if_fail(), etc. We 834 shouldn't exit() from a shared library anyway. 835 836 Also, this patch makes gschem *not* crash in a bunch of places where 837 it doesn't really make sense to just give up. 838 839 Affects-bug: lp-698851 840 841commit bccf15c104d64b33d33bb7167703469d75884a7e 842Author: Peter TB Brett <peter@peter-b.co.uk> 843Date: Fri Dec 9 23:52:19 2011 +0000 844 845 General fixes for pictures, picture rendering and picture operations. 846 847 Streamlined the API for picture objects to make it harder to leave a 848 picture object in an inconsistent state. This is a prerequisite patch 849 to providing a Scheme API for working with picture objects. 850 851 This patch also makes primitive transformations of pictures actually 852 work, and fixes rendering of pictures in gschem, because the changes 853 weren't really feasible to separate. 854 855commit 121bd353ac7c4e9de0f94c4b7378945cf33222c6 856Author: Peter TB Brett <peter@peter-b.co.uk> 857Date: Sat Dec 10 02:06:02 2011 +0000 858 859 gschem: Fix a crash when cancelling out of an action. 860 861 In some cases, the new keybinding code could cause a crash when 862 cancelling out of an action with the right mouse button. This was 863 because there was an call to scm_c_eval_string() which could sometimes 864 be called in a context where Guile exceptions weren't caught, and 865 which hadn't been updated to reflect the changes to the keybinding 866 system. 867 868commit 32ca3b25355ca4bef14ed3a2d15277367c32fead 869Author: Peter TB Brett <peter@peter-b.co.uk> 870Date: Fri Dec 9 16:46:20 2011 +0000 871 872 scheme-api: Stop show-uri from leaking a GError on failure. 873 874commit 6a2b3ff8557ebd8c321cdbe6e23abe1ef1df1580 875Author: Peter TB Brett <peter@peter-b.co.uk> 876Date: Thu Dec 8 18:59:02 2011 +0000 877 878 gschem: Tidy up status bar keystroke display. 879 880 Tidies up the behaviour of the status bar when it displays user 881 keystrokes. 882 883 - If the keystroke is a prefix (i.e. it resolves to a keymap), the 884 display will persist indefinitely. 885 886 - Otherwise, the keystroke will be displayed for 400 ms or until 887 another keystroke is typed, whichever is sooner. 888 889 This also fixes a problem where keybindings that resolve to pure 890 Scheme functions were not clearing the displayed key sequence. 891 892commit 1c00bf53cb8b49eb29e84a63e5c49253fc479f21 893Author: Peter TB Brett <peter@peter-b.co.uk> 894Date: Thu Dec 8 17:23:10 2011 +0000 895 896 gschem: Rewrite gschemdoc in Scheme. 897 898 This completely removes the "gschemdoc" helper tool, and reimplements 899 almost all its functionality in Scheme, using the "show-uri" function 900 added in commit b4452ce0b1d4. This permits gschem's documentation and 901 component documentation to be found and shown in an appropriate viewer 902 on all platforms, including Windows. I have verified that this works 903 correctly on Linux, Cygwin and Windows XP. 904 905 There is a drawback, however, in that "locate" is no longer used to 906 search for candidate files -- only the gEDA documentation directory 907 and the working directory are checked. In future, this functionality 908 should probably be restored using desktop search. There may also be 909 problems displaying documentation if gEDA data or documentation were 910 installed to non-standard directories, due to the slightly inelegant 911 methods used to detect the gEDA documentation directory relocatably. 912 913 The component documentation search behaviour can be altered by 914 redefining the 'hierarchy-documentation' function in a gschemrc file. 915 916commit 30fa50eb42e33e4c8ff616eef7c4ba10eb65d228 917Author: Peter TB Brett <peter@peter-b.co.uk> 918Date: Thu Dec 8 18:04:31 2011 +0000 919 920 scheme-api: Add show-uri and show-file functions to (gschem util). 921 922commit c0d2ef0cd57cd566c457979b67a017503591d7aa 923Author: Peter TB Brett <peter@peter-b.co.uk> 924Date: Thu Dec 8 17:23:10 2011 +0000 925 926 gschem: Add x_show_uri(). 927 928 This function launches a URI in the appropriate application for 929 handling it, as determined by the platform's filetype association 930 settings. 931 932 GTK+ 2.16.0 and later provide a the gtk_show_uri() function, which 933 attempts to use GIO to launch the default application for a URI. 934 Unfortunately, it doesn't work properly on Windows with HTTP and FTP 935 URLs, does evil things with FUSE when passed some URIs, and insists on 936 GNOME applications even when you're not running GNOME. Unfortunately, 937 it is also currently considered the Right Way of doing things, and has 938 the advantage of providing detailed error messages when things go 939 wrong. 940 941 With this patch, x_show_url() defaults to using gtk_show_url() on 942 Linux, but not on other host platforms. The --enable-gio and 943 --disable-gio arguments to configure can be used to override this 944 behaviour. 945 946 If GIO is not enabled, the default behaviour differs depending on the 947 platform: 948 949 - On native Windows, the ShellExecute() API call is used by default. 950 951 - On other platforms, a helper command is used. If the URI_VIEWER 952 variable was not set during configure, the command used is: 953 954 * `cygstart' on Cygwin 955 * `open' on Mac OS X 956 * `xdg-open' otherwise. 957 958 Using a helper command can be forced on Windows by setting URI_VIEWER. 959 960 For example, to disable GIO and select an alternative URI launcher 961 command: 962 963 ./configure URI_VIEWER=my-open --disable-gio 964 965commit c41a838b680ed158ddd8e2acb880de21caf0a352 966Author: Peter TB Brett <peter@peter-b.co.uk> 967Date: Thu Dec 8 17:23:09 2011 +0000 968 969 scheme-api: Fix duplicate function name close_page_x. 970 971 This was causing build failures on Cygwin. 972 973commit 0f3a44ec39dfb562ccfd9d3d458ba5e9062d2259 974Author: Peter TB Brett <peter@peter-b.co.uk> 975Date: Mon Dec 5 17:37:30 2011 +0000 976 977 gschem: Use g_assert() instead of exit(). 978 979commit decfce058604a9d8a595b7917234d8a0b0e715c2 980Author: Peter TB Brett <peter@peter-b.co.uk> 981Date: Sun Dec 4 18:51:46 2011 +0000 982 983 gschem: Fix some "set but not used" warnings. 984 985commit ef8cf3e9cd75779d17927c5a4ce51104d42a0ada 986Author: Peter TB Brett <peter@peter-b.co.uk> 987Date: Wed Nov 30 09:34:40 2011 +0000 988 989 gschem: Use new keymaps. 990 991 Modify gschem to use the new keymaps throughout. This is a fairly 992 intrusive change, requiring changes to the keybinding syntax for 993 configuration files. The new syntax one is *much* simpler and easier 994 to understand for people who are not familiar to Scheme, and lends 995 itself well to modifications in user and local gschemrc files. 996 997 Major improvements include: 998 999 * gschem now behaves properly when the user accidentally hits Caps 1000 Lock. This has been a source of great annoyance to me in the past, 1001 when gschem would stop responding to keystrokes for no obvious 1002 reason, only for me to realise that Caps Lock was on. Now 1003 keybindings ignore Caps Lock entirely. 1004 1005 * Menus now show the same symbols as should appear on a user's 1006 keyboard, instead of raw X keynames. This is much more accessible 1007 and user-friendly than having to remember which bracket 1008 "bracketright" refers to. 1009 1010 * The heavy lifting of parsing key specification strings, and of 1011 converting keystrokes to a correctly-internationalised 1012 representation for display, is now carried out by GTK+. This also 1013 cheaply provides support for extended modifiers such as Super 1014 ("Windows" key on most keyboards). 1015 1016 * Changing the keybinding to show documentation to "Ctrl+D" 1017 is now as simple as adding: 1018 1019 (global-set-key "<Ctrl>D" 'hierarchy-documentation) 1020 1021 to my "~/.gEDA/gschemrc", rather than some more complex Scheme code 1022 to patch it correctly into the tree constructed by 1023 "system-gschemrc". 1024 1025commit 70be3926b8f0604faadbe59651a1a7384fddb873 1026Author: Peter TB Brett <peter@peter-b.co.uk> 1027Date: Wed Nov 30 14:48:28 2011 +0000 1028 1029 gschem: Load `gschem.scm' earlier in boot process. 1030 1031 `gschem.scm' provides several core services to gschem, particularly 1032 w.r.t. key- and stroke-bindings. Since rc files may wish to override 1033 or make use of these functions, gschem.scm needs to be loaded *before* 1034 the rc files are. 1035 1036commit 54bb85c55e147a0222a41f415e3200194d3e70ac 1037Author: Peter TB Brett <peter@peter-b.co.uk> 1038Date: Wed Nov 30 18:43:57 2011 +0000 1039 1040 gschem: Recursive keymaps. 1041 1042 Adds the bind-keys! and lookup-keys functions, which are 1043 used to work with key sequences and sub-keymaps. 1044 1045commit d29eb4d67b08065be7e7961725d9b40a234ef1f7 1046Author: Peter TB Brett <peter@peter-b.co.uk> 1047Date: Wed Nov 30 18:44:06 2011 +0000 1048 1049 gschem: Basic keymaps. 1050 1051 Adds a basic keymap type. A keymap maps key combinations to "bindable 1052 objects", which at the moment are expected (but not required) to be 1053 thunks or other keymaps. 1054 1055commit 675c01fe262c1bbc912a43a74c3c96ca78dc88e2 1056Author: Peter TB Brett <peter@peter-b.co.uk> 1057Date: Wed Nov 30 19:24:06 2011 +0000 1058 1059 gschem: Key sequences. 1060 1061 Adds some Scheme API functions for working with key sequences. A key 1062 sequence is a vector of key combinations. 1063 1064commit 5a3917a2fe89a1b3e43d0fe9f7ee6a466f65e57c 1065Author: Peter TB Brett <peter@peter-b.co.uk> 1066Date: Tue Nov 29 16:33:28 2011 +0000 1067 1068 gschem: Key combinations as first-class objects. 1069 1070 Adds a new Scheme type to gschem that represents a key combination 1071 (e.g. Ctrl+Shift+A). The interface for working with them simply wraps 1072 the GTK+ accelerator handling API, which means it's easy to convert 1073 the key combination smobs either into a precise representation for 1074 storing or into a properly-translated "pretty" representation for 1075 display. 1076 1077commit b34be3c923c680efac20e3fafc68f9f820eb7255 1078Author: Peter TB Brett <peter@peter-b.co.uk> 1079Date: Wed Nov 30 14:31:06 2011 +0000 1080 1081 scheme-api: Fix parse-attrib usage in deprecated set-attribute-value! 1082 1083commit 1bf087eac8287e5d835be9961e82bb6a523a2c75 1084Author: Peter Clifton <pcjc2@cam.ac.uk> 1085Date: Fri Sep 2 01:48:38 2011 +0100 1086 1087 Revert "gschem: Make the user click the first point when adding nets or buses" 1088 1089 This reverts commit 2197952617d42ccbe2355747ef48668c63ece30b. 1090 1091 It turns out this behaviour was unpopular, and until I (or someone) has 1092 time to make the behaviour configurable, it is better to revert this. 1093 1094 Perhaps we may be able to come up with another way of allowing magnetic 1095 net mode for the start-point of a net, whilst retaining the immediate 1096 action of the shortcut key. 1097 1098 (Revert tweaked a little to avoid re-adding whitespace errors) 1099 1100commit d1b632e03de0610209e24d8c72ccb37beb3c4aa3 1101Author: Peter Clifton <pcjc2@cam.ac.uk> 1102Date: Fri Sep 2 01:44:22 2011 +0100 1103 1104 Revert the last four commits - pushed by accident 1105 1106 Those last four commits weren't ready for prime-time yet. 1107 1108 This reverts: 1109 1110 commit bdb529ee1c070c0119cafbd143e067d2aea99457 1111 commit 7b4bd14b22cb890cfc156ef83678fef44e41afad 1112 commit a909848f6efd539c10348f23f1b01ae35882a956 1113 commit 50365b0d5da45201a834574441cdc02f0181db2a 1114 1115 Thanks to Peter Brett for spotting my mistake. 1116 1117commit bdb529ee1c070c0119cafbd143e067d2aea99457 1118Author: Peter Clifton <pcjc2@cam.ac.uk> 1119Date: Fri Aug 26 05:58:59 2011 +0100 1120 1121 gschem: Play with move net-rubberbanding heuristics a little 1122 1123commit 7b4bd14b22cb890cfc156ef83678fef44e41afad 1124Author: Peter Clifton <pcjc2@cam.ac.uk> 1125Date: Fri Aug 26 05:58:59 2011 +0100 1126 1127 gschem: Add more abstract API for rubberbanding nets 1128 1129commit a909848f6efd539c10348f23f1b01ae35882a956 1130Author: Peter Clifton <pcjc2@cam.ac.uk> 1131Date: Fri Aug 26 05:58:59 2011 +0100 1132 1133 TEMPORARY: Debug redraws by removing updates to status-bar 1134 1135 Changing the status bar text triggers a full-page redraw, don't do it! 1136 1137commit 50365b0d5da45201a834574441cdc02f0181db2a 1138Author: Peter Clifton <pcjc2@cam.ac.uk> 1139Date: Fri Aug 26 05:58:58 2011 +0100 1140 1141 gschem: Fix rendering artifacts when object creation is cancelled 1142 1143 Object creation cancelled due to dragging out an invalid sized object 1144 (zero radius circle, box or picture with zero width or height), left 1145 an impression of the rubber-band lines on the screen. 1146 1147 Cancelling object creation with the escape key does not cause this 1148 effect, as it triggers a state change which includes a complete redraw 1149 of the schematic page. 1150 1151 TODO: Actually write the code! 1152 1153commit 6633fa2583170a30032d57962d64a6e56a3fe324 1154Author: Kai-Martin Knaak <kmk@familieknaak.de> 1155Date: Mon Jun 20 00:00:00 2011 +0200 1156 1157 Revert "gschem: enhance grid contrast in lightbg color map" 1158 1159 This reverts commit 142077b9769041195dd58d9f6cd59487bcb8afca. 1160 1161 Needs discussion before we commit this, as the existing colours 1162 were chosen with some careful consideration and testing. 1163 1164 In particular, the off-white background was designed to avoid 1165 eye-strain. From recollcetion, it was intended that the grid be 1166 subtle, and not distract from the schematic. 1167 1168commit 142077b9769041195dd58d9f6cd59487bcb8afca 1169Author: Kai-Martin Knaak <kmk@familieknaak.de> 1170Date: Mon Jun 20 00:00:00 2011 +0200 1171 1172 gschem: enhance grid contrast in lightbg color map 1173 1174 Closes-bug: lp-799926 1175 1176commit c9d4f6638bbc7ba84534c2460037f19915114a95 1177Author: Karl Hammar <karl@aspodata.se> 1178Date: Tue Jul 26 16:08:01 2011 +0200 1179 1180 Correct SCM_ASSERT() usage with incorrect SCM_ARGx. 1181 1182 From guile documentation: 1183 1184 -- Macro: void SCM_ASSERT (int TEST, SCM OBJ, unsigned int POSITION, 1185 const char *SUBR) 1186 ... 1187 -- Macro: int SCM_ARG1 1188 ... 1189 -- Macro: int SCM_ARG7 1190 One of the above values can be used for POSITION to indicate the 1191 number of the argument of SUBR which is being checked. 1192 ... 1193 1194 Some SCM_ASSERT() calls have the wrong SCM_ARGx for its TEST and OBJ. 1195 1196 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1197 1198commit 7686d165f994a3064032de749b7b44cec6794c55 1199Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1200Date: Sun Jul 3 00:54:53 2011 +0200 1201 1202 auto-uref: align with new scheme-api 1203 1204commit 9ab022fb196c38e00711148e590193ac423233aa 1205Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1206Date: Sun Jul 3 00:36:25 2011 +0200 1207 1208 auto-uref: allow for empty refdes prefix 1209 1210 Fix the case when regex in get-prefix does not match. 1211 1212 Closes-bug: lp-804898 1213 1214commit f68f9a31c57e2aa343db14d6d7c98997a4c533ad 1215Author: Peter TB Brett <peter@peter-b.co.uk> 1216Date: Wed Jun 29 07:12:30 2011 +0100 1217 1218 gschem: Make sure window fluid is set for double-click events. 1219 1220 This patch prevents a Scheme crash when double-clicking on objects to 1221 bring up the edit window. 1222 1223 Reported-by: Eivind Kvedalen 1224 1225commit d01e46055593990e918d94e4b30609df989561b4 1226Author: Peter TB Brett <peter@peter-b.co.uk> 1227Date: Tue Jun 28 06:25:03 2011 +0100 1228 1229 build-sys: guile-snarf should use host CPP. 1230 1231 Fix cross-compilation by making sure that guile-snarf uses the same C 1232 preprocessor that will be later used for compilation. 1233 1234 Reported-by: DJ Delorie <dj@delorie.com> 1235 1236commit ec7825e81a6ac142972bc4f0c28fb2276c3df60c 1237Merge: 2fa4f57 c4ca820 1238Author: Peter TB Brett <peter@peter-b.co.uk> 1239Date: Fri Jun 24 20:35:29 2011 +0100 1240 1241 Merge changes from main unstable branch 1242 1243commit 4f6d3a0fd5810d8fabd93a1629495f5c916ae4d3 1244Author: Peter TB Brett <peter@peter-b.co.uk> 1245Date: Fri Jun 24 20:04:21 2011 +0100 1246 1247 scheme-api: gschem API documentation (hooks). 1248 1249commit 6b299b8b9f423976f746cf3694a49b9124950237 1250Author: Peter TB Brett <peter@peter-b.co.uk> 1251Date: Thu Jun 23 19:49:10 2011 +0100 1252 1253 scheme-api: Make gschem's overridden close-page! never ask. 1254 1255 The original version of the overridden version of close-page! loaded 1256 by gschem into the (geda core page) asked the user to confirm closing 1257 of dirtied pages. It turns out that this was a really bad idea, 1258 because it made the close-page! function impossible to document 1259 clearly. This patch makes the behaviour of gschem's close-page! match 1260 the core library version, i.e. close immediately without question. 1261 1262commit c4ca82095d88e29ade47c8c9f69734cfeaea5c1a 1263Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1264Date: Sat Jun 4 22:26:12 2011 +0200 1265 1266 auto-uref: smarter calculation of first refes on page 1267 1268 Introduces the "page-offset" concept, where it is assumed 1269 refdeses on each page should start at multiple of page-offset. 1270 So for page-offset = 100 and minimum refdes used on page = 224 1271 the hook will assign next refdes equal to 201. 1272 1273 To enable this feature use (auto-uref-set-page-offset <number>). 1274 Default value of page-offset is 0 which disables the feature. 1275 1276 Currently minimum refdes is calculated separately for each prefix. 1277 1278commit f479409ac22750160df85e012012b81785afc37b 1279Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1280Date: Sat Jun 4 00:45:38 2011 +0200 1281 1282 auto-uref: rewrite to support reusing refdeses 1283 1284 auto-uref now scans all objects in the current page in order to find the 1285 first unused refdes which can be assigned to the object. 1286 Duplicate refdeses are handled correctly. 1287 1288commit 9c540461df266e548684ab2f0bd3294605cf749e 1289Merge: f7cc583 12260ba 1290Author: Peter TB Brett <peter@peter-b.co.uk> 1291Date: Sun Jun 19 18:16:48 2011 +0100 1292 1293 Merge changes from main unstable branch 1294 1295commit 12260baebf9f828e9297fc794e911224b8dcd163 1296Author: Ales Hvezda <ahvezda@seul.org> 1297Date: Sun Jun 19 10:36:02 2011 -0400 1298 1299 Updated all man page dates/versions 1300 1301commit 7eb55e097bf26bef7a4c57753837ee69c5c3471e 1302Author: Ales Hvezda <ahvezda@seul.org> 1303Date: Sun Jun 19 10:33:58 2011 -0400 1304 1305 Updated all po files in prep for a release 1306 1307commit ad289e2ea5d5402fd7061965a3939d33323e4292 1308Author: Peter TB Brett <peter@peter-b.co.uk> 1309Date: Sat Jun 18 13:06:57 2011 +0100 1310 1311 gschem: Add pointer-position function. 1312 1313commit 0aaabc599c8146801364d5b8bc9e984ea764cc5b 1314Author: Peter TB Brett <peter@peter-b.co.uk> 1315Date: Sat Jun 18 10:42:42 2011 +0100 1316 1317 gschem: Reimplement get-object-bounds in Scheme. 1318 1319commit 0f7d19313b0a8e2ecd7d4a5ea24ee6e0ab243d60 1320Author: Peter TB Brett <peter@peter-b.co.uk> 1321Date: Fri Jun 17 21:43:22 2011 +0100 1322 1323 gschem: Remove unused g_make_attrib_smob_list(). 1324 1325commit 6b3c4f7f52f684e10c08ef478e341b954032c94b 1326Author: Peter TB Brett <peter@peter-b.co.uk> 1327Date: Fri Jun 17 20:27:49 2011 +0100 1328 1329 gschem: Reimplement set-attribute-text-properties! in Scheme. 1330 1331commit 4af6da495fd9233bfcf002d9addf9c36fe5d9751 1332Author: Peter TB Brett <peter@peter-b.co.uk> 1333Date: Fri Jun 17 20:43:23 2011 +0100 1334 1335 gschem: Make "About" dialog version match --version. 1336 1337commit 0b9ce5de9589b09ec35cdf321f5ac8540f81daa1 1338Author: Peter TB Brett <peter@peter-b.co.uk> 1339Date: Fri Jun 17 19:24:28 2011 +0100 1340 1341 gschem: Reimplement get-selected-component-attributes in Scheme. 1342 1343commit c761f0ed17f915369143bcf180eafbf52076e1ae 1344Author: Peter TB Brett <peter@peter-b.co.uk> 1345Date: Thu Jun 16 21:45:27 2011 +0100 1346 1347 gschem: Reimplement add-component-at-xy in Scheme. 1348 1349commit 1cd1b3ecf56c183c6b7fd6cd968574f4a3f9c8eb 1350Author: Peter TB Brett <peter@peter-b.co.uk> 1351Date: Fri Jun 17 19:18:09 2011 +0100 1352 1353 gschem: Reimplement add-attribute-to-object in Scheme. 1354 1355commit 4feb90789ff1394465d2d6b8a5556da2c1462a14 1356Author: Peter TB Brett <peter@peter-b.co.uk> 1357Date: Fri Jun 17 19:12:10 2011 +0100 1358 1359 gschem: Improve documentation comments in Scheme code. 1360 1361commit c5ec85006694d354462680339dbd67499ad1f0a2 1362Author: Peter TB Brett <peter@peter-b.co.uk> 1363Date: Fri Jun 17 18:43:17 2011 +0100 1364 1365 gschem: Reimplement get-selected-filename in Scheme. 1366 1367commit 4e191297be1c7a47566a072f1d6e44905fe4647a 1368Merge: 0a5ccba a6cce78 1369Author: Peter TB Brett <peter@peter-b.co.uk> 1370Date: Thu Jun 16 21:47:18 2011 +0100 1371 1372 Merge changes from main unstable branch 1373 1374 Conflicts: 1375 gschem/src/g_hook.c 1376 1377commit a6cce7844d1a1553ec5d39a49ad9426d9ed86417 1378Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1379Date: Thu Jun 16 21:42:25 2011 +0100 1380 1381 gschem: get_main_menu: remove use of deprecated SCM_{SYMBOL,STRING}_CHARS 1382 1383 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1384 1385commit 4d62c8dfcb4f062485f033a01e2ff88dbfab1feb 1386Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1387Date: Thu Jun 16 21:42:24 2011 +0100 1388 1389 gschem: g_rc_print_command: remove use of deprecated SCM_STRING_CHARS 1390 1391 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1392 1393commit 994c9f2625c01b34759bed81392f5deb6c5e47f5 1394Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1395Date: Thu Jun 16 21:42:24 2011 +0100 1396 1397 gschem: g_rc_add_menu: remove use of deprecated SCM_STRING_CHARS 1398 1399 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1400 1401commit 24fb619b41e5548c2433969680ba11f9fa00b4ca 1402Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1403Date: Thu Jun 16 21:42:24 2011 +0100 1404 1405 gschem: g_rc_paper_sizes: remove use of deprecated SCM_STRING_CHARS 1406 1407 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1408 1409commit 8aed0ad4e3771067cf98b654ea1b927f3c581291 1410Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1411Date: Thu Jun 16 21:42:24 2011 +0100 1412 1413 gschem: g_rc_attribute_name: remove use of deprecated SCM_STRING_CHARS 1414 1415 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1416 1417commit c67055e0619ec803ca76cbe24de2b4289a7fd455 1418Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1419Date: Thu Jun 16 21:42:24 2011 +0100 1420 1421 gschem: g_rc_component_dialog_attributes: remove use of deprecated SCM_STRING_CHARS 1422 1423 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1424 1425commit 30e2f85555b1b6728bbc7c7435ccc426fff69aee 1426Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1427Date: Thu Jun 16 21:42:24 2011 +0100 1428 1429 gschem: g_rc_gschem_version: remove use of deprecated SCM_STRING_CHARS 1430 1431 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1432 1433commit e0d12f118f80bb403cbaa1f22e1d5f4766a501d4 1434Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1435Date: Thu Jun 16 21:42:24 2011 +0100 1436 1437 gschem: g_keys_dump_keymap: remove use of deprecated SCM_{STRING,SYMBOL}_CHARS 1438 1439 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1440 1441commit 70ea4a4f4c649762ae0990a2708bf18d22b558c7 1442Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1443Date: Thu Jun 16 21:42:24 2011 +0100 1444 1445 gschem: g_add_component: remove use of deprecated SCM_STRING_CHARS 1446 1447 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1448 1449commit bd53f9e5993d66e0c315ee7fa555f721864db02a 1450Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1451Date: Thu Jun 16 21:42:24 2011 +0100 1452 1453 gschem: g_get_object_bounds: remove use of deprecated SCM_STRING_CHARS 1454 1455 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1456 1457commit 0de35b4cb726e712961b153cf26fcf5c0ebebc78 1458Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1459Date: Thu Jun 16 21:42:24 2011 +0100 1460 1461 gschem: g_set_attrib_text_properties: remove use of deprecated SCM_STRING_CHARS 1462 1463 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1464 1465commit 156c4ac93245aa9075f5134221a06a185d140f3c 1466Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1467Date: Thu Jun 16 21:42:23 2011 +0100 1468 1469 gschem: g_add_attrib: remove use of deprecated SCM_STRING_CHARS 1470 1471 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1472 1473commit 8c66dc1b9545ed60d25fe7fa2a7f9aa95c2b4a92 1474Merge: 25952c3 5f4308e 1475Author: Peter TB Brett <peter@peter-b.co.uk> 1476Date: Wed Jun 15 18:12:44 2011 +0100 1477 1478 Merge changes from main unstable branch 1479 1480 Conflicts: 1481 gschem/src/g_funcs.c 1482 1483commit 5f4308e8a6421175751aac21763d694973b6a016 1484Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1485Date: Wed Jun 15 10:20:49 2011 +0200 1486 1487 gschem: g_funcs_browse_wiki: remove use of deprecated SCM_STRING_CHARS 1488 1489 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1490 1491commit d908e616b814fa2b2836c953684fdb6e6cfa5361 1492Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1493Date: Wed Jun 15 10:06:51 2011 +0200 1494 1495 gschem: g_funcs_filesel: remove use of deprecated SCM_STRING_CHARS 1496 1497 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1498 1499commit 113ab5ee6cf557b17bf47c521147230e462e92af 1500Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1501Date: Wed Jun 15 09:40:08 2011 +0200 1502 1503 gschem: g_funcs_confirm: remove use of deprecated SCM_STRING_CHARS 1504 1505 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1506 1507commit 2404ee24d3679ee55b7c0d28c54a456a13363fab 1508Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1509Date: Wed Jun 15 09:38:11 2011 +0200 1510 1511 gschem: g_funcs_msg: remove use of deprecated SCM_STRING_CHARS 1512 1513 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1514 1515commit 6eaf4f05e794741194c16151854f54df5cd73092 1516Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1517Date: Wed Jun 15 09:26:00 2011 +0200 1518 1519 gschem: g_funcs_log: remove use of deprecated SCM_STRING_CHARS 1520 1521 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1522 1523commit b7edaba5db2059cae36b9b83c67507ffb6e601b2 1524Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1525Date: Wed Jun 15 09:20:46 2011 +0200 1526 1527 gschem: g_funcs_image: remove use of deprecated SCM_STRING_CHARS 1528 1529 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1530 1531commit c005781278c095fffa6e31a68698204ae6e41f2c 1532Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1533Date: Wed Jun 15 09:16:56 2011 +0200 1534 1535 gschem: g_funcs_postscript: remove use of deprecated SCM_STRING_CHARS 1536 1537 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1538 1539commit faffc3449660df53cd7f42a51687ed09f77fc9b6 1540Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1541Date: Wed Jun 15 08:53:17 2011 +0200 1542 1543 gschem: g_funcs_print: remove use of deprecated SCM_STRING_CHARS 1544 1545 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 1546 1547commit 25952c382fc199fb91502279267c45f880a55cdd 1548Author: Peter TB Brett <peter@peter-b.co.uk> 1549Date: Tue Jun 14 00:20:50 2011 +0100 1550 1551 scheme-api: Correct import of (gschem core attrib) module. 1552 1553commit 5cf897c1c107dc3d0b2e4ef82d1f15cbdeb76041 1554Author: Peter TB Brett <peter@peter-b.co.uk> 1555Date: Tue Jun 14 00:10:36 2011 +0100 1556 1557 scheme-api: Use missing.h to pull in SCM<->C string funcs. 1558 1559commit 1a96308dcf365d4cad0de8373beb108c14dfeae2 1560Author: Peter TB Brett <peter@peter-b.co.uk> 1561Date: Sat Jun 11 16:24:02 2011 +0100 1562 1563 scheme-api: Add add-attrib! function. 1564 1565 Add convenience Scheme API function in gschem to shadow the 1566 o_attrib_add_attrib() C function. Although most of the behaviour of 1567 this function could be provided in pure Scheme, it would be somewhat 1568 annoying to have two lots of code which do the same thing. Also, the 1569 slotting mess is still in C only. 1570 1571commit 623341482a94b2f92e662dd8e9ff8f6a218f42cc 1572Author: Peter TB Brett <peter@peter-b.co.uk> 1573Date: Sat Jun 11 21:43:57 2011 +0100 1574 1575 Use UTF-8 instead of locale Scheme string functions. 1576 1577 See commit 09c6613f93b6. 1578 1579commit 91865253d6e4422b06648fe5b0334a5013a7d08a 1580Merge: 4bccef2 09c6613 1581Author: Peter TB Brett <peter@peter-b.co.uk> 1582Date: Sat Jun 11 21:42:48 2011 +0100 1583 1584 Merge changes from main unstable branch 1585 1586 Conflicts: 1587 libgeda/src/g_register.c 1588 libgeda/src/g_smob.c 1589 1590commit 09c6613f93b65d3f9193e7dbc65bd696cf8a6b06 1591Author: Peter TB Brett <peter@peter-b.co.uk> 1592Date: Sat Jun 11 20:35:37 2011 +0100 1593 1594 libgeda: Use UTF-8 instead of locale Scheme string functions. 1595 1596 Note that there are several places where locale string functions are 1597 still used, because the input depends on the current locale 1598 (e.g. strings obtained from command-line options or from the 1599 filesystem). 1600 1601 There are still a lot of places where we're still treating 1602 locale-dependent strings as UTF-8 strings (and probably vice-versa). 1603 Enough bugs for everybody to share! 1604 1605commit 4bccef20f38b43da0d9916f63601dec35fd5b33c 1606Author: Peter TB Brett <peter@peter-b.co.uk> 1607Date: Sat Jun 11 12:57:45 2011 +0100 1608 1609 gschem: Better hook behaviour for "Select All". 1610 1611 Run select-objects-hook for all objects selected by the "Select All" 1612 operation at once, not one at a time. 1613 1614commit 0d5ec53d5ce3baa3004bd1dbfea2f33c4d4abece 1615Author: Peter TB Brett <peter@peter-b.co.uk> 1616Date: Fri Nov 12 13:24:08 2010 +0000 1617 1618 gschem: Enable new-page-hook. 1619 1620 This varies slightly from the original behaviour, in that it is only 1621 called when a *new* page is created (e.g. through File->New), and not 1622 on page load. 1623 1624commit d8abb509c60de0fbd4c288ff7fa9c32c2448f1cf 1625Author: Peter TB Brett <peter@peter-b.co.uk> 1626Date: Thu Nov 11 19:33:29 2010 +0000 1627 1628 gschem: Enable select-objects-hook and deselect-objects-hook. 1629 1630 Not a brilliant implementation -- calls hooks one object at a time 1631 even when a large number of objects are selected/deselected. But it 1632 works. 1633 1634commit b4a75a6ebc480d866d2b268059de04cfcecff40f 1635Author: Peter TB Brett <peter@peter-b.co.uk> 1636Date: Thu Nov 11 19:33:29 2010 +0000 1637 1638 gschem: Enable attach-attribs-hook and detach-attribs-hook. 1639 1640commit 228f6b55dc0d95e2a9695fc9cbb019099811524f 1641Author: Peter TB Brett <peter@peter-b.co.uk> 1642Date: Thu Nov 11 19:33:29 2010 +0000 1643 1644 gschem: Enable move-objects-hook and paste-objects-hook. 1645 1646commit 91e869f566c82cf2bcd9c501bad2060a257c2192 1647Author: Peter TB Brett <peter@peter-b.co.uk> 1648Date: Thu Nov 11 19:33:29 2010 +0000 1649 1650 gschem: Enable mirror-objects-hook and rotate-objects-hook. 1651 1652commit d0467a2c5c6fde4155bfc57f0345bbb162e1b4c7 1653Author: Peter TB Brett <peter@peter-b.co.uk> 1654Date: Thu Nov 11 19:33:29 2010 +0000 1655 1656 gschem: Enable remove-objects-hook. 1657 1658commit 05954f101e9ae90193150e030fb66c1b3d32e44b 1659Author: Peter TB Brett <peter@peter-b.co.uk> 1660Date: Thu Nov 11 19:33:28 2010 +0000 1661 1662 gschem: Enable add-objects-hook. 1663 1664commit 62f51dcfeb8a08288bc1854fd1d49e667b03f490 1665Author: Peter TB Brett <peter@peter-b.co.uk> 1666Date: Thu Nov 11 19:33:28 2010 +0000 1667 1668 gschem: Start implementing simplified hook system. 1669 1670 Rather than the current hook system, which uses misleading hook names 1671 and is only useful for a limited range of use cases, use a smaller 1672 number of more general hooks. 1673 1674commit 1121d83a5450ad9040cabb7ef9a8cfb6c2a395f3 1675Author: Peter TB Brett <peter@peter-b.co.uk> 1676Date: Fri Jun 10 13:46:15 2011 +0100 1677 1678 scheme-api: Only use (ice-9 syncase) if define-syntax missing. 1679 1680 In Guile 2.0, syntax-case is built in by default and importing the 1681 (ice-9 syncase) module isn't required. 1682 1683commit e9f2f0b1285b877a12f0338635af0eade60c7c68 1684Author: Peter TB Brett <peter@peter-b.co.uk> 1685Date: Thu Jun 9 17:37:16 2011 +0100 1686 1687 scheme-api: Fix (gschem deprecated) module. 1688 1689 The set-attribute-value! function contained a let with invalid syntax. 1690 Guile 2.0 rightly gets upset by this. 1691 1692commit 1543eda1dbb823fd3052a3b831eae5b8316ed690 1693Merge: 19963e9 014b30b 1694Author: Peter TB Brett <peter@peter-b.co.uk> 1695Date: Thu Jun 9 15:06:46 2011 +0100 1696 1697 Merge changes from main unstable branch 1698 1699 Conflicts: 1700 gschem/scheme/gschem.scm 1701 libgeda/include/prototype_priv.h 1702 libgeda/src/g_smob.c 1703 libgeda/src/o_basic.c 1704 1705commit bd939b78afa64e27bd9366133ecf636b145c2fe7 1706Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1707Date: Sat Jun 4 23:04:56 2011 +0200 1708 1709 gschem: enlarge macro entry box 1710 1711commit 84949b85df8e8ac1475ae8555bcffe060624d254 1712Author: Peter TB Brett <peter@peter-b.co.uk> 1713Date: Sat Jun 4 12:43:28 2011 +0100 1714 1715 Silently skip duplicate config files. 1716 1717 Affects-bug: lp-710587 1718 1719commit 83777ec203d9dfcf6a257a0c92e2fe2a3deeb552 1720Author: Peter TB Brett <peter@peter-b.co.uk> 1721Date: Sat Jun 4 12:30:36 2011 +0100 1722 1723 Silently skip missing config files. 1724 1725 Closes-bug: lp-710587 1726 1727commit 2fd51c888dfeb536481b7cbfefe2484f4ddede33 1728Author: Peter TB Brett <peter@peter-b.co.uk> 1729Date: Sat Jun 4 09:45:34 2011 +0100 1730 1731 gschem: Use scm_is_pair(x) instead of scm_pair_p(x) == SCM_BOOL_T. 1732 1733commit e89ef317e6603e41f2fde56ec02cf98775e51b27 1734Author: Peter TB Brett <peter@peter-b.co.uk> 1735Date: Sat Jun 4 09:36:01 2011 +0100 1736 1737 Use scm_is_false instead of comparing with SCM_BOOL_F. 1738 1739commit ec5a4822f2f30ff48f521ed62ad0b3fda1021faf 1740Author: Peter TB Brett <peter@peter-b.co.uk> 1741Date: Sat Jun 4 09:12:07 2011 +0100 1742 1743 Remove uses of deprecated SCM_STRINGP and SCM_SYMBOLP. 1744 1745commit edac96258eb6ff8888f05479de942f3e239da87c 1746Author: Peter TB Brett <peter@peter-b.co.uk> 1747Date: Sat Jun 4 09:10:03 2011 +0100 1748 1749 gschem: Add missing regex module to autoplace plugin. 1750 1751commit 4809fe081c03bd3a9468db4aa6ad7823c4717b0d 1752Author: Peter TB Brett <peter@peter-b.co.uk> 1753Date: Sat Jun 4 09:07:08 2011 +0100 1754 1755 gschem: Rename File->Close to File->Close Window. 1756 1757 There has been some confusion over whether File->Close closes the 1758 current page or current window. 1759 1760 Affects-bug: lp-792459 1761 1762commit b410e0b5965e4d0fd95b032676e3f3b658ee2792 1763Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1764Date: Sat Jun 4 01:34:58 2011 +0200 1765 1766 gschem: add property "editing-canceled" in CellTextView 1767 1768 Since GTK 2.20 the GtkCellEditable interface requires boolean property 1769 "editing-canceled". This patch silences warnings from GTK. 1770 1771commit 8db0bdda749c1b30a1b2295db9e80d4dd98f67a9 1772Author: Peter TB Brett <peter@peter-b.co.uk> 1773Date: Fri Jun 3 21:19:49 2011 +0100 1774 1775 gschem: Stricter R5RS definitions. 1776 1777 Guile 2.0 requires definitions to occur only at the top level of a 1778 <program> and at the beginning of a <body>. 1779 1780commit fb917f8b61f58b3cde5f1730b94c28c5992edea1 1781Author: Peter TB Brett <peter@peter-b.co.uk> 1782Date: Fri Jun 3 15:58:31 2011 +0100 1783 1784 Remove uses of deprecated scm_makfrom0str. 1785 1786commit eb2eeee3626c6f127ba2790f708b03d06bb04122 1787Author: Peter TB Brett <peter@peter-b.co.uk> 1788Date: Fri Jun 3 15:29:46 2011 +0100 1789 1790 Remove uses of deprecated scm_num2double. 1791 1792commit 9e3496eb1b753ae9e42dfddd2343892a6618455d 1793Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1794Date: Wed May 25 22:59:10 2011 +0200 1795 1796 auto-uref: initialise data structures at page load 1797 1798 New toplevel procedure is defined in auto-uref.scm to be used with 1799 the new-page-hook: 1800 1801 (add-hook! new-page-hook auto-uref-init-page) 1802 1803 When called, internal refdes map is initialised from attributes of 1804 existing elements on the page. 1805 1806 Closes-bug: lp-787637 1807 1808commit a827a0424b456e9f4b7b05a24a245cd871b6ce15 1809Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1810Date: Wed May 25 01:54:10 2011 +0200 1811 1812 auto-uref: keep track of refdeses per page 1813 1814 Affects-bug: lp-787637 1815 1816commit cbd30169122f7882c4d70db7e6c03604a917c8d2 1817Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1818Date: Tue May 24 23:40:56 2011 +0200 1819 1820 auto-uref: omit inherited refdes attribute 1821 1822 Affects-bug: lp-787637 1823 1824commit 2dfb5547bdf486ca4375af9e73cbe318768cb59f 1825Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1826Date: Fri May 20 23:47:09 2011 +0200 1827 1828 gschem: recent file list checks file extensions 1829 1830 In the recently used files both symbol and schematic files are shown. 1831 Change the filtering method, so recently used files are chosen not only 1832 by MIME type, but also by the file extension as well. 1833 1834 Rationale: if gEDA is installed in a location other than default (say in 1835 users home dir), the MIME type databases will not be updated and list 1836 of recently used files will always be empty. 1837 1838commit 2197952617d42ccbe2355747ef48668c63ece30b 1839Author: Peter Clifton <pcjc2@cam.ac.uk> 1840Date: Wed May 11 18:06:20 2011 +0100 1841 1842 gschem: Make the user click the first point when adding nets or buses 1843 1844 This allows "magnetic net" mode to be used for the start-point of a net 1845 as well as its end-point, whilst still being able to initiate net drawing 1846 with the "n" key. 1847 1848 I have updated buses as well in an effort not to have them diverge yet 1849 further in their behaviour. 1850 1851commit c24bbf855cd3d5f5840ce33d6ad06195008dc141 1852Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> 1853Date: Fri Feb 11 23:38:57 2011 +0100 1854 1855 gschem: disable menu items operating on text objects if no text is selected 1856 1857 And ignore non-text objects while iterating the list of selected objects. 1858 1859 This patch fixes the following warning: 1860 1861 ** (gschem:31478): CRITICAL **: o_attrib_toggle_show_name_value: assertion 1862 `object != NULL && object->type == OBJ_TEXT' failed 1863 1864 which can be trivially reproduced by (for example) selecting a net and then 1865 choosing the "Attributes/Show Value" menu item. 1866 1867 Reviewed-by: Peter Clifton <pcjc2@cam.ac.uk> 1868 Reviewed-by: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1869 1870commit 7f88749446b61493e881ad6aeb0a82f909a8c0d7 1871Author: Peter Clifton <pcjc2@cam.ac.uk> 1872Date: Mon Mar 21 22:51:23 2011 +0000 1873 1874 gschem: Don't require select to drag objects 1875 1876 This comes from watching users interacting with gschem and their 1877 clear expectations that objects can be dragged around the canvas 1878 without an explicit selection step first. 1879 1880 When a mouse drag starts on non-selected object, starting dragging 1881 that object rather than forming a box selection. 1882 1883commit 0fffd6b16214cd05cba9de9e4d65d4e1ea2cf16a 1884Author: Peter TB Brett <peter@peter-b.co.uk> 1885Date: Mon Mar 21 19:53:29 2011 +0000 1886 1887 Remove draw funcs from libgeda. 1888 1889 Removes all of the statically-registered draw functions from libgeda, 1890 as well as the draw_func field from the OBJECT structure. Makes 1891 o_redraw_single() dispatch to type-specific drawing functions 1892 directly. 1893 1894 Refreshed by Peter Clifton <pcjc2@cam.ac.uk> 1895 1896commit 7cc025db90267d5cb5b038e2cc39cb15544e0367 1897Author: Peter Clifton <pcjc2@cam.ac.uk> 1898Date: Mon Mar 21 19:21:49 2011 +0000 1899 1900 Remove OBJECT->sel_func in favour of an OBJECT->selectable flag 1901 1902 Only gschem called OBJECT->sel_func anyway, so lets avoid passing vfunc 1903 pointers everywhere as a flag. This has the added benefit of removing 1904 some dummy functions from gattrib and gschlas which were only present 1905 so the status of locked objects could be preserved across load/save. 1906 1907commit 1eb06387f70cef7e46f37d6be70ea4429a29c894 1908Author: Peter Clifton <pcjc2@cam.ac.uk> 1909Date: Mon Mar 21 19:07:27 2011 +0000 1910 1911 gschem: Make dragging selected objects obey the same hit test as selecting 1912 1913 This makes dragging a group of selected objects more consistent with the 1914 action required to select the objects in the first place, most notably 1915 when dealing objects whos bounding boxes don't fit tightly to the 1916 selectable geometry - e.g. lines and curves. 1917 1918 In order to start a drag, the user must hit within some distance of some 1919 selected geometry. This makes it easier to change selection to another 1920 object with overlapping bounding box if the user did not intend to initiate 1921 a drag. 1922 1923commit 497241f260a728e485cf68dfbf3eea8ce9433a29 1924Author: Peter Clifton <pcjc2@cam.ac.uk> 1925Date: Mon Mar 21 18:35:17 2011 +0000 1926 1927 gschem: Remove (drag-can-move ...) option from system-gschemrc. 1928 1929 Make this non-configurable to reduce the number of options I would bet 1930 money on no-one using. On a more practical note, I am trying to reduce 1931 the number of combinations we need to test when altering mouse bindings. 1932 1933commit 3f0e6e8bc8771a83ed8df36a0818258f51813580 1934Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1935Date: Sat Mar 12 16:17:10 2011 +0100 1936 1937 gschem: show error dialog when save fails 1938 1939 Closes-bug: lp-698566 1940 1941commit d506039d41aea6ecd9e15e62e7b79de8cca284bd 1942Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz@gmail.com> 1943Date: Sat Mar 12 16:07:34 2011 +0100 1944 1945 libgeda: add GError argument to f_save and o_save 1946 1947 o_save and f_save now can report errors during file write using GLib 1948 GError mechanism, similar to f_open. 1949 1950 Affects-bug: lp-698566 1951 1952commit 5da67a77456e288a0e54c2243779261b191c8cf2 1953Author: Kai-Martin Knaak <kmk@lilalaser.de> 1954Date: Sun Jan 30 12:34:46 2011 +0100 1955 1956 gschem: Do not suggest in system-gschemrc, that snap-size is not grid size. 1957 1958 Reviewed-by: Peter Clifton <pcjc2@cam.ac.uk> 1959 Closes-bug: lp-706758 1960 1961commit 66de7e71a2e8a4b2b1f4f9ccc33021c0cff08028 1962Author: Peter Clifton <pcjc2@cam.ac.uk> 1963Date: Sat Jan 29 03:43:39 2011 +0000 1964 1965 gschem: Remove unnecessary include from gschem_pango.h 1966 1967commit ddb932b52888c181d1eea9934776fb303e463c56 1968Author: Peter Clifton <pcjc2@cam.ac.uk> 1969Date: Sat Jan 29 03:35:29 2011 +0000 1970 1971 gschem: Use GtkAdjustment type, not deprecated GtkObject 1972 1973commit 877ff2236bd6e2d397143d92ff80ace193524f36 1974Author: Peter Clifton <pcjc2@cam.ac.uk> 1975Date: Sat Jan 29 03:08:33 2011 +0000 1976 1977 gschem: Use cairo drawing for text bounding box / mark / "I" marker 1978 1979commit 0e49b41b82323f4632410314b680a9d9d6450540 1980Author: Peter Clifton <pcjc2@cam.ac.uk> 1981Date: Sat Jan 29 03:03:23 2011 +0000 1982 1983 gschem: Make object fill functions static inside their o_*.c file 1984 1985 Move the o_*_draw() functions down after the fill functions, so we 1986 don't even have to prototype them in the C file. 1987 1988commit 465db62f713eb8f1f6c73842a166160a24ba18fd 1989Author: Peter Clifton <pcjc2@cam.ac.uk> 1990Date: Sat Jan 29 03:02:50 2011 +0000 1991 1992 gschem: Remove unused GdkGC and GdkDrawable arguments from fill routines 1993 1994 Also swap the (GSCHEM_TOPLEVEL *) argument to be the first, to better 1995 match other API. 1996 1997commit 6f30672e88af11776aa1a1fed74d00fab7c492f7 1998Author: Peter Clifton <pcjc2@cam.ac.uk> 1999Date: Fri Jan 28 01:12:27 2011 +0000 2000 2001 gschem: Remove some commented out code from o_grips.c 2002 2003commit 854581f8b60756ee6bd79b41095084215395469d 2004Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2005Date: Wed Jan 19 17:37:46 2011 +0100 2006 2007 gschem: plug GList leak in create_inuse_tree_model 2008 2009commit 2e5decb6ff1601935cc1f005a312ca04b6d13dfb 2010Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2011Date: Wed Jan 19 23:12:49 2011 +0100 2012 2013 gschem: fix refresh in component seleciton dialog 2014 2015 Block signal handler for GtkTreeSelection "updated" signal while the 2016 refreshed GtkTreeModel is installed in the GtkTreeView widget. 2017 2018 This is necessary as x_compselect_callback_response cannot reliably 2019 determine whether it has been triggered by update of "library" or "in 2020 use" tree views. 2021 2022 Closes-bug: lp-704829 2023 2024commit 77b5bd3b9b49d907492aa3b20e3362f3fc4f6209 2025Author: Peter TB Brett <peter@peter-b.co.uk> 2026Date: Tue Jan 18 23:04:42 2011 +0000 2027 2028 gschem: Don't use "Select All" icon for "Deselect" action. 2029 2030 The wrong icon was set in commit cfed6e31d278. 2031 2032commit f4c86354333a8dfc0d5bca04532a9fb0efe7513f 2033Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2034Date: Tue Jan 18 18:33:15 2011 +0100 2035 2036 gschem: add keymapping for edit-deselect action 2037 2038 Deselect is now triggered by Ctrl+Shift+A shortcut. 2039 2040 Closes-bug: lp-699852 2041 2042commit 0c46b10b3965054be0d2ad00a6659164b830a91b 2043Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2044Date: Tue Jan 18 23:16:49 2011 +0100 2045 2046 gschem: normalize key mappings defined in rc files 2047 2048 Add Scheme routines to normalize defind key mappings at gschem startup. 2049 List of accel modifiers is sorted alphabetically to match ordering 2050 implemented in g_keys_execute. 2051 This allows the user can specify accelerators in any order. 2052 2053 Affects-bug: lp-699852 2054 2055commit cf7da69276fe7626677cc843fbb7a916ed36e0e4 2056Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2057Date: Tue Jan 18 18:21:58 2011 +0100 2058 2059 gschem: support multiple key modifiers in c-code 2060 2061 Modify g_keys_execute() to support multiple keypress modifiers. 2062 Modifiers are ordered alphabetically: Alt Control Shift. 2063 2064 Affects-bug: lp-699852 2065 2066commit 9379c19a7563a02c271c8640fdb814ef0add5981 2067Merge: f9156f1 23383c5 2068Author: Peter TB Brett <peter@peter-b.co.uk> 2069Date: Tue Jan 18 22:36:59 2011 +0000 2070 2071 Merge changes from main unstable branch 2072 2073 Conflicts: 2074 gnetlist/src/gnetlist.c 2075 gschem/src/g_hook.c 2076 gschem/src/gschem.c 2077 libgeda/include/libgeda/prototype.h 2078 libgeda/src/g_basic.c 2079 libgeda/src/g_smob.c 2080 2081commit dc66dc0af3426f92381e9b35573f5365371e527a 2082Author: Ales Hvezda <ahvezda@seul.org> 2083Date: Sun Jan 16 01:59:23 2011 -0500 2084 2085 Another set of changes to all the po files 2086 2087 These changes were made when 'make distcheck' was run to create the 2088 1.7.0 tarball. 2089 2090commit cb0eaabe02c154e6fe95ac49dd638fd6057e9883 2091Author: Ales Hvezda <ahvezda@seul.org> 2092Date: Sun Jan 16 00:16:42 2011 -0500 2093 2094 Updated copyright data in gschem's about box 2095 2096commit 799d67452921ed1447e8b030ee268fe8c34c5785 2097Author: Ales Hvezda <ahvezda@seul.org> 2098Date: Sun Jan 16 00:15:29 2011 -0500 2099 2100 Updated version strings in all man pages 2101 2102commit 2e2e2bf53458d6fea7e4c8dd7736818470fde248 2103Author: Ales Hvezda <ahvezda@seul.org> 2104Date: Sun Jan 16 00:12:48 2011 -0500 2105 2106 Manually ran make update-po in order to prep for the make distcheck 2107 2108commit 1c531ec953bb3a7fe895eafc65c3d4f85c2603c6 2109Author: Peter Clifton <pcjc2@cam.ac.uk> 2110Date: Sat Jan 15 13:45:08 2011 +0000 2111 2112 gschem: Delete "Edit"->"Make Inv Text Vis" menu item 2113 2114 This menu item trips up more people than it helps. Remove 2115 it and associated code. (By popular request on geda-user.) 2116 2117commit 2a6c81e6b88e23b9f391c80b2c8a042cf5a87a1a 2118Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2119Date: Tue Jan 11 23:59:22 2011 +0100 2120 2121 gschem: write object visibility field with setter 2122 2123 Replace direct write to visibility field with calls to o_set_visibility. 2124 2125 Affects-bug: lp-701431 2126 2127 Reviewed-by: Peter Clifton <pcjc2@cam.ac.uk> 2128 2129commit 0fad1e0c5aafa043387a8a5114795cdd352af3a6 2130Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2131Date: Tue Jan 11 23:55:09 2011 +0100 2132 2133 gschem: read object visibility field with getter 2134 2135 Replace direct attribute access with calls to o_is_visible. 2136 2137 Affects-bug: lp-701431 2138 2139 Reviewed-by: Peter Clifton <pcjc2@cam.ac.uk> 2140 2141commit 502ab80495c45e092eca6052edd6cf8e7ff55429 2142Merge: 27f7a52 e1c3ba4 2143Author: Peter TB Brett <peter@peter-b.co.uk> 2144Date: Thu Jan 13 19:59:35 2011 +0000 2145 2146 Merge branch 'stable-1.6' 2147 2148 Conflicts: 2149 NEWS 2150 libgeda/include/prototype_priv.h 2151 libgeda/src/gdk-pixbuf-hacks.c 2152 libgeda/src/o_basic.c 2153 libgeda/src/o_complex_basic.c 2154 utils/src/gsch2pcb.c 2155 2156commit bbab4c1f8c9fc13ed6276cde8371b77cc9c08342 2157Author: Peter TB Brett <peter@peter-b.co.uk> 2158Date: Wed Jan 12 17:03:45 2011 +0000 2159 2160 gschem: Warning dialogs when rc file load fails. 2161 2162 When loading configuration files at gschem startup, display 2163 informative dialog boxes if an error occurs. 2164 2165 This still does not apply to configuration files loaded "on-the-fly" 2166 when loading new pages from disk. 2167 2168 Affects-bug: lp-698578 2169 2170commit 7ca2b049dbcfb9f0eb8d3dd3fcf21cbd66c0ec95 2171Author: Peter TB Brett <peter@peter-b.co.uk> 2172Date: Wed Jan 12 17:03:44 2011 +0000 2173 2174 Print message and exit if rc file load fails. 2175 2176 Modifies g_rc_parse() to print useful messages to standard error and 2177 exit with non-zero status if an error other than ENOENT occurs while 2178 attempting to parse any configuration file. 2179 2180 N.b. only copes with rc files loaded at startup; rc files loaded later 2181 (e.g. a gafrc auto-loaded while loading a schematic using gschem 2182 "File->Open") can't cause the application to die. 2183 2184 Since this means that under some circumstances gschem and gattrib can 2185 appear to do nothing silently (e.g. when launched from via a .desktop 2186 file) subsequent patches need to make gschem and gattrib generate 2187 appropriate warning and/or error message dialogs. 2188 2189 Affects-bug: lp-698578 2190 2191commit f82c6d0e497d7d18905d65b8499f33f3e7e3e073 2192Author: Peter TB Brett <peter@peter-b.co.uk> 2193Date: Wed Jan 12 17:03:44 2011 +0000 2194 2195 Upgrade g_read_file() to support GError. 2196 2197 Allow g_read_file() to return error information in a GError if an 2198 error occurs while loading the requested rc file or Scheme script. 2199 2200commit d50f80399fc8de5bcc24723b87f9132324569fb9 2201Author: Peter TB Brett <peter@peter-b.co.uk> 2202Date: Wed Jan 12 17:03:44 2011 +0000 2203 2204 Invert g_read_file() return values. 2205 2206 Make g_read_file() return TRUE on success and FALSE on failure. It 2207 turns out that not only had the return value on success been incorrect 2208 for some time, there was only one use of g_read_file() that cared 2209 about the return value anyway. 2210 2211commit 3fa62435953d75e9a927e36fb5edab7bdc17535e 2212Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2213Date: Tue Jan 4 01:49:51 2011 +0100 2214 2215 gschem: replace gtk_signal_connect with g_signal_connect 2216 2217 gtk_signal_connect is deprecated and should not be used in new code. 2218 2219 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2220 Closes-bug: lp-698742 2221 2222commit 355fd9bae3392c120d85f81feff04cae5a0ed42e 2223Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2224Date: Sat Jan 8 02:46:28 2011 +0100 2225 2226 gschem: fix secondary label in close confirmation dialog 2227 2228 Secondary label used a pointer string that was previously freed. This 2229 bug was introduced in commit d8803215ea59. 2230 2231 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2232 Closes-bug: lp-700189 2233 2234commit 8a3a0bb070d1b288fceac2fcdd7b317a8f77a464 2235Author: Peter TB Brett <peter@peter-b.co.uk> 2236Date: Fri Jan 7 22:00:09 2011 +0000 2237 2238 Update FSF address in copyright headers. 2239 2240 The FSF have now moved to 51 Franklin Street, Fifth Floor, Boston, MA 2241 02110-1301 USA. Our GPL and LPGL copyright headers need to updated to 2242 reflect this. 2243 2244 Only files remaining with old address are wiki files (although the 2245 wiki has now been updated) and PostScript files. 2246 2247commit 86c305d9a2c62f062cbd9b63810a0173e4855310 2248Author: Peter TB Brett <peter@peter-b.co.uk> 2249Date: Fri Jan 7 14:53:51 2011 +0000 2250 2251 Install HTML versions of manpages even without groff. 2252 2253 If groff isn't available, try to install HTML manpages anyway. This 2254 allows users to install manpages even if they don't have groff as long 2255 as they aren't compiling from git and don't edit the manpages. 2256 2257 Closes-bug: lp-698586 2258 2259commit cfed6e31d2781f3e0981d62c1b965f0565a03420 2260Author: Peter TB Brett <peter@peter-b.co.uk> 2261Date: Fri Jan 7 13:02:16 2011 +0000 2262 2263 gschem: Add "Deselect" to "Edit" menu. 2264 2265 Add an action to deselect all objects on the page to the gschem "Edit" 2266 menu. Ideally, it would be bound to <Control Shift A>, but gschem 2267 keybindings can only have a single modifier key. For now, don't bind 2268 the action to a key. 2269 2270 Related-bugs: lp-699794 2271 2272commit d8803215ea591b9349999c17c5a85aee7da473af 2273Author: Peter TB Brett <peter@peter-b.co.uk> 2274Date: Fri Jan 7 09:45:11 2011 +0000 2275 2276 Remove warnings when building with "--disable-nls". 2277 2278 Closes-bug: lp-698450 2279 2280commit d1569f38123674ffa71b0160cd0fb56806673c84 2281Author: Peter TB Brett <peter@peter-b.co.uk> 2282Date: Thu Jan 6 23:28:49 2011 +0000 2283 2284 gschem: Fix some compilation warnings. 2285 2286 Removes a bunch of unused variables that were causing compilation 2287 warnings. 2288 2289commit 5dcaa34495465cfc413b9d2cf3bbd217c1b8c6a3 2290Author: Peter TB Brett <peter@peter-b.co.uk> 2291Date: Thu Jan 6 00:40:20 2011 +0000 2292 2293 gschem: Add `-c EXPR' to evaluate Scheme EXPR on load. 2294 2295 Adds a `-c' option to gschem, which allows a Scheme expression to be 2296 evaluated on gschem load. Multiple `-s' and `-c' options can be 2297 specified, and they are applied in order. 2298 2299commit 0881305f47b16bb530983604a55abe4fe4fbd1b3 2300Author: Peter TB Brett <peter@peter-b.co.uk> 2301Date: Thu Jan 6 00:24:40 2011 +0000 2302 2303 gschem: Allow multiple `-s' scripts to be specified. 2304 2305commit c3193a03970dfe1b19a595a6d7f86be445c3bb70 2306Author: Peter TB Brett <peter@peter-b.co.uk> 2307Date: Wed Jan 5 13:50:20 2011 +0000 2308 2309 gschem: Add `-L' option for adding to Guile load path. 2310 2311commit d56ec6d94b1ecd8e08a8ee9beb56b3b8dd9eb01f 2312Author: Peter TB Brett <peter@peter-b.co.uk> 2313Date: Wed Jan 5 17:10:15 2011 +0000 2314 2315 gschem: Provide long-form options and update man page. 2316 2317 Make gschem support long-form alternatives for several command-line 2318 options. Additionally, make some further improvements to the gschem man page. 2319 2320commit 0f9554ec1bcb37dba92a09f1b69680ca8cd3366f 2321Author: Peter TB Brett <peter@peter-b.co.uk> 2322Date: Wed Jan 5 13:52:56 2011 +0000 2323 2324 gschem: Remove `-t' option from usage message. 2325 2326 The `-t' option was removed in commit 65b79e360357, but was not 2327 removed from the usage message at the that time. 2328 2329commit 7a3e9f294d12732cd6fb043412c1bf92eaf5b268 2330Author: Peter TB Brett <peter@peter-b.co.uk> 2331Date: Wed Jan 5 11:52:35 2011 +0000 2332 2333 Make `scheme-directory' rc function prepend to Guile load path. 2334 2335 Guile already provides infrastructure for loading Scheme files from a 2336 library, so this patch makes gEDA use it properly. With this (fully 2337 backward-compatible) patch it's now possible to load Scheme files, 2338 including gnetlist backends, from more than one directory. 2339 2340 Note: This commit makes the gnetlist test suite pass again. 2341 2342commit 2a9e92fa59aafcd18286ebf0816fb54bafaac386 2343Author: Patrick Bernaud <patrickb@chez.com> 2344Date: Tue Jan 4 19:08:19 2011 +0100 2345 2346 gschem: Do not attempt to set GtkWindow's type after construction. 2347 2348 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2349 2350commit 9ae03d499783cbbc42dfd5180d0abfa88b8ed8f0 2351Author: Wojciech Kazubski <wk0@o2.pl> 2352Date: Tue Jan 4 15:37:48 2011 +0000 2353 2354 gschem: Don't crop the png output [3100660] [3100680] 2355 2356 Gschem sometimes crops the image exported to bitmap file (png, 2357 bmp... but not eps). This appears in certain range of picture 2358 proportions, landscape but close to square. 2359 2360 This patch alters the algorithm that adjusts the image proportions to 2361 remove this problem. 2362 2363commit bafbcd605c7beaacfdaf9a46801553be5b0c97ad 2364Author: Peter Clifton <pcjc2@cam.ac.uk> 2365Date: Tue Jan 4 15:37:47 2011 +0000 2366 2367 gschem: Exit any current event state before switching pages 2368 2369 If we don't do this, state from an operation on one page can cause 2370 corruption and genereral chaos. This was reproducable by moving 2371 some objects (em), then switching pages with a key-binding. 2372 2373commit 0d658babe176af44e2a58fe09ca18b718aea2412 2374Author: Peter TB Brett <peter@peter-b.co.uk> 2375Date: Tue Jan 4 15:11:09 2011 +0000 2376 2377 gschem: Add "Select All" bound to Ctrl-A. [3143355] 2378 2379commit 371bd6130c77ae0d671ade3a82410f9a3a6105c3 2380Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 2381Date: Mon Jan 3 00:40:03 2011 +0100 2382 2383 gschem: expand component tree after filtering 2384 2385 This patch changes the behavior of the component selection dialog. 2386 After filtering by name is applied the tree view of matching components 2387 is automatically expanded so that all leafs are immediately selectable. 2388 The tree view is collapsed when the filter is cleared. 2389 2390 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2391 2392commit 1e93f7bea2cbe0fa8887337c261093b55c31dd6d 2393Author: Peter TB Brett <peter@peter-b.co.uk> 2394Date: Mon Jan 3 23:07:25 2011 +0000 2395 2396 Revert "Remove some CVS keywords." 2397 2398 This reverts commit f5ada1de1372bd3772b4f4bd33afa59803c1dade, which 2399 was pushed to the repository in error. 2400 2401commit f5ada1de1372bd3772b4f4bd33afa59803c1dade 2402Author: Peter TB Brett <peter@peter-b.co.uk> 2403Date: Tue Dec 21 12:37:10 2010 +0000 2404 2405 Remove some CVS keywords. 2406 2407commit a49c4cf66556570af7ba8dd2af1a6186015ea367 2408Author: Felix Ruoff <Felix@posaunenmission.de> 2409Date: Sun Jan 2 22:22:37 2011 +0100 2410 2411 gschem: Replace recent file list with GtkRecentManager. 2412 2413 This patch replaces the implemented recent-file - list by the recent-manager provided by GTK since version 2.10. 2414 Only schematic-files (*.sch) and symbol-files (*.sym) will be shown (case insensitive). 2415 Known differences to previous version: 2416 * No 'free recent list' option 2417 * Shows just filename (not full path) as menu-label 2418 * Full file-path avaiable as tooltip 2419 * Shows filetype-icons 2420 2421 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2422 2423commit 3b0905a748953a6b1cb72b747f096ccc7b936884 2424Author: Felix Ruoff <Felix@posaunenmission.de> 2425Date: Sat Oct 9 18:35:33 2010 +0200 2426 2427 gschem: Fix warning on moving over menu-item without action 2428 2429 Fix a warning at the info-dialog if the mouse moves over a menu-item 2430 which has no action defined, e.g. the top item of a submenu. 2431 2432 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> 2433 2434commit ec2648696c5574205ff36caab1b81b0dba6a1901 2435Author: Peter TB Brett <peter@peter-b.co.uk> 2436Date: Wed Dec 22 21:57:34 2010 +0000 2437 2438 gschem: Update man page. 2439 2440 Numerous changes: 2441 2442 - Simplify synopsis section. 2443 - Improve English grammar. 2444 - Generally abbreviate. 2445 - Update copyright information. 2446 - Add instructions for accessing full manual from inside gschem. 2447 - Describe GEDADATARC environment variable. 2448 2449commit 65b79e3603571b159b8f1283fb64e4ba257c69f5 2450Author: Peter TB Brett <peter@peter-b.co.uk> 2451Date: Wed Dec 22 22:08:19 2010 +0000 2452 2453 gschem: Remove non-functional -t option. 2454 2455 The -t option hasn't done anything for quite some time now (since 2456 commit d96ad3c39121, in fact). Since no-one's complained that it's 2457 broken, remove it completely. 2458 2459commit f3d2f1a8b2820ab053219c9453d9f32c3172ce2c 2460Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 2461Date: Sat Dec 18 23:12:10 2010 +0000 2462 2463 Don't set construct-only 'type' property on log dialog. [3140276] 2464 2465 Running gschem gives a warning: 2466 2467 (gschem:62319): GLib-GObject-WARNING **: g_object_set_valist: construct 2468 property "type" for object `Log' can't be set after construction 2469 2470 This patch removes the attempt to set the CONSTRUCT-ONLY GtkWindow property 2471 "type" from the g_object_set call in the Log instance initializer and moves 2472 it into the g_object_new call when the Log instance is created. 2473 2474 Signed-off-by: Peter TB Brett <peter@peter-b.co.uk> 2475 2476commit 0f95f7181b3824c278e034b40fe9c5156da7c527 2477Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 2478Date: Sat Dec 18 23:11:47 2010 +0000 2479 2480 Added doxygen comments to Log class functions [3140275] 2481 2482 Added some doxygen comments to the class functions for the Log class 2483 throughout x_log.c 2484 2485 Signed-off-by: Peter TB Brett <peter@peter-b.co.uk> 2486 2487commit f66597934bf8c88519396956637792533ba3a151 2488Author: Peter TB Brett <peter@peter-b.co.uk> 2489Date: Sun Dec 12 08:14:06 2010 +0000 2490 2491 Don't use page_current in hierarchy traversal. 2492 2493 With this patch, the only remaining functions in libgeda which care 2494 about the "current page" are: 2495 2496 - o_get_page_compat() [deprecated] 2497 - s_page_goto() 2498 - s_page_delete() 2499 - s_page_delete_list() 2500 - s_toplevel_new() 2501 2502commit 3d7719ca26bd4a77bce4f3ce3100c72d93d5e933 2503Author: Peter TB Brett <peter@peter-b.co.uk> 2504Date: Sat Dec 11 11:36:11 2010 +0000 2505 2506 Add PAGE argument to o_net_consolidate(). 2507 2508commit 0b94d2379a5bd5d14690f941690e0df761df13c9 2509Merge: 63cd6d7 a33839a 2510Author: Peter TB Brett <peter@peter-b.co.uk> 2511Date: Sun Dec 12 09:48:07 2010 +0000 2512 2513 Merge some changes from Peter Brett. 2514 2515 Merge a series of more generally useful changes from Peter Brett's 2516 `guile-scheme-api' branch, most of which remove uses of 2517 TOPLEVEL.page_current from libgeda. 2518 2519commit 0db9dce07c52cb5f905c0c68d78b9d7656371c98 2520Author: Peter TB Brett <peter@peter-b.co.uk> 2521Date: Wed Nov 17 11:59:02 2010 +0000 2522 2523 Revert po file changes in previous commit. 2524 2525 This reverts most of the incorrectly-commited po file updates in 2526 commit 5cc5a1743e97. 2527 2528commit f9156f1642e0a24661f06cc335178a14d5fa7b1c 2529Author: Peter TB Brett <peter@peter-b.co.uk> 2530Date: Thu Nov 11 19:33:28 2010 +0000 2531 2532 scheme-api: Remove some legacy Scheme functions. 2533 2534 Remove some trivially-replaced Scheme functions from gschem to the 2535 (gschem deprecated) module. 2536 2537commit 5cc5a1743e97218325285975bfb68e090d382143 2538Author: Peter TB Brett <peter@peter-b.co.uk> 2539Date: Wed Nov 17 11:33:25 2010 +0000 2540 2541 gschem: Make 7-byte SHA-1 prefix using %.7s format specifier. 2542 2543 This is slightly more elegant than using g_strndup(). 2544 2545 Suggested-by: Patrick Bernaud <patrickb@chez.com> 2546 2547commit f74b3ba70dc5b7c16613b6e751935fb9e7bdb37a 2548Merge: b70513b 6dff7f3 2549Author: Peter TB Brett <peter@peter-b.co.uk> 2550Date: Wed Nov 17 09:17:28 2010 +0000 2551 2552 Merge changes from main unstable branch 2553 2554commit 6dff7f35a0ab76a2d07b8f6e68d48e638498426f 2555Author: Peter TB Brett <peter@peter-b.co.uk> 2556Date: Wed Nov 17 08:47:51 2010 +0000 2557 2558 gschem: Use g_strndup() instead of strndup(). 2559 2560 strndup() is not in the OS X libc. 2561 2562 Reported-by: Matthew Wampler-Doty <matt@w-d.org> 2563 2564commit 3940ee1a2704d07f7e6f9f2c71eb65346a709f46 2565Merge: 8c4d33a ee7e4a8 2566Author: Peter TB Brett <peter@peter-b.co.uk> 2567Date: Tue Nov 16 22:23:15 2010 +0000 2568 2569 Merge changes from main unstable branch 2570 2571commit ee7e4a8e823dd362bc0dc998cc584ab6ea84bdcd 2572Author: Peter TB Brett <peter@peter-b.co.uk> 2573Date: Sat Nov 13 17:42:14 2010 +0000 2574 2575 Remove DONT_REDRAW flag. 2576 2577 Because we now use the GTK/Cairo renderer for gschem, we use the GTK 2578 model for redrawing. In this model, objects are queued for redrawing 2579 by invalidating them, and at some point later all invalidated regions 2580 of the viewable area are drawn together. 2581 2582 Due to this mechanism, the TOPLEVEL.DONT_REDRAW flag is redundant, as 2583 it as always set and then restored without visiting the GTK main loop, 2584 and thus no drawing would occur in that context anyway. 2585 2586 This patch removes the now-useless TOPLEVEL.DONT_REDRAW flag entirely. 2587 2588commit 700d8c7bb6ed397185f4aee5e857979af07d2d96 2589Author: Peter TB Brett <peter@peter-b.co.uk> 2590Date: Sat Nov 13 13:12:03 2010 +0000 2591 2592 libgeda: Allow registration of multiple change notify functions. 2593 2594 A mechanism for getting notifications when OBJECTs are changed was 2595 added in commit 8b1faf85362b, but this only allowed one set of change 2596 handlers to be added to a TOPLEVEL. This patch allows the multiple 2597 sets of handlers to be registered, and also fleshes out the API 2598 documentation. 2599 2600commit 49fb65103d192a462edb5f0db8ace851c675b749 2601Author: Peter TB Brett <peter@peter-b.co.uk> 2602Date: Fri Nov 12 23:30:15 2010 +0000 2603 2604 gschem: Add -V (version info) command-line option. 2605 2606commit a3433b6a4c088b8926f8768e20eff18d0dafea4b 2607Author: Peter TB Brett <peter@peter-b.co.uk> 2608Date: Thu Nov 11 19:33:28 2010 +0000 2609 2610 Remove most legacy libgeda Scheme types & functions. 2611 2612 Removes most of the legacy Scheme types, functions and definitions 2613 from libgeda, replacing them with compatible equivalents based on the 2614 new Scheme API. The remaining Scheme functions are those for working 2615 with the component and source libraries, the various rc functions, and 2616 the eval-* functions, all of which need to be revisited at a later 2617 date. 2618 2619 Also removes set-attribute-value! from gschem and reimplements in 2620 Scheme, since it was sole user of g_set_attrib_value_internal() and it 2621 was easier to replace than rewrite. 2622 2623commit fc8bcac43b6f3dd611f6030ffe36465d67be379d 2624Author: Peter TB Brett <peter@peter-b.co.uk> 2625Date: Thu Nov 11 19:33:28 2010 +0000 2626 2627 scheme-api: Port legacy Scheme procedures in C to new smob system. 2628 2629 Make all users of legacy Scheme smobs in libgeda use new Scheme smob 2630 system. This is a preliminary patch so that unit tests can be written 2631 to verify that functions ported to new API work the same way as the 2632 originals. 2633 2634commit 7f85f28e67c59dbccb0f2a321794b0ddbb3e578f 2635Author: Peter TB Brett <peter@peter-b.co.uk> 2636Date: Thu Nov 11 19:33:27 2010 +0000 2637 2638 Add e-mail address to copyright headers. 2639 2640commit 6359f03b8615d707b122d84c6e73ae6bf99c097b 2641Author: Peter TB Brett <peter@peter-b.co.uk> 2642Date: Thu Nov 11 19:33:27 2010 +0000 2643 2644 scheme_api: Give modifying functions _x suffixes in C. 2645 2646 When Scheme functions modify their arguments or have side-effects, 2647 they use a `!' at the end of the function name. In C, this is 2648 commonly represented with a _x suffix. This patch adopts that 2649 convention. 2650 2651commit bf643e97eef4919fb11aace7dd597d0b092170cb 2652Author: Peter TB Brett <peter@peter-b.co.uk> 2653Date: Tue Nov 9 14:31:59 2010 +0000 2654 2655 scheme-api: Test if an object is selected. 2656 2657 An obvious omission from commit 85753049b2b9. 2658 2659commit 85753049b2b9455d815ede96dca161cb0de2f22b 2660Author: Peter TB Brett <peter@peter-b.co.uk> 2661Date: Tue Nov 9 10:01:45 2010 +0000 2662 2663 scheme-api: Access to gschem selection. 2664 2665 Makes it possible to retrieve and modify the current selection in 2666 gschem from Scheme code. 2667 2668commit d1d4dbf5841368874215b7ef102090ce4dfc0780 2669Author: Peter TB Brett <peter@peter-b.co.uk> 2670Date: Mon Nov 8 16:54:35 2010 +0000 2671 2672 scheme-api: Correct some comments. 2673 2674commit 3c2636864cc838286d31799d800f13c4f38f6d07 2675Author: Peter TB Brett <peter@peter-b.co.uk> 2676Date: Mon Nov 8 23:48:39 2010 +0000 2677 2678 gschem: Don't select placed objects. 2679 2680 Stop o_place_end() from modifying the selection. This makes the 2681 behaviour when placing text and components consistent with the 2682 behaviour when placing other objects. 2683 2684commit 7dacbe7ca2c9d7a209a5f5cc474c58a4cb9a6c24 2685Author: Peter TB Brett <peter@peter-b.co.uk> 2686Date: Mon Nov 8 13:51:31 2010 +0000 2687 2688 gschem: Make Scheme command entry text box full width of window. 2689 2690 Makes it easier to see what you're doing when playing with Scheme 2691 functions in gschem. 2692 2693commit 7aff6e91ae4520072f4b0272a8fed56e27b82c0a 2694Merge: e92b66a 03a529b 2695Author: Peter TB Brett <peter@peter-b.co.uk> 2696Date: Sun Nov 7 21:02:16 2010 +0000 2697 2698 Merge changes from main unstable branch 2699 2700commit 03a529b993bc5f7b432a8c11e74a69dee12043ed 2701Author: Peter TB Brett <peter@peter-b.co.uk> 2702Date: Sun Nov 7 12:23:18 2010 +0000 2703 2704 gschem: Extract translatable strings directly from system-gschemrc. 2705 2706 Reduces the number of matching lists of menu accelerator strings from 2707 three to two... 2708 2709commit 64fc02d71b235f5b1b5a5640f15d9cf3270672a6 2710Author: Peter TB Brett <peter@peter-b.co.uk> 2711Date: Sun Nov 7 10:40:24 2010 +0000 2712 2713 desktop-i18n: Don't have misleading ".h" suffixes in .po files. 2714 2715commit 803ea8cd6ee3203559d99fbaa178a869c2046d38 2716Author: Peter TB Brett <peter@peter-b.co.uk> 2717Date: Sun Nov 7 13:54:15 2010 +0000 2718 2719 Update po files, fixing Language and Language-Team strings. 2720 2721 Updates all po files using update-po, making sure all po files have 2722 their Language string set, and set all Language-Team strings to 2723 geda-dev@seul.org. 2724 2725commit 5ee02960cb8cc90c6c6fd946c53cdf94b0b46b0e 2726Author: Peter TB Brett <peter@peter-b.co.uk> 2727Date: Sun Nov 7 12:11:03 2010 +0000 2728 2729 Make new C files translatable. 2730 2731 Also marks an new error message in gschem as translatable. 2732 2733commit bb9e4bcd4d3e5b9b598105f7f6f1aecae880783b 2734Author: Peter TB Brett <peter@peter-b.co.uk> 2735Date: Sat Nov 6 09:22:02 2010 +0000 2736 2737 Delete guile-snarf output files during distclean. 2738 2739commit 19fbd43464e59cbbed0fb98371b1daf5b3edc363 2740Author: Peter TB Brett <peter@peter-b.co.uk> 2741Date: Fri Nov 5 15:11:47 2010 +0000 2742 2743 gschem: Include <libgedaguile.h> by default. 2744 2745commit c759a14672a1ee047c8d27f2d9c39339c88da18e 2746Author: Peter TB Brett <peter@peter-b.co.uk> 2747Date: Fri Nov 5 08:00:19 2010 +0000 2748 2749 scheme-api: Closing pages. 2750 2751 Since it's possible to create new pages from the Scheme API, it's also 2752 useful to be able to close them. This patch adds the close-page! 2753 function to the (geda page) module. 2754 2755 It's necessary for gschem to provide a slightly different 2756 implementation of close-page! which allows for the GUI to be updated 2757 and for the user to be prompted to save changes. To do this, gschem 2758 uses Guile module reflection to change the binding of the close-page! 2759 function during startup. 2760 2761commit dbfcf03ba08226b6c752f57006a3e2cde7ffcde8 2762Author: Peter TB Brett <peter@peter-b.co.uk> 2763Date: Fri Nov 5 07:45:22 2010 +0000 2764 2765 gschem: Remove some Guile 1.4/1.6 compatibility code. 2766 2767commit 275740ab72ae6fd9ab2ddcc024181d1c3330064d 2768Author: Peter TB Brett <peter@peter-b.co.uk> 2769Date: Thu Nov 4 19:53:13 2010 +0000 2770 2771 scheme-api: Retrieve and change the current gschem page. 2772 2773commit 2cd6cf4922ef828ed8bbb2d409d0e40b04f7d8ff 2774Author: Peter TB Brett <peter@peter-b.co.uk> 2775Date: Tue Nov 2 10:27:25 2010 +0000 2776 2777 gschem: Remove global_window_current. 2778 2779 Instead, use the GSCHEM_TOPLEVEL fluid (accessed via 2780 g_current_toplevel()). Although this does indeed remove one magic 2781 global variable in favour of another, the fluid has the advantage of 2782 coping correctly with non-local exits, and is more clearly only for 2783 the benefit of procedures that are called via Scheme. 2784 2785commit c51711b32a5673b6ee3f18d5160c9c4e16d15b5e 2786Author: Peter TB Brett <peter@peter-b.co.uk> 2787Date: Tue Nov 2 10:27:25 2010 +0000 2788 2789 gschem: Add a fluid for current GSCHEM_TOPLEVEL. 2790 2791 Adds a smob that represents a gschem window structure, and a Guile 2792 fluid that tracks the active window and that can be accessed from 2793 Scheme code. The functions which update the fluid also ensure that 2794 the libgeda TOPLEVEL fluid is updated in lockstep. This ensures that 2795 Scheme code that is not gschem-aware will run correctly in gschem, and 2796 will allow the global_window_current variable to be removed. 2797 2798commit e883ed4bf0681db9e67da5e176d2caa6d8876f4c 2799Author: Peter TB Brett <peter@peter-b.co.uk> 2800Date: Tue Nov 2 10:27:24 2010 +0000 2801 2802 libgeda: Remove o_save_curr_page(). 2803 2804commit 3abdca2a4ee088184e976822c444069d67e20a20 2805Author: Peter TB Brett <peter@peter-b.co.uk> 2806Date: Tue Nov 2 10:27:25 2010 +0000 2807 2808 libgeda: Add PAGE argument to file load/save functions. 2809 2810commit 4a3a3d9e4cc72fa94165306c5b8d411d47812d45 2811Author: Peter TB Brett <peter@peter-b.co.uk> 2812Date: Tue Nov 2 10:27:24 2010 +0000 2813 2814 libgeda: Add PAGE argument to print functions. 2815 2816commit c26ed9d5b126f7e2b67285e465438aa9b5ee4ffd 2817Author: Peter TB Brett <peter@peter-b.co.uk> 2818Date: Tue Nov 2 10:27:23 2010 +0000 2819 2820 libgeda: Make g_read_file() take a TOPLEVEL argument. 2821 2822commit 4491d031d5f02a43ec72443a3be6668c9cdc58b6 2823Author: Peter Clifton <pcjc2@cam.ac.uk> 2824Date: Mon Nov 1 20:59:11 2010 +0000 2825 2826 Fix hiding the command prompt window on Win32 builds with -mwindows 2827 2828 There was a mistake in gschem and gattrib's Makefile.am, where it 2829 included the non-existant MINGW_GUI_CFLAGS rather than pulling in 2830 MINGW_GUI_LDFLAGS where the required -mwindows was set. 2831 2832 Cherry-picked from: e5f32954a1fb23534309d6fa06d887859afbc664 2833 and subsequent fix: 66e54fd03f75f70d9fcf101d6ed3cad1bb354b13 2834 2835commit bb8ca8df886f6a800e96910424d6b3ba55f2f14f 2836Author: Wojciech Kazubski <wk0@o2.pl> 2837Date: Mon Nov 1 18:24:56 2010 +0000 2838 2839 gschem: Don't crop the png output [3100660] [3100680] 2840 2841 Gschem sometimes crops the image exported to bitmap file (png, 2842 bmp... but not eps). This appears in certain range of picture 2843 proportions, landscape but close to square. 2844 2845 This patch alters the algorithm that adjusts the image proportions to 2846 remove this problem. 2847 2848commit e5f32954a1fb23534309d6fa06d887859afbc664 2849Author: Peter Clifton <pcjc2@cam.ac.uk> 2850Date: Sat May 1 13:42:35 2010 +0100 2851 2852 Fix hiding the command prompt window on Win32 builds with -mwindows 2853 2854 There was a mistake in gschem and gattrib's Makefile.am, where it 2855 included the non-existant MINGW_GUI_CFLAGS rather than pulling in 2856 MINGW_GUI_LDFLAGS where the required -mwindows was set. 2857 2858commit 0768fc34916818904623a914780fe583a8bcf186 2859Author: Robert Drehmel <rdrehmel@users.sourceforge.net> 2860Date: Thu Apr 22 11:13:06 2010 +0100 2861 2862 gschem: Fix memory corruption in o_update_component() 2863 2864 s_page_append_list() consumes the GList passed, which must not 2865 be g_list_free'd afterwards. 2866 2867commit 8e19b5509a40826aeacd6b43efa35403f13763f8 2868Author: Peter Clifton <pcjc2@cam.ac.uk> 2869Date: Fri Apr 2 16:55:25 2010 +0100 2870 2871 gschem: Introduce B/W colour scheme 2872 2873commit 923116bc968ff32ed2c997afa596af59ce9752ce 2874Author: Peter TB Brett <peter@peter-b.co.uk> 2875Date: Sun Mar 7 23:16:03 2010 +0000 2876 2877 libgeda: Add PAGE argument to tile functions. 2878 2879 With this patch, the tile system no longer uses TOPLEVEL.page_current 2880 anywhere. 2881 2882commit 3b76382b7624bd6f22c6e96353185d41053f5e15 2883Author: Peter Clifton <pcjc2@cam.ac.uk> 2884Date: Sun Mar 7 21:12:39 2010 +0000 2885 2886 gschem: Remove unused connection field from the STRETCH struct 2887 2888 This field was only ever used for debug purposes, remove it. 2889 2890commit 9c42a66c0a985ef424f35ac93a289e82ef88b32b 2891Author: Peter Clifton <pcjc2@cam.ac.uk> 2892Date: Sun Mar 7 19:00:01 2010 +0000 2893 2894 Move STRETCH structure and s_stretch.c from libgeda to gschem 2895 2896 This structure and related functions deal with rubberbanding nets during 2897 move operations. They are only used from within gschem, although there 2898 is of course setup and tear-down in libgeda. Move this all to gschem. 2899 2900 This isn't a 1-1 move, since various headers and structures needed to 2901 be fixed up in the process. The stretch_list now lives in the 2902 GSCHEM_TOPLEVEL, not the PAGE, matching the fact that we don't allow 2903 action state to persist when a GSCHEM_TOPLEVEL changes active PAGE. 2904 2905 A free of the stretch list is removed from s_page_delete(), but no 2906 equivalent is re-added in gschem. Action state is torn down when an 2907 action is cancelled, which is done before deleting any GSCHEM_TOPLEVEL. 2908 2909commit d4820b644781b337812a78a1416b67025fa79c2a 2910Author: Peter Clifton <pcjc2@cam.ac.uk> 2911Date: Sun Mar 7 18:39:43 2010 +0000 2912 2913 gschem: Exit any current event state before switching pages 2914 2915 If we don't do this, state from an operation on one page can cause 2916 corruption and genereral chaos. This was reproducable by moving 2917 some objects (em), then switching pages with a key-binding. 2918 2919commit d4908a377f6a1ebcc80d12a08d96d85e8d0473c1 2920Author: Peter TB Brett <peter@peter-b.co.uk> 2921Date: Sun Mar 7 17:40:38 2010 +0000 2922 2923 gschem: Correct some type casts; comment out not-yet-used variable. 2924 2925commit 8a290f30e3f89e7d2c7dd4459c02fa0dce366e02 2926Author: Peter Clifton <pcjc2@cam.ac.uk> 2927Date: Sun Mar 7 15:00:40 2010 +0000 2928 2929 gschem: Tidy up o_move_prep_rubberband() 2930 2931 Delete some debug printf and generally tidy up the function. Should 2932 be no functional changes. 2933 2934commit b5cf93429f13cf9e68cc9cf86a05d72eae239f6f 2935Author: Peter TB Brett <peter@peter-b.co.uk> 2936Date: Thu Nov 12 18:14:18 2009 +0000 2937 2938 gschem: Pass the current GSCHEM_TOPLEVEL to menu signal handlers. 2939 2940 This has the beneficial side-effect of fixing a memory leak. 2941 2942commit 84c708ec13ab8cbd2f66eea3239ce8106232ffab 2943Author: Peter TB Brett <peter@peter-b.co.uk> 2944Date: Wed Mar 3 11:01:19 2010 +0000 2945 2946 gschem: Rewrite o_update_component() to replace, not modify, OBJECTs. 2947 2948 Instead of deleting the contents of a compound OBJECT and adding new 2949 contents loaded from file, make o_update_component() create a new 2950 OBJECT, move attributes across, and then replace the original OBJECT 2951 with the new OBJECT. 2952 2953 This works much more nicely with the use of an event-based 2954 connection-update scheme in libgeda. 2955 2956 Fixes a crash bug reported by Peter Clifton <pcjc2@cam.ac.uk>, where 2957 component prim_objs were not being correctly removed and re-added to 2958 the page's tile system. 2959 2960commit cc0ced2f6d765e5be43de4cd8d0e7caacee9478d 2961Author: Peter Clifton <pcjc2@cam.ac.uk> 2962Date: Sun Feb 28 18:37:24 2010 +0000 2963 2964 gschem: Remove o_invalidate_glist() call from i_callback_edit_(un)embed 2965 2966 This invalidate calls are not required, as any relevant changes will 2967 cause change notifications from within libgeda to trigger redraws of 2968 specific areas of the page. 2969 2970 NB: Changing the embedded status of an object doesn't actually cause a 2971 change notification at present, since it should not affect the how the 2972 objects are rendered. 2973 2974commit 5e8f2be04fd2a1371dcfc2dd595ca319749fe7e2 2975Author: Peter Clifton <pcjc2@cam.ac.uk> 2976Date: Wed Mar 3 00:57:23 2010 +0000 2977 2978 gschem: Remove o_invalidate_all() call from i_callback_edit_update 2979 2980 This invalidate call is not required, as any changes will cause 2981 change notifications from within libgeda to trigger specific areas 2982 of the page to be redrawn. 2983 2984commit b59058138ce5057b3520f70754a610a99fb440a7 2985Author: Peter Clifton <pcjc2@cam.ac.uk> 2986Date: Wed Feb 24 16:33:08 2010 +0000 2987 2988 Use change notification to redraw objects when connectivity changes 2989 2990 Emit change notifications in the connectivity tracking functions 2991 s_conn_remove_other() and s_conn_update_line_object(). This frees 2992 gschem from the somewhat complex task of tracking which objects were 2993 connected to a given object before and after a particular set of 2994 operations. 2995 2996 This change leads to a significant simplification of many operations, 2997 and removes quantities of code from: 2998 2999 o_pin_end() 3000 o_net_end() 3001 o_move_end() 3002 o_move_end_rubberband() 3003 o_move_end_lowlevel() 3004 o_mirror_world_update() 3005 o_rotate_world_update() 3006 o_grips_end_bus() 3007 o_grips_end_pin() 3008 o_grips_end_net() 3009 o_delete() 3010 3011commit cf6ea830c56a04ebb47e958dc1f8895dcc8f60e7 3012Author: Peter Clifton <pcjc2@cam.ac.uk> 3013Date: Sun Feb 28 18:37:23 2010 +0000 3014 3015 Use change notification to redraw when a pin's type is modified 3016 3017 Emit change notifications in o_pin_set_type(), and remove 3018 o_invalidate() calls where this function is used in gschem. 3019 3020commit 5e43eb790eee741c861862d27435fac0cca55df2 3021Author: Peter Clifton <pcjc2@cam.ac.uk> 3022Date: Wed Mar 3 00:34:35 2010 +0000 3023 3024 Add change notification when objects are modified via o_*_modify() 3025 3026 Emit change notification in the o_*_modify() functions, and remove 3027 some o_invalidate() calls where o_arc_modify() is also used in 3028 gschem's arc editing dialog. 3029 3030 The o_*_modify() routines are also used in o_grips.c, where there 3031 is no explicit o_invalidate() call after them. o_grips_end() calls 3032 o_invalidate(), which is strictly un-necessary, but I've left it for 3033 clarity, as it comes after resetting the OBJECT's dont_redraw flag. 3034 3035commit 51461b59d30487e9c1c2dbf3beb6883bd66314e1 3036Author: Peter Clifton <pcjc2@cam.ac.uk> 3037Date: Sun Feb 28 18:37:23 2010 +0000 3038 3039 Use change notification to redraw when an object's fill properties change 3040 3041 Emit change notifications in o_set_fill_options(), and remove 3042 o_invalidate() calls where this function is used in gschem. 3043 3044commit ca60bcbdab636a6ee28a004d5ce802a57933e6bb 3045Author: Peter Clifton <pcjc2@cam.ac.uk> 3046Date: Sun Feb 28 18:37:22 2010 +0000 3047 3048 Use change notification to redraw when an object's line properties change 3049 3050 Emit change notification in o_set_line_options(), and remove 3051 o_invalidate() calls where this function is used in gschem. 3052 3053commit 51c180d137513668925fe2f5834f8ec5cb1d4563 3054Author: Peter Clifton <pcjc2@cam.ac.uk> 3055Date: Sun Feb 28 18:37:22 2010 +0000 3056 3057 Use change notifications to redraw objects with selection changes 3058 3059 Emit change notifications when an OBJECT's selected flag is changed, 3060 and removes o_invalidate() calls where the selection is manipulated 3061 in gschem. 3062 3063commit 47ebe0bb0145d95946d05fa1fd8d9bab7bd08175 3064Author: Peter Clifton <pcjc2@cam.ac.uk> 3065Date: Sun Feb 28 18:37:22 2010 +0000 3066 3067 Use change notifications for redraw when text is recreated 3068 3069 Emit change notifications in the o_text_recreate() function, and 3070 remove o_invalidate() calls from gschem where o_text_recreate(), 3071 or other functions calling it are made. 3072 3073commit 5c14a649bd633950624dfda4128bd83ed77ef4bc 3074Author: Peter Clifton <pcjc2@cam.ac.uk> 3075Date: Sun Feb 28 18:37:21 2010 +0000 3076 3077 Use change notifications for objects added / removed from the page 3078 3079 Adds emission of the change and pre-change notify events for adding 3080 and removing objects from the page respectively. 3081 3082 Remove explicit invalidation calls after performing these actions 3083 in gschem. 3084 3085commit ccf8b757df96f9eafb676a8ab0960c76f9692238 3086Author: Peter Clifton <pcjc2@cam.ac.uk> 3087Date: Sun Feb 28 18:37:21 2010 +0000 3088 3089 gschem: Hookup change notify functions to invalidate on-screen objects 3090 3091 When change pre-change and change notifications are emitted on objects, 3092 we need to invalidate their on-screen representation. 3093 3094 The pre-change notification is used to invalidate the area where an 3095 object is currently drawn, which is expected (usually) to be followed 3096 by a change notification - so the new object bounds are invalidated 3097 to be repainted. 3098 3099 Certain operations might skip one of these events. For cases where the 3100 bounding box of an object is known to remain constant, the "pre-change" 3101 notification could potentially be omitted. Adding an object to the page 3102 will (obviously) only be able to generate a "change" notification, and 3103 removing an object will only generate a "pre-change" notification. 3104 3105commit 6e5fa46cc04db09e0fa0fee54985fa98413c339e 3106Author: Peter Clifton <pcjc2@cam.ac.uk> 3107Date: Wed Feb 24 16:32:51 2010 +0000 3108 3109 gschem: Make sure we invalidate the rubberbanded object before cancelling 3110 3111 This showed up as a rendering artefact left behind after grip-resizing 3112 objects to an invalid size, then letting go of the grip. The grip 3113 operation is cancelled, and the original object re-drawn - but it is 3114 possible that the rubber-banded view of the object just before 3115 cancelling the action covers an area of the screen not touched by the 3116 original object. 3117 3118commit 4a2baceb1bf4546f8888045f80fb989794d9130f 3119Author: Peter Clifton <pcjc2@cam.ac.uk> 3120Date: Sat Feb 20 14:27:07 2010 +0000 3121 3122 gschem: Remove some redundant alias variables in o_pin_end() 3123 3124 Whilst I'm here, remove a NULL test.. o_pin_new() doesn't return NULL. 3125 3126commit 4474d121a1c2c81f8c79b95a426e3e7245eb032d 3127Author: Peter Clifton <pcjc2@cam.ac.uk> 3128Date: Sat Feb 20 01:59:11 2010 +0000 3129 3130 gschem: Make o_grips_{start,end}_*() functions private to o_grips.c 3131 3132commit 960875cc1d57986f2d626b1843330b3bcc2efafa 3133Author: Peter Clifton <pcjc2@cam.ac.uk> 3134Date: Sat Feb 20 02:05:47 2010 +0000 3135 3136 gschem: Tidy up some coding style in text_edit_dialog 3137 3138 Don't initialise variables to NULL un-necessarily. Also, tidy up 3139 some bits of the function which could usefully be grouped together. 3140 3141commit 92302408ad3d0ba01f1e969b39d04dba3c91cf24 3142Author: Peter Clifton <pcjc2@cam.ac.uk> 3143Date: Sat Feb 20 02:04:38 2010 +0000 3144 3145 gschem: Fix object type for align_menu in text_edit_dialog 3146 3147 The type is GtkListStore *, not GtkWidget *. I've renamed the variable 3148 from align_menu to align_menu_model to reflect its contents more clearly. 3149 3150 As a cleanup, don't bother casting align_menu_model to G_OBJECT when 3151 calling g_object_unref(). g_object_unref() takes a gpointer argument so 3152 it isn't necessary. 3153 3154commit 833a0a181cbc012a7c68f02371524a51aa362a43 3155Author: Peter Clifton <pcjc2@cam.ac.uk> 3156Date: Sat Feb 20 00:12:44 2010 +0000 3157 3158 gschem: Move o_invalidate calls out of o_grips_{start,end}_*() 3159 3160 Put the o_invalidate() calls in o_grips_start() and o_grips_end() 3161 instead, which dispatch to the more specific functions. 3162 3163commit c3e6a002e3361f4341e7e09557cf12c4dbfd0c8b 3164Author: Peter Clifton <pcjc2@cam.ac.uk> 3165Date: Sat Feb 20 00:20:05 2010 +0000 3166 3167 gschem: Cancel box grip operation if height is collapsed to zero 3168 3169 The cancel worked for the case where width was collapsed to zero, but 3170 not height. Seems to be due to 1) To a copy-paste error meaning the 3171 box height was always read as zero, and 2) A logic error in that either 3172 a zero width, OR zero height box should abort the grip opeation. 3173 3174commit 351bdfd3b45c8283c5dd9b9e903edf648fa5df00 3175Author: Peter Clifton <pcjc2@cam.ac.uk> 3176Date: Fri Feb 19 23:08:43 2010 +0000 3177 3178 Move o_text_recreate() call inside o_text_set_string() 3179 3180 All callers of o_text_set_string() call o_text_recreate() to update 3181 the text object. o_text_set_string() should call it directly. 3182 3183 Despite being a hold over from the old "prim_objs" based text rendering 3184 system, this function still does useful work preparing the string to be 3185 displayed on screen. 3186 3187commit 54ef9936ca0f046ea37d4aa3b2d9b5ca524bbbc8 3188Author: Peter Clifton <pcjc2@cam.ac.uk> 3189Date: Fri Feb 19 23:16:14 2010 +0000 3190 3191 gschem: Don't second-guess whether to call o_invalidate on text objects 3192 3193 The o_invalidate() call is a NOP if the text is invisible (or hidden 3194 text is not shown), so there is no need to check before calling. 3195 3196commit 7a2311b5e144601594c5b99b2ceb8a8e8567ac5e 3197Author: Peter Clifton <pcjc2@cam.ac.uk> 3198Date: Fri Feb 19 23:28:04 2010 +0000 3199 3200 gschem: Rename o_attrib_remove_selected_invisible() 3201 3202 This function had a todo note "get a better name". Lets go with 3203 o_attrib_deselect_invisible(). 3204 3205 Whilst I'm here, complete the doxygen comments for this function. 3206 3207commit 6045569126c44bd5f09f77d74e472e75e36c908d 3208Author: Peter Clifton <pcjc2@cam.ac.uk> 3209Date: Fri Feb 19 23:25:21 2010 +0000 3210 3211 gschem: Tidy the o_attrib_remove_selected_invisible() function 3212 3213 This function does nothing when toplevel->show_hidden_text is 3214 true. Returning immediately when this is the case, rather 3215 than looping over the entire selection not doing anything. 3216 3217commit 5cad2cd9a184e1af8273dba6d8ddc3c02a2b72d6 3218Author: Peter Clifton <pcjc2@cam.ac.uk> 3219Date: Fri Feb 19 22:52:58 2010 +0000 3220 3221 gschem: Tidy up o_grips_end_{net,pin,bus}() a little 3222 3223 Somewhat of a pointless change, but I ended up moving these functions 3224 about a bit in another patch - so I figured a NOP patch to do most of 3225 the tidying would be better than mixing this with functional changes. 3226 3227commit 8e3d9a6a219ee166260bdc1e1d2980878b524450 3228Author: Peter Clifton <pcjc2@cam.ac.uk> 3229Date: Fri Feb 19 22:50:35 2010 +0000 3230 3231 gschem: Remove the view_update_cues function 3232 3233 This function doesn't do anything different to view->redraw. 3234 3235commit e5aecb64ebaa24e9511a7f814aeffc2a334d563f 3236Author: Peter TB Brett <peter@peter-b.co.uk> 3237Date: Wed Feb 17 18:24:13 2010 +0000 3238 3239 Kill ADDING_SEL flag with FIRE! 3240 3241 The TOPLEVEL.ADDING_SEL flag has long preyed upon intrepid programmers 3242 venturing into the labyrinthine and treacherous depths of the gEDA 3243 source code, introducing strange and hard-to-trace logic errors and 3244 segmentation faults to hinder them on their various quests to fix bugs 3245 and add features. 3246 3247 But no more! The beast lies slain! No more will developers need to 3248 perform the dance of "flag save and restore" to placate the ravening 3249 beast! No more will they mutter strange incantations for hours as they 3250 seek to determine whether the flag should be set or unset! 3251 3252 3253 3254 In serious terms: the flag was only used for controlling whether or 3255 not objects should be added to the tile system. By ensuring that 3256 objects are only added to or removed from the tile system when added 3257 to or removed from the tile's corresponding page, it's then possible 3258 to replace the flag check by checking whether the OBJECT is currently 3259 part of a PAGE. 3260 3261commit ace44e31ae453dc7f1fe7c55e514c3435d70932f 3262Author: Richard Barlow <richard@richardbarlow.co.uk> 3263Date: Mon Feb 15 15:15:49 2010 +0000 3264 3265 gschem: Improve the text edit dialog's alignment menu 3266 3267 This patch alters the way the alignment for text is set in the text edit 3268 dialogue. I've always felt that the linear list of options doesn't work 3269 very well and slows down my work flow quite a bit. 3270 3271 The GtkOptionsMenu, which is now deprecated, has been replaced with a 3272 GtkComboBox. The alignment options are laid out in a table allowing the 3273 correct option to be selected much quicker. 3274 3275commit e85bf2f103667368768939dfc2c40484be8abf8f 3276Merge: 0e5defe 93b0370 3277Author: Peter Clifton <pcjc2@cam.ac.uk> 3278Date: Mon Feb 15 20:30:22 2010 +0000 3279 3280 Merge translations from the stable-1.6 branch 3281 3282 NB: Translations were merged manually 3283 3284commit 0e5defe4871370a93c6ccb8bbf4a10e5df098884 3285Author: Ales Hvezda <ahvezda@seul.org> 3286Date: Sun Feb 14 21:26:37 2010 -0500 3287 3288 Updated man page dates 3289 3290 (cherry picked from commit 11921dc18209ed4ea12288114634bb94a5b9b8a9) 3291 (from stable-1.6) 3292 3293commit c31d9a1a90db32dd1e1d41f9d3d5ef5888424ba1 3294Author: Ales Hvezda <ahvezda@seul.org> 3295Date: Sun Feb 14 17:09:45 2010 -0500 3296 3297 Updated copyright text/header in most source files. 3298 3299 Updated all copyright text dates that should be updated for the new year. 3300 Fixed a bunch of GNU text typos (these should have been either 3301 GPL or gEDA). Removed some $Id$ tags which are no longer used/needed. 3302 Fixed a few file header that were just plain incorrect. 3303 3304 (cherry picked from commit bd34cfde2450790b357e574281f9562adce64303) 3305 (from stable-1.6 branch) 3306 3307commit 5df2c5c6f400facb3f81963d6fb0332832cc9e6b 3308Author: Peter Clifton <pcjc2@cam.ac.uk> 3309Date: Mon Feb 15 19:26:10 2010 +0000 3310 3311 Make update-po 3312 3313commit f186753e6e229e2dd3e8e317ec5f71884b5c04d0 3314Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> 3315Date: Mon Feb 15 15:04:35 2010 +0000 3316 3317 gschem: Fix a couple of typos in the gschem manpage 3318 3319commit 11921dc18209ed4ea12288114634bb94a5b9b8a9 3320Author: Ales Hvezda <ahvezda@seul.org> 3321Date: Sun Feb 14 21:26:37 2010 -0500 3322 3323 Updated man page dates 3324 3325commit bd34cfde2450790b357e574281f9562adce64303 3326Author: Ales Hvezda <ahvezda@seul.org> 3327Date: Sun Feb 14 17:09:45 2010 -0500 3328 3329 Updated copyright text/header in most source files. 3330 3331 Updated all copyright text dates that should be updated for the new year. 3332 Fixed a bunch of GNU text typos (these should have been either 3333 GPL or gEDA). Removed some $Id$ tags which are no longer used/needed. 3334 Fixed a few file header that were just plain incorrect. 3335 3336commit 93b0370c433f5eb6716ce537288803df4ff99549 3337Author: Ales Hvezda <ahvezda@seul.org> 3338Date: Sun Feb 14 09:01:16 2010 -0500 3339 3340 First set of changes done by make update-po (ran by prelim make distcheck) 3341 3342commit dcfcb835d5dec2c0ec71526188bbd6c1b76a94ac 3343Author: Peter Clifton <pcjc2@cam.ac.uk> 3344Date: Sun Feb 14 13:03:47 2010 +0000 3345 3346 Import translations from Launchpad 3347 3348commit fae9fef150f96412b592817e98d09a2c8300fbfc 3349Author: Peter Clifton <pcjc2@cam.ac.uk> 3350Date: Sat Feb 13 14:15:40 2010 +0000 3351 3352 gschem/po: Update some fuzzy strings in the Dutch translation 3353 3354 These changes relate to menu-accelerators, so I was able to take 3355 an educated guess at the correct strings. 3356 3357commit e20d11966e03c54fc9279bc4bdb3d64a9fc81389 3358Author: Peter Clifton <pcjc2@cam.ac.uk> 3359Date: Sat Feb 13 13:13:02 2010 +0000 3360 3361 gschem/po: Apply updated Dutch translations from Bert Timmerman 3362 3363commit c8af8579d460fdbf9591133c7e30556ce77ba329 3364Author: Peter Clifton <pcjc2@cam.ac.uk> 3365Date: Sat Feb 13 12:57:57 2010 +0000 3366 3367 gschem/po: Merge changes to Dutch translation 3368 3369 Merges changes sent by Bert Timmerman. 3370 3371 These didn't apply cleanly, so I've had to merge them manually. 3372 3373 This commit introduces a number of fuzzy translations which should 3374 be fixed before release. They are mostly relateed to menu accelerators, 3375 so could probably be un-fuzzied without too much risk. 3376 3377commit 20fd55710ff9d4529f2ce4703559d39e2fa6abd9 3378Author: Peter Clifton <pcjc2@cam.ac.uk> 3379Date: Fri Feb 12 18:23:01 2010 +0000 3380 3381 gschem: Fix hard-coded menu names to match new accelerators 3382 3383 Fixes breakage caused by changing the root menu names to include 3384 accelerators. 3385 (cherry picked from commit 11dd19eedb4fedf06858ec7af1f13371b69441f9) 3386 3387commit 11dd19eedb4fedf06858ec7af1f13371b69441f9 3388Author: Peter Clifton <pcjc2@cam.ac.uk> 3389Date: Fri Feb 12 18:17:56 2010 +0000 3390 3391 gschem: Fix hard-coded menu names to match new accelerators 3392 3393 Fixes breakage caused by changing the root menu names to include 3394 accelerators. 3395 3396commit 4e91bc5e52699639cf78a9112b0422d2763a6346 3397Author: Peter Clifton <pcjc2@cam.ac.uk> 3398Date: Fri Feb 12 18:00:44 2010 +0000 3399 3400 Update translations from Launchpad 3401 3402commit 9a21d1e7e67cccd3d8f6285d1582a1933cc48fe6 3403Author: Krzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com> 3404Date: Fri Feb 12 11:25:40 2010 +0000 3405 3406 gschem: update polish translation 3407 3408 I did most of the previous translation in Launchpad but now I'm using 3409 git so it's more handy for me to submit a patch. 3410 3411commit 885f9686ce0997015f3baf69d7c545b889a33b78 3412Author: Werner Hoch <werner.ho@gmx.de> 3413Date: Fri Feb 12 10:57:07 2010 +0100 3414 3415 gschem: updated german translation 3416 3417 copied from 7ebe889c777237eed359da7687202fa1f23be537 3418 3419commit 7ebe889c777237eed359da7687202fa1f23be537 3420Author: Werner Hoch <werner.ho@gmx.de> 3421Date: Fri Feb 12 10:41:22 2010 +0100 3422 3423 gschem: updated german translation 3424 3425commit 8ec97e5432679849f1dcac3bdabeac32d67c6b29 3426Author: Carlos Nieves Onega <cnieves@iespana.es> 3427Date: Thu Feb 11 19:01:01 2010 +0100 3428 3429 Fixed some menu accelerators for spanish translation. 3430 3431 There were some duplicated, or assigned to letter with accents. 3432 3433commit d8b5d756ae661bb15dc4e24f470e36d833442513 3434Author: Carlos Nieves Onega <cnieves@iespana.es> 3435Date: Thu Feb 11 18:56:39 2010 +0100 3436 3437 Updated spanish translation. 3438 3439commit c5454e79e1a79e2a172c43544bf528c8f0b0cb28 3440Author: Carlos Nieves Onega <cnieves@iespana.es> 3441Date: Thu Feb 11 17:54:24 2010 +0100 3442 3443 Updated spanish translation. 3444 3445commit bf9d3b95633bbb575e0d480561990af43569d184 3446Author: Peter Clifton <pcjc2@cam.ac.uk> 3447Date: Thu Feb 11 01:45:01 2010 +0000 3448 3449 gschem: Update translations to reflect accelerator changes 3450 3451 In this instance, I'm going to un-fuzzy the appropriate translations, 3452 as I don't want to break strings which were previously translated at 3453 this stage in the release process. 3454 3455 For certain languages - those where it was simple, I've updated some 3456 or all of the accelerator strings. 3457 3458commit 5e8b72937c09caf15ef791459d6086e3aaf77be6 3459Author: Peter Clifton <pcjc2@cam.ac.uk> 3460Date: Thu Feb 11 01:34:37 2010 +0000 3461 3462 gschem: Provide accelerator mnemonics for root menus 3463 3464 (cherry picked from commit e94dd5222f2267218572e81cfae9fbbdc2f70021) 3465 3466commit f5efae4bcb1d79abd21400e08a1bf63bcb43aa4d 3467Author: Peter Clifton <pcjc2@cam.ac.uk> 3468Date: Thu Feb 11 01:34:28 2010 +0000 3469 3470 gschem: Allow mnemonics for root menus, such as _File, _Edit etc.. 3471 3472 (cherry picked from commit a800451bef4df21797df3707b672571e5441e594) 3473 3474commit d66d391c8ade7b7e55df3cb23b802238c92de4fa 3475Author: Peter Clifton <pcjc2@cam.ac.uk> 3476Date: Thu Feb 11 01:34:20 2010 +0000 3477 3478 gschem: Fix update of pinnumbers after auto-renumberering slots 3479 3480 Call o_slot_end() rather than o_text_set_string(), in order to 3481 ensure the object's pinnumbers are updated correctly. 3482 3483 NB: This patch requires the changes making o_slot_end() to take an 3484 OBJECT * arguement, as the objects being updated aren't necessarily 3485 selected. 3486 (cherry-picked from commit 9c71110a49be8a677f7ea3eabaebf6479873c7af) 3487 3488commit d1a6a10c62f993e22ec4b752f803f907ad0b9a35 3489Author: Peter Clifton <pcjc2@cam.ac.uk> 3490Date: Thu Feb 11 01:34:06 2010 +0000 3491 3492 gschem: Pass o_slot_end() an OBJECT *object parameter 3493 3494 The OBJECT * parameter points to the object who's slot is being 3495 updated - not the slot attribute itself. 3496 3497 Previously o_slot_end() used the first object in the selection. 3498 This call is used for other cases where slotting needs to be 3499 updated - not all will necessarily have the object selected. 3500 (cherry picked from commit 040db4675fcbd7739ad8c0dfbc82bbcf2eaff815) 3501 3502commit 920c90fcc90ca188cbbbbdbcbdfec4ed65e54493 3503Author: Peter Clifton <pcjc2@cam.ac.uk> 3504Date: Thu Feb 11 01:33:45 2010 +0000 3505 3506 gschem: Remove the exit(-1) error path from o_slot_end() 3507 3508 This is not a friendly way to treat the user.. g_return_if_fail() instead. 3509 (cherry picked from commit d03c03949e17313a222645fc38c376b802f5fb4c) 3510 3511commit 2bed5dcf9424ecc238d3bba391db73fb12a170cb 3512Author: Peter Clifton <pcjc2@cam.ac.uk> 3513Date: Thu Feb 11 01:33:37 2010 +0000 3514 3515 gschem: Remove unused "len" parameter from o_slot_end() 3516 3517 (cherry picked from commit 2998c43e60e95a28df9ce7db2cd64dfaf46712b9) 3518 3519commit f4bda0a16f626235ada74f0b7ec5fec51e0f2c73 3520Author: Peter Clifton <pcjc2@cam.ac.uk> 3521Date: Thu Feb 11 01:33:28 2010 +0000 3522 3523 gschem: Fix slot editing routines to not edit inherited attributes (#2949232) 3524 3525 Fixes a bug where symbols without a promoted slot= attribute had their 3526 non-promited slot= attribute modified. Also, a similar bug was lurking 3527 in the auto-number code, which could break the auto-number slots feature 3528 or cause crashes when the remove numbers feature was used on slotted 3529 components without a promoted slot= attribute. 3530 3531 Tidied up some variable names to make all the fixed functions consistent. 3532 3533 A neater fix might have been changing the interface to s_slot_search_slot() 3534 back, such that it only reports non-inherited attributes. This would 3535 ideally involve renaming the function in libgeda, to (say, for example) 3536 s_slot_search_attached_slot(). Since this change is intended for back- 3537 port to stable-1.6 as well, I don't want to break libgeda ABI. It seems 3538 unwise to change the function's behaviour without a break in API, hence 3539 the solution in this patch.. to have callers to s_slot_search_slot() check 3540 !o_attrib_is_inherited() on the returned attribute before editing it. 3541 3542 Reported-by: John Doty <jpd@noqsi.com> 3543 (cherry picked from commit b635dd1c3b9297d3f6e1487f4e2a03cc9effcf05) 3544 3545commit e94dd5222f2267218572e81cfae9fbbdc2f70021 3546Author: Peter Clifton <pcjc2@cam.ac.uk> 3547Date: Thu Feb 11 00:21:54 2010 +0000 3548 3549 gschem: Provide accelerator mnemonics for root menus 3550 3551commit a800451bef4df21797df3707b672571e5441e594 3552Author: Peter Clifton <pcjc2@cam.ac.uk> 3553Date: Wed Feb 10 19:52:44 2010 +0000 3554 3555 gschem: Allow mnemonics for root menus, such as _File, _Edit etc.. 3556 3557commit 9c71110a49be8a677f7ea3eabaebf6479873c7af 3558Author: Peter Clifton <pcjc2@cam.ac.uk> 3559Date: Wed Feb 10 21:05:38 2010 +0000 3560 3561 gschem: Fix update of pinnumbers after auto-renumberering slots 3562 3563 Call o_slot_end() rather than o_text_set_string(), in order to 3564 ensure the object's pinnumbers are updated correctly. 3565 3566 NB: This patch requires the changes making o_slot_end() to take an 3567 OBJECT * arguement, as the objects being updated aren't necessarily 3568 selected. 3569 3570commit 040db4675fcbd7739ad8c0dfbc82bbcf2eaff815 3571Author: Peter Clifton <pcjc2@cam.ac.uk> 3572Date: Wed Feb 10 21:36:37 2010 +0000 3573 3574 gschem: Pass o_slot_end() an OBJECT *object parameter 3575 3576 The OBJECT * parameter points to the object who's slot is being 3577 updated - not the slot attribute itself. 3578 3579 Previously o_slot_end() used the first object in the selection. 3580 This call is used for other cases where slotting needs to be 3581 updated - not all will necessarily have the object selected. 3582 3583commit d03c03949e17313a222645fc38c376b802f5fb4c 3584Author: Peter Clifton <pcjc2@cam.ac.uk> 3585Date: Wed Feb 10 22:18:45 2010 +0000 3586 3587 gschem: Remove the exit(-1) error path from o_slot_end() 3588 3589 This is not a friendly way to treat the user.. g_return_if_fail() instead. 3590 3591commit 2998c43e60e95a28df9ce7db2cd64dfaf46712b9 3592Author: Peter Clifton <pcjc2@cam.ac.uk> 3593Date: Wed Feb 10 19:53:09 2010 +0000 3594 3595 gschem: Remove unused "len" parameter from o_slot_end() 3596 3597commit b635dd1c3b9297d3f6e1487f4e2a03cc9effcf05 3598Author: Peter Clifton <pcjc2@cam.ac.uk> 3599Date: Wed Feb 10 19:59:08 2010 +0000 3600 3601 gschem: Fix slot editing routines to not edit inherited attributes (#2949232) 3602 3603 Fixes a bug where symbols without a promoted slot= attribute had their 3604 non-promited slot= attribute modified. Also, a similar bug was lurking 3605 in the auto-number code, which could break the auto-number slots feature 3606 or cause crashes when the remove numbers feature was used on slotted 3607 components without a promoted slot= attribute. 3608 3609 Tidied up some variable names to make all the fixed functions consistent. 3610 3611 A neater fix might have been changing the interface to s_slot_search_slot() 3612 back, such that it only reports non-inherited attributes. This would 3613 ideally involve renaming the function in libgeda, to (say, for example) 3614 s_slot_search_attached_slot(). Since this change is intended for back- 3615 port to stable-1.6 as well, I don't want to break libgeda ABI. It seems 3616 unwise to change the function's behaviour without a break in API, hence 3617 the solution in this patch.. to have callers to s_slot_search_slot() check 3618 !o_attrib_is_inherited() on the returned attribute before editing it. 3619 3620 Reported-by: John Doty <jpd@noqsi.com> 3621 3622commit 6261b5ea22dfcff6aac6060f98dd7606b7cb4ed2 3623Author: Peter Clifton <pcjc2@cam.ac.uk> 3624Date: Mon Feb 8 16:31:00 2010 +0000 3625 3626 Merge translations with those exported from launchpad 3627 3628commit 375c146d8700ea02a31edb10dfebcde4b85d7aa1 3629Author: Bert Timmerman <bert.timmerman@xs4all.nl> 3630Date: Sun Feb 7 12:07:16 2010 +0000 3631 3632 gschem/po: Merge updated Dutch translations. 3633 3634 Translations merged by Peter Clifton <pcjc2@cam.ac.uk> 3635 3636commit 124a73f493b15948ad8c5babe4593c63f4278235 3637Merge: 0b87692 9d6d0a0 3638Author: Peter Clifton <pcjc2@cam.ac.uk> 3639Date: Sun Feb 7 01:34:00 2010 +0000 3640 3641 Merge updated translations from stable-1.6 branch 3642 3643commit 9d6d0a0cc0cf0675a6f5f313272dcd224675ebf8 3644Author: Peter Clifton <pcjc2@cam.ac.uk> 3645Date: Sun Feb 7 00:39:07 2010 +0000 3646 3647 gschem/po: A few updates to the en_GB translation 3648 3649 (Actually with some changes this time!) 3650 3651commit 89a4b16eb855aa65480c82766a1cc559ca31ea5f 3652Author: Peter Clifton <pcjc2@cam.ac.uk> 3653Date: Sat Feb 6 23:11:49 2010 +0000 3654 3655 gschem: Make update-po for changed rcstrings.c 3656 3657 Updated en_GB translations for menu accelerators, as they are 3658 trivial. 3659 3660 Other languages still have their menu strings marked as fuzzy, 3661 meaning the translations won't work (they didn't before anyway). 3662 3663 I've deliberately not unmaked the strings as fuzzy, as if this 3664 were done, it would be much harder for translators to see that 3665 the keyboard accelerators need fixing. 3666 3667commit 2525daa773aa3c5713e1ff40913236256cf2e2de 3668Author: Peter Clifton <pcjc2@cam.ac.uk> 3669Date: Sat Feb 6 23:10:52 2010 +0000 3670 3671 gschem: Fix rcstrings.c to relect text in menus 3672 3673 This makes our menus translatable again. Looks like most cases were 3674 due to adding "_" to the menu text to make _Accelerators. 3675 (cherry picked from commit 0b87692907ad83635fab42a59fa4e86f464905c5) 3676 3677commit 0b87692907ad83635fab42a59fa4e86f464905c5 3678Author: Peter Clifton <pcjc2@cam.ac.uk> 3679Date: Sat Feb 6 23:09:51 2010 +0000 3680 3681 gschem: Fix rcstrings.c to relect text in menus 3682 3683 This makes our menus translatable again. Looks like most cases were 3684 due to adding "_" to the menu text to make _Accelerators. 3685 3686commit 99c5e8ce7cb7d2f06d3da3c3b841b0d40c583583 3687Merge: 89ad783 d3b0112 3688Author: Peter Clifton <pcjc2@cam.ac.uk> 3689Date: Sat Feb 6 21:36:08 2010 +0000 3690 3691 Manually merge translations from the stable-1.6 branch 3692 3693 For newly translated languages, this was fairly simple, using msgmerge 3694 to update the stable-1.6 "$LANG.po" files with the current git HEAD 3695 translation template ".pot" files. 3696 3697 For existing languages, I used msgcat to combine the two, allowing it 3698 to choose the "newer" translation - ie.. the one on the stable-1.6 3699 branch if there were any conflicts. 3700 3701 To assist, I used the following short script: 3702 3703 \#!/bin/sh 3704 3705 LINGUAS=`cat LINGUAS` 3706 TEMPLATE="geda-gschem.pot" 3707 NEW_DIR="stable-1.6" 3708 OLD_DIR="HEAD" 3709 3710 for TR_LANG in $LINGUAS 3711 do 3712 echo "Attempting to merge for language ${TR_LANG}" 3713 if [ -e ${OLD_DIR}/${TR_LANG}.po ]; then 3714 echo -n "Old translation exists.. merging" 3715 msgcat --use-first ${NEW_DIR}/${TR_LANG}.po ${OLD_DIR}/${TR_LANG}.po -o merge_tmp.po 3716 msgmerge merge_tmp.po ${TEMPLATE} -o ${TR_LANG}.po 3717 else 3718 echo -n "Translation is new, updating" 3719 msgmerge ${NEW_DIR}/${TR_LANG}.po ${TEMPLATE} -o ${TR_LANG}.po 3720 fi 3721 done 3722 3723 (Modified appropriately for each */po/ directory.) 3724 3725 The current translations were placed in po/HEAD/ and the (newer) 3726 stable-1.6 translations were placed in po/stable-1.6/ 3727 3728 The script requires the LINGUAS file to be updated to include all 3729 new languages before it is run. 3730 3731 The resulting changes have been reviewed to ensure nothing 3732 massively broken happened during the merge, and committed as a merge 3733 to show the origin of the translations. 3734 3735commit 431772cec853ba3344ca68865dc29441c73d6b14 3736Author: Peter Clifton <pcjc2@cam.ac.uk> 3737Date: Sun Jan 31 13:09:30 2010 +0000 3738 3739 gschem: Import translations from Launchpad 3740 3741commit cd8a454298c0dc4860e4a81260a41c8d7476c2d9 3742Author: Peter Clifton <pcjc2@cam.ac.uk> 3743Date: Sun Jan 31 13:34:14 2010 +0000 3744 3745 gschem/po: Update af.po translation (removing many bogus fuzzy translations) 3746 3747 Some fixes were obvious, others were obviously wrong, so I removed them. 3748 3749commit 5d55f0efdbf386d672179e7b1c5c0e905029dc23 3750Author: Peter Clifton <pcjc2@cam.ac.uk> 3751Date: Sun Jan 31 12:38:06 2010 +0000 3752 3753 gschem/po: Fix plural form header for es.po 3754 3755 Looks like something accidentally mangled this header. 3756 (cherry picked from commit 89ad783e3f1298ee1ea0a12d148a192c74e4d78f) 3757 3758commit 89ad783e3f1298ee1ea0a12d148a192c74e4d78f 3759Author: Peter Clifton <pcjc2@cam.ac.uk> 3760Date: Sun Jan 31 12:36:15 2010 +0000 3761 3762 gschem/po: Fix plural form header for es.po 3763 3764 Looks like something accidentally mangled this header. 3765 3766commit 7b97171ff386bb96e16dbd879aed45b8da908efe 3767Author: Peter Clifton <pcjc2@cam.ac.uk> 3768Date: Sun Jan 31 11:09:45 2010 +0000 3769 3770 Update en_GB translation 3771 3772commit fd66d4de4dd32b4d080a9cbd4f53f2a598269b63 3773Author: Peter Clifton <pcjc2@cam.ac.uk> 3774Date: Sun Jan 31 11:08:04 2010 +0000 3775 3776 Update en_GB translation (actually do it this time!) 3777 3778commit 67f8e23339892fbcb958c2051e8fabe5345350fe 3779Author: Peter Clifton <pcjc2@cam.ac.uk> 3780Date: Sun Jan 31 10:27:32 2010 +0000 3781 3782 Run make update-po in all */po/ directories 3783 3784commit abc32686e9bf42b25e0f6b0548d620436ee05da6 3785Author: Peter Clifton <pcjc2@cam.ac.uk> 3786Date: Sun Jan 31 10:58:55 2010 +0000 3787 3788 gschem: Remove _() translatable markers from some internal strings 3789 3790 Save work for the translators, as we don't really need or want to 3791 translate the descriptive strings for GObject properties. 3792 3793 Introduce a P_() helper as in GTK code. This means we can find the 3794 potentially translatable strings at a later date. 3795 (cherry picked from commit 3c64f506a6b3babc4db67a5841d5b95a2189b34c) 3796 3797commit bf82ca8680254c7752fed304fb67716fcc0f6023 3798Author: Peter Clifton <pcjc2@cam.ac.uk> 3799Date: Sun Jan 31 10:45:01 2010 +0000 3800 3801 Run make update-po in the */po/ directories 3802 3803commit 3c64f506a6b3babc4db67a5841d5b95a2189b34c 3804Author: Peter Clifton <pcjc2@cam.ac.uk> 3805Date: Sun Jan 31 10:42:19 2010 +0000 3806 3807 gschem: Remove _() translatable markers from some internal strings 3808 3809 Save work for the translators, as we don't really need or want to 3810 translate the descriptive strings for GObject properties. 3811 3812 Introduce a P_() helper as in GTK code. This means we can find the 3813 potentially translatable strings at a later date. 3814 3815commit 041d55bf82f356ef01d2c17305a973192323644c 3816Author: Peter Clifton <pcjc2@cam.ac.uk> 3817Date: Sun Jan 31 10:51:05 2010 +0000 3818 3819 gschem/po: Fix keywords passed to xgettext, it is N_, not _N 3820 3821 This was broken accidentally in 3822 commit 7cf778da5905cf4189eeb043c1b98cb0efa2b305 3823 3824commit c603cb9f75068837eb8f5a309f590fb3d8e5156e 3825Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> 3826Date: Fri Nov 20 16:23:15 2009 +0000 3827 3828 Fix for some manpage issues. [2901183] 3829 3830 Fixes undefined use of `l' macro, and incorrect uses of `-' character. 3831 (cherry picked from commit 93dd5a941f34d1dd58cf9a57a07dec1e01ce3afe) 3832 3833commit ce53e956128a330f7c13e1953cad937b27027323 3834Author: Peter Brett <ptbb2@cam.ac.uk> 3835Date: Sun Jan 31 10:01:02 2010 +0000 3836 3837 Move snap state tracking out of libgeda. 3838 3839 Since snapping is only relevant to gschem, store snap state in the 3840 GSCHEM_TOPLEVEL structure. 3841 3842commit 3f30ab76bbf247e8151fd4bbfd43bb7703e0fb80 3843Author: Peter Brett <ptbb2@cam.ac.uk> 3844Date: Sun Jan 31 10:01:00 2010 +0000 3845 3846 gschem: Fix some warnings about non-literal format strings. 3847 3848commit 7575c114b590077a3399d28a499005625f7ae212 3849Author: Peter Clifton <pcjc2@cam.ac.uk> 3850Date: Sun Jan 31 02:00:34 2010 +0000 3851 3852 gschem: Don't update page connectivity from o_place_rotate() Bug #2904715 3853 3854 This fixes bug #2904715, where gschem would crash if an object being 3855 multi-copied contained nets, and the place-buffer was rotated (by 90 3856 degrees) four times during the place operation. 3857 3858 Items in the place list should never have their connectivity updated 3859 on the page. (They don't belong to the page, so have no business 3860 being referenced from the page, or objects on it). 3861 3862 Rather than calling o_rotate_world_update() (which updates connectivity) 3863 call o_glist_rotate_world() and then the scheme rotate hooks explictly. 3864 3865 Rotate hook handling was split from o_rotate_world_update() into a new 3866 function, o_rotate_call_hooks(). When doing this split, I took the 3867 chance to remove a few pointless tests of o_current != NULL in there. 3868 We know o_current isn't going to be NULL, and we already dereferenced 3869 it (unchecked) a few lines above. 3870 3871 As o_place_rotate() is always called from within an action - and in 3872 those cases, o_rotate_world_update() would not update the undo list, 3873 I have not included the conditional undo update in o_place_rotate(). 3874 (cherry picked from commit 16090ce2eedc014d82e96fd340ec27f9ea6b186d) 3875 3876commit 16090ce2eedc014d82e96fd340ec27f9ea6b186d 3877Author: Peter Clifton <pcjc2@cam.ac.uk> 3878Date: Sun Jan 31 02:00:34 2010 +0000 3879 3880 gschem: Don't update page connectivity from o_place_rotate() Bug #2904715 3881 3882 This fixes bug #2904715, where gschem would crash if an object being 3883 multi-copied contained nets, and the place-buffer was rotated (by 90 3884 degrees) four times during the place operation. 3885 3886 Items in the place list should never have their connectivity updated 3887 on the page. (They don't belong to the page, so have no business 3888 being referenced from the page, or objects on it). 3889 3890 Rather than calling o_rotate_world_update() (which updates connectivity) 3891 call o_glist_rotate_world() and then the scheme rotate hooks explictly. 3892 3893 Rotate hook handling was split from o_rotate_world_update() into a new 3894 function, o_rotate_call_hooks(). When doing this split, I took the 3895 chance to remove a few pointless tests of o_current != NULL in there. 3896 We know o_current isn't going to be NULL, and we already dereferenced 3897 it (unchecked) a few lines above. 3898 3899 As o_place_rotate() is always called from within an action - and in 3900 those cases, o_rotate_world_update() would not update the undo list, 3901 I have not included the conditional undo update in o_place_rotate(). 3902 3903commit 2eae6d63738a0a27578e2868d788d59313d75583 3904Author: Peter Clifton <pcjc2@cam.ac.uk> 3905Date: Sun Jan 31 01:03:00 2010 +0000 3906 3907 gschem: Don't duplicate registration of new zero-length rubber-band nets 3908 3909 o_net_new() adds the net into the tile system and updates conectivity 3910 (assuming toplevel->ADDING_SEL is false). 3911 3912commit f1a5270236c98274f3d02a1513823fd9a8ff707f 3913Author: Peter Clifton <pcjc2@cam.ac.uk> 3914Date: Sun Jan 31 00:35:42 2010 +0000 3915 3916 libgeda: Tidy up some calls in o_complex_translate_all() 3917 3918 Convert a couple of short while loops over a GList into a for() structure. 3919 Remove a completely redundant if statement. The if () {...} and else {...} 3920 branches had the same code in them! 3921 3922commit 7cf778da5905cf4189eeb043c1b98cb0efa2b305 3923Author: Peter Brett <ptbb2@cam.ac.uk> 3924Date: Sat Jan 30 15:54:28 2010 +0000 3925 3926 Add --from-code=UTF-8 to XGETTEXT_OPTIONS. 3927 3928 Some of the translatable strings in the source code contain UTF-8 3929 encoded characters. Without setting the --from-code argument 3930 appropriately, xgettext chokes on these strings, which can result in 3931 an infinitely-recursing build. 3932 3933 Reported-by: Peter <link@penguindevelopment.org> 3934 3935commit 037651cdde1684c640d1339f699e1e45838e35e1 3936Author: Peter Clifton <pcjc2@cam.ac.uk> 3937Date: Tue Jan 19 23:17:06 2010 +0000 3938 3939 gschem: Set font description explictly, rather than by parsing a string 3940 3941 This makes the font description string robust against numeric locale 3942 settings, which could cause problems if "," gets used as the decimal 3943 separator in the requested font size. 3944 3945 This issue caused text rendering to be broken in gschem on Win32 for 3946 locales where "," was used as the decimal specifier. The underlying 3947 bug (failing to override the LC_NUMERIC settings) is now fixed, 3948 although it is just as well to be as robust as possible here. 3949 3950 Thanks to Cesar and Bert for testing this fix. 3951 3952 Tested-by: Cesar Strauss <cestrauss@gmail.com> 3953 Tested-by: Bert Timmerman <bert.timmerman@xs4all.nl> 3954 (cherry picked from commit 620ee00b6211b04c75e9cadffe5547ce4ed1ca8b) 3955 3956commit a78d166a1b57b80ff46e2ac98a14989b8af77c3e 3957Author: Peter Clifton <pcjc2@cam.ac.uk> 3958Date: Tue Jan 19 23:11:36 2010 +0000 3959 3960 Set the LC_NUMERIC locale to "C" rather than "POSIX" 3961 3962 This value is supported on Win32 platforms, whereas "POSIX" doesn't 3963 appear to have any effect. 3964 3965 This is required in order to get correct postscript output in locales 3966 where "," is used as the decimal point separator. It also affects the 3967 font strings passed to Pango, causing broken text rendering in gschem. 3968 3969 Thanks to Cesar for testing this change indeed fixes the issue. 3970 3971 Tested-by: Cesar Strauss <cestrauss@gmail.com> 3972 (cherry picked from commit 5d130060e694cfd3b3be177f1fae4a576728ff25) 3973 3974commit 620ee00b6211b04c75e9cadffe5547ce4ed1ca8b 3975Author: Peter Clifton <pcjc2@cam.ac.uk> 3976Date: Tue Jan 19 23:17:06 2010 +0000 3977 3978 gschem: Set font description explictly, rather than by parsing a string 3979 3980 This makes the font description string robust against numeric locale 3981 settings, which could cause problems if "," gets used as the decimal 3982 separator in the requested font size. 3983 3984 This issue caused text rendering to be broken in gschem on Win32 for 3985 locales where "," was used as the decimal specifier. The underlying 3986 bug (failing to override the LC_NUMERIC settings) is now fixed, 3987 although it is just as well to be as robust as possible here. 3988 3989 Thanks to Cesar and Bert for testing this fix. 3990 3991 Tested-by: Cesar Strauss <cestrauss@gmail.com> 3992 Tested-by: Bert Timmerman <bert.timmerman@xs4all.nl> 3993 3994commit 5d130060e694cfd3b3be177f1fae4a576728ff25 3995Author: Peter Clifton <pcjc2@cam.ac.uk> 3996Date: Tue Jan 19 23:11:36 2010 +0000 3997 3998 Set the LC_NUMERIC locale to "C" rather than "POSIX" 3999 4000 This value is supported on Win32 platforms, whereas "POSIX" doesn't 4001 appear to have any effect. 4002 4003 This is required in order to get correct postscript output in locales 4004 where "," is used as the decimal point separator. It also affects the 4005 font strings passed to Pango, causing broken text rendering in gschem. 4006 4007 Thanks to Cesar for testing this change indeed fixes the issue. 4008 4009 Tested-by: Cesar Strauss <cestrauss@gmail.com> 4010 4011commit 7ffb3884c477ea4c54dc7e80fbc9120407ec6fcf 4012Author: Peter Clifton <pcjc2@cam.ac.uk> 4013Date: Thu Dec 31 12:52:19 2009 +0000 4014 4015 gschem: Re-trace about logo to have transparency in anti-aliasing 4016 4017 The previous version was partially flattened, so the anti-aliasing 4018 only worked on a light coloured background. Re-trace the gate, red 4019 net end cues and re-export. 4020 4021 Is otherwise identical to the website logo. 4022 4023commit 7f8f8beb4d2ab3e2508c125da15ac817c5ab0f68 4024Author: Ales Hvezda <ahvezda@seul.org> 4025Date: Wed Dec 30 21:41:53 2009 -0500 4026 4027 Changed the new gschem about logo to be the same as the gEDA website logo 4028 4029commit 1af6cf8dcc23174a6e57e8cdf2f3b84996a5b23e 4030Author: Peter Clifton <pcjc2@cam.ac.uk> 4031Date: Wed Dec 30 20:29:04 2009 +0000 4032 4033 gschem: New about dialog, including gEDA logo graphics 4034 4035commit f1e5729f9638731595c2af4ecf5c492d8de4076d 4036Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 4037Date: Fri Nov 20 22:17:43 2009 +0000 4038 4039 gschem: Clean up doxygen warnings [2899355] 4040 4041 Quite a few of the doxygen comments for gschem have 4042 fallen into bitrot, particularly around parameter names and lists. 4043 This patch updates doxygen comments to fix almost all warnings generated 4044 in the gschem doxygen run. Also corrected apostrophe error on main page. 4045 4046commit 93dd5a941f34d1dd58cf9a57a07dec1e01ce3afe 4047Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> 4048Date: Fri Nov 20 16:23:15 2009 +0000 4049 4050 Fix for some manpage issues. [2901183] 4051 4052 Fixes undefined use of `l' macro, and incorrect uses of `-' character. 4053 4054commit 4885969f50e7942ce4180ff5e59907876ccf39aa 4055Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> 4056Date: Fri Nov 20 16:09:19 2009 +0000 4057 4058 Don't use Encoding field in .desktop files [2901187] 4059 4060 The .desktop files contain the deprecated Encoding field. The Encoding 4061 key is now deprecated by the FreeDesktop standard and all strings are 4062 required to be encoded in UTF-8. 4063 4064commit 9fb9761c0ae5b34670683de30f4251e24d55e652 4065Author: Peter Clifton <pcjc2@cam.ac.uk> 4066Date: Fri Nov 20 06:58:57 2009 +0000 4067 4068 Don't immediately redraw rubberband objects after placing 4069 4070 This allows the user to see the placed (and selected) object 4071 without it being overwriten by any object still attached to the 4072 mouse cursor. (This made it appear that the object had not been 4073 placed). 4074 4075 The rubberband objects attached to the cursor are re-drawn as soon 4076 as the mouse moves. 4077 4078commit df1a9efec9a33336723c863f7a4c9844c3c12b3c 4079Author: Sergey Alyoshin <aslv@users.sourceforge.net> 4080Date: Fri Nov 20 06:58:56 2009 +0000 4081 4082 gschem: Updated Russian translation. 4083 4084commit 18fc37097a266ecdb70560524e6c161f0807d36e 4085Author: Werner Hoch <werner.ho@gmx.de> 4086Date: Fri Nov 20 06:58:55 2009 +0000 4087 4088 gschem: Fix rendering with zoomed out dashed lines. Bug #2876373 4089 4090 Rather than using SCREENabs, use the screen_width function to 4091 determine the on-screen size of dash elements. This clamps the 4092 width at a rendereable size, so cairo does not get tripped into 4093 an error state (and stop drawing other objects on the schematic). 4094 4095commit b98d2ea8aa5ce3dfab39ce5fa4a52c39e5a467b3 4096Author: Werner Hoch <werner.ho@gmx.de> 4097Date: Fri Nov 20 06:58:54 2009 +0000 4098 4099 updated german translation for gschem 4100 4101commit d5d8bf2982724c52fa66431801534a35b75a3e52 4102Author: Bert Timmerman <bert.timmerman@xs4all.nl> 4103Date: Fri Nov 20 06:58:53 2009 +0000 4104 4105 Updated the Dutch translations for gschem 4106 4107commit 4a952841e7aca364018a9ebd81a0c1793c371273 4108Author: Werner Hoch <werner.ho@gmx.de> 4109Date: Fri Nov 20 06:58:52 2009 +0000 4110 4111 gschem, gattrib desktop file: add trailing semicolon 4112 4113 the openSUSE buildservice claims that it's necessary to add a 4114 trailing semicolon to the Categories list entries. 4115 4116commit 858982a2a05ff3e128de3621f1d301ecd989f35c 4117Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 4118Date: Fri Nov 20 06:39:59 2009 +0000 4119 4120 Changed message on failure to generate doxygen docs 4121 4122 If --enable-doxygen was not a configure flag, change the error message 4123 on an attempt to build doxygen documentation to suggest the configure 4124 flag was the cause of the failure rather than the lack of a doxygen 4125 install itself. 4126 4127commit ea34de8e761f40b697fc4800375ab8c5ef642c60 4128Author: Gareth Edwards <gareth@edwardsfamily.org.uk> 4129Date: Fri Nov 20 06:39:59 2009 +0000 4130 4131 Don't drop a file called "doxygen" 4132 4133 Remove the file redirection that causes a file called "doxygen" 4134 to be created in the */docs/ directories if --enable-doxygen 4135 is *not* one of the configure flags. 4136 4137commit ef86dc34509308a29c2acca9eca73d7953b49346 4138Author: Peter Clifton <pcjc2@cam.ac.uk> 4139Date: Mon Nov 16 20:42:26 2009 +0000 4140 4141 Don't immediately redraw rubberband objects after placing 4142 4143 This allows the user to see the placed (and selected) object 4144 without it being overwriten by any object still attached to the 4145 mouse cursor. (This made it appear that the object had not been 4146 placed). 4147 4148 The rubberband objects attached to the cursor are re-drawn as soon 4149 as the mouse moves. 4150 4151commit 90ab35e96c4c2a9c37c5913ab4b574a131133b31 4152Author: Sergey Alyoshin <aslv@users.sourceforge.net> 4153Date: Thu Nov 12 19:01:00 2009 +0000 4154 4155 gschem: Updated Russian translation. 4156 4157commit 69f7faf706f7eba312d012fdaa2d4c81df97051c 4158Author: Roland Lutz <gaf@grinsen-ohne-katze.de> 4159Date: Thu Nov 12 18:48:55 2009 +0000 4160 4161 Allow double-click to select component in Compselect dialog [#2661223] 4162 4163commit a7c7e96e17937ea0780261101a4c45383df71134 4164Author: Werner Hoch <werner.ho@gmx.de> 4165Date: Sun Oct 18 23:03:23 2009 +0100 4166 4167 gschem: Fix rendering with zoomed out dashed lines. Bug #2876373 4168 4169 Rather than using SCREENabs, use the screen_width function to 4170 determine the on-screen size of dash elements. This clamps the 4171 width at a rendereable size, so cairo does not get tripped into 4172 an error state (and stop drawing other objects on the schematic). 4173 4174commit dac4cc228ac75df18311b8d7cf7b920772fa2038 4175Author: Werner Hoch <werner.ho@gmx.de> 4176Date: Sat Oct 17 11:05:27 2009 +0200 4177 4178 updated german translation for gschem 4179 4180commit 9cf811f0bd4269fa21ed3fb42ede93945f95e935 4181Author: Bert Timmerman <bert.timmerman@xs4all.nl> 4182Date: Sat Oct 17 10:14:14 2009 +0200 4183 4184 Updated the Dutch translations for gschem 4185 4186commit 4e558bed59a13d9e3197f68bdd54fcc3ab28c79d 4187Author: Werner Hoch <werner.ho@gmx.de> 4188Date: Tue Oct 6 20:12:02 2009 +0200 4189 4190 gschem, gattrib desktop file: add trailing semicolon 4191 4192 the openSUSE buildservice claims that it's necessary to add a 4193 trailing semicolon to the Categories list entries. 4194 4195commit 3fd50335ddfe0ed7f358d46a0fba23bff25073e6 4196Author: Ales Hvezda <ahvezda@seul.org> 4197Date: Sun Oct 4 21:23:05 2009 -0400 4198 4199 Updated date and version in all man pages 4200 4201commit a8d42b7de50639897c888646883ce88d819d2589 4202Author: Ales Hvezda <ahvezda@seul.org> 4203Date: Sun Oct 4 21:11:20 2009 -0400 4204 4205 Ran make update-po in all po directories in prep for a new release 4206 4207commit b7ca06041ea464b0d064bfa965843d2907a83571 4208Author: Ales Hvezda <ahvezda@seul.org> 4209Date: Sun Oct 4 19:39:14 2009 -0400 4210 4211 Updated the wiki docs from the online version (in prep for the next release) 4212 4213 (Un)fortunately, the previous mechanism for updating the wiki offline 4214 docs from the online version is completely broken now (due to a segfault 4215 in an external tool), so a new mechanism was used to download the files. 4216 The good news is that the number of files and directories that need to 4217 be downloaded has been reduced considerably. This is the first cut 4218 of the wiki sync. 4219 4220commit 4f40000aff79919a3894de4e2e6e560e224220ce 4221Author: Peter Clifton <pcjc2@cam.ac.uk> 4222Date: Tue Sep 29 01:43:05 2009 +0100 4223 4224 libgeda: Move slot handling code to its own file, s_slot.c 4225 4226 Separates special-case attribute handling from o_attrib.c 4227 4228 Renamed functions: 4229 o_attrib_search_slot() -> s_slot_search_slot() 4230 o_attrib_slot_update() -> s_slot_update_object() 4231 4232 libgeda private API: 4233 o_attrib_find_attrib_by_name() is no longer static to o_attrib.c 4234 4235commit ff7738b406991a47bf77d2af4b20d0e59d148e1f 4236Author: Peter Clifton <pcjc2@cam.ac.uk> 4237Date: Mon Sep 28 21:30:51 2009 +0100 4238 4239 Rubberband pin to pin connections by adding nets 4240 4241 This relies on the fact that (as an implementation detail), gschem 4242 will rubber-band a zero length net created at the pin-pin interface. 4243 4244 Somewhat of a kludge, but the behaviour is nice for the user. 4245 4246commit 5ca5b9768cf70f3d0f905d784d0896c6b442c34f 4247Author: Cesar Strauss <cestrauss@gmail.com> 4248Date: Wed Sep 23 19:29:07 2009 -0300 4249 4250 build-sys: Check and set Windows-specific flags. 4251 4252 The Windows platform has a native gcc port (MinGW) and a 4253 POSIX compliant one (Cygwin). Both need specific flags to 4254 build correctly. 4255 4256 The rules are: 4257 4258 * On all Windows platforms, pass -no-undefined to libtool. 4259 This allows shared libraries (DLLs) to be built. 4260 4261 * On MinGW, use the -mms-bitfields compiler flag. 4262 This increases compatibility with the MSVC compiler. 4263 4264 * On MinGW, pass -mwindows when linking GUI-only applications. 4265 This avoids opening a text console when running from a shortcut. 4266 4267commit e70cfefcd69a9038ba12759e7f690bc3a041d98c 4268Author: Peter Clifton <pcjc2@cam.ac.uk> 4269Date: Mon Aug 31 19:38:10 2009 +0100 4270 4271 gschem: Don't explicitly consolidate nets as they are drawn 4272 4273 There is no need to do this here, since all nets are consolidated 4274 in each call to o_undo_savestate(). 4275 4276commit 394425f81b0653fc8efa9f5890217ee4fae631e0 4277Author: Peter Clifton <pcjc2@cam.ac.uk> 4278Date: Mon Aug 31 19:38:10 2009 +0100 4279 4280 Don't consolidate nets when loading files. 4281 4282 Nets should be consolidated when placed, not when the file is loaded. 4283 4284commit 399560caafde7046fe0e361712389e559969a424 4285Author: Peter Clifton <pcjc2@cam.ac.uk> 4286Date: Mon Aug 31 19:38:09 2009 +0100 4287 4288 gschem: Fix net consolidation (HACK) 4289 4290 Net consolidation was previously triggered at file save time, until 4291 commit 1f05fb8e7b857c2bba2fbcaa4893ecbedcc478a9 removed the call to 4292 o_net_consolidate() from o_save_buffer(). 4293 4294 Unfortunately, gschem relied on this call to ensure net consolidation 4295 behaviour worked as expected. When changes were made on the schematic, 4296 o_undo_savestate() was called to save an undo state (to a temporary 4297 file), which eventually called o_save_buffer(), and this caused nets 4298 on in the schematic to be consolidated. 4299 4300 As a kludge to work around this regression, this commit adds a call 4301 to o_net_consolidate() in o_undo_savestate(). This of course, is not 4302 a nice place to put it! This issue should be revisited after 1.6.x 4303 is released, ideally finding a cleaner place to trigger consolidations. 4304 4305 Notes on the problem: 4306 4307 Consolidate nets needs to happen when: 4308 4309 A new net is drawn (and added to the page) 4310 A net end-point is rubber-banded 4311 A net is moved / copied into place 4312 A net sitting perpendicularly between two colinear nets 4313 (preventing them consolidating) is removed (Cut/Move/Delete) 4314 4315 We want the "undo" state saved to be inclusive of the net 4316 consolidation.. therefore it needs to happen _before_ the undo state 4317 is saved, or we would have to cheat, and consolidate again after any 4318 "undo" / "redo" operation. 4319 4320 Since o_undo_savestate() is called after modifications are made to 4321 the page, it provides a useful (but kludgy) place to catch all of 4322 the above cases before the undo state is saved. 4323 4324commit 45002f0be0efb9638bcb96e67bbd1e5d3cd602c6 4325Author: Ales Hvezda <ahvezda@seul.org> 4326Date: Sun Aug 30 19:26:36 2009 -0400 4327 4328 Updated all manpage versions in prep for a new release (v1.5.4) 4329 4330commit 52946266fdb9c6d039c378af94b8b6f311996b48 4331Author: Ales Hvezda <ahvezda@seul.org> 4332Date: Sun Aug 30 19:25:03 2009 -0400 4333 4334 Ran make update-po in gschem in prep for a new release (v1.5.4) 4335 4336commit b1f7256890fe8ff48ae077d1fa3cdfcf29ccdc0f 4337Author: Peter Clifton <pcjc2@cam.ac.uk> 4338Date: Sun Aug 30 20:16:53 2009 +0100 4339 4340 gschem: Substitute spaces for underscores in displayed accelerator strings 4341 4342 This makes accelerators such as "Page_Up" display as "Page Up", in line 4343 with how normal GTK accelerators are displayed. 4344 4345commit 0dd9b27c559a4056312c0ad6275ba5c31d1aee46 4346Author: Ales Hvezda <ahvezda@seul.org> 4347Date: Sat Aug 29 22:39:16 2009 -0400 4348 4349 Fixed bug where none of the translated languages were working correctly. 4350 4351 The meaning and value of the PACKAGE #define has changed in the new build 4352 system and we don't need to use it in certain places (like when calling 4353 bindtextdomain or textdomain). 4354 4355 This bug was reported by Carlos Nieves (Thanks!) 4356 4357commit 52f809520c670690cb73b00b4207feb6860b073d 4358Author: Ales Hvezda <ahvezda@seul.org> 4359Date: Sat Aug 29 21:42:10 2009 -0400 4360 4361 Ran make update-po in all po directories in prep for the next release 4362 4363commit a34e326784706cb761ba689a75bef19a5b1ee880 4364Author: Mark Rages <markrages@gmail.com> 4365Date: Sat Aug 29 17:05:06 2009 -0400 4366 4367 Modify the drawing of the grips to set a hard limit on the screen size 4368 4369 This patch changes the size of the grips in gschem. In the past, the 4370 grip size was always directly related to the zoom factor (you would 4371 get really large grips when zoomed in a lot). Now the grip sizes are a 4372 fixed size at certain zoom factors (grip sizes are reasonably sized when 4373 zoomed in a lot). This patch also renders the grips on top of endpoint 4374 cues so that you can see the grip rectangle when you are zoomed in a lot 4375 (there might be a better way of doing this, but this works for now). 4376 4377 Signed-off-by: Ales Hvezda <ahvezda@seul.org> 4378 4379commit b0fa7dd7839915703d9101006bed1c7305477e30 4380Author: Ales Hvezda <ahvezda@seul.org> 4381Date: Sat Aug 29 16:51:44 2009 -0400 4382 4383 Updated the versions of the software in all man pages 4384 4385commit a8295ba6d957394c9d56465bc2bfc14a43fc251d 4386Author: Ales Hvezda <ahvezda@seul.org> 4387Date: Sat Aug 29 13:14:57 2009 -0400 4388 4389 Added some machine generated documentation files to be ignored 4390 4391commit 8db05013c0542a6e2f8931b9c2ba2318fe8b613f 4392Author: Carlos Nieves Onega <cnieves@iespana.es> 4393Date: Wed Aug 26 21:38:44 2009 +0200 4394 4395 Updated spanish translation for libgeda and gschem. 4396 4397commit af3f6fc265cb30972df4344a39a67451ab1148b2 4398Author: Carlos Nieves Onega <cnieves@iespana.es> 4399Date: Sun Feb 1 13:13:29 2009 +0100 4400 4401 Run the add component hook after adding a new component using scheme. 4402 4403 Run the add component hook after adding a new component 4404 using the scheme function add-component-at-x-y. 4405 4406commit dbcfd09c99266379d08d90b9d8a9dd23a6566eec 4407Author: Carlos Nieves Onega <cnieves@iespana.es> 4408Date: Sun Feb 1 12:51:15 2009 +0100 4409 4410 Fix x coordinate in add-component-at-xy function. 4411 4412 X coordinate was previously get from the Y coordinate parameter. 4413 4414commit 1b152740c10b5198d16a43a73f08ccbe90d37ccb 4415Author: Ales Hvezda <ahvezda@seul.org> 4416Date: Tue Aug 18 22:56:56 2009 -0400 4417 4418 Updated all po files by running make update-po in all the */po directories 4419 4420 Run make update-po again might be necessary as we get closer to release time. 4421 4422commit e5ae12ec1091bd6e3c4067e395714efd3934b0c2 4423Author: Peter Clifton <pcjc2@cam.ac.uk> 4424Date: Mon Aug 17 13:18:10 2009 +0100 4425 4426 Remove old text mechanism, including TEXT->prim_objs, symbols/font/* 4427 4428 Now we have pango rendering, the old text mechanism and its 4429 glyph symbols are redundant and can be removed. 4430 4431commit 9cd19557085a7ef98408e1a73aa15471a88fb5e8 4432Author: Peter Clifton <pcjc2@cam.ac.uk> 4433Date: Mon Aug 17 12:32:09 2009 +0100 4434 4435 gschem: Save cairo and pango contexts when entering expose handlers 4436 4437 For some operations we might want to replace the renderers in order 4438 to do off-screen drawing (e.g. printing). As these operations could 4439 instantiate a sub-main-loop (which can service expose events), the 4440 expose event handler needs not to trample on the drawing contexts. 4441 4442commit e9a944c1525228fbe80b0adc3910949d650a100c 4443Author: Peter Clifton <pcjc2@cam.ac.uk> 4444Date: Mon Aug 17 12:08:31 2009 +0100 4445 4446 gschem: Register a function with libgeda to provide accurate text bounds 4447 4448 This allows invalidating a text object to use the correct region and, 4449 importantly, allows us to find accurately which text objects were need 4450 repainting if a given area of screen is damaged. 4451 4452commit 21be5c504a4a48da63526fce53cce00a9a76a1eb 4453Author: Peter Clifton <pcjc2@cam.ac.uk> 4454Date: Mon Aug 17 12:08:30 2009 +0100 4455 4456 gschem: Add custom pango renderer to handle overbars 4457 4458commit 391eb25cb8e426df8f57fac2dc2d6e3515ff2acf 4459Author: Peter Clifton <pcjc2@cam.ac.uk> 4460Date: Mon Aug 17 12:08:27 2009 +0100 4461 4462 Attempt drawing text with cairo + pango 4463 4464 We use libgeda's o_text_get_font_size_in_points() to try and match old 4465 gEDA font sizes. This scaling factor of 1.3 applied to the font size 4466 defined in the schematic reflects the fact that gEDA's old font at 4467 given nominal point size, is larger than most other fonts at nominally 4468 the same size. 4469 4470 This (may) be due to the cap height of gEDA's font being designed to 4471 match its design height, rather than having the baseline height of the 4472 font match the design height. 4473 4474commit b9adcffad55d8f6a5633afb79b9522ba840bda22 4475Author: Peter Clifton <pcjc2@cam.ac.uk> 4476Date: Mon Aug 17 12:07:14 2009 +0100 4477 4478 Reinstate (postscript-font-scale ...) option to catch deprecated usage. 4479 4480 The replacement handler issues a warning that the parameter is 4481 deprecated and will be removed. The parameter value is ignored. 4482 4483commit f9e5481638f4ab3b86054d82ce10e10b008d9657 4484Author: Peter Clifton <pcjc2@cam.ac.uk> 4485Date: Mon Aug 17 12:01:57 2009 +0100 4486 4487 Hard-code the gEDA font-size to postscript points scale factor. 4488 4489 Replaces the (postscript-font-scale ...) option, and the scale 4490 factor hard-coded in gschem's pango text rendering routines. 4491 4492commit c394dc703ac479b4d095b65bdb67526ed6e7c1e0 4493Author: Peter TB Brett <peter@peter-b.co.uk> 4494Date: Mon Aug 17 11:19:58 2009 +0100 4495 4496 Always use PostScript fonts in PostScript output. 4497 4498 Removes the "output-text", "text-output" and "output-vector-threshold" 4499 config functions. 4500 4501commit 3191d47aa5f71847c876a35371a89cb38825e66b 4502Author: Peter Clifton <pcjc2@cam.ac.uk> 4503Date: Mon Aug 17 11:19:06 2009 +0100 4504 4505 gschem: Render images using cairo, not GDK 4506 4507commit ff6ea4955d0490d6436bc74d840325e76098304f 4508Author: Peter TB Brett <peter@peter-b.co.uk> 4509Date: Thu Aug 13 07:56:57 2009 +0100 4510 4511 build-sys: Don't use AC_HEADER_DIRENT. 4512 4513 The Autoconf manual says that AC_HEADER_DIRENT is now unnecessary: 4514 4515 This macro is obsolescent, as all current systems with directory 4516 libraries have `dirent.h'. New programs need not use this 4517 macro. 4518 4519 This patch removes AC_HEADER_DIRENT and all checks for HAVE_DIRENT_H. 4520 It turned out that in most of the places where `dirent.h' was being 4521 #include'd it wasn't needed anyway. 4522 4523 (Fix for a Cygwin build bug reported by Dan McMahill). 4524 4525commit cf772193f3042184e5ca624cc7b1e8daef6f4a53 4526Author: Peter TB Brett <peter@peter-b.co.uk> 4527Date: Thu Aug 13 06:43:16 2009 +0100 4528 4529 build-sys: Improve HTML conversion rules. 4530 4531 We want to make sure the HTML version of the man pages is always 4532 distributed, but make building/installing it optional (in case users 4533 don't have a proper groff installed). 4534 4535 This can be achieved by making sure that Automake only tries to 4536 install the HTML man pages if a working groff is available. In 4537 addition, `make distcheck' is set up to behave as if groff is not 4538 installed. 4539 4540 Unfortunately, this still isn't ideal, because users who build from a 4541 source archive (with pre-built HTML) won't get HTML installed unless 4542 they have a working groff. 4543 4544 In the long run, what needs to happen is to use a mechanism like 4545 `missing' to handle rebuilding of HTML man pages -- or just drop HTML 4546 man pages altogether. 4547 4548commit 476299cad187c839cb252d6d2d985590f99bb6e9 4549Author: Peter TB Brett <peter@peter-b.co.uk> 4550Date: Tue Aug 11 22:11:22 2009 +0100 4551 4552 gschem: Modify o_complex_prepare_place() to take CLibSymbol arg. 4553 4554 This saves a roundtrip from s_clib_symbol_get_name() to 4555 s_clib_symbol_get_data_by_name(). 4556 4557commit ee3878f7c238f75ba3305ab63d3b26e5a4849d7f 4558Author: Peter TB Brett <peter@peter-b.co.uk> 4559Date: Sun Aug 9 07:46:33 2009 +0100 4560 4561 gschem: Remove use of deprecated scm_create_hook(). 4562 4563 ...by providing our own create_hook() function. 4564 4565commit a4a8c19bb3389548d641a0874a77c77f623ad7a5 4566Author: Ales Hvezda <ahvezda@seul.org> 4567Date: Fri Aug 7 23:02:01 2009 -0400 4568 4569 Makefile.am cleanup (removal of ChangeLog and Makefile.in files) 4570 4571 Details on this commit: 4572 * Now that we are no longer storing machine generated ChangeLogs inside 4573 the git repository, make maintainer-clean should remove the machine 4574 generated ChangeLogs. This way nobody accidently edits the ChangeLog. 4575 Only 7 ChangeLogs are left after a make maintainer-clean (intl, po, 4576 and one toplevel ChangeLog). 4577 * Some directories were missing the removal of Makefile.in when make 4578 maintainer-clean is run. Only 3 Makefile.in files remain now after 4579 make maintainer-clean (only in the intl directories). 4580 * Removed $Id$ tags from some of the Makefiles since we are no longer 4581 using CVS. 4582 * Removed some unnecessary ChangeLogs from ever being created (from 4583 example/gTAG gschem/scripts, and symbol/font). 4584 4585 Note 1: There are still some machine generated files still hanging around, 4586 but I'm going to leave those alone for now as the .gitignore mechanism 4587 properly masks those. 4588 4589 Note 2: Made sure that all files that are to be removed in the *CLEANFILES 4590 lists comes before the #*# otherwise they will be ignored. 4591 4592commit 1a3b04db4b811a853b9d2d7c5c57038f2146f919 4593Author: Ales Hvezda <ahvezda@seul.org> 4594Date: Fri Aug 7 21:21:22 2009 -0400 4595 4596 Added a bunch of files that should be included in any distribution 4597 4598 The only file which I might want to not distribute is update-version.sh, 4599 which technically is a developer/maintainer only file, but for now I'll 4600 include it. Also libgeda/docs/images isn't integrated into the build 4601 properly yet, so it will not be in the distribution for now. 4602 4603commit fc2b205314545d92ea2a7e8f40a7a4c7d5af893d 4604Author: Peter TB Brett <peter@peter-b.co.uk> 4605Date: Thu Aug 6 17:15:29 2009 +0100 4606 4607 Don't store git-generated ChangeLog files in repository. 4608 4609 Don't store ChangeLog files in the git repository and have to remember 4610 to update them each time a release is made. Instead, get `make dist' 4611 to create the ChangeLogs for you if a git repository is detected. 4612 4613 Note: make distcheck does not pass in this commit. 4614 4615commit 77d96e9154d9cfc81b25353ef99b8f8f42999bfb 4616Author: Peter TB Brett <peter@peter-b.co.uk> 4617Date: Thu Aug 6 14:35:12 2009 +0100 4618 4619 Add top-level NEWS file. 4620 4621 This contains important user-visible changes. It should be kept 4622 up-to-date, in order to make writing release notes easier. 4623 4624commit 09fcc6d689defb8f43bfc27aac87ee4ac34ce66a 4625Author: Peter TB Brett <peter@peter-b.co.uk> 4626Date: Thu Aug 6 12:33:07 2009 +0100 4627 4628 Update top-level README file. 4629 4630 Well, actually rewrite it entirely. 4631 4632 Note: make distcheck does not pass in this commit. 4633 4634commit 433c672579aabb282999377139c9242b319ba044 4635Author: Peter TB Brett <peter@peter-b.co.uk> 4636Date: Thu Aug 6 12:38:31 2009 +0100 4637 4638 Only need a single `AUTHORS' file. 4639 4640 Move the gschem one to the toplevel (adding several missing names on 4641 the way), and remove most of the others. The `AUTHORS' files in the 4642 `symbols' and `utils' directories are retained, because they contain 4643 some useful information. 4644 4645 Note: make distcheck does not pass in this commit. 4646 4647commit ed7134fd403b9f1dc0a75d50e4e7bcfb2fd95cb8 4648Author: Peter TB Brett <peter@peter-b.co.uk> 4649Date: Thu Aug 6 11:19:57 2009 +0100 4650 4651 Only need one copy of GPLv2. 4652 4653 Also, update to latest version of GPLv2 (from 4654 http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt). This corrects 4655 the FSF contact address, along with some minor formatting 4656 modernisations. 4657 4658 Note: make distcheck does not pass in this commit. 4659 4660commit 75e35a9265199e310e4778773b0b3341659ff4a5 4661Author: Peter TB Brett <peter@peter-b.co.uk> 4662Date: Thu Aug 6 21:15:37 2009 +0100 4663 4664 Add gschem to unified build system. 4665 4666 N.b. gschemdoc is now created directly rather than by prepending 4667 config.sh. 4668 4669commit 03943792b7606534fba0fd4e158dc6ff8d6adb97 4670Author: Peter TB Brett <peter@peter-b.co.uk> 4671Date: Fri Aug 7 23:21:36 2009 +0100 4672 4673 Start implementing unified build system. 4674 4675 Restructuring of build system, including new m4 macros and helper 4676 programs. Note: only libgeda can be built from this commit. 4677 4678 Important differences from previous versions: 4679 4680 - The tarball is now called gEDA-<version>.tar.gz. 4681 4682 - Documentation is now installed to ${docdir} 4683 4684 - A `version.h' file is generated containing the package version 4685 strings, including the git commit SHA-1 and the descriptive string 4686 from `git describe'. `version.h' is distributed in the source 4687 tarball so that gEDA can be built without git. 4688 4689commit e55e9e247eb33c4a5be56687b4610c6649ef74d7 4690Author: Peter TB Brett <peter@peter-b.co.uk> 4691Date: Tue Aug 4 22:06:16 2009 +0100 4692 4693 Remove existing build infrastructure. 4694 4695 This simply strips out all configure, m4 and autogen scripts from the 4696 whole repository, including the toplevel Makefile. This commit does 4697 not compile (what a surprise)! 4698 4699commit 8cb318276281c1eacb9dc5246ed5b338839a55d8 4700Author: Krzysztof Kościuszkiewicz <k.kosciuszkiewicz+geda@gmail.com> 4701Date: Mon Jul 20 18:42:28 2009 +0100 4702 4703 gschem: Add name completion to attribute edit dialog 4704 4705commit 82c4e182c71d8a4fb9584b059a2f3215f6438cfe 4706Author: Peter TB Brett <peter@peter-b.co.uk> 4707Date: Mon Jul 20 18:12:25 2009 +0100 4708 4709 Reduce stderr spew. 4710 4711 It's not necessary to spew massive amounts of output to stderr on 4712 startup. It's ugly and not legally necessary. 4713 4714 This patch modifies the tools only to spew a GPL header to stderr when 4715 entering gnetlist's interactive mode -- and to be nice and quiet the rest of 4716 the time. 4717 4718commit d66220b8d3085c7ab55bac419b125d9287c0520d 4719Author: Peter TB Brett <peter@peter-b.co.uk> 4720Date: Sun Jul 5 17:36:57 2009 +0100 4721 4722 Ignore yet more unnecessary m4 files installed by autopoint. 4723 4724commit 64cdf2bd7250e97749a308e19916c1d65c9a2c95 4725Author: Peter TB Brett <peter@peter-b.co.uk> 4726Date: Thu Jun 18 18:09:56 2009 +0100 4727 4728 Use a static configure.ac and constant gettext version. 4729 4730commit ad38ef86300b9eae33e241333863201b7b28b688 4731Author: Peter Clifton <pcjc2@cam.ac.uk> 4732Date: Mon Jun 22 23:46:17 2009 +0100 4733 4734 Fix o_line_visible() to work when object clipping is switched off() 4735 4736 We need to transfer the line's coordinates to the return locations 4737 before returning TRUE. 4738 4739commit b166d053e62c01b3b6413e0c6df275a432ba9792 4740Author: Peter Clifton <pcjc2@cam.ac.uk> 4741Date: Mon Jun 22 11:34:25 2009 +0100 4742 4743 Add new functions o_set_color() and o_glist_set_color() 4744 4745 Replaces the inaccurately named o_complex_set_color() and 4746 o_complex_set_color_single(). 4747 4748 Also replaces o_attrib_set_color(), which was static to 4749 libgeda/src/o_attrib.c 4750 4751commit edf9fad0a84807199acba250e8ec6461fafd89cf 4752Author: Peter Clifton <pcjc2@cam.ac.uk> 4753Date: Mon Jun 22 11:33:11 2009 +0100 4754 4755 Fix breakage in last commit. OBJECT->complex_parent is now OBJECT->parent 4756 4757commit 2dc3c8dad90b4b02a962929edf2b6ce5b75939aa 4758Author: Peter Clifton <pcjc2@cam.ac.uk> 4759Date: Mon Jun 22 10:53:23 2009 +0100 4760 4761 Remove OBJECT->saved_color field 4762 4763 Rather than resetting the color of selected objects, we instead add a 4764 helper function, o_drawing_color(), which decides at drawing time what 4765 color an OBJECT should be drawn. 4766 4767 o_drawing_color() checks if there are any color overrides in effect, 4768 and whether the OBJECT (or its parent, in the case of TEXT or COMPLEX 4769 prim_objs) is selected. 4770 4771 Remove now unused functions: 4772 o_complex_set_color_save (); 4773 o_complex_unset_color (); 4774 o_complex_unset_color_single (); 4775 o_complex_set_saved_color_only (); 4776 4777commit 5f52ce5d7f4be7ee1eb2246b896135d01fb320c0 4778Author: Peter Clifton <pcjc2@cam.ac.uk> 4779Date: Mon Jun 22 10:50:36 2009 +0100 4780 4781 Rename OBJECT->complex_parent field to OBJECT->parent 4782 4783 We might wish to track the ownership of text prim_objs as well 4784 as complex, so calling this field complex_parent is confusing. 4785 4786commit a13db9af93154fe25d39abe52a82fa369bdfc62b 4787Author: Peter TB Brett <peter@peter-b.co.uk> 4788Date: Thu Jun 18 18:23:51 2009 +0100 4789 4790 Don't delete project-specific m4 files. 4791 4792commit 9f6ddf9126a312fb0fdd25ba8da3c4f9944b78a8 4793Author: Peter TB Brett <peter@peter-b.co.uk> 4794Date: Thu Jun 18 09:38:51 2009 +0100 4795 4796 gschem: Don't use intltool. 4797 4798commit d0fdb127e16c46f85ceddca00bff1103ac075b68 4799Author: Peter TB Brett <peter@peter-b.co.uk> 4800Date: Wed Jun 17 15:24:26 2009 +0100 4801 4802 Pass correct search path flags to aclocal. 4803 4804 The autotools install several m4 files into the top-level m4 4805 directories in each project. aclocal (and automake) need to be taught 4806 to look there before searching the system directories. 4807 4808commit 33715a1a58c7c13f45772eba02ef463c3a422c7e 4809Author: Dan McMahill <dan@mcmahill.net> 4810Date: Mon Jun 15 07:27:37 2009 -0400 4811 4812 Add missing src/gschem_accel_label.c 4813 4814 Added a missing file that contains translations to POTFILE.in. Helps 4815 'make check' be happy again. 4816 4817commit 67aeb9b999d29080118a7af899ad1de362ccd2b8 4818Author: Peter Clifton <pcjc2@cam.ac.uk> 4819Date: Mon Jun 8 23:31:22 2009 +0100 4820 4821 Fix autogen.sh scripts to look for AC_CONFIG_HEADER to run autoheader 4822 4823 Since commit #9a7c363c572d32a30fa1522cd7d14b21c2958ca8, the configure 4824 scripts in gEDA use AC_CONFIG_HEADER, not AM_CONFIG_HEADER 4825 4826 Fixes build problems noted by various users. Identified by Dan McMahill. 4827 4828commit 65ab1fad22f6879f1a296ee5382f633870613c78 4829Author: Peter TB Brett <peter@peter-b.co.uk> 4830Date: Mon Jun 8 11:09:56 2009 +0100 4831 4832 Remove support for GLib < 2.12.0. 4833 4834 Requiring GLib 2.12.0 means that we no longer require *any* of the 4835 existing GLIB_CHECK_VERSION ifdef blocks. 4836 4837commit 61f488315da15d0be48acbe65ee9c1bf69c60e03 4838Author: Peter TB Brett <peter@peter-b.co.uk> 4839Date: Mon Jun 8 10:57:32 2009 +0100 4840 4841 Require GLib 2.12.0 or newer. 4842 4843 We now require GTK+ 2.10.0, and since that requires GLib 2.12.0, we 4844 can bump the GLib version we require up to match. 4845 4846 Thanks to Peter Clifton for spotting this. 4847 4848commit 9a7c363c572d32a30fa1522cd7d14b21c2958ca8 4849Author: Peter TB Brett <peter@peter-b.co.uk> 4850Date: Mon Jun 8 10:48:25 2009 +0100 4851 4852 Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER. 4853 4854 This fixes an issue with config.h.in not being correctly regenerated 4855 with autoheader on changes to configure.ac. 4856 4857 Thanks to Maciej Pijanka for working out the solution to this problem! 4858 4859commit 209e55a6a0ab33478cea41c154be64d7ec0620ea 4860Author: Peter TB Brett <peter@peter-b.co.uk> 4861Date: Sun Jun 7 19:34:30 2009 +0100 4862 4863 Require GTK+ 2.10 or newer. 4864 4865commit d5e06e6ee657f80d1cb8d82884122ac958e9d3a4 4866Author: Peter TB Brett <peter@peter-b.co.uk> 4867Date: Sun Jun 7 19:34:30 2009 +0100 4868 4869 Remove Guile 1.6 support. 4870 4871commit b4862c3c120c8144f47393333e2e6bec2f302bc7 4872Author: Peter TB Brett <peter@peter-b.co.uk> 4873Date: Sun Jun 7 19:34:29 2009 +0100 4874 4875 Require Guile 1.8.0 or newer. 4876 4877 Guile 1.8 became the stable branch of Guile on 2006-02-12, over three 4878 *years* ago. All major distributions ship it, including Debian stable. 4879 4880 Expecting its availability makes testing of new Scheme-based features 4881 much easier, as most gEDA developers normally write and test code 4882 against 1.8. Furthermore, it allows better advantage to be taken of 4883 1.8-only features (such as improvements in debugging support), without 4884 requiring vast swathes of hard-to-maintain preprocessor trickery. 4885 4886commit 2e559b0607c5d007dbaa5ef8bc1858a18dec7b39 4887Author: Peter Clifton <pcjc2@cam.ac.uk> 4888Date: Sun Jun 7 16:41:25 2009 +0100 4889 4890 gschem: Fixup menu names in i_basic.c to match those in system-gschemrc 4891 4892 Since the sensitivity updates are keyed off the menu text, 4893 we need to update the strings after changing the text in 4894 commit #501f6d99dc6cb7ba207138b52d1e86371b924bfe 4895 4896commit 501f6d99dc6cb7ba207138b52d1e86371b924bfe 4897Author: Peter Clifton <pcjc2@cam.ac.uk> 4898Date: Sun Jun 7 15:44:44 2009 +0100 4899 4900 gschem: Add "_" style accelerators within menus 4901 4902 Copying accelerators for other common applications, such as "_Open", 4903 "_New" etc. This aids keyboard navigation once we are in the menus 4904 (which have a key-grab, so gschem's multi-key accelerators don't work.) 4905 4906 To set the accelerator on "Open Recen_t", we also have to edit x_menu.c, 4907 since the recent files magic is hooked on the menu text (including the 4908 accelerator). We also remove the explicit override of the label text in 4909 x_menus.c, since we want to show the accelerator. 4910 4911commit 34eed8e6b473e15590116d12c76db580fa41b789 4912Author: Peter Clifton <pcjc2@cam.ac.uk> 4913Date: Sun Jun 7 15:44:39 2009 +0100 4914 4915 gschem: Assign shortcuts "vd" and "vl" for changing between color schemes 4916 4917 NB: "vl" was previously an alias for zoom extents. 4918 4919commit fb7ad07015ae8c55d3885c32afb0a1744f8d83c2 4920Author: Peter Clifton <pcjc2@cam.ac.uk> 4921Date: Sun Jun 7 15:42:51 2009 +0100 4922 4923 gschem: Reorder / rename some menu items to better match other programs 4924 4925commit c7ed765efa438a9028799cf16cd1b6318c5fc4ec 4926Author: Peter Clifton <pcjc2@cam.ac.uk> 4927Date: Sun Jun 7 15:30:10 2009 +0100 4928 4929 gschem: Add stock icons to menus as appropriate 4930 4931 Using stock GTK icons as appropriate to help increase the usability 4932 of gschem's menus. 4933 4934commit 8adc9d6195c13f6e898d8f9cef6341681a119f46 4935Author: Peter Clifton <pcjc2@cam.ac.uk> 4936Date: Sun Jun 7 15:30:01 2009 +0100 4937 4938 gschem: Specify menus have no bound actions with #f, rather than no-action 4939 4940commit 8ca990145aee1532c0cde02d329ceba13a1b9b86 4941Author: Peter Clifton <pcjc2@cam.ac.uk> 4942Date: Sun Jun 7 15:29:57 2009 +0100 4943 4944 Add GschemAction and GschemAccelLabel subclasses of their Gtk equivalents 4945 4946 These subclass are intended to encapsulate information relating to 4947 gschem's multi-key shortcuts. Their code is based on GTK 2.14.5 (LGPL). 4948 4949 For GschemAccelLabel, we have to subclass GtkAccelLabel rather than just 4950 GtkLabel, otherwise the menu doesn't correctly pad the accelerators into 4951 their own column. 4952 4953 To set the accel_width, we have to go poking in a private part of the 4954 GtkAccelLabel widget. The relevant field has been protected with GSEAL, 4955 so this will not work in GTK3.0, or when compiled with GSEAL active. 4956 4957commit 4aa6cd61c253046806a5818bd6fd8be87296d634 4958Author: Peter Clifton <pcjc2@cam.ac.uk> 4959Date: Sun Jun 7 01:41:46 2009 +0100 4960 4961 Pass the OBJECT having its attribs removed to o_attrib_detach_all() 4962 4963 This function only worked correctly when passed an OBJECT.attribs 4964 GList, so it makes more sense to just pass the OBJECT whos attributes 4965 should be detached. The function can then set the OBEJCT.attribs to 4966 NULL, ensuring the OBJECT stays in a consistent state. 4967 4968commit a9d64bf7db382ed3c6ac2b89e0434af80bc1e19c 4969Author: Peter Clifton <pcjc2@cam.ac.uk> 4970Date: Sun Jun 7 01:40:11 2009 +0100 4971 4972 Add TOPLEVEL parameter to some libgeda APIs 4973 4974 For consistency with other libgeda functions, and in order to allow 4975 these functions to call others which require the toplevel parameter. 4976 4977commit 047a3ecad3fe1bcd98c6eb209134772cd894fe6c 4978Author: Peter Clifton <pcjc2@cam.ac.uk> 4979Date: Sun Jun 7 01:40:10 2009 +0100 4980 4981 Remove o_attrib_search_numslots(), instead call the attribute API directly 4982 4983commit d3bd67e8ccb5ed47f17603392f480f220380daa5 4984Author: Peter Clifton <pcjc2@cam.ac.uk> 4985Date: Sat Jun 6 12:15:12 2009 +0100 4986 4987 gschem: Deselect invisible attribs with their parent object (Bug #2430369) 4988 4989 Previously, when a component was selected and you deselected it with a 4990 ctrl-click or ctrl-drag, the invisible attributes attached to the 4991 component remained selected. 4992 4993 This has caused problems for users in the past, when trying to delete 4994 everything in a given area - except for a few components in the middle. 4995 4996 Drag selecting the area, deselecting the desired components, then deleting 4997 would also delete the (still selected) invisible attributes belonging to 4998 the deselected components. 4999 5000 To fix this, make sure that when we remove an object from the selection 5001 list, we also remove any invisible attributes. When invisible text is 5002 being shown, there is no need to do this, since the user can manually 5003 de-select these attributes. (And they may want the finer grained control 5004 afforded by the ability to do so). 5005 5006commit c006ec0603fd570ec6c10386f3a3d19f9cbd525d 5007Author: Peter Clifton <pcjc2@cam.ac.uk> 5008Date: Sat Jun 6 11:19:56 2009 +0100 5009 5010 gschem: Focus the "save" button in the close confirmation dialog 5011 5012 For safety, "Close without saving" should not be the default action. 5013 Looking at other GTK (and GNOME) applications, the default action used 5014 seems to be "Save" (this is what the user will probably want to choose). 5015 5016commit 9686b31bc86c7e57a26bad0c65e21b97ed713e5b 5017Author: Peter Clifton <pcjc2@cam.ac.uk> 5018Date: Sat Jun 6 10:38:58 2009 +0100 5019 5020 Make o_attrib_get_name_value() take an attrib OBJECT, not char * 5021 5022 Rename the old function as exported API o_attrib_string_get_name_value(), 5023 so existing code (such as validating potential attribute strings) can 5024 still work unaltered. 5025 5026 The new o_attrib_get_name_value() wraps o_attrib_string_get_name_value(). 5027 5028commit 7e0e339dc47211254ff5e968fa402f4735ef41fa 5029Author: Peter Clifton <pcjc2@cam.ac.uk> 5030Date: Sat Jun 6 01:47:57 2009 +0100 5031 5032 gschem,libgeda: Tidy up invocation of the slot dialog 5033 5034 Avoid presenting the whole "slot=..." attribute text in the slot 5035 dialog, since the user only needs to see the value portion. 5036 5037 We now use o_attrib_search_object_attribs_by_name() to retrieve the 5038 current slot for a component when bringing up the dialog. This means 5039 that if there is no slot= attribute attached, the default slot= value 5040 (if any) from the symbol will be returned automatically, and we don't 5041 need an explicit call to o_attrib_search_default_slot(). 5042 5043 Remove the now unused function o_attrib_search_default_slot(). 5044 5045commit aa7b65e3a1cc59eadf247ed0fe74afeaeb7c5fe3 5046Author: Peter Clifton <pcjc2@cam.ac.uk> 5047Date: Sat Jun 6 01:47:43 2009 +0100 5048 5049 Make use of the new API o_attrib_search_attached_attribs_by_name() 5050 5051commit 04a22009e68284327bdb57bf7c31e5788b0bfc67 5052Author: Peter Clifton <pcjc2@cam.ac.uk> 5053Date: Sat Jun 6 01:44:19 2009 +0100 5054 5055 Make use of new API o_attrib_search_inherited_attribs_by_name() 5056 5057 Replaces the less specific API, o_attrib_search_name() previously 5058 used to search for floating attributes inside complex objects. 5059 5060commit 33b113b078e9647d7304b4c2caa04da1dd367e4f 5061Author: Peter Clifton <pcjc2@cam.ac.uk> 5062Date: Sat Jun 6 01:34:53 2009 +0100 5063 5064 Use o_attrib_search_object_attribs_by_name() where appropriate 5065 5066commit f505ad65da209bd8d7e766d495466b904643e9b7 5067Author: Peter Clifton <pcjc2@cam.ac.uk> 5068Date: Sat Jun 6 01:29:14 2009 +0100 5069 5070 Remove o_complex_get_toplevel_attribs() in favour of newer attrib API 5071 5072 o_attrib_find_floating_attribs() is functionally identical. 5073 5074commit 02fde480e0d58300d9e7ee1cf0357fb96d14adbb 5075Author: Peter Clifton <pcjc2@cam.ac.uk> 5076Date: Sat Jun 6 01:09:16 2009 +0100 5077 5078 Add inherited attributes to the list returned by o_attrib_return_attribs() 5079 5080 This starts to allow a common place where attributes from the symbol will 5081 be combined with attached attributes to form an aggregate attribute list. 5082 5083 Currently, various pieces of code which deal with reading attributes will 5084 check the attached attributes of a symbol, then the inherited attributes 5085 explicitly. For cases where a simple combining rule exists, we can reduce 5086 such checks to a single lookup of the aggregate list. 5087 5088 Atttributes such as "net=" and "source=" which often exist multiple times, 5089 possibly both as inherited and attahched attributes, present difficulties 5090 though. 5091 5092 For now, just pile all inherited attributes at the end of the returned 5093 list. This means any code which wants to check for the first attribtue 5094 with a given name should do the "right thing", with attached attributes 5095 taking presidence over inherited ones. 5096 5097commit 3d8c6f9e7e5be0728d43b6fba0d366a92a0cdf40 5098Author: Peter Clifton <pcjc2@cam.ac.uk> 5099Date: Sun May 31 14:30:15 2009 +0100 5100 5101 gschem: Add support for viewing inherited attributes in x_multiattrib.c 5102 5103 Inherited attributes (those from inside the symbol itself) are not 5104 editable, and are shown greyed out. The context popup menu for an 5105 inherited attribute shows a single option, "promote", which will make 5106 an attached (and editable) copy of that attribute in the schematic. 5107 5108commit ff9e5a377265e1960359bb290a159e1db5b6f59a 5109Author: Peter Clifton <pcjc2@cam.ac.uk> 5110Date: Sun May 31 14:30:10 2009 +0100 5111 5112 Make g_make_attrib_smob_list() use o_attrib_return_attribs() 5113 5114 Get the list of attributes from a common place, so if we want 5115 to make that list based on aggregation of attached and inherited 5116 attributes in the future, we won't have so many places to change. 5117 5118commit 57362274fcbe133d9fa545b761fc104310325d0f 5119Author: Peter Clifton <pcjc2@cam.ac.uk> 5120Date: Sun May 31 14:30:08 2009 +0100 5121 5122 Make o_attrib_return_attribs() return a GList, not an array 5123 5124 This fits better with our GList centric view of list data. 5125 5126 Also validate the attributes in o_attrib_return_attribs(), so 5127 we aren't passing potentially malformed attributes to our 5128 callers. 5129 5130commit 1cd106ae2c1cb9162d88ab0af69a48e2fe62d8eb 5131Author: Peter Clifton <pcjc2@cam.ac.uk> 5132Date: Sat May 30 22:31:46 2009 +0100 5133 5134 gschem: Add "fixme" warning about the text search hierarchy traversal 5135 5136 The search only descends into the first source schematic, so will not work 5137 correctly for hierarchy blocks with multiple source schematics. 5138 5139commit 7a7b553b395a78a9d53b64cc50d1077342999a75 5140Author: Peter Clifton <pcjc2@cam.ac.uk> 5141Date: Sat May 30 18:45:38 2009 +0100 5142 5143 Remove unused "return_found" argument to o_attrib_search_numslots() 5144 5145commit 963ac330d97e843f6ec4580b64d9b36c51807783 5146Author: Peter Clifton <pcjc2@cam.ac.uk> 5147Date: Sat May 30 18:34:17 2009 +0100 5148 5149 Rename o_attrib_free_all() to o_attrib_detach_all() 5150 5151 This name better reflects the function's action. 5152 5153 Add some notes to the doxygen comments about this function. Specifically, 5154 it must be called with some (OBJECT *)->attribs pointer, since the 5155 attributes which are detached would otherwise not be removed from the 5156 (OBJECT *)->attribs GList. 5157 5158commit 39ef03ab5490e7187d251109137ed0c9a1263ecc 5159Author: Peter Clifton <pcjc2@cam.ac.uk> 5160Date: Sat May 30 18:33:50 2009 +0100 5161 5162 gschem: Tidy up function o_attrib_add_selected 5163 5164commit 1937476f6a6d68d41ab8e59940c843be7746a207 5165Author: Peter Clifton <pcjc2@cam.ac.uk> 5166Date: Sat May 30 18:33:36 2009 +0100 5167 5168 gschem: Remove obsolete comment from o_attrib.c 5169 5170commit 124db2417dbfc6a44c8d1d01213c4c3e7609d93e 5171Author: Dan McMahill <dan@mcmahill.net> 5172Date: Fri May 29 21:58:01 2009 -0400 5173 5174 Use $(includedir) instead of $(prefix)/include and $(libdir) instead of $(prefix)/lib. 5175 5176 This makes sure things still work when some of the less mainstream configure 5177 arguments are used. 5178 5179commit ab590ab70cddfe6a0954d56a31c0ebd1f0bc7691 5180Author: Ales Hvezda <ahvezda@seul.org> 5181Date: Sat Mar 28 15:55:19 2009 -0400 5182 5183 Updated ChangeLogs one more time for 1.5.2 5184 5185commit 7ac576ba0560998415b32151389d0ab3334de652 5186Author: Ales Hvezda <ahvezda@seul.org> 5187Date: Sat Mar 28 15:48:02 2009 -0400 5188 5189 Added missing \ so that all example schematics are incluced in release tarballs 5190 5191commit 546d4dbe0124d3f9421116b9e5a8889cccf97b84 5192Author: Ales Hvezda <ahvezda@seul.org> 5193Date: Sat Mar 28 15:22:19 2009 -0400 5194 5195 Updated all ChangeLogs 5196 5197 Updated the ChangeLogs by running: 5198 ./update-changelogs.sh 1.0-20070526..master 5199 in the toplevel directory 5200 5201commit 21e8c0b232e08927fd091a1d46413990b4c61358 5202Author: Ales Hvezda <ahvezda@seul.org> 5203Date: Sat Mar 28 15:18:34 2009 -0400 5204 5205 Updated all dates in the relavent man pages (for 1.5.2.20090328) 5206 5207commit 859abe69912ba99ca27bb58c378284e9eec56259 5208Author: Ales Hvezda <ahvezda@seul.org> 5209Date: Sat Mar 28 15:13:59 2009 -0400 5210 5211 Updated all versions to 1.5.2 20090328 36:0:0 5212 5213 Updated by running: 5214 ./update-versions.sh 1.5.2 20090328 36:0:0 5215 5216commit b297d32b70c02bfe800b7bf4c434d1fd4447e2f5 5217Author: Ales Hvezda <ahvezda@seul.org> 5218Date: Sat Mar 28 14:55:22 2009 -0400 5219 5220 Updated all po files by running make update-po 5221 5222commit 03fa830460f97518b3fdba0dd96f5932c9885281 5223Author: Peter TB Brett <peter@peter-b.co.uk> 5224Date: Thu Mar 19 10:15:19 2009 +0000 5225 5226 gschem: Fix documentation creation from tarballs. 5227 5228 gschem's doxygen configuration file was not marked for inclusion in 5229 release tarballs. 5230 5231commit 77a59c3af731937f5952bbb61a6faccd97a07f38 5232Author: Peter Clifton <pcjc2@cam.ac.uk> 5233Date: Fri Feb 20 23:32:41 2009 +0000 5234 5235 gschem: Update the clipboard menu item sensitivities asynchronously 5236 5237 Spawning a sub-main loop to do this can cause reentrancy problems due 5238 to processing of other X events from within the sub-main loop. 5239 5240 This could end up with states changing whilst updating menus, and 5241 this has been noted to cause crashes whilst moving objects. 5242 5243commit c3081930ed224394f645de4bfb51e86fa3e15e65 5244Author: Peter Clifton <pcjc2@cam.ac.uk> 5245Date: Fri Feb 20 23:26:12 2009 +0000 5246 5247 Remove obsolete references to libgd and libgdgeda 5248 5249commit 357db04ba91ad4047abf12f5fd7bf61db849a718 5250Author: Peter Clifton <pcjc2@cam.ac.uk> 5251Date: Thu Feb 5 03:54:18 2009 +0000 5252 5253 gschem: Avoid the use of gtk_selection_data_get_data on old GTK versions 5254 5255 This API was added in GTK 2.14 5256 5257commit 43af79264390283ac861cb4a9bab3d27c0436eda 5258Author: Peter Clifton <pcjc2@cam.ac.uk> 5259Date: Fri Jan 30 16:52:05 2009 +0000 5260 5261 gschem: Fix cues on vertical pins to be drawn inwards, not extend the pin 5262 5263 Bug was probably introduced when switching the drawing functions to 5264 use world coordinates. 5265 5266commit 20be2df71df169f041cafeb7ad0c26e96901fefe 5267Author: Peter Clifton <pcjc2@cam.ac.uk> 5268Date: Wed Jan 28 21:20:48 2009 +0000 5269 5270 gschem: Draw paths being moved in the their non-selected colours 5271 5272commit 904ce8cf81d555debc439ed122322663e74988bf 5273Author: Peter Clifton <pcjc2@cam.ac.uk> 5274Date: Tue Jan 27 15:34:58 2009 +0000 5275 5276 gschem: Rework how clipboards are cleaned up. 5277 5278 Detach selection monitoring callback when deletting a window. The 5279 callback userdata passes the GSCHEM_TOPLEVEL we're busy freeing, 5280 causing a crash. 5281 5282 We also need to ensure the clipboard manager (if any) takes our data 5283 before we free things, so explicitly call gtk_clipboard_store() during 5284 cleanup if we still own the selection. 5285 5286 Add some code to track when we own the selection, including explicitly 5287 clearing the clipboard before setting new contents - to avoid a race 5288 between a clip_clear callback for our old selection, and the new data. 5289 5290commit a6522190a5102d3b7c7a10726e667ac9d6ea6c3f 5291Author: Peter Clifton <pcjc2@cam.ac.uk> 5292Date: Tue Jan 27 15:34:58 2009 +0000 5293 5294 gschem: Don't add objects read from the cliboard to the tile system 5295 5296 Prevents corruption / crashes when pasting connectable objects, such 5297 as nets / pins. The objects are added to the tile system when they 5298 are placed. (Avoid adding them when reading into the temporary buffer). 5299 5300commit 6fcb0765a9bf487003d21214454d474606d807f8 5301Author: Peter TB Brett <peter@peter-b.co.uk> 5302Date: Sun Jan 25 15:25:19 2009 +0000 5303 5304 Update menu item sensitivity setting again. 5305 5306 One was left out in b1f93c9c02c3adf719b8b63e1d09669cfd0a201f. 5307 5308commit b1f93c9c02c3adf719b8b63e1d09669cfd0a201f 5309Author: Peter TB Brett <peter@peter-b.co.uk> 5310Date: Sat Jan 24 17:30:58 2009 +0000 5311 5312 gschem: Update menus for clipboard support. 5313 5314 Make 'Edit' menu items' enabled status reflect the state of the 5315 clipboard & selection. 5316 5317commit 6a07d737a32a816f43e1f061409a10e616d7aa2a 5318Author: Peter TB Brett <peter@peter-b.co.uk> 5319Date: Sat Jan 24 16:11:39 2009 +0000 5320 5321 Enable basic clipboard support. 5322 5323 Enable clipboard support using the GTK Clipboard API. gschem 5324 advertises 'application/x-geda-schematic' data, and transfers it in 5325 the gEDA on-disc file format. 5326 5327 This works between gschem instances, but data does not remain in the 5328 clipboard after the advertising instance of gschem exits. 5329 5330commit 246acd46e591e542ac3f00f9064905ae0311b0ec 5331Author: Peter TB Brett <peter@peter-b.co.uk> 5332Date: Sat Jan 24 16:08:43 2009 +0000 5333 5334 Make o_save(), o_read() and friends take an object list argument. 5335 5336 Sometimes we may want to save or read in a list of objects which isn't 5337 the current page. This adds a new function o_save_curr_page() which 5338 behaves the same as o_save() previously did. 5339 5340commit 17077786f635102715f3d6c225d6f16396e531f6 5341Author: Peter TB Brett <peter@peter-b.co.uk> 5342Date: Sat Jan 24 16:07:48 2009 +0000 5343 5344 git ignore gschem/m4 differently. 5345 5346 This reverts commit 89b918657378a457197630602d7bb016caf36a3e, and 5347 ignores the gschem/m4 directory from gschem's toplevel .gitignore 5348 file. 5349 5350commit 89b918657378a457197630602d7bb016caf36a3e 5351Author: Peter TB Brett <peter@peter-b.co.uk> 5352Date: Sat Jan 24 16:00:23 2009 +0000 5353 5354 Add a .gitignore for gschem/m4. 5355 5356commit 81b2df2f166fde454c2f93d193e11cd69453d308 5357Author: Peter TB Brett <peter@peter-b.co.uk> 5358Date: Sat Jan 24 00:12:52 2009 +0000 5359 5360 gschem: Remove redundant buffer cut code. 5361 5362 Part of the buffer cut/copy code can be factored out into a separate 5363 function to reduce code duplication. Also use g_warning for warnings. 5364 5365commit 0ff9e9ac91823074f6240e1e762a1cca84b49d05 5366Author: Peter TB Brett <peter@peter-b.co.uk> 5367Date: Thu Jan 22 08:09:29 2009 +0000 5368 5369 gschem: Always register load_newer_backup_func. 5370 5371 Cases were missed out in 4d83eae30b789deb8ab9235a89c191630ebf18be. 5372 5373commit 4d83eae30b789deb8ab9235a89c191630ebf18be 5374Author: Peter TB Brett <peter@peter-b.co.uk> 5375Date: Wed Jan 21 21:17:01 2009 +0000 5376 5377 libgeda: Refactor load backup query callback. 5378 5379 Passing user data allows the gschem callback to be called with a 5380 GSCHEM_TOPLEVEL instead of a TOPLEVEL. 5381 5382commit 253caac857e22ba28ba7ce05b36f95a5f78bd683 5383Author: Peter TB Brett <peter@peter-b.co.uk> 5384Date: Wed Jan 21 21:16:43 2009 +0000 5385 5386 gschem: Better checks that GEDADATA has been found. 5387 5388 If libgeda fails to locate the gEDA data directory, show a dialog 5389 before quitting. This is important for users running gschem from 5390 e.g. a .desktop file in their system menu, when the stderr/stdout may 5391 not be easy to get at. 5392 5393commit 3c0d85eae92d5764aa7dee2899c6a066c3470ee3 5394Author: Peter TB Brett <peter@peter-b.co.uk> 5395Date: Wed Jan 21 14:11:39 2009 +0000 5396 5397 Write logs to $HOME/.gEDA/logs/. 5398 5399 Rewrite s_log_init() to put log files in a centralised location. A 5400 user application (e.g. gnetlist) provides a prefix, and log file is 5401 opened at: 5402 5403 $HOME/.gEDA/logs/<prefix>-<YYYYmmdd>-<serial>.log [1] 5404 5405 The serial is found by the following procedure: 5406 5407 1. Read through the directory to find the highest existing <serial>. 5408 5409 2. Starting with that number, repeatedly attempt to open() 5410 incrementing files with O_CREAT|O_EXCL flags to guarantee that a 5411 new file is created. 5412 5413 3. If after LOG_OPEN_ATTEMPTS = 5 attempts a unique filename hasn't 5414 been found, fail. 5415 5416 The logic *intentionally* does not fill in gaps in the sequence -- if 5417 I delete logs, I still want a new log to appear at the end of the 5418 list. 5419 5420 [1] The actual location is a subdirectory "logs" of the user config 5421 directory, which may not be ~/.gEDA on all platforms. 5422 5423commit 7cc4a67795c9ee8dcb28edc6d71b895c5b4f1dc9 5424Author: Peter TB Brett <peter@peter-b.co.uk> 5425Date: Wed Jan 21 14:10:41 2009 +0000 5426 5427 Refactor finding paths for config etc. 5428 5429 This is intended to provide a centralised place for determining the 5430 paths more "smartly" in the future (e.g. for platforms with different 5431 conventions on where config should go). 5432 5433 Only user-visible change should be that log messages when loading 5434 config files no longer hardcode "~/.gEDA". 5435 5436commit 48103eca0ded6fd42a2e3abe48c0cdcdc381f902 5437Author: Peter TB Brett <peter@peter-b.co.uk> 5438Date: Wed Jan 21 13:45:56 2009 +0000 5439 5440 gschem: Open recent files in the same window. 5441 5442 All of the other methods of opening files open them in the current 5443 window. The recent files mechanism should match. 5444 5445commit f4af51afc5af2059cfb9389cea25589d6a1ba8eb 5446Author: Peter TB Brett <peter@peter-b.co.uk> 5447Date: Wed Jan 21 09:39:22 2009 +0000 5448 5449 gschem: Recent files list fixes. 5450 5451 1. List a maximum of 10 recent files. 5452 5453 2. Normalize pathnames before storing. 5454 5455commit 5a31a49d4d1635a1f3a8f82dc68fa8e78ebc0f44 5456Author: Peter TB Brett <peter@peter-b.co.uk> 5457Date: Tue Jan 20 15:32:06 2009 +0000 5458 5459 gschem: Change load path for gschem-gtkrc. 5460 5461 Expect the GTK rc file for gschem to be read from 5462 $HOME/.gEDA/gschem-gtkrc instead of $HOME/.gschem-gtkrc. 5463 5464commit fda82eb96e2c785efe91fd59d01f6e7e26b897ed 5465Author: Peter TB Brett <peter@peter-b.co.uk> 5466Date: Sun Jan 18 01:48:58 2009 +0000 5467 5468 Protect some strings passed to pkgconfig. 5469 5470 Ensure that pkgconfig version requirement strings are protected from 5471 M4 expansion. 5472 5473commit ee250c9bd2e88bf352a03d1719603b7d54fe430c 5474Author: Peter Clifton <pcjc2@cam.ac.uk> 5475Date: Tue Jan 13 23:58:30 2009 +0000 5476 5477 Avoid underlinking of apps due to missing explicit depends 5478 5479 These went unnoticed because the apps were resolving the necessary 5480 symbols when pulling in libgeda and its dependencies. 5481 5482 Fix applications using GLib and guile within the suite to explicitly 5483 pull in the appropriate CFLAGS and LIBS. This commit removes some 5484 LDFLAGS and LIBS from grenum, since they weren't being used. 5485 5486commit c05d63f61ffc08bb130bca8f14e4c429240938d1 5487Author: Peter Clifton <pcjc2@cam.ac.uk> 5488Date: Sun Jan 11 00:36:24 2009 +0000 5489 5490 gschem: Make requirement for cairo non-conditional. 5491 5492 We can't build without it. 5493 5494commit e452c5097edd72942ef02a82996dfab5651ceab3 5495Author: Peter Clifton <pcjc2@cam.ac.uk> 5496Date: Sat Jan 10 23:50:57 2009 +0000 5497 5498 gschem: Fix rubberbanding box when resizing pictures 5499 5500 Its position was broken when changing the drawing routines to take 5501 world coordinates directly. 5502 5503commit 02fa8f658d315796df7c6ab8790e5310e8548d37 5504Author: Peter Clifton <pcjc2@cam.ac.uk> 5505Date: Sat Jan 10 22:29:21 2009 +0000 5506 5507 Remove explicit checks for X11 - we're not using X11 APIs directly 5508 5509commit ef5ab409dc62994ce6aea57586c0698c11291bac 5510Author: Ales Hvezda <ahvezda@seul.org> 5511Date: Tue Jan 6 18:16:31 2009 -0500 5512 5513 Darkened the outline colors of objects that are being dragged/modified 5514 5515 The outline colors should be different than the default colors. 5516 Previously the XOR rendering made the outlines look differently, but with 5517 cairo rendering the dragged objects look exactly the same as non-dragged 5518 objects. This patch darkens the outline colors in the dark colormap only. 5519 5520commit e84330457016f1bfb3db1cd6c8a6980a72a6e90c 5521Author: Werner Hoch <werner.ho@gmx.de> 5522Date: Mon Jan 5 20:52:47 2009 +0100 5523 5524 gschem: final fix for the dropdown menus of filltype and linetype 5525 5526 Set the current active check marks of the filltype and linetype 5527 dropdown menu items. 5528 5529 I guesss this was the true meaning of the bug reports [2344956] 5530 and [2344964]. 5531 5532commit 2a73a64f42e7e3613d5265e5ec38593ea232d418 5533Author: Werner Hoch <werner.ho@gmx.de> 5534Date: Mon Jan 5 19:44:47 2009 +0100 5535 5536 gschem: show correct properties in linetype dialog 5537 5538 The linetype dialog uses the selection list now. With the new 5539 functions selection_get_line_type() and line_type_dialog_set_values() 5540 it will be possible to convert the dialog into a non_modal dialog. 5541 5542 This fixes bug [#2344956]. 5543 5544commit 807f3d81883ce8075d41588f41e67ea19fd6bef3 5545Author: Peter Clifton <pcjc2@cam.ac.uk> 5546Date: Mon Jan 5 16:57:38 2009 +0000 5547 5548 gschem: Calculate radius of centered arcs and boxes with 2x precision 5549 5550 Since we may have to hint the radius by 0.5px to bring it onto the 5551 pixel grid, we will get better results if we compute the radius to 5552 half-pixel precision. 5553 5554 Re-enable radius hinting for centered arcs back on, but only for arcs 5555 which have radius > 1px to start with. If we don't, there is an abrupt 5556 transition between when the arc lights a single pixel, and when it is 5557 the next largest size. A little anti-aliasing in that case helps. 5558 5559commit 8ca598852f51c04183ab872f35bcc156628bdf79 5560Author: Werner Hoch <werner.ho@gmx.de> 5561Date: Mon Jan 5 17:20:47 2009 +0100 5562 5563 gschem: fill type dialog: improved default values 5564 5565 If the user changes the fill type from HOLLOW to HATCHED and does not 5566 define the angle and pitch, then the gschem could either reject 5567 the change of the type, or guess the pitch values. 5568 5569 I've decided that it is better to set the missing values. 5570 5571 In the opposite case, when the user switches the type from HATCHED to 5572 HOLLOW, the pitch is still set. Reset the not required parameters 5573 to -1. 5574 5575 Maybe the functionality should be moved to o_set_fill_type() in 5576 libgeda. 5577 5578commit 31e883e9666c7721c9a73995ff071cb628c241e6 5579Author: Werner Hoch <werner.ho@gmx.de> 5580Date: Mon Jan 5 16:08:38 2009 +0100 5581 5582 gschem: show correct properties in filltype dialog 5583 5584 The filltype dialog uses the selection list now. With the new 5585 functions selection_get_fill_type() and fill_type_dialog_set_values() 5586 it will be possible to convert the dialog into a non_modal dialog. 5587 5588 In the dialog only those values are marked as *unchanged* that 5589 differ from each other. 5590 5591 This also fixes the bug [#2344964]. 5592 5593commit d48b0b36c5348abd52413de14afb6ab0958b260d 5594Author: Werner Hoch <werner.ho@gmx.de> 5595Date: Mon Jan 5 11:31:56 2009 +0100 5596 5597 gschem: fixed the math for warp-cursor "disabled" 5598 5599 This fixes the bug [2212748] and the feature request [2001299]. 5600 5601 The fix calculates a new center out of the mouse cursor,the 5602 current visible area and the zoom factor. 5603 # Please enter the commit message for your changes. Lines starting 5604 5605commit d615982103652c0143eca430570bbfcfa0d206fe 5606Author: Peter Clifton <pcjc2@cam.ac.uk> 5607Date: Mon Jan 5 05:01:13 2009 +0000 5608 5609 gschem: Clamp minimum size to draw stoke dots using cairo, apply hinting (Rest!) 5610 5611 Activate the code partially committed in the last commit, and add the 5612 remaining code to hint the position of dots in a stroke. 5613 5614 Since cairo uses antialiased drawings, a dot of diameter 1px will actually 5615 render ligher than it would have with GDK. Once the line width reaches 1px 5616 switch back to drawing dots as squares. 5617 5618 Also add hinting to the position of the drawn dots drawn along the stroke 5619 to ensure they land centered on pixels. 5620 5621commit 1626b1a02a6e55327ac7f2d00dd976aba57855d7 5622Author: Peter Clifton <pcjc2@cam.ac.uk> 5623Date: Mon Jan 5 04:44:24 2009 +0000 5624 5625 gschem: Clamp minimum size to draw stoke dots using cairo, apply hinting 5626 5627 Since cairo uses antialiased drawings, a dot of diameter 1px will actually 5628 render ligher than it would have with GDK. Once the line width reaches 1px 5629 switch back to drawing dots as squares. 5630 5631 Also add hinting to the position of the drawn dots drawn along the stroke 5632 to ensure they land centered on pixels. 5633 5634commit 6079c8102f6ac41ce5bf2a61aef6d65e7bb9df4b 5635Author: Peter Clifton <pcjc2@cam.ac.uk> 5636Date: Mon Jan 5 04:23:24 2009 +0000 5637 5638 gschem: Make gschem_cairo_* functions take parameters in world coordinates. 5639 5640 This changes the prototype of all gschem_cairo_* functions to take a 5641 GSCHEM_TOPLEVEL parameter rather than cairo_t as their first argument. 5642 5643 This change cuts down a significant number of lines of code, and also 5644 paves the way to having world-coordinates passed straight into the cairo 5645 routines, should we want to use cairo for printing at some stage. 5646 5647 A few cases of direct cairo usage in screen coordinates remain; these are 5648 in o_cue.c, and x_grid.c. The case in o_cue.c remains because it relates 5649 to a filled box. gschem_cairo_box () hints the path coordinates for a 5650 stroked box and clamps the minimum on-screen stroke width to 1px, thus 5651 rendering it unsuitable for hinting a path to be filled. 5652 5653commit 4a217cd1109b03f6d5f75f9fca46513d7679ddb6 5654Author: Peter Clifton <pcjc2@cam.ac.uk> 5655Date: Mon Jan 5 03:36:25 2009 +0000 5656 5657 gschem: Add new primitves to draw a centered arc and box 5658 5659 These primitives take care of hinting specifically to keep the drawn 5660 object looking centered, adjusting to take into account both the 5661 radius / extents of the object being drawn, and how the object we're 5662 trying to center on would have been hinted. 5663 5664 Use these new primitives for drawing cues and grip boxes. 5665 5666commit 39d552cd16af51eaae793f3837bb1f77fac0723f 5667Author: Peter Clifton <pcjc2@cam.ac.uk> 5668Date: Mon Jan 5 03:36:24 2009 +0000 5669 5670 gschem: Use gschem_cairo_box() to create path for box cues. 5671 5672commit a57db7244d9789c4b92cbec61072497c031016ad 5673Author: Peter Clifton <pcjc2@cam.ac.uk> 5674Date: Mon Jan 5 00:59:13 2009 +0000 5675 5676 gschem_cairo_box(): Allow passing line_width as -1 to switch off hinting 5677 5678 This may be useful for drawing a box path which is to be filled. If at 5679 some point, gschem_cairo_* were to take 0 line-width as instruction to 5680 draw "hardware" type lines, passing 0 to avoid hinting would clash with 5681 that feature. 5682 5683 When the line_width is passed as -1, an extra pixel is added to the 5684 larger X and Y coordinates, so the fill touches the pixel which would 5685 be lit if a line was drawn at the passed coordinates. 5686 5687commit 1bd789ec463564710ab71c4bd7b7d01311237919 5688Author: Peter Clifton <pcjc2@cam.ac.uk> 5689Date: Sun Jan 4 22:51:04 2009 +0000 5690 5691 gschem: Make o_grips_draw() take world coordinates 5692 5693commit 21ad139e3bc59d796a2a54f1cb35b71060848687 5694Author: Peter Clifton <pcjc2@cam.ac.uk> 5695Date: Sun Jan 4 21:16:08 2009 +0000 5696 5697 gschem: Compute the bounding box of a rubberbanded path analytically 5698 5699 For now, actualy just take a big bounding box which includes the 5700 control points. 5701 5702commit d9daf573f87edf46f2b74235db1e66bf669a2986 5703Author: Peter Clifton <pcjc2@cam.ac.uk> 5704Date: Sun Jan 4 20:06:36 2009 +0000 5705 5706 gschem: Refactor partially duplicated drawing code in various files. 5707 5708 For each object type, there is drawing code for the normal object 5709 on the page, an object being placed, and objects being rubberbanded. 5710 5711 In many cases (arc, circle and path being good examples), each of these 5712 functions repeat non-trivial amounts of very similar setup and drawing 5713 code. Only the line-width, stroke style need to be specific to each. 5714 5715 Refactor the code such that the place and rubberbanding routines (which 5716 adjust the rendered geometry based on state variables) construct a 5717 temporary object with the modified geometry. Common parts of the cairo 5718 setup and path generation can be combined and shared between routines. 5719 5720commit 95432ccffdbb39434981f87050433c00f40125da 5721Author: Peter Clifton <pcjc2@cam.ac.uk> 5722Date: Sun Jan 4 19:38:11 2009 +0000 5723 5724 gschem: Revert change in cue size "fixed" when introducing bus pins. 5725 5726 The old behaviour was intentional.. smaller cues were in fact supposed 5727 to be used for buses, so that the dot was contained inside the bus 5728 graphic. 5729 5730 Rename the variables defining the sizes to be clear about their purpose. 5731 5732commit 5702951f92bb0c693f030c07ef61f0c5986fb5dd 5733Author: Peter Clifton <pcjc2@cam.ac.uk> 5734Date: Sun Jan 4 19:03:06 2009 +0000 5735 5736 gschem: Adjust position hinting when drawing round junction cues 5737 5738 Apply hinting to the cue's position to match the position of the object 5739 it is sitting on. This is done by passing the on-screen width (pixels) 5740 of a net / bus into gschem_cairo_arc(). If the line-width is odd, that 5741 function will shift the origin of the arc by 0.5px. Refactor the places 5742 where we draw circular arcs to use a single helper function in o_cue.c 5743 5744commit a50629e77c16758e44d857a929abe98437ab4583 5745Author: Peter Clifton <pcjc2@cam.ac.uk> 5746Date: Sun Jan 4 18:56:51 2009 +0000 5747 5748 gschem: Drawing circle radius line with a non translated cairo matrix. 5749 5750 Hinting for drawing the circle may have caused us to translate a non- 5751 integer amount, which would cause the radius line to be shown blurred. 5752 5753commit 7a6b1a22fec9785f503c46d24406046feb04d87f 5754Author: Peter Clifton <pcjc2@cam.ac.uk> 5755Date: Sun Jan 4 18:43:26 2009 +0000 5756 5757 gschem: Fix rubberbanding of arcs with negative end_angles 5758 5759 Such arcs are typically generated by mirroring. If the arc being 5760 rubberbanded previously had a negative sweep, keep that the case 5761 in the rubberbanded version. 5762 5763 Also fixes a bug where we're rubberband to give a zero degree sweep 5764 arc rather than a 360 degree one. 5765 5766commit d6c486a1fac1abce71b8805285fef664e252af98 5767Author: Peter Clifton <pcjc2@cam.ac.uk> 5768Date: Sun Jan 4 17:48:18 2009 +0000 5769 5770 gschem: Alter order of grip search when rubberbanding arcs 5771 5772 If you inadvertently land the grip which adjusts the sweep 5773 of the arc on top of the one which sets its offset angle, it is 5774 impossible to do anything but rotate the whole arc segment. 5775 5776commit 30b150c00aa04b05dd6e85cd5f336f379b4def1b 5777Author: Peter Clifton <pcjc2@cam.ac.uk> 5778Date: Sat Jan 3 23:54:05 2009 +0000 5779 5780 gschem: Fix redrawing of other selected objects during rubberbanding 5781 5782 Rather than switching off redrawing of selected objects during a grip 5783 rubberbanding operation, set the "dont_redraw" property of the object 5784 being modied. 5785 5786 Add a cancel function o_grips_cancel() to reset that property in the 5787 case where grip modification is prematurely terminated. 5788 5789commit 2874ca6c016115363ab9edb7809d5ca66509ca14 5790Author: Peter Clifton <pcjc2@cam.ac.uk> 5791Date: Sat Jan 3 19:54:04 2009 +0000 5792 5793 Move world <-> screen coordinate transformation functions into gschem 5794 5795 Convert them and their callers to use a GSCHEM_TOPLEVEL as an arguemnt 5796 rather than TOPLEVEL. 5797 5798 This commit moves most of libgeda/src/m_basic.c to a new file, 5799 gschem/src/m_basic.c 5800 5801commit 4d79aa73981d6caa2c803250d1be266d7657f0c2 5802Author: Peter Clifton <pcjc2@cam.ac.uk> 5803Date: Sat Jan 3 19:54:03 2009 +0000 5804 5805 Move o_line_visible() from libgeda into gschem 5806 5807 This function relates to on-screen visibility, so should be in gschem. 5808 5809commit e3cbd2a5505f6b284cbe12fdcf72acde6f6ef291 5810Author: Peter Clifton <pcjc2@cam.ac.uk> 5811Date: Sat Jan 3 16:10:24 2009 +0000 5812 5813 gschem: Add undo point after converting pins to / from being bus pins 5814 5815 Also fix the edit dialog not to show if the selection doesn't contain 5816 any pins. 5817 5818commit f37c893edfeb016e57aae5e92f48093608e5cdfb 5819Author: Peter Clifton <pcjc2@cam.ac.uk> 5820Date: Sat Jan 3 02:38:29 2009 +0000 5821 5822 gschem: Add interface to toggle a pin between net pin and bus pin types. 5823 5824 This allows schematic diagrams of hierarchical connections to include 5825 buses. Since gnetlist does not currently support buses, this feature is 5826 useful only for diagrams, or when used with a custom netlister. 5827 5828 Since we don't want to mislead users into thinking bus pins netlist, 5829 the option to set pin type is only present on the page's popup menu, 5830 and is marked "(graphical)". 5831 5832commit 998e8546754fe2ab41a57ce112c3966190c501df 5833Author: Peter Clifton <pcjc2@cam.ac.uk> 5834Date: Fri Jan 2 23:14:52 2009 +0000 5835 5836 gschem: Add support for rendering and adding pins with type PIN_TYPE_BUS 5837 5838 Bus pins are rendered thicker, and with a bigger cue than standard pins 5839 of PIN_TYPE_NET. 5840 5841 This commit also fixes a bug where the wrong sized cue circle was drawn 5842 for net-net interconnections. 5843 5844commit 6249029131003dc6191f804ea2866e9bad28ed8c 5845Author: Peter Clifton <pcjc2@cam.ac.uk> 5846Date: Fri Jan 2 23:13:25 2009 +0000 5847 5848 gschem: Add strings to describe the mesh colour indices added recently. 5849 5850commit ac5d484934d355055328d48b2c16b8ed551ca912 5851Author: Werner Hoch <werner.ho@gmx.de> 5852Date: Fri Jan 2 22:14:14 2009 +0100 5853 5854 gschem: deploy the new resnap mode in o_move.c 5855 5856 If the selection contains only one element or one element with it's 5857 attributes then we can use the resnap feature. 5858 5859 This functionality uses the new functions from the last commits to get 5860 the object position and to check the attribute/object relation. 5861 5862commit 5844e01ce1eff3d756d3c77c7a6981316a098cd1 5863Author: Werner Hoch <werner.ho@gmx.de> 5864Date: Sun Nov 16 13:54:28 2008 +0100 5865 5866 gschem: use the new snap states to toggle 5867 5868 The previous snap grid ON/OFF now toggles through the three states 5869 SNAP_OFF, SNAP_GRID and SNAP_RESNAP. 5870 5871 Updated all status bar messages and added an "R" to the displayed grid 5872 if the SNAP_RESNAP mode is active. 5873 5874commit 8a1b27af48d06ffe4fa2dc71a67810f7b4a71e32 5875Author: Peter Clifton <pcjc2@cam.ac.uk> 5876Date: Fri Jan 2 14:17:31 2009 +0000 5877 5878 Update en_GB translations for libgeda and gschem 5879 5880commit 3c456a61a4a4a551545558fd3189894bfc081e1c 5881Author: Bert Timmerman <bert.timmerman@xs4all.nl> 5882Date: Fri Jan 2 14:13:30 2009 +0000 5883 5884 Updated the Dutch translations for gschem. 5885 5886 (Patched PO file updated on 2009-01-02 by Peter Clifton) 5887 5888commit fef99d7912ebc1feb4890e5babff1772f6b20703 5889Author: Peter Clifton <pcjc2@cam.ac.uk> 5890Date: Fri Jan 2 04:35:49 2009 +0000 5891 5892 gschem: Draw using cairo when rubberbanding objects 5893 5894 Migrates to cairo drawing in *_draw_rubber() and *_draw_stretch(). 5895 5896commit 9784a9117e42632527601faef9a3ed937b718208 5897Author: Peter Clifton <pcjc2@cam.ac.uk> 5898Date: Fri Jan 2 03:51:22 2009 +0000 5899 5900 gschem: Ensure circles are well hinted to the grid 5901 5902 gschem's canvas can have a fractionally different X and Y scale factor 5903 in some cases, which can cause misalignment of circles with other 5904 objects. Since logic bubbles are often placed to touch the boxes of 5905 components, ensuring they align well is important. 5906 5907 The code used here is similar to that added for arcs in 5908 commit 508ab0fd9a1e4317ee660bc9eba79fcb49329841 5909 5910commit 88c2a580ef65de000a3e797301fd8b4f302fc2ff 5911Author: Peter Clifton <pcjc2@cam.ac.uk> 5912Date: Fri Jan 2 03:29:28 2009 +0000 5913 5914 gschem: Remove a redundant comment about gdk used for filling in o_circle.c 5915 5916commit 7e3eacb3fb9f96b1adf707b459f0d62dd2d5d276 5917Author: Ales Hvezda <ahvezda@seul.org> 5918Date: Thu Jan 1 21:45:39 2009 -0500 5919 5920 Fixed pin place code to draw pins (thick pins were not being drawn at all) 5921 5922 Trying to draw a pin (white line) with zero width doesn't draw anything. 5923 This commit makes sure that we are always drawing pins with a min width 5924 of 1 if the pin style is set to THICK. 5925 5926commit 6737adc47d1a2083ac432582b6b64d6aaf1b9632 5927Author: Peter Clifton <pcjc2@cam.ac.uk> 5928Date: Fri Jan 2 00:30:06 2009 +0000 5929 5930 gschem: Only add extra pixel when drawing for non-capped lines. 5931 5932 Adding it for square capped lines resulted in visible overshoot of one 5933 pixel when drawing nets with square caps, so was perhaps a mistake. 5934 5935commit 212b0cf870e05a105fc5a6c134b7803cf6c63c28 5936Author: Peter Clifton <pcjc2@cam.ac.uk> 5937Date: Thu Jan 1 16:38:09 2009 +0000 5938 5939 gschem: Use cairo for drawing when in "place" mode. 5940 5941 Converts all *_draw_place() functions to using cairo. 5942 5943commit 8ad9acc2c5ceda2b1e5f4e52461dd0f078f8122c 5944Author: Peter Clifton <pcjc2@cam.ac.uk> 5945Date: Thu Jan 1 16:36:31 2009 +0000 5946 5947 gschem: Remove old comment from o_box.c refering to gdk drawing 5948 5949commit 4c67ed93d72228e475513caaa1c5d7d593469316 5950Author: Peter Clifton <pcjc2@cam.ac.uk> 5951Date: Thu Jan 1 16:27:40 2009 +0000 5952 5953 gschem: Remove old code for erasing a picture by drawing with override 5954 5955 We don't erase objects by painting to the background colour any more, so 5956 this old code can be scrapped. 5957 5958 Whilst we're here (and have re-intented a large portion of this function), 5959 tidy up the rest of it, removing old debugging code and fixing whitespace. 5960 5961commit 8eaa961a02b01133f6e96defcb9e13af60209ae9 5962Author: Peter Clifton <pcjc2@cam.ac.uk> 5963Date: Thu Jan 1 15:12:24 2009 +0000 5964 5965 gschem: Add missing invalidate when changing to outline mode 5966 5967commit 0af3c1c6285de7431075131015234e6bda42f02d 5968Author: Peter Clifton <pcjc2@cam.ac.uk> 5969Date: Thu Jan 1 14:51:40 2009 +0000 5970 5971 gschem: Group fill hatching into a single cairo path before stroking 5972 5973 This ought to improve performance. Since the hatch lines are drawn 5974 in parallel, the path doesn't self-intersect, and we can gain a speed 5975 increase by sending the whole operation in one go. (Self-intersection, 5976 e.g. in the case of a grid would slow cairo down computing the mask 5977 to render with). 5978 5979commit dba5ef64f4425d61bf43eef5ae69d863b740edbf 5980Author: Peter Clifton <pcjc2@cam.ac.uk> 5981Date: Thu Jan 1 14:07:22 2009 +0000 5982 5983 gschem: Adjust hinting of lines to include an extra overlapping pixel 5984 5985 When drawing using GDK, a span of pixels being rendered in a line would 5986 light all pixels touched by the span. 5987 5988 Since moving to cairo, our hinting code has rounded the line's end-points 5989 to land between pixels. (So cairo paints the whole pixel), however it 5990 means that there is one pixel less being painted (as both ends are 5991 adjusted in the same direction). 5992 5993 Fix this with a manual addition of 1px as appropriate to the coordinates 5994 such that an extra pixel is hit for horizontal and vertical lines. 5995 5996 This now means that a line drawn between two grid positions will acually 5997 be drawn on top of both of those grid lines, rather than being drawn on 5998 top of one, and just touching the other. 5999 6000 Apply the offset factor (0 or 0.5px) to both X and Y coordinate pairs for 6001 non horizontal / vertical lines, since that gives better alignment with 6002 the grid. 6003 6004 Apply the same hinting to round capped lines as to square capped. 6005 6006commit 508ab0fd9a1e4317ee660bc9eba79fcb49329841 6007Author: Peter Clifton <pcjc2@cam.ac.uk> 6008Date: Thu Jan 1 13:56:25 2009 +0000 6009 6010 gschem: Attempt better hinted alignment when drawing arcs. 6011 6012 gschem's canvas can have a fractionally different X and Y scale factor 6013 in some cases, which can cause misalignment of arcs drawn assuming the 6014 scale factors are uniform. This manifests because at high zoom levels, 6015 the center of an arc can be a large distance from the drawn stroke, 6016 over which distance the scaling errors magnify to give a visible offset. 6017 6018 The other adjustment made here is rather than hinting the center of the 6019 arc to the pixel grid, we take the case where the arc forms a full circle, 6020 then find the center (in floating point screen coordinates) which would 6021 align the tangent of the arc at 0, 90, 180 and 270 degree positions, to 6022 lines hinted to the pixel grid at those positions. 6023 6024 A 0.5px offset correction made in gschem_cairo_arc() to the arc center, 6025 for odd stroke width accounts for lining up the those tangents with 6026 the hinting which is applied to odd width lines in gschem_cairo_line(). 6027 6028commit ec83993b811eefd66d873f4c0f861f9cc6d9aebb 6029Author: Peter Clifton <pcjc2@cam.ac.uk> 6030Date: Thu Jan 1 13:51:03 2009 +0000 6031 6032 gschem: Remove retrival of unused bounds during drawing 6033 6034commit ac4c8346638aa2e789d93ca4d621a8522681b57e 6035Author: Peter Clifton <pcjc2@cam.ac.uk> 6036Date: Thu Jan 1 12:23:55 2009 +0000 6037 6038 gschem: Add example schematic with diagram of how gschem buffers work 6039 6040 Since I already drew this and it was helpful when reworking the 6041 object place code, it seemed sensible to check it in somewhere. 6042 6043commit e375e0c2c655d2320962febfdfcbb29b9867f2d2 6044Author: Peter Clifton <pcjc2@cam.ac.uk> 6045Date: Wed Dec 31 19:53:38 2008 +0000 6046 6047 gschem: Add cairo helper function for drawing arcs with geda semantics 6048 6049 The angle parameters to gschem_cairo_arc() match those of start_angle 6050 and end_angle in libgeda's internal data-structures. 6051 6052commit 217d45c0cfb9e8a5a7ea074ae70369ea42932453 6053Author: Peter Clifton <pcjc2@cam.ac.uk> 6054Date: Wed Dec 31 19:52:11 2008 +0000 6055 6056 gschem: Remove unused function o_path_draw_solid() 6057 6058commit d7b7b23721b4054172587c9961d4b87f47bee198 6059Author: Peter Clifton <pcjc2@cam.ac.uk> 6060Date: Wed Dec 31 17:26:03 2008 +0000 6061 6062 libgeda: Remove non-private access of PAGE->object_list 6063 6064 This allows us to keep better track of where the PAGE must be updated 6065 should we have any spatially keyed data-structures in the future. 6066 6067 Rename PAGE->object_list PAGE->_object_list to try and discorage any 6068 use of it outside libgeda (ideally, outside s_page.c) in the future. 6069 6070commit ca6556ace0a06ec1dd697852f7a1f0ffb86bfb97 6071Author: Peter Clifton <pcjc2@cam.ac.uk> 6072Date: Wed Dec 31 17:25:57 2008 +0000 6073 6074 Add "const" to some places where we deal with GLists of OBJECTs. 6075 6076 These GLists themselves are not (and shouldn't be) modified, although 6077 the OBJECTs they point at may well be. 6078 6079commit 15ed098497ddac2bc671657c4d4347eb509f7449 6080Author: Peter Clifton <pcjc2@cam.ac.uk> 6081Date: Wed Dec 31 17:25:50 2008 +0000 6082 6083 Refactor o_complex_promote_attribs() not to link the promoted objects. 6084 6085 By returning the GList of promoted attributes, we allow the caller to 6086 use whatever specialised linking procedures are appropriate for the 6087 list they are linking to. For example, linking objects into the PAGE's 6088 object_list might in future require calling notification functions. 6089 6090commit 44fba5a262c283f927f08f51966c74d62dca7988 6091Author: Peter Clifton <pcjc2@cam.ac.uk> 6092Date: Wed Dec 31 17:24:30 2008 +0000 6093 6094 gschem: Mark "Preview buffer" string passed to o_read_buffer as translatable. 6095 6096commit b6377b27c45305b641eac03e697353e9ecfdcd23 6097Author: Peter Clifton <pcjc2@cam.ac.uk> 6098Date: Wed Dec 31 17:16:29 2008 +0000 6099 6100 gschem: Emit notify signal when adjusting a property in the preview widget. 6101 6102 For correctness, kill the latent bug where we fail to emit a "notify" 6103 signal on the other preview widget properties modified whilst setting 6104 the source to preview from. 6105 6106commit de01318825c08f8d62c2266b16f7e826c7d3a196 6107Author: Peter Clifton <pcjc2@cam.ac.uk> 6108Date: Wed Dec 31 17:16:25 2008 +0000 6109 6110 gschem: Ensure we don't allow the preview to load from file _and_ a buffer 6111 6112 When setting either the "filename", or "buffer" property on the preview 6113 window, we g_free() the old values for filename and buffer. We missed the 6114 required assignment of the old value back to NULL. 6115 6116 The code isn't strictly correct though, as when changing a property 6117 internally like this, we should really emit a "notify" signal on the 6118 property we've changed using g_object_notify(). 6119 6120commit 2324874f08009f431d174865d305f04736adc4eb 6121Author: Peter Clifton <pcjc2@cam.ac.uk> 6122Date: Mon Dec 29 00:09:37 2008 +0000 6123 6124 gschem: Change _rubber, _place and _stretch drawing routines to not XOR 6125 6126 Since we're using the invalidate/expose model now, there is no 6127 need that these functions must use XOR drawing to the screen. 6128 6129 Just painting the desired image should be faster than XOR (which may 6130 require a read-back of video ram contents). 6131 6132 Also remove the XOR against the background colour when processing 6133 "outline" colours in x_colour_allocate(). (Since we're no longer 6134 using those colours with XOR operations). 6135 6136commit a29573b885273459bbf24ff68ae508d345f1037f 6137Author: Peter Clifton <pcjc2@cam.ac.uk> 6138Date: Sat Dec 27 15:32:16 2008 +0000 6139 6140 gschem: Change direct redraws to invalidates in the move action. 6141 6142 These were missed when changing to the invalidate / expose model. 6143 6144commit d89549022d3ff8fc3e3605fb20186cc4600eef87 6145Author: Peter Clifton <pcjc2@cam.ac.uk> 6146Date: Sat Dec 27 15:44:18 2008 +0000 6147 6148 gschem: Remove unused device context "bus_gc" 6149 6150commit 935ca0a8a6329c018d85c8b91f6a0d8deadeafba 6151Author: Peter Clifton <pcjc2@cam.ac.uk> 6152Date: Sat Dec 27 15:43:38 2008 +0000 6153 6154 gschem: Move code in o_move_stretch_rubberband() into o_move_draw_rubber() 6155 6156 o_move_draw_rubber() was the only caller, and was deferring almost all of 6157 its work to o_move_stretch_rubberband(). 6158 6159commit 957c90a8ff286e6eba4f960cbbcf8ac05d24faf3 6160Author: Peter Clifton <pcjc2@cam.ac.uk> 6161Date: Sat Dec 27 14:52:49 2008 +0000 6162 6163 gschem: Rename o_path_xor_control_lines() to draw_control_lines() 6164 6165 Since we're using the invalidate/expose model now, there is no 6166 need that these functions must use XOR drawing to the screen. 6167 6168 The function is static, so doesn't need the o_path_ prefix, so 6169 rename it to something simpler. 6170 6171commit e167a181f295b33ffd4771f93b779023eeae948b 6172Author: Peter Clifton <pcjc2@cam.ac.uk> 6173Date: Sat Dec 27 14:26:14 2008 +0000 6174 6175 gschem: Rename o_*_draw_xor_single() o_*_draw_stretch() 6176 6177 Since we're using the invalidate/expose model now, there is no 6178 need that these functions must use XOR drawing to the screen. 6179 6180 These routines are used to draw lines being stretched during a 6181 rubberbanded move operation, so name them something relevant. 6182 6183commit d061b8dd35db031e43f179e700d991f63c6d2eac 6184Author: Peter Clifton <pcjc2@cam.ac.uk> 6185Date: Sat Dec 27 14:26:14 2008 +0000 6186 6187 gschem: Rename o_*_draw_xor() functions to o_*_draw_place() 6188 6189 Since we're using the invalidate/expose model now, there is no 6190 need that these functions must use XOR drawing to the screen. 6191 6192 These routines are just used to draw objects being moved or placed, 6193 so lets call them something relevant to that. 6194 6195commit 0840e3d74e6289083516190e973a1c05228c6145 6196Author: Peter Clifton <pcjc2@cam.ac.uk> 6197Date: Sat Dec 27 14:26:13 2008 +0000 6198 6199 gschem: Rename *_rubber*_xor() functions to *_draw_rubber() 6200 6201 Since we're using the invalidate/expose model now, there is no 6202 need that these functions must use XOR drawing to the screen. 6203 6204commit 21cc888f59fb005d7c6b7f88fde7dec187fd5db8 6205Author: Peter Clifton <pcjc2@cam.ac.uk> 6206Date: Sat Dec 27 11:46:53 2008 +0000 6207 6208 gschem: Ok, make the mesh grid darker again 6209 6210 Apparently on some monitors, there wasn't enough contrast between the 6211 grid lines and the background. 6212 6213commit 8c07fecee9fb59fc65f24b75f03b3765f032fec6 6214Author: Peter Clifton <pcjc2@cam.ac.uk> 6215Date: Sat Dec 27 11:40:13 2008 +0000 6216 6217 gschem: Improve clarity of text rendering by turning its origin mark off 6218 6219 The origin mark is now only drawn when text is selected, and the mark its 6220 self is greater than a certain size on screen. This allows us to retain 6221 the mark's utility in checking text is correctly aligned. 6222 6223commit 6b4ffb9c7c7b635c52e018347866287a85a6ace0 6224Author: Peter Clifton <pcjc2@cam.ac.uk> 6225Date: Sat Dec 27 11:40:13 2008 +0000 6226 6227 gschem: Use a lighter colour for major grid lines in the mesh grid. 6228 6229 This makes the major squares less obtrusive on the page, whilst 6230 still retaining a visible distinction to the minor lines. 6231 6232commit a887176190cf5a0bea019b5cdc150611edb7a603 6233Author: Peter Clifton <pcjc2@cam.ac.uk> 6234Date: Fri Dec 26 21:54:08 2008 +0000 6235 6236 gschem: Add actions to view menu to switch to light or dark colour scheme 6237 6238 For now, these menu entries are hard-coded to the colour scheme files 6239 which we ship. It would be nice in the future (when menus are reworked), 6240 to add these options from a registered list of colour schemes. 6241 6242commit 5031f6846f2ae9ec703bcdcd689ab4e0d87373c8 6243Author: Peter Clifton <pcjc2@cam.ac.uk> 6244Date: Fri Dec 26 21:53:45 2008 +0000 6245 6246 gschem: Fix x_color_free() and make it free the whole colour map 6247 6248 The previous code would have caused breakage if it were executed, 6249 since gdk_colormap_free_colors expects to take a pointer to an 6250 array of GdkColor elements. 6251 6252commit 94f3f4f753e255538d1376ab9a9b334d53f0be60 6253Author: Peter Clifton <pcjc2@cam.ac.uk> 6254Date: Fri Dec 26 21:53:45 2008 +0000 6255 6256 gschem: Move handling of the gdk colour map into x_color.c 6257 6258commit 714580df3fee12732d5e1180722f008a47aaf973 6259Author: Peter Clifton <pcjc2@cam.ac.uk> 6260Date: Fri Dec 26 21:53:42 2008 +0000 6261 6262 gschem: Don't define key-bindings for keys which have no-action 6263 6264 If we do this, then when we set "no-action" to a menu item's key binding, 6265 the code will try to display one of the keys associated with "no-action" 6266 as a binding for that menu item. 6267 6268commit 826676196547f44c7923e4103a0789c1e1be63ca 6269Author: Peter Clifton <pcjc2@cam.ac.uk> 6270Date: Fri Dec 26 21:42:55 2008 +0000 6271 6272 gschem: Remove a few unused variables from x_menus.c 6273 6274 Removed some an debugging printf as well, which printed them. 6275 6276commit c43c40260ec072e2ad31a3b42b9d5437bea2a529 6277Author: Peter Clifton <pcjc2@cam.ac.uk> 6278Date: Fri Dec 26 19:24:01 2008 +0000 6279 6280 gschem: Use cairo rendering for the mesh grid 6281 6282 Since we're grouping the stroking of all horizonal lines into a 6283 single command, and all vertical lines into another, this has the 6284 potential to be drawn quicker by the X11 server. 6285 6286 NB: If the horizontal and vertical lines were to be grouped 6287 together into a single path, a large slowdown in incurred 6288 as cairo computes their intersections. 6289 6290commit d7b18c4466a1183842d8dfeae47119cb71caa8d7 6291Author: Peter Clifton <pcjc2@cam.ac.uk> 6292Date: Fri Dec 26 18:19:29 2008 +0000 6293 6294 gschem: Remove stupid debugging message accidentally added in last commit 6295 6296commit 331e1125d0847a3b9ff8bff6042fccce6befddd0 6297Author: Peter Clifton <pcjc2@cam.ac.uk> 6298Date: Fri Dec 26 18:17:24 2008 +0000 6299 6300 gschem: Fix gschem_cairo_set_source_color to divide by 255, not 256. 6301 6302 This not only gives a more correct colour, but fixes a large performance 6303 bottle-neck where an alpha value of 0xFF would lead to a cairo alpha != 6304 1.0, triggering far slower translucent rendering code-paths. 6305 6306commit b6e8608d5642912ce10bf29119e5c86eb91634f7 6307Author: Peter Clifton <pcjc2@cam.ac.uk> 6308Date: Fri Dec 26 00:36:49 2008 +0000 6309 6310 gschem: Add status bar info updates when altering grid / snap settings 6311 6312 Changes mistakenly missed from index at last commit: 6313 6314 commit 52df0d861e880e019c7aeea71f1ed448bbed47db 6315 Author: Peter Clifton <pcjc2@cam.ac.uk> 6316 Date: Fri Dec 26 00:18:13 2008 +0000 6317 6318 gschem: Move update of status bar information out of the grid drawing code. 6319 6320 For now, and in the absence of any better place to hook, just trigger this 6321 update explicitly when we pan or alter the grid settings. 6322 6323 The code removing the status bar update from the grid redraw functions 6324 was staged and committed, but not that which re-added the updates 6325 elsewhere. This commit adds those updates. 6326 6327commit 52df0d861e880e019c7aeea71f1ed448bbed47db 6328Author: Peter Clifton <pcjc2@cam.ac.uk> 6329Date: Fri Dec 26 00:18:13 2008 +0000 6330 6331 gschem: Move update of status bar information out of the grid drawing code. 6332 6333 For now, and in the absence of any better place to hook, just trigger this 6334 update explicitly when we pan or alter the grid settings. 6335 6336commit 756dd7ecceed8dc23430a5c36462c36c4244fa46 6337Author: Peter Clifton <pcjc2@cam.ac.uk> 6338Date: Thu Dec 25 23:57:57 2008 +0000 6339 6340 gschem: New helper function to query rendered grid spacing. 6341 6342 The status bar contains an label which lists the current rendered grid 6343 spacing. We should not be forcing an update of this each time we repaint 6344 a portion of the grid. Introduce a helper function to ask the grid code 6345 what size it would end up drawing. This will then allow us to query the 6346 rendered grid size after zoom / grid settings changes, and update there. 6347 6348commit 60460d8990af99999da2a611721bdb591a4723f4 6349Author: Peter Clifton <pcjc2@cam.ac.uk> 6350Date: Thu Dec 25 23:39:35 2008 +0000 6351 6352 gschem: Change default grid to GRID_MESH to give it more exposure. 6353 6354 This may be reverted later in the 1.5.x development series, depending on 6355 user preferences. For now, it is important to get this more testing. 6356 6357commit 2dc8887523ffe603c76849a8ca3cdee055d200ce 6358Author: Peter Clifton <pcjc2@cam.ac.uk> 6359Date: Thu Dec 25 23:39:26 2008 +0000 6360 6361 gschem: Change grid on/off to cycle through grid modes 6362 6363commit f013cb1d70d868093ad9aa3ae1e38a5c9079ecc9 6364Author: Peter Clifton <pcjc2@cam.ac.uk> 6365Date: Thu Dec 25 22:08:49 2008 +0000 6366 6367 gschem: Add a code to draw a mesh grid with major / minor lines. 6368 6369 Adds new configuration option (mesh-grid-display-threshold {pixels}) which 6370 configures the minimum line pitch rendered before switching off the minor, 6371 then subsequently major grid lines. 6372 6373 (NB: This grid mode is currently not accessible.) 6374 6375commit 059f1be046494e1d1171953138f259b0af90409b 6376Author: Peter Clifton <pcjc2@cam.ac.uk> 6377Date: Thu Dec 25 21:25:16 2008 +0000 6378 6379 gschem: Separate out dotted grid drawing and tidy up the code somewhat. 6380 6381 Creates a separate static function for drawing the dotted style of grid, 6382 and a switch function to pick which grid drawing routine is in use, which 6383 is currently just dotted grids or nothing. 6384 6385 Adds doxygen documentation for the grid drawing functions. 6386 6387 Renames the "grid-color" colour map index and other dotted grid specific 6388 config parameters to prepend "dots-". 6389 6390commit e7d328775323dea2d82f9c22d431bf2740a90f97 6391Author: Peter Clifton <pcjc2@cam.ac.uk> 6392Date: Thu Dec 25 20:37:37 2008 +0000 6393 6394 Remove i_vars.h variables left over when removing colour index variables. 6395 6396commit 165de888d86506583241dab79573e81f2cf44dd7 6397Author: Peter Clifton <pcjc2@cam.ac.uk> 6398Date: Thu Dec 25 15:46:09 2008 +0000 6399 6400 Remove GSCHEM_TOPLEVEL and TOPLEVEL indirection for fixed colour indices 6401 6402 Colour indices such as grid_colour and select_color are not changed at 6403 run-time since (by definition) those graphic elements are always drawn 6404 with the sepcified index. Remove the indirection through GSCHEM_TOPLEVEL 6405 or TOPLEVEL, and use the appropriate index constant instead. 6406 6407 The background_color indirection remains, since swapping this is used 6408 to override the background to white when exporting black and white image. 6409 6410commit 1843d875be92a4935c3581a1f24e7a33f8f76042 6411Author: Peter Clifton <pcjc2@cam.ac.uk> 6412Date: Thu Dec 25 15:36:58 2008 +0000 6413 6414 gschem: Invalidate region to erase damage due to stroke trails 6415 6416 We don't erase things by painting to the background colour any more, 6417 that leaves drawing artifacts. 6418 6419commit 88118f5d62e1655d30c4680ac0f68a89fbc1a213 6420Author: Peter Clifton <pcjc2@cam.ac.uk> 6421Date: Wed Dec 24 20:21:03 2008 +0000 6422 6423 gschem: Use new COLOR system 6424 6425commit c122c32cdd82419159786720b9c2cdd82b382a68 6426Author: Peter Clifton <pcjc2@cam.ac.uk> 6427Date: Wed Dec 24 13:21:07 2008 +0000 6428 6429 Replace portions of the GDK drawing code with cairo routines. 6430 6431commit 95abdb28b1ededc4a57f13627bea544c8a7fe41b 6432Author: Peter Clifton <pcjc2@cam.ac.uk> 6433Date: Wed Dec 24 13:21:00 2008 +0000 6434 6435 Add a cairo context member, cairo_t *cr to GSCHEM_TOPLEVEL 6436 6437commit 95a097e95de6291ccf901f6849c7246e8e04090a 6438Author: Peter Clifton <pcjc2@cam.ac.uk> 6439Date: Wed Dec 24 00:42:40 2008 +0000 6440 6441 gschem: Fix the colour editing dialog to work with paths 6442 6443 (Added missing case OBJ_PATH:) 6444 6445commit 0029ee5696a4f8c0fd2a0edb64c0096792e24912 6446Author: Peter Clifton <pcjc2@cam.ac.uk> 6447Date: Tue Dec 23 03:46:50 2008 +0000 6448 6449 Fix attribute colours for embedded objects [#2157598] 6450 6451 Add an argument, "set_color" to o_attrib_attach[_list]() to specify 6452 whether the colour of the attribute should be reset to the default 6453 attribute colour when performing the attachment. 6454 6455 We set this to true when promoting toplevel unattached attributes 6456 inside a symbol onto the schematic page, when the user explicitly 6457 attaches an attribute inside gschem. It is FALSE in other cases. 6458 6459 In cases where we're creating new attributes, such as o_slot_end(), 6460 we specify the attribute colour we want to o_text_new(). 6461 6462 Remove colour setting from o_attrib_add(), since there is no point 6463 having this code in two places. o_attrib_add() just deals with the 6464 datastructures now. 6465 6466commit 51a19f38bdff7c3fa3f5656a0e9347b303a2c215 6467Author: Peter TB Brett <peter@peter-b.co.uk> 6468Date: Mon Dec 22 21:57:39 2008 +0000 6469 6470 gschem: Add undo point when editing fill and line styles 6471 6472commit f583363e84d42001b0abb65bf828d013f120df63 6473Author: Peter TB Brett <peter@peter-b.co.uk> 6474Date: Mon Dec 22 21:16:35 2008 +0000 6475 6476 gschem: Fix light background net color. 6477 6478 Net color was incorrectly converted to #rrggbb. 6479 6480commit 9d2dea918ee72b474e11962adbd9ca6167162c14 6481Author: Peter Clifton <pcjc2@cam.ac.uk> 6482Date: Mon Dec 22 21:02:48 2008 +0000 6483 6484 gschem: Fix PNG export broken by invalidate/expose drawing model changes 6485 6486 We need to explicitly redraw the objects to form the image, we can't 6487 use o_invalidate_all() as that only works for drawing to the screen. 6488 6489commit c08a776a0a68a9bc89ca17089120db305fda6167 6490Author: Peter Clifton <pcjc2@cam.ac.uk> 6491Date: Mon Dec 22 19:34:29 2008 +0000 6492 6493 gschem: Expose accessors to get the COLOUR for a given colour index. 6494 6495commit 56985b0d059fc0487f7b8245cad7b468e737f2fe 6496Author: Peter Clifton <pcjc2@cam.ac.uk> 6497Date: Mon Dec 22 19:33:18 2008 +0000 6498 6499 Change s_page_get_objects_in_region[s]() to take a TOPLEVEL parameter 6500 6501 This is needed in case we have to re-calculate the bounds of any object. 6502 6503commit 1cb0094c404926fa28cdc1968041f14b4c1e4779 6504Author: Peter TB Brett <peter@peter-b.co.uk> 6505Date: Mon Dec 22 17:59:03 2008 +0000 6506 6507 gschem: Extra sanity checking for color indices. 6508 6509commit 2e4ec93e8689501983a891280d8b1869901113c9 6510Author: Peter TB Brett <peter@peter-b.co.uk> 6511Date: Mon Dec 22 16:38:38 2008 +0000 6512 6513 Revert "Use light background color maps as the default." 6514 6515 This reverts commit 01bd6420ecad411d804f4a1a3d41af67d901ce6a, and 6516 corrects the comments to refer to the dark background as the default. 6517 6518commit 01bd6420ecad411d804f4a1a3d41af67d901ce6a 6519Author: Peter TB Brett <peter@peter-b.co.uk> 6520Date: Mon Dec 22 15:43:17 2008 +0000 6521 6522 Use light background color maps as the default. 6523 6524 The comments in the rc files have stated for a while that a light 6525 background is the default. Furthermore, all the cool CAD software uses 6526 light backgrounds these days. 6527 6528commit 619aea627a81a5621036b0a2949e774bb5cb2e6e 6529Author: Peter TB Brett <peter@peter-b.co.uk> 6530Date: Mon Dec 22 15:42:46 2008 +0000 6531 6532 Separate display and print color map config files. 6533 6534 We should be able to print in color using libgeda without needing 6535 gschem. 6536 6537commit 12d9e2127329a880ed8532808635d3ffdbf46caa 6538Author: Peter TB Brett <peter@peter-b.co.uk> 6539Date: Mon Dec 22 15:29:51 2008 +0000 6540 6541 Remove display colormaps from libgeda. 6542 6543 Libgeda doesn't need to know about the color maps used by gschem at 6544 all. Add a generic function for initialising a color map to a built-in 6545 default, and get gschem to use it for its main and outline maps. 6546 6547commit 9f5e54f022b73adb429633461ca88c81c394fd16 6548Author: Peter TB Brett <peter@peter-b.co.uk> 6549Date: Mon Dec 22 15:29:51 2008 +0000 6550 6551 Remove (ab)use of "customary" colors. 6552 6553 colors.h defines a number of color index index constants with color 6554 names (white, black, cyan, etc.) This is evil and bad, because the 6555 color map might actually be loaded with entirely different colors. 6556 6557 This also adds a DEFAULT_COLOR macro, usable in most places the "evil" 6558 existing contacts are used. 6559 6560commit a8b55895fd6833fa36ef92c6bc7c82490ea3a294 6561Author: Peter TB Brett <peter@peter-b.co.uk> 6562Date: Mon Dec 22 15:29:50 2008 +0000 6563 6564 Remove legacy color Guile functions and variables. 6565 6566 Remove the color-mapping functions and variables obsoleted by the new 6567 system. 6568 6569commit 06449db86b91db91bf5d4551acc2794cf34c97f1 6570Author: Peter TB Brett <peter@peter-b.co.uk> 6571Date: Mon Dec 22 15:29:47 2008 +0000 6572 6573 New Scheme colormap syntax. 6574 6575 Add new color map functions for setting multiple colors at a time with 6576 a simple list-based structure. Use one per color map rather than one 6577 per color. 6578 6579 Use a wrapper macro in Scheme to make it easier to construct Scheme 6580 color map structures by using symbols instead of indexes to specify 6581 map entries. 6582 6583commit af4756b843d6da32b8355a50bf3bb1f2bee0a539 6584Author: Peter TB Brett <peter@peter-b.co.uk> 6585Date: Mon Dec 22 15:20:17 2008 +0000 6586 6587 Store colors as components rather than as strings. 6588 6589 Rather than storing colors in libgeda as strings or GdkColor 6590 structures, store them as a set of four 8-bit unsigned integers. 6591 6592 Since the GdkColor structure is renderer-specific, remove all trace of 6593 it from libgeda -- only gschem needs to know about it. 6594 6595commit 05c77c57cc78b0963e52a91e6f56e8005089690a 6596Author: Peter TB Brett <peter@peter-b.co.uk> 6597Date: Mon Dec 22 15:20:14 2008 +0000 6598 6599 Specify colors with RGB/RGBA hexadecimal notation only. 6600 6601 Transparency (alpha channel) is used as follows for PostScript: if 6602 alpha is non-zero, objects are drawn fully opaque. If alpha is zero, 6603 objects are not drawn. 6604 6605 The alpha channel is ignored for GDK drawing. 6606 6607commit e2d6f2bfb1c24d5dfaf193dfae4aaa7cf4d0f236 6608Author: Peter TB Brett <peter@peter-b.co.uk> 6609Date: Mon Dec 22 00:36:27 2008 +0000 6610 6611 Add explicit 'enabled' field to COLOR structure. 6612 6613 Colors are implicitly 'enabled' by having values specified in the 6614 configuration file. Up until now, whether a given color is enabled has 6615 been checked by checking if the color name strings are NULL. 6616 6617 This patch adds an explicit 'enabled' field to the COLOR structure. It 6618 is set TRUE when s_color_request() is called for that color index. 6619 6620commit 3c49636e1a9e9e703fab4c6aafc69affb4fd2bab 6621Author: Ales Hvezda <ahvezda@seul.org> 6622Date: Sun Dec 21 16:23:26 2008 -0500 6623 6624 Updated ChangeLogs one more time. 6625 6626commit e97e63ac7955c34f6fbd820cbdea9ea9b90e9ec9 6627Author: Carlos Nieves Onega <cnieves@iespana.es> 6628Date: Sun Dec 21 22:16:33 2008 +0100 6629 6630 Updated spanish translation for libgeda and gschem. 6631 6632commit 2f3e07a1fa7fd92ab163d2cd966efd98ab306512 6633Author: Ales Hvezda <ahvezda@seul.org> 6634Date: Sun Dec 21 14:40:21 2008 -0500 6635 6636 Updated ChangeLogs again in prep for the 1.5.1 release 6637 6638commit 413d46d3cbe4c21d3ec3f3e2b99d7f250f0d5ef4 6639Author: Ales Hvezda <ahvezda@seul.org> 6640Date: Sun Dec 21 14:34:25 2008 -0500 6641 6642 Removed m4 from being distributed when building tarballs (using make distcheck) 6643 6644 This makes gschem and libgeda's distribution of m4 the same (not distributed) 6645 6646commit 76d02f7f935d930d8093bd49b7eb0836d3b1aa6e 6647Author: Ales Hvezda <ahvezda@seul.org> 6648Date: Sun Dec 21 14:06:17 2008 -0500 6649 6650 Updated all ChangeLogs in prep for the 1.5.1 release. 6651 6652 The update was done by running: 6653 ./update-changelogs.sh 1.0-20070526..master 6654 6655commit 84d3b0199bec40652b1381474f7f76d7b24a6ff7 6656Author: Ales Hvezda <ahvezda@seul.org> 6657Date: Sun Dec 21 13:48:42 2008 -0500 6658 6659 Manually ran make update-po in all the po directories 6660 6661 This is in prep for the upcomging 1.5.1 release. 6662 6663commit 680e08085d44c9876bdadef0ca7ef25b474c2006 6664Author: Ales Hvezda <ahvezda@seul.org> 6665Date: Sun Dec 21 13:39:29 2008 -0500 6666 6667 Updated all versions to 1.5.1 20081221 35:0:0 6668 6669 Updated by running: 6670 ./update-versions.sh 1.5.1 20081221 35:0:0 6671 6672commit 4f9f4336a123f91318ec2d1ffd8e9739eb756348 6673Author: Ales Hvezda <ahvezda@seul.org> 6674Date: Sun Dec 21 13:10:23 2008 -0500 6675 6676 Updated dates and versions in all man pages 6677 6678commit 2c1c7ff82e5ba02c432eb9e1e9fe44ac97e5ecc7 6679Author: Ales Hvezda <ahvezda@seul.org> 6680Date: Sun Dec 21 11:24:43 2008 -0500 6681 6682 Added libintl.rc to .gitignore to make git status less cluttered 6683 6684commit 7289597377b3a0efd00c29b5da08956b25dffafc 6685Author: Werner Hoch <werner.ho@gmx.de> 6686Date: Sun Dec 21 12:32:57 2008 +0100 6687 6688 gschem/libgeda: updated german translation 6689 6690commit 9e9b1ab60ff8740f4039471efaa5435193d83c14 6691Author: Ales Hvezda <ahvezda@seul.org> 6692Date: Sat Dec 20 18:12:46 2008 -0500 6693 6694 Manually ran make update-po in all the po directories 6695 6696 make update-po was run in prep for an upcoming release. It will probably 6697 have to be run one more time before the final release is done. 6698 6699commit ba3af993a28bf244f9fae7a216827c94cacf2c3c 6700Author: Peter Clifton <pcjc2@cam.ac.uk> 6701Date: Sat Dec 20 22:07:44 2008 +0000 6702 6703 gschem: Refactor duplicated code in o_find_object() 6704 6705 Also add documentation for this and our new helper function. 6706 6707commit d0df24b4e4346327275c4e17cbeff63afeb0df4f 6708Author: Peter Clifton <pcjc2@cam.ac.uk> 6709Date: Sat Dec 20 22:07:44 2008 +0000 6710 6711 gschem: Fix breakage in multiple-object hit select-cycling 6712 6713 This was broken when switching to OBJECT GLists. We need to start 6714 our first search for objects _after_ the one we selected last time, 6715 otherwise we just find the same object again and again. 6716 6717commit e51ce946141363fa796a8744d5600bbe3436b925 6718Author: Peter Clifton <pcjc2@cam.ac.uk> 6719Date: Sat Dec 20 19:10:18 2008 +0000 6720 6721 gschem: Remove visible() checks from drawing functions 6722 6723 The expose handler, via o_redraw_rects() only calls drawing functions for 6724 objects which need repainting. No need for them to re-check visibility. 6725 6726commit 6329c5a7bdae9573f01f92403e4645e79e66aab5 6727Author: Peter TB Brett <peter@peter-b.co.uk> 6728Date: Sat Dec 20 14:41:05 2008 +0000 6729 6730 Update copyright header dates to 2008. 6731 6732 (And I'll have to do this all again in a few days time). 6733 6734commit 0fe820aa442bba02d164832ce771932f2189d231 6735Author: Peter Clifton <pcjc2@cam.ac.uk> 6736Date: Sat Dec 20 08:25:12 2008 +0000 6737 6738 gschem: Make rubberbanding operations use the invalidate / expose model 6739 6740 Introduce a new function for each rubberbanding operation, 6741 o_*_invaldate_rubber() which invalidates an on-screen area matching 6742 the area where the rubberbanding operation would paint. 6743 6744 The actual drawing happens from the expose handler, which already 6745 had appropriate code to ensure any damaged rubberband objects were 6746 re-painted during an expose event. 6747 6748commit 883bb3377a83623fe47792aabe8023c556de25f3 6749Author: Peter Clifton <pcjc2@cam.ac.uk> 6750Date: Sat Dec 20 08:25:10 2008 +0000 6751 6752 gschem: Remove the dummy o_cue_invalidate*() functions 6753 6754 Actually invalidate the objects which would have had their cues 6755 redrawn using o_invalidate() and o_invalidate_glist() instead. 6756 6757 We're probably invalidating more than we need to in some cases, 6758 since just invalidating a single object will be enough to update 6759 any cues it is touching. We don't really need to invalidate its 6760 connected objects as well. 6761 6762commit b64b7ce3970d819173e20578e9adf91b19179068 6763Author: Peter Clifton <pcjc2@cam.ac.uk> 6764Date: Sat Dec 20 08:25:09 2008 +0000 6765 6766 gschem: Replace o_cue_erase_single() by o_cue_invalidate() 6767 6768 We don't want to be drawing anything onto the screen outside of the 6769 expose handler. o_cue_invalidate() is actually a NOP, since we actually 6770 invalidate enough around a given object to encompass redrawing of its 6771 cues. 6772 6773commit 0a9650f1c5877d68c792f4c37bc0d47132425c49 6774Author: Peter Clifton <pcjc2@cam.ac.uk> 6775Date: Sat Dec 20 08:25:07 2008 +0000 6776 6777 gschem: Move invalidate call from o_move_check_endpoint to o_move_start 6778 6779 This invalidate ensure rubberbanded objects are removed from their old 6780 position on screen. It is more suited to living in o_move_start() than 6781 a function supposed to find objects to rubberband. 6782 6783commit 978a127bf1f7174fd5146371d0cbbfc6a8f2baf8 6784Author: Peter Clifton <pcjc2@cam.ac.uk> 6785Date: Sat Dec 20 08:25:06 2008 +0000 6786 6787 Avoid and remove OBJECT variable draw_grips 6788 6789 We can infer the required logic from OBJECT->selected, and the 6790 resulting code is cleaner. 6791 6792commit c9b89c259334c0f310afcc1dc3fb2b752078caad 6793Author: Peter Clifton <pcjc2@cam.ac.uk> 6794Date: Sat Dec 20 08:25:04 2008 +0000 6795 6796 Don't ever erase grips, we invalidate things to get rid of them. 6797 6798 Delete now unused function o_erase_grips(), along with the object 6799 specific routines o_*_erase_grips() 6800 6801commit 111e9e78fded24189f58e420b291ba444323ac25 6802Author: Peter Clifton <pcjc2@cam.ac.uk> 6803Date: Sat Dec 20 08:25:03 2008 +0000 6804 6805 Remove now unused functions o_{draw,erase}_list() and o_erase_single() 6806 6807commit 20b87f17855b3a0cd09b1865d661de8e039ae903 6808Author: Peter Clifton <pcjc2@cam.ac.uk> 6809Date: Sat Dec 20 08:25:01 2008 +0000 6810 6811 Changed caller of o_{erase,draw}_selected() to use o_invalidate_glist() 6812 6813 Remove the now unused functions o_{erase,draw}_selected(). 6814 6815commit 4287b770933148477d613c97f7b0d60bd9236603 6816Author: Peter Clifton <pcjc2@cam.ac.uk> 6817Date: Sat Dec 20 08:11:03 2008 +0000 6818 6819 gschem: Change redraw and erase calls to invalidate calls 6820 6821 In the new drawing model, "invalidate" calls actually specify which 6822 primitives or areas of the screen need redrawing. The redraw code called 6823 from the expose event handler then draws objects directly onto the screen. 6824 6825 Remove the now unused function o_redraw_all() 6826 6827commit 1deba1aba224cd2e87a34148949edaaeec630ed0 6828Author: Peter Clifton <pcjc2@cam.ac.uk> 6829Date: Sat Dec 20 08:10:47 2008 +0000 6830 6831 gschem: Change object specific redraw calls to o_redraw_single() 6832 6833 Makes switching redraw calls to invalidate calls more formulic. 6834 6835commit c7c5a24102474d6d9c607c4592736c8f93fe090b 6836Author: Peter Clifton <pcjc2@cam.ac.uk> 6837Date: Sat Dec 20 08:10:43 2008 +0000 6838 6839 gschem: Add size of grip (or cue) to invalidate and redraw regions. 6840 6841 Adding to the invalidated region cures screen artifacts left due 6842 to the bounds of an object not including the area occupied by its 6843 rubberbanding grips. 6844 6845 Adding to the coordinates used with s_page_objects_in_region() ensures 6846 that grips / cues from adjacent objects are drawn correctly when repainting 6847 a damaged region from the expose handler. 6848 6849 This is a bit of a hack and could be better catered for by invalidating 6850 the grip regions separately from an object specific invalidate function. 6851 s_page_objects_in_region() would also have to return objects with grips 6852 or cues touching the passed region. 6853 6854commit 68f782583cc41b542dc237cb9173f64ffc01ce76 6855Author: Peter Clifton <pcjc2@cam.ac.uk> 6856Date: Sat Dec 20 08:09:57 2008 +0000 6857 6858 gschem: Just redraw everything when we get an expose event 6859 6860 Disable generation of our backing pixmap and remove o_invalidate_rect() 6861 calls from various drawing functions. The backingstore is straight to the 6862 screen, so there is no need to make that call (it causes a redraw loop). 6863 6864commit c914c30f8bbb72e5d0df635947055e642b972f0b 6865Author: Peter Clifton <pcjc2@cam.ac.uk> 6866Date: Sat Dec 20 08:00:36 2008 +0000 6867 6868 gschem: Move o_drawbounding into its only caller, o_place_rubberplace_xor 6869 6870commit 87682d35b4238c7db9bbc3583a7db8313bb8577f 6871Author: Peter Clifton <pcjc2@cam.ac.uk> 6872Date: Sat Dec 20 07:33:15 2008 +0000 6873 6874 gschem: Fix crash closing window from window-manager during move action 6875 6876 Since the move action uses the place list for drawing, and the objects 6877 are still on the page, we must be careful to cancel the move action, 6878 otherwise when the window is closed, we try to double-free the objects 6879 which are both on the page, and in the place list. 6880 6881commit 4afbecd9128f87980e47221b439d7292395c20bd 6882Author: Peter Clifton <pcjc2@cam.ac.uk> 6883Date: Sat Dec 20 07:31:19 2008 +0000 6884 6885 gschem: Avoid critical assersion being triggered when cancelling move 6886 6887 We need to set inside_action to 0 before calling o_undo_callback(), 6888 since that then calls o_redraw_all(). We don't want that redraw to 6889 think we're still inside an action and attept to draw the (now empty) 6890 place list. For good measure, place that call after we've cleared out 6891 the stretch list as well. 6892 6893commit 43644681ba1486a5dec10fcfcdad36432ecc071c 6894Author: Peter Clifton <pcjc2@cam.ac.uk> 6895Date: Sat Dec 20 06:36:58 2008 +0000 6896 6897 gschem: Add function o_grips_rubbergrip_xor() to repaint XOR objects 6898 6899 This function will be useful to recreate the on-screen state during 6900 an expose event when using an invalidate / expose drawing model. 6901 6902commit 94602fdc724dd31527c3ceed2092ddeee1d954e0 6903Author: Edward Hennessy <ehennes@sbcglobal.net> 6904Date: Sat Dec 20 04:42:25 2008 +0000 6905 6906 Symbols now selectable by clicking inside their shapes. 6907 6908 This patch changes the selection behavior by allowing symbols to 6909 be selected by clicking inside any contained shape. This behavior 6910 works for symbols with boxes, circles, and paths. 6911 6912 Patch modified by Peter Clifton: 6913 6914 Added m_line_shortest_distance(), (m_line.c) and make use of that 6915 in m_polygon_shortest_distance() rather than faking a line OBJECT. 6916 6917 Change all o_*_shortest_distance() functions to take a parameter 6918 "force_solid" so we avoid having to use a specialised dispatch 6919 function to treat constituent primitive objects inside a COMPLEX 6920 as solid. 6921 6922commit 3d8b3efb5a4ce8672133658ccdbe5c57d341f0fc 6923Author: Peter Clifton <pcjc2@cam.ac.uk> 6924Date: Sat Dec 20 03:17:31 2008 +0000 6925 6926 gschem: Check for self-connecting COMPLEX before deleting. Fix #1912859 6927 6928 Remove any references to objects inside the COMPLEX being deleted 6929 when we build the list of objects to redraw on screen following the 6930 COMPLEX's deletion. 6931 6932 This fixes a crash observed when deleting symbols with co-incident pins. 6933 6934commit c69785fe267e2cdc70e2748dfab7268fbdcc3e7e 6935Author: Peter Clifton <pcjc2@cam.ac.uk> 6936Date: Sat Dec 20 01:08:08 2008 +0000 6937 6938 o_move_end_rubberband(): Rework creating connectivity lists. Fix #2017356 6939 6940 We were previously making a lists of pre- and post-move connected objects 6941 incrementally as we moved each individual object being stretched. 6942 6943 In some cases this meant that as we moved one object, we artifically 6944 changed the connectivity of future ones to be moved, making the 6945 resulting connectivity lists inaccurate. In some examples, the objects 6946 being stretched themselves appeared in the lists. 6947 6948 We want to avoid this, since if we delete a stretched object when 6949 it reaches zero length, we don't want that object to be referenced in 6950 the list of connected objects. Since we don't want to do more work 6951 than necessary re-drawing affected objects on screen, it is generally 6952 desirable to keep the lists as accurate as possible. 6953 6954 To avoid the problem with incremental updates, build the connectivity 6955 lists before and after the entire move operation for stretched objects. 6956 6957 This alone doesn't fix the case where a stretched object being deleted 6958 happens to touch another to start with. We have to check when deleting 6959 an object for its presence in the prev_conn_objects list. We check and 6960 remove _all_ references to the deleted object from that list. 6961 6962 Thanks go to Patrick Bernaud for the test-case for this very tricky to 6963 reproduce bug, and an initial patch. 6964 6965commit fe8640898cb843b72e1c3cc01ee52c33db736ccf 6966Author: Peter Clifton <pcjc2@cam.ac.uk> 6967Date: Sat Dec 20 01:07:17 2008 +0000 6968 6969 gschem: Remove stretched object from stretch list if we delete it 6970 6971 When a stretched object becomes zero length when rubberbanding, we 6972 delete it. We must also remember to delete it from the stretch list, 6973 otherwise it will be referenced later, and could cause a crash. 6974 6975 NB: This isn't the whole story.. the before / after connectivity 6976 lists can still reference the deleted object and cause a crash. 6977 6978commit ba14128c0710a12665b07c29e74c00c55993b3d1 6979Author: Peter Clifton <pcjc2@cam.ac.uk> 6980Date: Sat Dec 20 01:05:11 2008 +0000 6981 6982 gschem: Further tidying in o_move_end_rubberband() 6983 6984 Changes a switch statement with only one active code-path into an 6985 if (...) { ... } clause. Should be no functional changes. 6986 6987commit 20e4ffcd895f344b8124ca16990f04e9570140c0 6988Author: Peter Clifton <pcjc2@cam.ac.uk> 6989Date: Fri Dec 19 23:49:36 2008 +0000 6990 6991 gschem: Tidy function o_move_end_rubberband() 6992 6993 This function is still buggy when objects are deleted as part of 6994 the rubberbanding operation, but for now, tidy up the existing 6995 code. No functional changes. 6996 6997commit 4abd473222827786c2480fa128464c7ff45448ea 6998Author: Peter Clifton <pcjc2@cam.ac.uk> 6999Date: Fri Dec 19 23:25:48 2008 +0000 7000 7001 gschem: Rename "other_objects" to "prev_conn_objects" for clarity 7002 7003commit 6e8f757d3aa23219bb0259064dbed5ffa64fb341 7004Author: Peter Clifton <pcjc2@cam.ac.uk> 7005Date: Fri Dec 19 00:59:52 2008 +0000 7006 7007 Remove next/prev linking from the STRETCH structure. Use GLists instead. 7008 7009 The PAGE now maintains a GList of STRETCH objects instead. This keeps the 7010 code a lot simpler and allows us to use more standard GList functions. 7011 7012commit da649f4066f8ce35a1717a1d0a298fe82817a8b5 7013Author: Peter Clifton <pcjc2@cam.ac.uk> 7014Date: Thu Dec 18 18:17:48 2008 +0000 7015 7016 gschem: Make key press / release events update modifier states 7017 7018 If a sensitive action is taking place when a modifier key changes state, 7019 fetch the current mouse pointer and call the action's motion handler. 7020 7021 This allows us to see instant on-screen changes when (say) pressing the 7022 modifier key to switch magnetic net mode off, or between orthogonal / 7023 non-orthogonal constraints mode when copying or moving objects. 7024 7025 Preivously motion was needed after pressing the modifier key to get an 7026 on-screen update. 7027 7028commit 1d16923d30f2348184675df66e5b67e893d3c519 7029Author: Peter Clifton <pcjc2@cam.ac.uk> 7030Date: Wed Dec 17 14:43:20 2008 +0000 7031 7032 gschem: Use o_{erase,redraw}_single() not o_{erase,draw}_selected() 7033 7034 x_dialog.c: arc_angle_dialog_response() used the selection specific 7035 routines where it could have just used the pointer to the OBJECT. 7036 7037commit 1d7d0b9f7f0cc38a79b7e392756dcb359b61bdbb 7038Author: Ales Hvezda <ahvezda@seul.org> 7039Date: Tue Dec 16 21:37:20 2008 -0500 7040 7041 Increased the select-slack-pixels value to be much larger 7042 7043 This makes it a lot easier to select objects, especially now that you 7044 have to click on the object itself instead of the object's bounding box. 7045 7046commit 822d04bc29291979b91dd3222a27bbcb295e7b56 7047Author: Peter Clifton <pcjc2@cam.ac.uk> 7048Date: Mon Dec 15 22:50:24 2008 +0000 7049 7050 Delete references to the non-existent object type OBJ_HEAD. (CODE!) 7051 7052 Ok, cleaned up some whitespace as well.. couldn't resist. 7053 7054commit a6df3915ee452f175650c86f0074169ad6756c02 7055Author: Peter Clifton <pcjc2@cam.ac.uk> 7056Date: Mon Dec 15 00:46:17 2008 +0000 7057 7058 gschem: Rename o_*_rubber*() o_*_motion() 7059 7060 This is consistent with the naming of the equivalent function for 7061 grip manipulation. These functions are called from the motion event 7062 handler, and the new names make that clearer. 7063 7064commit 29ae53c1010c0afaa719fa2234ac0563368f05fe 7065Author: Peter Clifton <pcjc2@cam.ac.uk> 7066Date: Sun Dec 14 14:50:14 2008 +0000 7067 7068 Roll the various o_grips_motion_*() routines into o_grips_motion() 7069 7070commit ec14a2d9b48696417e3122793a71170b833de9c2 7071Author: Peter Clifton <pcjc2@cam.ac.uk> 7072Date: Sun Dec 14 03:50:24 2008 +0000 7073 7074 gschem: Remove un-needed GSCHEM_TOPLEVEL flag "inside_redraw" 7075 7076 A check of where this was tested revealed that the code-paths where a 7077 test was present should not be hit from inside a redraw operation. 7078 7079commit 2a768bee990afdb7e73a7f9c01aa0be372fd59ea 7080Author: Peter Clifton <pcjc2@cam.ac.uk> 7081Date: Sat Dec 13 22:06:25 2008 +0000 7082 7083 gschem: Don't re-invent the drawing routines in o_net_end() 7084 7085 Use o_redraw_single() in o_net_ned() rather than replicating parts of 7086 the net drawing code. 7087 7088commit 1a8e62cded4076f9711f86e50b1749972bc01b87 7089Author: Peter Clifton <pcjc2@cam.ac.uk> 7090Date: Sat Dec 13 21:27:01 2008 +0000 7091 7092 gschem: Empty "misc" callbacks 7093 7094 Remove apparently left over debugging code 7095 7096commit a8ae46996fe78d138e83a99744e7ade0036399bc 7097Author: Peter Clifton <pcjc2@cam.ac.uk> 7098Date: Fri Dec 12 21:01:45 2008 +0000 7099 7100 Rename GSCHEM_TOPLEVEL member "backingstore" to "drawable" 7101 7102commit 7b663063f659aac854f844bda40160f697f7c3ef 7103Author: Peter Clifton <pcjc2@cam.ac.uk> 7104Date: Fri Dec 12 19:03:52 2008 +0000 7105 7106 Use (rubber_visible == 0) to avoid "undrawing" invisible objects. 7107 7108 For some operations, such as text and component placement, there is a 7109 gap between inserting components into the place buffer (at 0,0) and 7110 knowing where to draw them. 7111 7112 This is presently handled with separate one-shot states used to special 7113 case the first mouse event recieved. These states are transitioned from 7114 as soon as the first drawing operation has been made. If we track the 7115 fact that no "undrawing" should take place, it's otherwise OK to use the 7116 same motion event handler for the first and subsequent motions. 7117 7118commit 3d5fce8f9e6a1172a285dd4a49943f2b05712ca4 7119Author: Peter Clifton <pcjc2@cam.ac.uk> 7120Date: Fri Dec 12 16:43:13 2008 +0000 7121 7122 Avoid crash observed when trying to undo whilst moving. 7123 7124 Move uses the place list, and it leaves the objects in the place list 7125 on the page. Calling undo free's the page structure, including place 7126 list objects, AND page objects. Double-free / corruption -> crash. 7127 7128 TODO: Fix move code NOT to use the place list, OR, use more 7129 intelligence about cancelling from move operations. 7130 7131commit c24af025cba433db83db48d4b614632b2d5a517c 7132Author: Peter Clifton <pcjc2@cam.ac.uk> 7133Date: Fri Dec 12 16:08:43 2008 +0000 7134 7135 Replace calls to s_conn_return_complex_others() with s_conn_return_others() 7136 7137 Teach s_conn_return_others() to understand COMPLEX objects. 7138 7139commit 7f4ec05b6812bf412ad23da67b82c9378c57aa0c 7140Author: Peter Clifton <pcjc2@cam.ac.uk> 7141Date: Fri Dec 12 15:28:07 2008 +0000 7142 7143 Replace calls to s_conn_..._complex with a non-specialised version 7144 7145 Renamed s_conn_remove() to s_conn_remove_object() 7146 s_conn_..._object() can then call s_conn_..._complex() as needed. 7147 7148commit eca34fca24e6d29a1b42c95daee0602c452fecd6 7149Author: Peter Clifton <pcjc2@cam.ac.uk> 7150Date: Thu Dec 11 22:26:56 2008 +0000 7151 7152 Revert "Remove unused "toplevel" argument to s_conn_* functions" 7153 7154 This reverts commit b211658fcddb84828c437a65bf6bd73fcc4b1918. 7155 7156commit 28e12a770b23ffbe08c994cbd98d21a581b2cd2d 7157Author: Peter Clifton <pcjc2@cam.ac.uk> 7158Date: Thu Dec 11 21:44:24 2008 +0000 7159 7160 Add API s_page_delete_objects() to delete all OBJECTs on a page 7161 7162commit 921a39edd130ed3bbfe83d9c39c3a9085c405d9a 7163Author: Peter Clifton <pcjc2@cam.ac.uk> 7164Date: Thu Dec 11 21:21:03 2008 +0000 7165 7166 Remove function o_delete(), which just wraps o_delete_object() 7167 7168commit b211658fcddb84828c437a65bf6bd73fcc4b1918 7169Author: Peter Clifton <pcjc2@cam.ac.uk> 7170Date: Thu Dec 11 20:40:15 2008 +0000 7171 7172 Remove unused "toplevel" argument to s_conn_* functions 7173 7174commit ee0eaa9c885db7022b9cb5ef4ddf50b459fd92fc 7175Author: Peter Clifton <pcjc2@cam.ac.uk> 7176Date: Thu Dec 11 14:49:40 2008 +0000 7177 7178 gattrib: Bump GTK and GLIB version requirements to match gschem (2.8.x) 7179 7180 Also remove a remaining 2.4 comment from the gschem configure.ac.in 7181 7182commit 38ce8aae73beec00d603e4cda0ca5eee738a3cb8 7183Author: Peter Clifton <pcjc2@cam.ac.uk> 7184Date: Tue Dec 9 19:23:22 2008 +0000 7185 7186 libgeda: Abstract removing objects from the page with s_page_remove () 7187 7188commit 617797b5a47d370c4fee19110c826502b7e3082b 7189Author: Peter Clifton <pcjc2@cam.ac.uk> 7190Date: Tue Dec 9 16:19:09 2008 +0000 7191 7192 Remove linkage between OBJECTs and use GList for OBJECTs on the page 7193 7194 This affords quite a lot of code clean-up, since we no longer have to 7195 maintain two versions of each operation which works on lists. 7196 7197commit de9c919b925ff989c3f26914e666d2e38062bfe1 7198Author: Peter Clifton <pcjc2@cam.ac.uk> 7199Date: Tue Dec 9 16:02:00 2008 +0000 7200 7201 gschem: Fix memory undo not to update tile system 7202 7203commit 9dd241d9f87ad78f27772e9490d3afa2a80621bf 7204Author: Peter Clifton <pcjc2@cam.ac.uk> 7205Date: Tue Dec 9 01:38:21 2008 +0000 7206 7207 libgeda: Add convenience function for adding objects to the page 7208 7209 Adds s_page_append() which links the passed object to the end of the 7210 page's object list. 7211 7212commit 54d2fd7dc6bf09dad1d9657c5cd3635bb31e14b7 7213Author: Peter Clifton <pcjc2@cam.ac.uk> 7214Date: Mon Dec 8 18:57:11 2008 +0000 7215 7216 gschem: Use libgeda's hatching routines for drawing hatched boxes. 7217 7218commit 3b8bbb1f0e4f549ad2e366e36365e59f7657622e 7219Author: Peter Clifton <pcjc2@cam.ac.uk> 7220Date: Mon Dec 8 18:43:56 2008 +0000 7221 7222 gschem: Use libgeda's hatching routines for drawing hatched circles. 7223 7224commit 2f5b7e9d890953680caa4fa111c31a0be4123d97 7225Author: Peter Clifton <pcjc2@cam.ac.uk> 7226Date: Mon Dec 8 17:16:20 2008 +0000 7227 7228 Adjust MINGW32 specific CFLAGS from the suite 7229 7230 Console applications should not build with the -mwindows flag, otherwise 7231 output reach the console. Conversely, we should build the GUI apps, gschem 7232 and gattrib with -mwindows so they don't bring up a console window when 7233 running. 7234 7235commit 939998b8b4f6742814910a043778962f4654d5a9 7236Author: Peter Clifton <pcjc2@cam.ac.uk> 7237Date: Mon Dec 8 17:15:20 2008 +0000 7238 7239 Use solid painting, no XOR to draw path control lines when erasing. 7240 7241 When the override_color is set, we are likely to be erasing the control 7242 lines inside o_erase_single(). To avoid leaving artifacts, don't use 7243 the XOR drawing context in this case. 7244 7245commit d8f1aa4780edaee8b4552a7fd942126a07464b6d 7246Author: Peter Clifton <pcjc2@cam.ac.uk> 7247Date: Mon Dec 8 16:44:53 2008 +0000 7248 7249 Add support for drawing curved paths with GDK 7250 7251commit c01757cd814e7c92cb4c64a6e134aa670b9750d1 7252Author: Peter Clifton <pcjc2@cam.ac.uk> 7253Date: Mon Dec 8 16:29:11 2008 +0000 7254 7255 Add rendering code to draw hatched fill in paths 7256 7257commit 0545db388236ea7a7aaa49d8911ad96481b4978e 7258Author: Peter Clifton <pcjc2@cam.ac.uk> 7259Date: Sun Dec 7 17:33:46 2008 +0000 7260 7261 Remove some old comments better explained in commit history 7262 7263 Comments annotated with a dates and developers initials clutter the 7264 code with historical details people may be reluctant to remove. Not 7265 all of these are still relevant, and those which are should probably 7266 could be kept in such a way as not to suggest code ownership. The 7267 commit revision log is a better place for determining authorship. 7268 7269 Fix some whitespace in surrounding areas where I couldn't resist. 7270 7271commit 3f607ec3eefd9477d277747be089ac94e5afbd57 7272Author: Peter Clifton <pcjc2@cam.ac.uk> 7273Date: Mon Nov 24 01:35:02 2008 +0000 7274 7275 Use g_get_home_dir() if we can't find the HOME environment variable. 7276 7277 NB: We can't just use g_get_home_dir() on its own without changing 7278 semantics. g_get_home_dir() prefers the home directory specified 7279 in the passwd file, over $HOME, so we try looking for the HOME env. 7280 variable first. 7281 7282 BUT: some places in gEDA do just call g_get_home_dir() directly. 7283 Ideally we should tidy these up to be consistent at some point. 7284 7285commit cc1d5ae1489b4534ae485cdea4df0815663dcb1d 7286Author: Peter Clifton <pcjc2@cam.ac.uk> 7287Date: Sun Nov 23 17:30:37 2008 +0000 7288 7289 gschem: Update EXTRA_DIST list in gschem/tests/Makefile.am 7290 7291 Remove reference to deleted schematic ext_chars.sch, and added new 7292 schematics net_selection.sch and geda_fonts.sch 7293 7294 Reformatted list to one element per line, so future diffs will be 7295 easier to view. 7296 7297commit d2ab7cfcc4dd21e06a3d2e9ac6d756b7968c0b7a 7298Author: Dan McMahill <dan@mcmahill.net> 7299Date: Tue Nov 18 22:33:45 2008 -0500 7300 7301 Use the SHELL variable to locate a shell for icon-theme-installer 7302 7303 /bin/sh on some systems like SunOS (solaris) is too broken but in those 7304 cases SHELL is typically set to a functioning shell like /bin/ksh. This 7305 repairs the install on "shell challenged" systems. 7306 7307commit 70bf7f8e7470d9962af920553b2e858db0d95938 7308Author: Werner Hoch <werner.ho@gmx.de> 7309Date: Mon Nov 17 20:23:26 2008 +0100 7310 7311 gschem: fix select state when double clicking an object 7312 7313 After the o_edit() call in x_event_button_pressed() the state is 7314 STARTSELECT. If a MODAL dialog is called (arc or change picture) the 7315 state will will still be STARTSELECT after closing the dialog. 7316 7317 This state turns into the MOVE state right after the dialog is closed 7318 and the first motion is done in gschem (x_event_motion()). 7319 7320 This is not correct. The state needs to be reset to SELECT right after 7321 the o_edit() call. 7322 7323commit 9b2b755a4cc07a5de15ea88794e78612b0d2ca00 7324Author: Werner Hoch <werner.ho@gmx.de> 7325Date: Sun Nov 16 17:35:46 2008 +0100 7326 7327 created a new test file for all font characters 7328 7329commit 8ba14774f506f7b2143f0caf74ae3eba42504930 7330Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 7331Date: Sat Nov 15 12:41:09 2008 +0100 7332 7333 Invert assertion added in bbe251bc64ed2db2976a26116d22a69fe678b9fd. 7334 7335commit 27fc407b656e2996e31922be1352eea21de85422 7336Author: Werner Hoch <werner.ho@gmx.de> 7337Date: Sun Nov 9 18:21:09 2008 +0100 7338 7339 updated text and alignment test schematic 7340 7341 Added all kinds of overbar and tabulator tests. 7342 Use multiline text for all alignment tests. 7343 7344commit 75f53b0b7a1a2859a604b70dfecc6a439b8b57da 7345Author: Werner Hoch <werner.ho@gmx.de> 7346Date: Wed Oct 29 22:37:13 2008 +0100 7347 7348 gschem: replaced fnameext* functions with glib functions 7349 7350 Removed the functions fnameext_get, fnameext_remove and fnameext_add. 7351 7352commit 8801ff019dc2ccc64a3dd7367b65e7ea6ce5229e 7353Author: Peter Clifton <pcjc2@cam.ac.uk> 7354Date: Wed Nov 5 00:37:08 2008 +0000 7355 7356 gschem: White-space update in x_complselect.c for consistency 7357 7358 Mixed tabs and spaces are driving me nuts, since I don't default to 7359 having tabstop=8 in my editor. This file was pretty good before, but 7360 recent commits mixed in a load of tabs. 7361 7362 I've also changed call instances to "func (args);" white-space, 7363 since the majority of this file already used it. 7364 7365commit c785af63a4d32adeaa7912a4559381d8daefde18 7366Author: Peter Clifton <pcjc2@cam.ac.uk> 7367Date: Wed Nov 5 00:37:02 2008 +0000 7368 7369 gschem: Allow attribute value column in component selector to shrink 7370 7371 Symbols with long values are common, and we don't want having viewed 7372 those to force a h-scroll-bar on symbols with short valued attributes. 7373 7374 If we don't allow them to shrink, the columns retain the width of the 7375 largest item they displayed, and we often get stuck with a scroll bar 7376 after displaying components with lengthy attribute values. 7377 7378 When updating the model, invalidate the column width for the attribute 7379 value column so it is re-sized based on the new data being shown. 7380 7381 We might also consider invalidating the attribute name columns, 7382 however that gives an inconsistent column division when swithing 7383 between symbols, which doesn't look nice. For now, assume that 7384 the name column can keep the max width gained whilst previewing. 7385 7386commit dab769968c3b65d5b28b6ae26996ddc8b4e311fe 7387Author: Peter Clifton <pcjc2@cam.ac.uk> 7388Date: Wed Nov 5 00:36:56 2008 +0000 7389 7390 gschem: Use an enum for column numbers in the compselect attrib preview 7391 7392 This avoids the need to use magic constants in the code when we refer to 7393 a particular column by number. 7394 7395commit 8a53e426c09ee25c1ce1e1c720d408662374c04b 7396Author: Peter Clifton <pcjc2@cam.ac.uk> 7397Date: Wed Nov 5 00:36:50 2008 +0000 7398 7399 gschem: Adjust padding in component selector dialog box. 7400 7401 Make the preview and attributes windows the same size as the 7402 library notebook on the left, by avoiding adding a border to 7403 the GtkVPaned control. 7404 7405commit c5db389c6f104e22ab486451283b2fe94faf2606 7406Author: Peter Clifton <pcjc2@cam.ac.uk> 7407Date: Wed Nov 5 00:36:45 2008 +0000 7408 7409 gschem: Don't override GtkDialog default positioning in compselect dialog 7410 7411 The old code explictly overrode the window positioning hint set by the 7412 GtkDialog (GTK_WIN_POS_CENTER_ON_PARENT) to GTK_WIN_POS_NONE. 7413 7414 For people with multi-screen setups, the GtkDialog default is 7415 probably a better choice. We might in the future consider 7416 GTK_WIN_POS_MOUSE, where the windows appears at the current 7417 mouse position. 7418 7419 In either case, this only affects a user's inital usage of the 7420 dialog as its geometry is saved to disk for later re-use. 7421 7422commit 2f6e297d4ef9b5104675081a4066503779695b9d 7423Author: Peter Clifton <pcjc2@cam.ac.uk> 7424Date: Wed Nov 5 00:36:39 2008 +0000 7425 7426 gschem: Don't reset default properties on the component selector widgets. 7427 7428 There is no point setting GtkWindow or GtkDialog properties when we don't 7429 actually desire to rigidly specify those parameters. The removed settings 7430 are all defaults within GTK. 7431 7432commit 811233695be6f5d58ba576054d9763be11c6aa4c 7433Author: Peter Clifton <pcjc2@cam.ac.uk> 7434Date: Sun Nov 2 15:25:46 2008 +0000 7435 7436 gschem: Take copy of "TMP" environment variable with g_strdup() 7437 7438 It isn't gauranteed that the result of getenv can't get modified at 7439 some point after the call (e.g. by another call to getenv), and testing 7440 of the mingw32 port has revealed that the returned string was getting 7441 corrupted at some point. 7442 7443 Take a g_strdup() of the string immediately, so we don't have to worry. 7444 7445 Since capitalised variable names should really be reserved for #define'd 7446 constants, rename "TMP" to tmp_path. 7447 7448commit 8628c10167df204222d77b4f18e550f7486aa2a1 7449Author: Peter Clifton <pcjc2@cam.ac.uk> 7450Date: Sat Nov 1 20:51:36 2008 +0000 7451 7452 gschem: Use gdk_display_warp_pointer() rather than an X11 specific call 7453 7454 Fixes bug #2212753 7455 7456 gdk_display_warp_pointer() was added in GTK/GDK 2.8, and allows 7457 greater portability to other platforms supported by GDK. 7458 7459 Remove the unimplemented "relative" option to x_basic_warp_cursor() 7460 7461commit f470af7a28afe423ded6171ea3c8a2b31ff56f43 7462Author: Peter Clifton <pcjc2@cam.ac.uk> 7463Date: Sat Nov 1 20:47:41 2008 +0000 7464 7465 Revert applying -Werror to compiler flags when linking with GCC (CODE!!) 7466 7467 Depending on the gcc version, the original developers might not see the 7468 warning until the software gets into the end user's hands (and tries 7469 building it with an older/newer version of gcc). Most warnings are 7470 not catastropic, but by using -Werror they are _all_ catastropic. 7471 7472 If a developer wants to get rid of all warnings, they should either: 7473 7474 1) run make -s and see/fix all the warnings, and/or 7475 2) modify the Makefile's themselves and add the -Werror flag temporarily. 7476 7477 (Comments explaining rationale snipped out of an email from Ales). 7478 7479commit 09eacbfb36e2b00758bce8d8add2f8f56cdcfdbb 7480Author: Peter Clifton <pcjc2@cam.ac.uk> 7481Date: Sat Nov 1 16:09:26 2008 +0000 7482 7483 Use -Werror when building with gcc compilers. 7484 7485 Hopefully this will help to ensure compiler 7486 warnings get noticed and fixed by developers. 7487 7488commit ab3e5337562359df11e8b679096574b2c01fdbc7 7489Author: Peter Clifton <pcjc2@cam.ac.uk> 7490Date: Sat Nov 1 16:09:26 2008 +0000 7491 7492 gschem: Fix more non-literal format strings which cause compiler warnings. 7493 7494 We should be careful to avoid passing arbitrary strings into functions 7495 which take printf style arguments. In that case, always use the construct 7496 ("%s", string) rather than passing string as the format argument. 7497 7498commit 333c7bc53e05e1c024486b8191b8f7031f0f506e 7499Author: Peter Clifton <pcjc2@cam.ac.uk> 7500Date: Sat Nov 1 00:42:24 2008 +0000 7501 7502 gschem: Check for visibility / toplevel->DONT_REDRAW in o_path_draw() 7503 7504 These test were mistakenly removed in 7505 commit 2d2d9d90d07080ed18a899dcccc34e99c83a7402 7506 7507commit 1aab94354f053887db67aa5702abc595795dfe82 7508Author: Peter TB Brett <peter@peter-b.co.uk> 7509Date: Wed Oct 29 12:14:19 2008 +0000 7510 7511 Define select_func only in libgeda. 7512 7513 Importing definitions from linkees breaks when linking libraries on 7514 Windows. 7515 7516commit 79da8125fa7ac7a005710ed2a6340004a66402a5 7517Author: Werner Hoch <werner.ho@gmx.de> 7518Date: Tue Oct 28 19:40:04 2008 +0100 7519 7520 gschem: removed unsnapped arc modification special case 7521 7522 When using the grips to modify an arc, then always unsnapped coords 7523 have been used. There two reasons to remove that: 7524 7525 * it's a special case that is not neccessary as the user can easily 7526 switch off the snapping to get the unsnapped behaviour 7527 7528 * with snapped arcs it's easier to draw 45° and 90° arcs 7529 7530commit fba1fe91258e62ad0d5ffd685adad93336542e30 7531Author: Werner Hoch <werner.ho@gmx.de> 7532Date: Tue Oct 28 19:38:52 2008 +0100 7533 7534 gschem: use the arc dialog to modify arc objects 7535 7536 Using edit->edit now raises the arc dialog. The properties of the arc 7537 can be modified and applied. The arc needs to be the first or only 7538 element of the selection list. 7539 7540commit 91cef383fbeaa0f48afe404f15ac39009f41fda7 7541Author: Werner Hoch <werner.ho@gmx.de> 7542Date: Mon Oct 27 20:59:47 2008 +0100 7543 7544 gschem: added radius to the arc angle dialog 7545 7546 Now you can set the radius, too, when creating an arc. 7547 7548commit cee5dea44626c4e442fc02841c26c8f3951817b7 7549Author: Peter TB Brett <peter@peter-b.co.uk> 7550Date: Sun Oct 26 23:42:48 2008 +0000 7551 7552 gschem: Initialise color combobox from current selection. 7553 7554 This (rather necessary) feature was unfortunately missed out in 7555 219f5d708fbe5e26f77808bb08810b96dfa984eb. Ideally, of course, the 7556 combobox constructor should be passed the color index to initialise 7557 itself with rather than poking global state, but for now let's just 7558 get it working again. 7559 7560commit 986bb906bbac1198c5f8b3ae507aab84d49fb3c9 7561Author: Peter TB Brett <peter@peter-b.co.uk> 7562Date: Sun Oct 26 20:10:02 2008 +0000 7563 7564 gschem: Re-arrange component selection dialog. 7565 7566 Most people have monitors which are wider than they are 7567 tall. Therefore, it makes sense to allow them to have wide, short 7568 dialog boxes. 7569 7570 This patch moves the component selector attribute treeview to share 7571 the right-hand side of the dialog with the preview widget. 7572 7573 Signed-Off-By: Peter Clifton <pcjc2@cam.ac.uk> 7574 7575commit cd01bc7d056983beb3957618cdc7557af2d40c8e 7576Author: Peter Clifton <pcjc2@cam.ac.uk> 7577Date: Sun Oct 26 20:07:12 2008 +0000 7578 7579 gschem: Add missing header file gschem_defines.h to Makefile.am 7580 7581 Missed this when splitting out gschem_defines.h 7582 7583commit d99fb5c1cebfed26e027b134ebf2a4c3a0d524bd 7584Author: Peter TB Brett <peter@peter-b.co.uk> 7585Date: Sun Oct 26 17:51:54 2008 +0000 7586 7587 gschem: Put color swatches before names in combo box cells. 7588 7589 It's easier to associate names with colours with a smaller gap between 7590 them. (Yes, this will work properly for RTL locales). 7591 7592commit 2d2d9d90d07080ed18a899dcccc34e99c83a7402 7593Author: Peter Clifton <pcjc2@cam.ac.uk> 7594Date: Sun Oct 26 10:42:58 2008 +0000 7595 7596 Add place-holders for printing paths with different line / fill styles 7597 7598 Currently, paths are always drawn with a solid stroked outline, and 7599 only solid filling is implemented. 7600 7601commit bcaf9f8dafcd25335b61b2ea80d071bde720bbd1 7602Author: Cesar Strauss <cestrauss@gmail.com> 7603Date: Sun Oct 26 10:41:31 2008 +0000 7604 7605 Use pkg-config support for Guile if present. 7606 7607 Using pkg-config allows easier cross-compilation, since the build 7608 process can use a pkg-config binary native to the build machine with .pc 7609 files for the host machine. 7610 7611commit 690c85d16d63e5350ce67f4f045cfbc8bb10e8aa 7612Author: Peter Clifton <pcjc2@cam.ac.uk> 7613Date: Sat Oct 11 11:11:30 2008 +0200 7614 7615 gschem: save configuration of component dialog 7616 7617 Save the position of the vpaned widget in the dialog configuration 7618 file. 7619 7620 (added static function definition suggested by Peter) 7621 7622commit 90413c7fe36fe73d9ab93a7ceadc0debe2b840ee 7623Author: Werner Hoch <werner.ho@gmx.de> 7624Date: Fri Oct 10 10:41:26 2008 +0200 7625 7626 gschem: show attributes in the component select dialog [#1444029] 7627 7628 gui code to show the attributes in the component select dialog. The 7629 attributes are taken from the TOPLEVEL structure of the preview 7630 widget. 7631 7632 The attribute treeview is only created if the GList of the attributs 7633 is not empty and the attributes are only updated if the treeview is 7634 present. 7635 7636 Added an option that will print all attributes in alphabetical 7637 order. To do that the first element of the option has to be and "*": 7638 (component-dialog-attributes '(*)) 7639 7640commit 0d1615ffc21c995ddc554a407941230eb1ea6677 7641Author: Werner Hoch <werner.ho@gmx.de> 7642Date: Wed Oct 8 20:10:41 2008 +0200 7643 7644 gschem: configs for the attributes in the select dialog [#1444029] 7645 7646 configuration code to get the attribute list for the component select 7647 dialog into gschem toplevel structure. 7648 7649commit 2e83bf2b37e093578088eef616e15ee361e85199 7650Author: Peter TB Brett <peter@peter-b.co.uk> 7651Date: Sat Oct 25 20:01:50 2008 +0100 7652 7653 Remove legacy PNG color specifications. 7654 7655 The configuration files provide a way of specifying colors for PNG 7656 output, but these are never used -- the PNG output just uses the same 7657 color map used for on-screen display. Remove the redundant 7658 specification and associated data structures completely. 7659 7660commit bbe251bc64ed2db2976a26116d22a69fe678b9fd 7661Author: Peter TB Brett <peter@peter-b.co.uk> 7662Date: Sat Oct 25 18:57:16 2008 +0100 7663 7664 Get rid of s_color_get_index(). 7665 7666 This function is very clearly the Wrong Thing, and could potentially 7667 result in incorrect color indices ending up in schematic files if two 7668 or more color map entries have the same value. 7669 7670 This patch removes the function entirely, and modifies the Scheme code 7671 which uses it to simply pass color indices around instead. Note that 7672 the results of s_color_get_index() were never actually *used* in the 7673 existing code. 7674 7675commit f63b79f3483b54a064a2bb74f8355d28232e78fd 7676Author: Peter TB Brett <peter@peter-b.co.uk> 7677Date: Sat Oct 25 18:17:25 2008 +0100 7678 7679 gschem: Add missing break statement. 7680 7681 Break statement was missed in commit 7682 405f5ac08806c0e7d6c91e8881182b0bdfa5838b. 7683 7684commit 219f5d708fbe5e26f77808bb08810b96dfa984eb 7685Author: Peter TB Brett <peter@peter-b.co.uk> 7686Date: Sat Oct 25 17:10:53 2008 +0100 7687 7688 gschem: Show colour swatches in color selection combobox. 7689 7690 Rather than color names, show the color itself. Also hides color 7691 indexes from view, as if users need to know about these during 7692 day-to-day normal usage of gschem then we're doing something very 7693 wrong. 7694 7695commit 405f5ac08806c0e7d6c91e8881182b0bdfa5838b 7696Author: Peter TB Brett <peter@peter-b.co.uk> 7697Date: Sat Oct 25 17:10:50 2008 +0100 7698 7699 gschem: Translate color names. 7700 7701 Make the color map names shown in the color selection dialog 7702 translated. Also add the net junction color to the lookup table. 7703 7704commit 2a4fdb13021d0153e788fe3b2fc005f273dcdf4b 7705Author: Peter TB Brett <peter@peter-b.co.uk> 7706Date: Tue Oct 21 16:52:09 2008 +0100 7707 7708 Validate calls to scm_c_eval_string(). [2105219] 7709 7710 Because the reporter's version of Guile is broken, a lovely garbage 7711 collector segfault occurs if a null string is passed to 7712 scm_c_eval_string(). 7713 7714 For now, wrap all calls to scm_c_eval_string() with mutable arguments 7715 in g_scm_c_eval_string_protected(), and since the latter function 7716 seems to behave when passed a NULL string this bug should just go 7717 away. 7718 7719commit 87a19a19e52a37f8ad14ae0c4c68f3292b0c3285 7720Author: Werner Hoch <werner.ho@gmx.de> 7721Date: Sat Oct 11 16:21:34 2008 +0200 7722 7723 gschem: redraw empty preview on configure events [#2159047] 7724 7725 If the preview widget contained an empty page, the redraw failed. In 7726 the preview_event_configure() function the function a_zoom_extents() 7727 returns without drawing if there are no objects on the page. Thus I've 7728 added a complement logic to redraw the background of the preview if 7729 required. 7730 7731commit f76f82985f325d436e3522359a5b3f7d0a2344ea 7732Author: Werner Hoch <werner.ho@gmx.de> 7733Date: Sat Oct 11 13:13:36 2008 +0200 7734 7735 gschem: prevent hierarchy symbol down there's file [#1861665] 7736 7737 Only try to load real existing files. 7738 7739commit f0a96de8b545dbd900e87db6abf54a0b6df830ab 7740Author: Werner Hoch <werner.ho@gmx.de> 7741Date: Sat Oct 11 09:02:03 2008 +0200 7742 7743 .gitignore: log files and source tagging files added 7744 7745 Added the files of the "global" source tagging program 7746 and the logfiles of the gEDA programs to .gitignore. 7747 7748commit f5205cdb145a423012f446b16d0211005b55695e 7749Author: Peter Clifton <pcjc2@cam.ac.uk> 7750Date: Wed Oct 8 19:54:55 2008 +0100 7751 7752 Cleanup whitespace errors introduced in last commit 7753 7754 (Introduces toplevel convenience variable to cut down on line lengths) 7755 7756commit 7e6e166d3f594ee822ef615e8766a3f712b5f80c 7757Author: Werner Hoch <werner.ho@gmx.de> 7758Date: Sun Oct 5 15:54:18 2008 +0200 7759 7760 gschem: suggest a filename in the saveas file dialog [#2001387] 7761 7762 If a schematic is saved the first time, put a suggested name 7763 ("untitled.sch") into the file saveas dialog. 7764 7765commit f58328ec7a4d445b98b67a63b23647f25ae7bb4c 7766Author: Werner Hoch <werner.ho@gmx.de> 7767Date: Sun Oct 5 10:01:03 2008 +0200 7768 7769 gschem: code and test file for the net selection patch 7770 7771 This commit adds the main functionality to gschem. The new function 7772 o_select_connected_nets() will select nets depending on the configured 7773 net_selection_mode and the current net_selection_state. 7774 7775 The implementation uses two stacks for traversing the connections. The 7776 netnames stack contains all connected netnames and the net stack 7777 contains a collection of all currently collected nets. 7778 7779 Note: The search for the netnames is very expensive, because of the 7780 required search of all netnames in all objects. 7781 The default net_selection_mode in system-gschemrc is set to "enable-net", 7782 only the directly connected nets are selected. 7783 7784 The functionality can be testet with the test schematic 7785 tests/net_selection.sch. 7786 7787 This patches are based on the work of Franz Mottas [1895538]. 7788 7789commit d0c0a23543aaa266a63799d4decff58768cf961b 7790Author: Werner Hoch <werner.ho@gmx.de> 7791Date: Sun Oct 5 09:58:29 2008 +0200 7792 7793 variables and configuration for net selection patch 7794 7795 The net selection lets you select all connected segments of a single 7796 net segment. The behaviour can be configured with the net-selection-mode 7797 variable in system-gschemrc. 7798 7799 This patch is based on the work of Franz Mottas [1895538]. 7800 7801commit 392dd3354812e812f548eadac2c83d8430acd7bf 7802Author: Peter Clifton <pcjc2@cam.ac.uk> 7803Date: Mon Sep 29 01:19:39 2008 +0100 7804 7805 Remove conditionally compiled code for GTK/GLIB < 2.6 7806 7807commit 2b36577f5634ff99e919773c4e34aa2e39dbce51 7808Author: Ales Hvezda <ahvezda@seul.org> 7809Date: Sun Sep 28 14:09:50 2008 -0400 7810 7811 Added code to do something more sane when trying to print tabs 7812 7813 Previously if a tab character was encountered in a text string, the 7814 postscript output code would output a Y with a dot on top. This is 7815 clearly not a tab character. The patch adds explict handling of the tab 7816 character to output 8 spaces instead. Not perfect, but better behavior 7817 than before. 7818 7819commit c9f4ae9298141915f11214d6339c4d9a27bb3eee 7820Author: Peter Clifton <pcjc2@cam.ac.uk> 7821Date: Sun Sep 28 18:40:55 2008 +0100 7822 7823 gschem: Add ./configure support for detecting and disabling cairo 7824 7825 Since some users might not have cairo installed, and the intention 7826 is to retain support for the old GDK drawing code (for now), 7827 --disable-cairo is added to allow conditional compilation. 7828 7829commit 9d9d09b0bddba85b5712cb063f3a6b806550cb3b 7830Author: Peter Clifton <pcjc2@cam.ac.uk> 7831Date: Sun Sep 28 18:40:55 2008 +0100 7832 7833 gschem: Bump minimum GTK / GLIB version requirement to 2.8 7834 7835 This is needed to enable the use of cairo rendering functions. 7836 7837 Remove AC_DEFINE for HAS_GTK24 since it isn't used. Switch configure.ac 7838 variables such as GTK24_... to use just GTK_..., since we don't need to 7839 specify the version in those. It just makes bumping the version harder. 7840 7841commit 900274f0d6b08031f7cfc18a332da6b1939a44d1 7842Author: Peter Clifton <pcjc2@cam.ac.uk> 7843Date: Sun Sep 28 18:40:55 2008 +0100 7844 7845 Fix non-literal format strings which cause compiler warnings. 7846 7847 We should be careful to avoid passing arbitrary strings into functions 7848 which take printf style arguments. In that case, always use the construct 7849 ("%s", string) rather than passing string as the format argument. 7850 7851 Some cases were fixed by using g_strdup instead of g_strdup_printf(), 7852 some simply replace printf() for puts(). 7853 7854commit d424abcf4e93934fd6268d9cb186f7415e0e83c2 7855Author: Ales Hvezda <ahvezda@seul.org> 7856Date: Sun Sep 28 13:21:42 2008 -0400 7857 7858 Removed unused OBJ_ROUTE and OBJ_THRU_HOLE object types 7859 7860commit 2550db8e1d981ccab55b7f2ae6e9932198a53b59 7861Author: Peter Clifton <pcjc2@cam.ac.uk> 7862Date: Sun Sep 28 01:03:06 2008 +0100 7863 7864 Make o_..._add() into o_..._new() which don't link the new OBJECT. 7865 7866 Allows cleaner use of objects where we might want to insert the object 7867 into a GList rather than a self-linked list of OBJECTs. 7868 7869commit b74ce15668b87380fb348a94aab6452eba6f5551 7870Author: Peter Clifton <pcjc2@cam.ac.uk> 7871Date: Sat Sep 27 22:58:09 2008 +0100 7872 7873 Use g_return_if_fail to exit o_drawbounding() if called with a NULL list. 7874 7875 Function previously returned silently, lets log this as an error 7876 condition if it should happen. 7877 7878commit 853f1ef289fb7ebd7406ede1e48940a07772a756 7879Author: Peter Clifton <pcjc2@cam.ac.uk> 7880Date: Sat Sep 27 22:50:20 2008 +0100 7881 7882 Remove some commented out code in x_window_create_main () (CODE!) 7883 7884 Tidyup where the window used to be painted black at startup. 7885 7886commit 0f93a4b4d52da6c7c34c6420cdb93263d5b5bbdc 7887Author: Peter Clifton <pcjc2@cam.ac.uk> 7888Date: Sat Sep 27 02:03:13 2008 +0100 7889 7890 Make use of new object invalidating API to avoid duplicated code. 7891 7892commit 04774120c0ab1701e10fcc2709cd3a9963d0a54f 7893Author: Peter Clifton <pcjc2@cam.ac.uk> 7894Date: Sat Sep 27 02:00:47 2008 +0100 7895 7896 Add API for invalidating drawing of a given object or list of objects. 7897 7898 Avoids needing to lookup and pass bounds of an object being invalidated. 7899 7900 Adds: 7901 void o_invalidate_all (GSCHEM_TOPLEVEL *w_current); 7902 void o_invalidate (GSCHEM_TOPLEVEL *w_current, OBJECT *object); 7903 void o_invalidate_list (GSCHEM_TOPLEVEL *w_current, OBJECT *list); 7904 void o_invalidate_glist (GSCHEM_TOPLEVEL *w_current, GList *list); 7905 7906commit 1fffc27a3b62cc32a70edcc1ee89ff458318c6bc 7907Author: Peter Clifton <pcjc2@cam.ac.uk> 7908Date: Fri Sep 26 00:57:52 2008 +0100 7909 7910 Add support for arbitrary paths (filled and unfilled) 7911 7912 The data-structures and on-disk format (which utiliseSVG style path 7913 strings) support stright line and bezier curve segments. Paths can be 7914 closed or open, and store line style and fill information in common with 7915 other geda objects. 7916 7917 The path string parser is based on (slightly modified) code from librsvg 7918 version 2.22.2 (LGPL). Code from rsvg-path.c and rsvg-bpath-util.c 7919 (Copyright (C) 2000 Eazel, Inc.) was combined to form libgeda/src/s_path.c. 7920 These have been modified to use gEDA defined path data structures. 7921 7922 The rendering implementation is based upon a small porion of the function 7923 rsvg_cairo_render_path (..) from rsvg-cairo-draw.c 7924 7925 The parser still retains support the full richness of SVG path strings, 7926 although all instructions are subsequently normalised on to move, line, bezier 7927 and "close path" records. This support retained for convenience when entering 7928 artwork (which can be copied from an SVG editor). When saved, normalised paths 7929 are written out. 7930 7931 The current rendering and shortest-distance computations are limited to 7932 straight line segments. Bezier segments, where encountered are treated 7933 as a straight line between their two endpoints. 7934 7935commit e9f4a9a4bb05bc554e165b2215f8e7358b2315de 7936Author: Peter Clifton <pcjc2@cam.ac.uk> 7937Date: Fri Sep 26 00:57:44 2008 +0100 7938 7939 Move some static variables inside o_grips.c to GSCHEM_TOPLEVEL 7940 7941 This is necessary for grip manipulation of more complex OBJECT types 7942 such as the forthcoming PATHs. As the entire drawing state can't of a 7943 path can't conveniently be stashed in the GSCHEM_TOPLEVEL variables 7944 such as first_w{x,y}, second_w{x,y} etc., we need to reference the 7945 OBJECT and grip being manipulated from the drawing functions which 7946 are outside o_grips.c. 7947 7948commit ec2e929742bb682be52d02818916b1f57c343e48 7949Author: Peter Clifton <pcjc2@cam.ac.uk> 7950Date: Wed Sep 24 01:07:37 2008 +0100 7951 7952 libgeda: Set complex_parent on all prim objects, not just their HEAD node 7953 7954 Allows a primitive object inside a COMPLEX to be linked back to the 7955 COMPLEX without traversing to the HEAD node of the prim_objs list. 7956 7957commit b14f3bf215963529b89f650ff3bd6f0b0c90450f 7958Author: Peter Clifton <pcjc2@cam.ac.uk> 7959Date: Wed Sep 24 00:57:57 2008 +0100 7960 7961 gschem: Don't add invalid attributes to the multiattrib dialog list 7962 7963 Since we can't edit them, don't treat them as attributes. 7964 7965 Gschem validates attributes upon creation, so an invalid attribute 7966 attached to an object must come from a hand-edited file, or a text 7967 object which has been attached to an object. (Validation that the 7968 text item is a valid attribute isn't performed in that code-path). 7969 7970 In the future we might want to add validation of attributes at 7971 file-load and at before attaching text OBJECTs to a COMPLEX. 7972 7973commit acb96234eed1e51ab22b17cd718d5f627d292a96 7974Author: Peter Clifton <pcjc2@cam.ac.uk> 7975Date: Mon Sep 22 02:05:14 2008 +0100 7976 7977 gschem: Fix left/right scroll events to move the schematic left/right. 7978 7979 Commit which broke this was 048bd6f8e2fc1c5f5b01ff3f1cad3a7c9bf43f3e. 7980 7981 Looks like I broke the behaviour when I refactored the x_event_scroll() 7982 to support a more "gtk" style modifier binding as well as the classic 7983 gschem behaviour. The refactored code inadvertently lumped up/down and 7984 left/right scroll events together as if they were up/down events. 7985 7986 Up/down scroll events retain their existing behaviour and act according 7987 to the (scroll-wheel "{gtk|classic}") configuration setting. Left/right 7988 scroll events now always scroll the schematic left and right, 7989 irrespective of modifier key. 7990 7991commit 45efb32383b15576cc98a95e1d93d44793e6f2e8 7992Author: Peter Clifton <pcjc2@cam.ac.uk> 7993Date: Mon Sep 22 01:54:24 2008 +0100 7994 7995 Move calls to attribute promotion code from inside o_complex_add() 7996 7997 Previously o_complex_add() would perform attribute promotion or delete / 7998 hide eligible attributes depending on the "attribute_promotion" argument 7999 passed to o_complex_add(). Break these into separate operations: 8000 8001 1. Get / add to OBJECT list, a single complex object with o_complex_add(). 8002 This object has its prim_objs exactly as the symbol exists on disk. 8003 2. EITHER: 8004 Promote the eligible attribtues with o_complex_promote_attribs(). 8005 (For GList based processing use o_complex_get_promotable(), attach 8006 the returned objects as attribs and place in the appropriate GList.) 8007 OR: 8008 Delete / hide eligible attributes with 8009 o_complex_remove_promotable_attribs() 8010 8011 All behaviour relating to attribute promotion should be identical after 8012 this commit. If not, it is a bug should be reported. (This includes the 8013 insertion order of the OBJECT and it's attributes into the object list). 8014 8015commit 9993a0c13cc1b1aa5bb0c61a7355e89cd8f37fca 8016Author: Peter Clifton <pcjc2@cam.ac.uk> 8017Date: Wed Sep 17 19:33:03 2008 +0100 8018 8019 Remove un-necessary use of o_list_search() 8020 8021 g_make_attrib_smob_list() and o_attrib_return_attribs() are passed the 8022 object they are operating on directly. There is no need to prove it can 8023 be found in the object list as well. 8024 8025commit 1745bca0359488bb6f8bd06d84f7ae952e48d665 8026Author: Peter Clifton <pcjc2@cam.ac.uk> 8027Date: Wed Sep 17 19:24:59 2008 +0100 8028 8029 Remove unused TOPLEVEL variable object_parent 8030 8031commit 7baf5c629eb620e7db9b3fa5837cc07bdfe29f4f 8032Author: Peter Clifton <pcjc2@cam.ac.uk> 8033Date: Thu Sep 11 21:36:35 2008 +0100 8034 8035 libgeda: Tidy o_attrib_attach() harder 8036 8037 Remove searching in parent_list for the attribute we're about to attach. 8038 This check isn't needed, we were passed the attribute as an argument. 8039 Let the caller be responsible for making sure it is linked into the 8040 appropriate object list. 8041 8042commit 29010f3c07076c31eaaf39a0209b6b9e8cd7cadd 8043Author: Peter Clifton <pcjc2@cam.ac.uk> 8044Date: Thu Sep 11 18:34:35 2008 +0100 8045 8046 Use gtk_window_set_transient_for() not a GObject property. Fix #2075842 8047 8048 Revert part of the changes made in 1aaf6613a7c6991d858c1143ed3917675a115a5a 8049 8050 Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8051 Date: Fri Jul 25 17:52:40 2008 +0200 8052 8053 Move selection monitoring out of the multi attrib widget. 8054 8055 Reinstated the 'object' property for multi attrib widget in place of 8056 the 'selection' one: the widget does not have to mess with selections, 8057 it is only interested in objects. Moved the selection watch stuff 8058 outside. 8059 8060 This commit changed an unrelated setting from using a widely supported API, 8061 to a GObject property only introduced in GTK+ 2.10. Changing it back now! 8062 8063commit b4ed5e92d203c7449b7d33e924a41b093e1de930 8064Author: Peter TB Brett <peter@peter-b.co.uk> 8065Date: Tue Aug 26 12:55:07 2008 +0100 8066 8067 Remove duplicate definitions of do_logging. 8068 8069 Also sets the default in libgeda to TRUE. 8070 8071commit 6a7ab649d6f77ccab9be7f3562197c2d15d92ee7 8072Author: Peter TB Brett <peter@peter-b.co.uk> 8073Date: Mon Aug 25 18:39:22 2008 +0100 8074 8075 gschem: Tidy list of source files. 8076 8077 Purely for readability of the Makefile.am. 8078 8079commit a974a4c6d2c233c9209c5b4597f7d4f86154f484 8080Author: Peter Clifton <pcjc2@cam.ac.uk> 8081Date: Sun Aug 24 22:27:28 2008 +0100 8082 8083 Remove default-series-name from all rc files 8084 8085 Fixes brokenness leftover from previous removal of "series_name". 8086 8087commit 9a54c6de1fa6af39ec97b8bb0cd1a251094ad3f1 8088Author: Peter Clifton <pcjc2@cam.ac.uk> 8089Date: Sun Aug 17 01:34:20 2008 +0100 8090 8091 Only explicitly switch object types which are "special" in o_move.c 8092 8093 For other objects, which should use the default move action, use the 8094 "default:" construct, rather than explicitly listing them in 8095 "case OBJ_...:" statements. This makes adding new objects types simpler. 8096 8097commit bcda75d109f12bc4d763bcaa05c08cbf3f0451c1 8098Author: Peter Clifton <pcjc2@cam.ac.uk> 8099Date: Sun Aug 17 01:33:56 2008 +0100 8100 8101 Remove some unused #defines from o_text.c 8102 8103commit a19feb2bf0e13ad3d030dfbb126a2b0558db6add 8104Author: Peter TB Brett <peter@peter-b.co.uk> 8105Date: Sat Aug 16 22:28:52 2008 +0100 8106 8107 Bring back default Postscript filename. 8108 8109 The print dialog has recently stopped providing a default filename for 8110 the Postscript output, due to a regression introduced in 8111 a3513b7e6dc7bf6c36d95d4da86082beeb79831d. 8112 8113commit 1a1460c65a9d4e0aee35e39fff0f083c95bd380d 8114Author: Peter Clifton <pcjc2@cam.ac.uk> 8115Date: Sat Aug 16 19:18:24 2008 +0100 8116 8117 Remove the ATTRIB struct as it only contained one variable. 8118 8119 The OBJECT.attribs GList now points directly at the text objects which 8120 hold and display the attribute name and value. 8121 8122commit 2fe94f7887ccf4b990bb285fc9def966ce857e0b 8123Author: Peter TB Brett <peter@peter-b.co.uk> 8124Date: Sat Aug 16 18:32:53 2008 +0100 8125 8126 gschem: Use accessors to get/set TEXT strings. 8127 8128 Don't access the TEXT struct directly. 8129 8130commit 6718a8d2187b4a871051eee299cef8bbbef02280 8131Author: Peter TB Brett <peter@peter-b.co.uk> 8132Date: Sat Aug 16 18:10:53 2008 +0100 8133 8134 gschem: Pass dialog to multiattrib treeview data funcs. 8135 8136 The cell data funcs for the multi-attribute editor dialog's treeview 8137 need to have access to a libgeda TOPLEVEL to be able to use 8138 o_text_get_string(). The obvious thing to do is to pass in a pointer 8139 to the dialog (which contains a pointer to the GSCHEM_TOPLEVEL, etc) 8140 as the user data pointer. 8141 8142commit 0865651615cf79b1392c34381cbee3095faa5a01 8143Author: Peter TB Brett <peter@peter-b.co.uk> 8144Date: Sat Aug 16 16:47:10 2008 +0100 8145 8146 gschem: Fixup installation of drawing callbacks. 8147 8148 Now libgeda properly declares them, can just set the function pointers 8149 in gschem's initialisation function. 8150 8151commit 1bfa2bacae85a59758c6b6ddb16bc62362b9ac7e 8152Author: Peter Clifton <pcjc2@cam.ac.uk> 8153Date: Sat Aug 16 15:48:00 2008 +0100 8154 8155 gschem: Add #define LAST_DRAWB_MODE_NONE -1 8156 8157 This flag will be used to indicate that the bounding box was not drawn 8158 onto the page at all yet. 8159 8160commit 288d9e67af83f03534398319d0e8ad16fa631fb0 8161Author: Peter Clifton <pcjc2@cam.ac.uk> 8162Date: Sat Aug 16 15:48:00 2008 +0100 8163 8164 Move gschem defines from libgeda into gschem/include/gschem_defines.h 8165 8166 Whilst we're at it, remove some unused definitions. 8167 8168commit 80f19b131300110c67d332193959e33f230f0b1d 8169Author: Peter Clifton <pcjc2@cam.ac.uk> 8170Date: Sat Aug 16 15:47:59 2008 +0100 8171 8172 gschem: Create new include file, "gschem.h" to various gschem headers 8173 8174commit a27996354d61af13a4f0a1eed2db4b979b7f148f 8175Author: Peter Clifton <pcjc2@cam.ac.uk> 8176Date: Sat Aug 16 15:47:59 2008 +0100 8177 8178 gschem: Pass GTK's CFLAGS into GSCHEM_CFLAGS. Don't rely on LIBGEDA_CFLAGS 8179 8180 libgeda really shouldn't be pulling in GTK, so we need to do it properly 8181 ourselves. 8182 8183commit 2e87904a34cd5ad58bc8a9511dd5915adf9df405 8184Author: Peter Clifton <pcjc2@cam.ac.uk> 8185Date: Sat Aug 16 15:47:58 2008 +0100 8186 8187 libgeda: Rename gtk_[outline_]color variables gdk_... to their types 8188 8189 Also added NULL initaliser for gdk_outline_color which was missing. 8190 8191commit 11a2692a1ab8bcee14178286fd719d1ec39e6b9a 8192Author: Peter TB Brett <peter@peter-b.co.uk> 8193Date: Sat Aug 16 15:24:16 2008 +0100 8194 8195 Draw func cleanup. 8196 8197 Rather than having libgeda require other applications to provide the 8198 *_draw_func symbols, libgeda should provide them itself. Other 8199 applications should then override them as required near their call to 8200 libgeda_init(). 8201 8202commit 62a38eefd8d3d9f84d8aeb78e2a1e365080d819c 8203Author: Peter TB Brett <peter@peter-b.co.uk> 8204Date: Fri Aug 15 22:48:11 2008 +0100 8205 8206 Make some string arguments const. 8207 8208 In a few places, strings are being passed into functions and no 8209 changes are made to them. Mark these arguments as const. 8210 8211commit 11fa9b447a32bbee93734628233f6ca5b807c740 8212Author: Peter Clifton <pcjc2@cam.ac.uk> 8213Date: Fri Aug 15 12:36:53 2008 +0100 8214 8215 gschem: Only add nets and buses to the stretch list. (CODE THIS TIME!) 8216 8217 Only nets and buses are rubberbanded, so there is no point adding other 8218 connected items (such as pins) into the stretch list. 8219 8220 This fixes a bug where pins attached to nets being moved disappear if 8221 the user pans whilst moving. (The objects in the stretch list are marked 8222 "don't redraw" when starting a move operation.) 8223 8224 To avoid nesting (yet another) huge "if" clause in the length of the loop 8225 in o_move_check_endpoint(), the loop has been re-written as a "for" loop 8226 to ensure its iterator is incremented when the loop is "continue"'d. 8227 The various nested : if (test) {...} // wrapping the loop's core 8228 are now: if (!test) continue; 8229 8230commit 25c4e8e0a45dbe9abe664be23240eafd903e7814 8231Author: Peter Clifton <pcjc2@cam.ac.uk> 8232Date: Fri Aug 15 11:26:26 2008 +0100 8233 8234 Check toplevel->DONT_REDRAW before redrawing text 8235 8236 There is no point in trying to draw text if it is not wanted on screen. 8237 Rendering of the underlying line-segments would just be stopped anyway 8238 in o_line_draw(), where there is also such a test. 8239 8240commit 675738b3b7a0c37e3511297040c3abc59619dd0c 8241Author: Peter TB Brett <peter@peter-b.co.uk> 8242Date: Thu Aug 14 23:27:12 2008 +0100 8243 8244 libgeda: Hide o_*_recalc() from public API. 8245 8246 Applications which wish to force recalculation of an OBJECT's bounds 8247 should use o_recalc_single_object(). 8248 8249commit 8f1a084c1e26cc08cdab08a1c44e7e802cbdbec8 8250Author: Peter TB Brett <peter@peter-b.co.uk> 8251Date: Thu Aug 14 23:27:12 2008 +0100 8252 8253 libgeda: Hide world_get_*_bounds() from public API. 8254 8255 Applications which wish to retrieve an OBJECT's bounds should use 8256 world_get_single_object_bounds(). 8257 8258commit a504567fa312888bd3e467f01f68eadaf6c0440d 8259Author: Peter TB Brett <peter@peter-b.co.uk> 8260Date: Thu Aug 14 18:45:47 2008 +0100 8261 8262 gschem: Add 1.6 compat. for scm_from_locale_symbol() [2051731] 8263 8264 The new Scheme prompt in gschem uses scm_from_locale_symbol(), which 8265 isn't present in Guile 1.6.x. Add it to the compatibility layer. 8266 8267commit 57815bd72e62999193641f301af9184c0d524cf6 8268Author: Peter TB Brett <peter@peter-b.co.uk> 8269Date: Wed Aug 13 23:30:35 2008 +0100 8270 8271 Print command is a gschem setting. 8272 8273 Move print command from TOPLEVEL to GSCHEM_TOPLEVEL, and move static 8274 defaults too. 8275 8276commit 19f5e9965dc12818b0d4f2771b020989065a83fb 8277Author: Peter TB Brett <peter@peter-b.co.uk> 8278Date: Wed Aug 13 23:30:35 2008 +0100 8279 8280 gschem: Add infrastructure for string options. 8281 8282 There are still some gschem settings in libgeda just because they take 8283 string values. This patch makes it possible to boot them out. 8284 8285commit 46eda8a55b9197f7a24d5b04ff94cedc1abc74fe 8286Author: Peter TB Brett <peter@peter-b.co.uk> 8287Date: Wed Aug 13 23:06:03 2008 +0100 8288 8289 Name i_vars_... functions consistently. 8290 8291 Apps should use i_vars_blah(), libgeda uses i_vars_libgeda_blah(). 8292 8293commit 0fe03039f1eda8b1c2aab1701948532513e920fe 8294Author: Peter TB Brett <peter@peter-b.co.uk> 8295Date: Wed Aug 13 22:38:44 2008 +0100 8296 8297 gschem: Don't use default_scheme_directory. 8298 8299 gschem uses default_scheme_directory to find gschem.scm. It doesn't 8300 need to, because libgeda should have already set the Guile load path 8301 correctly by this point. 8302 8303commit b26a13cbf455297ab27702fb9964e947e83bd30b 8304Author: Peter TB Brett <peter@peter-b.co.uk> 8305Date: Wed Aug 13 15:06:43 2008 +0100 8306 8307 Revert "Fix for dialogs drifting downwards on Cygwin/X." 8308 8309 This reverts commit d86ac8ce4b16d41699ec64a3d88fd8d2c760b770. The 8310 effects were so annoying on non-broken X servers that another solution 8311 needs to be found. 8312 8313commit 6f42af29cfe5c70203ce6b881d48d904c1bb0fc7 8314Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8315Date: Wed Aug 13 02:18:41 2008 +0100 8316 8317 o_grips_start(): Propagate world coords of pointers to o_grips_start_*() 8318 8319 The (unused) x and y parameters to o_grips_start_*() were previously 8320 passed as 0, 0. 8321 8322 It seems obviously right to me to propagate w_x and w_y, even if the 8323 target object pulls the pointer position out of w_current again, which 8324 itself is quite evil. 8325 8326commit 0db6ea2341ce7cc8c631df75c4d3c30390590b29 8327Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8328Date: Wed Aug 13 01:55:59 2008 +0100 8329 8330 Split OBJECT allocation from its initialization. 8331 8332 Split memory allocation for OBJECTs out of s_basic_init_object(). Add a 8333 new helper function s_basic_new_object() which allocates memory for the 8334 OBJECT structure, then calls s_basic_init_object(). 8335 8336 These changes make it possible to embed an OBJECT structure within 8337 another struct, or to initialise an OBJECT in static memory. 8338 8339 (Patch modified by Peter Clifton) 8340 8341commit 0d28977cd5e275a799ec3773f302ddf9b9544fd3 8342Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8343Date: Wed Aug 13 01:48:12 2008 +0100 8344 8345 gschem: Erase the newly placed attribute before changing its position. 8346 8347 Changing the position first then erasing causes the wrong bounding 8348 rectangle on the screen to be invalidated. We need to invalidate the 8349 bounding rectangle of the *old* position. 8350 8351commit 6c9b043233a645f6293d62f5a8c598cd5f95940b 8352Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8353Date: Wed Aug 13 01:33:45 2008 +0100 8354 8355 o_picture_rubberbox(): Update comments to reflect reality. 8356 8357 Coordinates passed are in world units, not screen. 8358 8359commit 7bdd0362b87bcfc29a647f650a2d610465314526 8360Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8361Date: Wed Aug 13 01:33:45 2008 +0100 8362 8363 o_arc_rubberarc(): Document the effect of moving each grip. 8364 8365 The documentation was elsewhere far away. Moving it closer to the 8366 arc moving code mitigates the "action at a distance" antipattern. 8367 8368commit 17c64b764cb42afc8d5b80a66361029655dd644b 8369Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8370Date: Tue Aug 12 23:36:35 2008 +0100 8371 8372 s_basic_init_object(): Set OBJECT type according to new parameter. 8373 8374commit 235d219c4c9b96409cd4b95be3960e7e9f2689eb 8375Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8376Date: Tue Aug 12 23:36:35 2008 +0100 8377 8378 Add header guard. 8379 8380commit 3d09a3fffd1f97816583ca92d73d0c792646bf2e 8381Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8382Date: Sun Aug 10 00:19:01 2008 +0200 8383 8384 Rather pass the user-supplied scripting command to a scheme dispatcher. 8385 8386 Passing the command to a scheme dispatcher gives the configuration files 8387 an opportunity to define the language in which these scripting commands 8388 are interpreted. It doesn't really need to be scheme, but it is for now. 8389 8390 (New patch with changes suggested by Peter TB Brett.) 8391 8392commit 4ef611b6e1cc6eb47538148ce1d196d495313969 8393Author: Edward Hennessy <ehennes@sbcglobal.net> 8394Date: Fri Jul 18 20:24:46 2008 -0700 8395 8396 Altered point selection mechanism to use distance instead of just a bounding box. 8397 8398 This patch improves the mechanism used to select objects when using a single 8399 point. In addition to using the bounding box, this patch calculates the 8400 distance between the selection point and the object itself. This calculated 8401 distance provides a more accurate means to determine the actual object the user 8402 selected. 8403 8404 Signed-off-by: Peter TB Brett <peter@peter-b.co.uk> 8405 8406commit 371c37024225e506b1018445e61f4392e13d7db9 8407Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8408Date: Thu Aug 7 01:19:04 2008 +0200 8409 8410 Make the current page accessible to scheme. 8411 8412 Signed-off-by: Peter TB Brett <peter@peter-b.co.uk> 8413 8414commit 4f7b81ccb2246c8eae803ce13dd3927f5743b3ad 8415Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8416Date: Wed Aug 6 23:40:26 2008 +0200 8417 8418 Don't expect a "rest" argument in the i_callback_*() functions. 8419 8420commit d86ac8ce4b16d41699ec64a3d88fd8d2c760b770 8421Author: Cesar Strauss <cestrauss@gmail.com> 8422Date: Sun Sep 16 16:56:18 2007 -0300 8423 8424 Fix for dialogs drifting downwards on Cygwin/X. 8425 8426 On Cygwin/X, reopening a gschem dialog restores its original position, 8427 but with a small vertical offset. 8428 8429 The workaround is to show the dialog before restoring its position. 8430 8431 The docs for gtk_window_move() offer a possible justification: 8432 "Most window managers ignore requests for initial window positions 8433 (instead using a user-defined placement algorithm) and honor requests 8434 after the window has already been shown." 8435 8436 The downside is, if you have a slow system, you could see the dialog 8437 appear briefly at the old position, I suppose. 8438 8439commit 713225e719fa1bab8bc4b31dfc3cd50ea6c44f4e 8440Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8441Date: Tue Jul 8 02:15:46 2008 +0200 8442 8443 Add the magic colon to the global keymap. 8444 8445commit cae8edda94f240d5bbdae08d6f8b67a037e0e6ba 8446Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8447Date: Tue Jul 8 01:13:49 2008 +0200 8448 8449 Use g_scm_c_eval_string_protected() so we don't crash on bad forms. 8450 8451commit 57fc3a940f9609b45d26cb73b696ffcd1df15c58 8452Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8453Date: Mon Jul 7 04:46:19 2008 +0200 8454 8455 Invoke scheme forms from a command prompt below the drawing area. 8456 8457commit 61255c9b68aeae2ae845eea82babf445036a72f1 8458Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8459Date: Sat Aug 2 12:11:19 2008 +0100 8460 8461 Allow key bindings to accept a REST argument list. 8462 8463 In order to support adding optional arguments to key bindings, the 8464 function signature of ALL the bindings has to change. 8465 8466 Supply REST (if available) or SCM_EOL (no extra arguments) where the 8467 caller is a C function. 8468 8469 Conflicts merged by Peter B: 8470 8471 gschem/include/prototype.h 8472 gschem/src/x_event.c 8473 8474commit da5b6b6ae5848d988c22ed5528917bf050a54a2d 8475Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 8476Date: Thu Jan 17 03:12:39 2008 +0200 8477 8478 Desensitise function signature to function pointer parameters. 8479 8480 func_ptr gets assigned to last_callback anyway, which itself 8481 does not specify any formal parameters. 8482 8483commit 1e247aeb7a4f568578bd8612f886d7f64f24c858 8484Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8485Date: Fri Aug 1 14:37:48 2008 +0200 8486 8487 Keep raising the page changed flag local to mutation for o_attrib_toggle_*(). 8488 8489 Reverted the settings of the CHANGED flag in o_attrib_toggle_*(): they 8490 had been moved inadvertently to i_callback_*() functions (see commits 8491 903e06d9fc9253e87e530bfaec2e8386664d464f and 8492 fd51b8163c5af2d8124dc7afb1ca1c4bfa944fe6) while they really should 8493 stay close to where the object is modified. 8494 8495 Problem reported by Bernd Jendrissek on gEDA-dev. 8496 8497commit f154fcb921e75e7940e0b4dbd9ad5bab6a61e704 8498Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8499Date: Sat Jun 28 12:14:00 2008 +0200 8500 8501 Enable promotion of attributes when adding a component from guile. 8502 8503 g_add_component()/add-component-at-xy was adding component with 8504 attribute promotion turned off. This change fixes bug [#1932474]. 8505 8506commit 0c8b23528692e0d9406503a400c71dd458cea878 8507Author: Peter Clifton <pcjc2@cam.ac.uk> 8508Date: Tue Jul 29 03:26:07 2008 +0100 8509 8510 Remove the unused TEXTENTRY state 8511 8512commit a90588ec6566f944756800f38f74a02f867dca87 8513Author: Peter Clifton <pcjc2@cam.ac.uk> 8514Date: Tue Jul 29 03:18:39 2008 +0100 8515 8516 Remove the TOPLEVEL variable internal_symbol_name which is now redundant. 8517 8518 Also removes functions which set and free'd this variable: 8519 o_complex_set_filename() 8520 o_complex_free_filename(). 8521 8522commit d1ff81f8d8a1d18781f8cb7c4476417947a61cec 8523Author: Peter Clifton <pcjc2@cam.ac.uk> 8524Date: Tue Jul 29 03:18:38 2008 +0100 8525 8526 Remove the TOPLEVEL variable current_attribute which is now redundant. 8527 8528 Also removes functions which set and free'd this variable: 8529 o_attrib_set_string() 8530 o_attrib_free_current(). 8531 8532commit d3b75982a9507c05cb2699ae9d875fa344608196 8533Author: Peter Clifton <pcjc2@cam.ac.uk> 8534Date: Tue Jul 29 03:11:27 2008 +0100 8535 8536 Add support for rotating whilst placing 8537 8538 Due to the consolidation of the OBJECT place code, rotation can now 8539 work across uniformly various different placemenet actions. 8540 8541commit 0eea7587957ef3e01c2d1942d7bc6c940c237e4a 8542Author: Peter Clifton <pcjc2@cam.ac.uk> 8543Date: Tue Jul 29 03:05:11 2008 +0100 8544 8545 Remove un-necessary variable w_current->rotated_inside. 8546 8547 The rotation of placed objects is always started at zero degrees, and 8548 since the rework of the copy / place code, is done on the fly. Remove 8549 the old code to track the angle rotated during placement. 8550 need to track the rotation angle 8551 8552commit 1e4eb30f7cab3f3cb9e49478ed05d24cba99858b 8553Author: Peter Clifton <pcjc2@cam.ac.uk> 8554Date: Tue Jul 29 03:05:02 2008 +0100 8555 8556 Remove un-necessary variable w_current->complex_rotate. 8557 8558 The rotation of placed objects is always started at zero degrees, and 8559 since the rework of the copy / place code, is done on the fly. Remove 8560 the old code to track the angle rotated during placement. 8561 need to track the rotation angle 8562 8563commit aa7fb5c523e57cf7e3bbb4224e0ffbbf524ab95e 8564Author: Peter Clifton <pcjc2@cam.ac.uk> 8565Date: Tue Jul 29 03:04:24 2008 +0100 8566 8567 Consolidate specialised o_..._rubber...() and o_..._rubber...__xor() 8568 8569 Since these operations now use the same place list, we can share code. 8570 8571commit e931091e28f90e7bd0f755ee30665cc5b7461b74 8572Author: Peter Clifton <pcjc2@cam.ac.uk> 8573Date: Tue Jul 29 03:00:59 2008 +0100 8574 8575 gschem: Combine code for operations which handle placement of OBJECTs. 8576 8577 Replaces duplicated code related to component / text placement, copying / 8578 multi-copying objects and pasting from buffers with a common set of 8579 routines in the new file, gschem/src/o_place.c 8580 8581 This refactoring lays the foundation to allow rotatation / mirroring whilst 8582 performing any kind of place action, without extensive duplicate code. 8583 8584 All of the above operations now use a new PAGE variable, "place_list", 8585 rather than previous specialised variants complex_place_list, and 8586 attrib_place_list. Paste-buffer contents are copied into the place list, 8587 rather than placing directly from the paste-buffer, ensuring that any 8588 rotation / mirroring of the place-buffer does not change the paste-buffer. 8589 8590 Helper functions, o_text_prepare_place() and o_complex_prepare_place() are 8591 added to load the place list with appropriate text, or a symbol. These are 8592 passed as arguments to the respective functions, avoiding the use of state 8593 stored in toplevel->current_attribute and toplevel->internal_symbol_name. 8594 8595commit d0d18117a483029a61077a792203df5bd1a7f22a 8596Author: Peter Clifton <pcjc2@cam.ac.uk> 8597Date: Tue Jul 29 01:47:11 2008 +0100 8598 8599 Don't drop artifacts when redrawing in the middle of a move operation 8600 8601 The nets being rubberbanded should not be redrawn in their original 8602 positions, so we set the "dont_redraw" flag on the rubberband objects 8603 to ensure they are not drawn (in their un-stretched position) during 8604 screen updates. We unset the flag in o_move_end() and o_move_cancel(). 8605 8606commit 1ecd2a345ba49d7eb428d528d056f2c9f5e9b590 8607Author: Peter Clifton <pcjc2@cam.ac.uk> 8608Date: Tue Jul 29 01:40:20 2008 +0100 8609 8610 gschem: Move freeing stretch list of to after move operation is ended 8611 8612 Previously, the stretch list was left stale with pointers after a move 8613 operation, and only cleared when commencing a new move. By clearing it 8614 after each move operation (completed, or cancelled), we can ensure its 8615 contents are always valid. 8616 8617 This is important so that at the end / cancellation of a move operation, 8618 we can operate on the stretch list without danger it was not up-to-date. 8619 If a move operation is started with rubberbanding disabled, and the user 8620 subsequently activates rubberbanding (during the move) with a key-stroke, 8621 stale pointers in the stretch list may have been dereferenced in error. 8622 8623commit cc5ea879b0ccfc7815b43b30ddfae13941aff4eb 8624Author: Peter Clifton <pcjc2@cam.ac.uk> 8625Date: Tue Jul 29 01:20:04 2008 +0100 8626 8627 Add OBJECT flag "dont_redraw", to skip drawing individual objects. 8628 8629 This flag is to be useful when handling move operations which hide 8630 rubberbanded objects on the page whilst a temporary copy is manipulated 8631 on screen. 8632 8633commit 29600e269da20822ec0443024c63cb5e0ae34ea2 8634Author: Peter Clifton <pcjc2@cam.ac.uk> 8635Date: Mon Jul 28 00:44:55 2008 +0100 8636 8637 Add redraw for items being placed from paste-buffer in o_redraw_all() 8638 8639 Added missing "w_current->inside_action = 1;" to o_buffer_paste_start(), 8640 noticed when the new redraw added didn't work on its own. 8641 8642 Fixes ghosts left when zooming whilst pasting from a buffer. 8643 8644commit 1dc71988f58df1bbe828aebacc5d81d7bd21b954 8645Author: Peter Clifton <pcjc2@cam.ac.uk> 8646Date: Mon Jul 28 00:40:13 2008 +0100 8647 8648 Always "undo" when cancelling from a move action 8649 8650 The undo state is always saved in o_move_start(), so when cancelling 8651 from a move action we should always undo. 8652 8653 Adds helper function o_move_cancel() to avoid code duplication 8654 of the various operations when cancelling a move action. 8655 8656commit 03056b53bfe6865d77c585bb7d190ce4f2aa0cd6 8657Author: Peter Clifton <pcjc2@cam.ac.uk> 8658Date: Mon Jul 28 00:29:33 2008 +0100 8659 8660 Add o_move_rubbermove_xor() 8661 8662 Make use of o_move_rubbermove_xor() throught the code to avoid 8663 duplication of o_drawbounding() calls. 8664 8665commit a3ee37bbb4a87379a129d6993e175136416721da 8666Author: Peter Clifton <pcjc2@cam.ac.uk> 8667Date: Mon Jul 28 00:27:13 2008 +0100 8668 8669 Adjust scroll pan increment to be finer 8670 8671 Scrolling in a smaller steps gives a greater degree of control when 8672 navigating around the schematic, with a (subjective) improvement to 8673 usability. 8674 8675 This commit changes the number of scroll events required to traverse 8676 the viewed area from 4 to 8. 8677 8678commit 78f18664289a29ca137c341fac9c7bbceb17cd06 8679Author: Peter Clifton <pcjc2@cam.ac.uk> 8680Date: Mon Jul 28 00:27:12 2008 +0100 8681 8682 Change default zoom-gain to from 50%, to 20% increase in size. 8683 8684 Zooming in a smaller amount gives a greater degree of control when 8685 navigating around the schematic, with a (subjective) improvement to 8686 usability. 8687 8688commit 20bd89fa6fd55d757194bd7d0143f8b9fff58ee7 8689Author: Peter Clifton <pcjc2@cam.ac.uk> 8690Date: Mon Jul 28 00:27:11 2008 +0100 8691 8692 Make size of panning steps with the mouse scroll wheel adjustable 8693 8694 The new gschemrc function, (scrollpan-steps integer) controls how many 8695 scroll wheel events are required to pan across the viewed area of the 8696 schematic. 8697 8698 The default setting keeps gschem's previous hard-coded behaviour of 4 8699 scroll events (in a particular direction) across the viewed area. 8700 8701commit 59cf57b8eb960b5e8041778d5377c160a4af57d3 8702Author: Peter Clifton <pcjc2@cam.ac.uk> 8703Date: Sun Jul 27 23:50:55 2008 +0100 8704 8705 Make the "gain" of zoom in / out operations an adjustable parameter. 8706 8707 The new gschemrc function, (zoom-gain integer) controls the percentage 8708 size increase when zooming into the page. Zooming out uses the inverse 8709 factor such that a zoom in followed by a zoom out will return the 8710 schematic to the same size. 8711 8712 E.g: 8713 20% increment => x 1.2 original size when zooming in 8714 => x 1 / 1.2 x original size when zooming out 8715 8716 The default gain keeps gschem's previous hard-coded behaviour of zooming in 8717 by a factor of 1.5. This is now specified with the command (zoom-gain 50). 8718 8719commit 6802a78d5a19069919e4524530b91c34c1d099fe 8720Author: Peter Clifton <pcjc2@cam.ac.uk> 8721Date: Sun Jul 27 02:22:22 2008 +0100 8722 8723 gschem: Activating component selector rows expands / contracts groups 8724 8725 Observation of a user working with gschem showed that opening the groups 8726 of components from varous libraries was not particularly discoverable to 8727 a user not familiar with GTK. The user was noticed to be double-clicking 8728 the library sub-groups, rather than identifying the expander arrow. 8729 8730 Fix this usibility issue by making double click, and other row-activation 8731 methods expand / contract the library groups. Keyboard navigation 8732 (where space / return activate given rows) is also easier now. 8733 8734commit b02d9540d1bc0cdcfd5935f84bf8ee2f52dde2bd 8735Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8736Date: Fri Jul 25 17:52:41 2008 +0200 8737 8738 Use functions from o_select.c rather than low-level geda_list functions. 8739 8740commit 1aaf6613a7c6991d858c1143ed3917675a115a5a 8741Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8742Date: Fri Jul 25 17:52:40 2008 +0200 8743 8744 Move selection monitoring out of the multi attrib widget. 8745 8746 Reinstated the 'object' property for multi attrib widget in place of 8747 the 'selection' one: the widget does not have to mess with selections, 8748 it is only interested in objects. Moved the selection watch stuff 8749 outside. 8750 8751commit 4ad46d1b431bceb665fdd45778345118dfc1d414 8752Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8753Date: Fri Jul 25 17:52:34 2008 +0200 8754 8755 Limit scope of gschem x_color_allocate_all(). 8756 8757commit 67bb084eef2f0e97bd9573fdea0faa5dfd2e53bc 8758Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8759Date: Fri Jul 25 17:52:33 2008 +0200 8760 8761 Move color-related stuff from x_window.c to x_color.c. 8762 8763 Renamed x_window_setup_colors() and x_window_free_colors() to 8764 x_color_init() and x_color_free() respectively. And moved them to 8765 x_color.c 8766 8767commit d96ad3c39121d6c7e32128493d5445f0825f1751 8768Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8769Date: Fri Jul 25 17:52:32 2008 +0200 8770 8771 Cleanup the stroke interface. 8772 8773 Improved the API and memory allocation, added documentation. 8774 8775commit 19aab8901a7519879231c680060f89a69c125e85 8776Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8777Date: Fri Jul 25 17:52:31 2008 +0200 8778 8779 Modify o_attrib_toggle_show_name_value() to work on a single object. 8780 8781commit 306d5722847b4d8c152bd369bc68846b9a19abb0 8782Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8783Date: Fri Jul 25 17:52:30 2008 +0200 8784 8785 Modify o_attrib_toggle_visibility() to work on a single object. 8786 8787commit 658516c080eae8d78685113e48290bb291af0715 8788Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8789Date: Fri Jul 25 17:52:29 2008 +0200 8790 8791 Add new function to delete any object. 8792 8793 Added o_delete() as replacement for individual object deletion 8794 function. Adapted o_delete_selected() accordingly. 8795 8796commit 64a6741c858de019ab26058afcc417b821d37117 8797Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8798Date: Fri Jul 25 17:52:28 2008 +0200 8799 8800 Merge cue undrawing functions for complex and objects. 8801 8802 Merged o_cue_undraw() and o_cue_undraw_complex(). Also added 8803 documentation. 8804 8805commit 0cdcdf4cfe8bf3c6aa078b91e5696a26f7a60f23 8806Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8807Date: Fri Jul 25 17:52:27 2008 +0200 8808 8809 Add new function to erase grips on any object. 8810 8811commit 37eaad0765b34e85275706b6cffbc73ec9b5c4cd 8812Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8813Date: Fri Jul 25 17:52:26 2008 +0200 8814 8815 Rename o_delete() to o_delete_selected(). 8816 8817commit 83de2270e9d0f159975e833e1fec213f952c7315 8818Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8819Date: Fri Jul 25 17:52:25 2008 +0200 8820 8821 Remove o_complex_delete(). 8822 8823 Removed function as s_delete() does the same thing. 8824 8825commit b86ffc45f699781c220153e2390a54f8b823a930 8826Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8827Date: Fri Jul 11 16:03:16 2008 +0200 8828 8829 Refactor hierarchy function searching for parent page. 8830 8831 Renamed s_hierarchy_up() to s_hierarchy_find_up_page() for consistency 8832 and modified it to return a pointer on the page found (as other 8833 hierarchy find functions) instead of changing the current 8834 page. Added description. And finally adapted gschem for this 8835 refactoring. 8836 8837commit 06dc1e65b688f88695e47dd38cd9022eb67bbb7c 8838Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8839Date: Fri Jul 11 16:03:15 2008 +0200 8840 8841 Simplify prototype of functions for searching pages in hierarchy. 8842 8843 Removed 3rd parameter to s_hierarchy_find_[next|prev]_page(): now 8844 explicitly search for sibling page of page in 2nd parameter. Also 8845 added description for functions. 8846 8847commit 6b15947087caebaa4c85805799362c169e09adba 8848Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8849Date: Fri Jul 11 16:03:14 2008 +0200 8850 8851 Rename s_hierarchy_find_page() to s_page_search_by_page_id(). 8852 8853 Moved s_hierarchy_find_page() to libgeda s_page.c and renamed to 8854 s_page_search_by_page_id(). Also added description. 8855 8856commit 57a4fd272e10a68e05051a9ab9309e252e2103f7 8857Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8858Date: Fri Jul 11 16:03:12 2008 +0200 8859 8860 Purge AC_CHECK_FUNCS() in configure.ac in each package of unused functions. 8861 8862commit c50ba14cea1d60e21d587164612b1866d8e58bba 8863Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8864Date: Fri Jul 11 16:03:10 2008 +0200 8865 8866 Replace case conversion functions with GLib functions. 8867 8868 Now use GLib case conversion functions, with the added benefit of UTF8 8869 support, instead of libgeda string_tolower() and 8870 string_toupper(). Consequently these two functions have been removed. 8871 8872commit fa54e090d67849762c83231557bc6047bf035a03 8873Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8874Date: Fri Jul 11 16:03:08 2008 +0200 8875 8876 Cleanup detection of attribute when editing text object in gschem. 8877 8878 Modified the verification on the text object in gschem o_edit() to use 8879 o_attrib_get_name_value() instead of local custom testing code. 8880 8881commit 872287f23b4880b01babed777efe7976783feab2 8882Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8883Date: Fri Jul 11 16:03:05 2008 +0200 8884 8885 Cleanup of libgeda o_attrib_get_name_value(). 8886 8887 Rewrote o_attrib_get_name_value(): it now has support for UTF-8 8888 attribute strings ; plus it can return only the name or the value or 8889 both name and value. 8890 8891 Finally adapted code wherever it can benefits this new feature. 8892 8893commit 5d97c15d614030eb32ddc30e316fadd4d1416c6c 8894Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8895Date: Fri Jul 11 16:03:03 2008 +0200 8896 8897 Fix memory leak in gschem. 8898 8899 When processing file names passed on command line, the pathname built 8900 for each one was not freed. 8901 8902commit a76cf5cdda91c7070f4765107d3f8be89bbd05b6 8903Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8904Date: Fri Jul 11 16:03:01 2008 +0200 8905 8906 Remove unnecessary strippings of trailing directory separator. 8907 8908 These strippings is no more necessary as GLib functions for building 8909 filenames (in particular g_build_filename()) takes care of any 8910 trailing directory separator for us. 8911 8912commit cd70e88b8c7faa4beea8b13b846e92807a252e63 8913Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8914Date: Fri Jul 11 16:03:00 2008 +0200 8915 8916 Replace getcwd() with g_get_current_dir(). 8917 8918commit 90b0ece453efc80490c6c277386f4f5f7bfdc4af 8919Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8920Date: Fri Jul 11 16:02:59 2008 +0200 8921 8922 Simplify build of filenames with g_build_filename() (!). 8923 8924 Modified code where possible to use preferably g_build_filename() 8925 instead of g_build_path(), or g_strconcat() and friends. 8926 8927commit a3513b7e6dc7bf6c36d95d4da86082beeb79831d 8928Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8929Date: Fri Jul 11 16:02:57 2008 +0200 8930 8931 Replace standard string manipulations with GLib string utility functions. 8932 8933commit da1d2e7b304f9d832bdee9c8dfb9fe4604e19cc9 8934Author: Patrick Bernaud <b-patrick@wanadoo.fr> 8935Date: Fri Jul 11 16:02:56 2008 +0200 8936 8937 Remove tests for NULL prior to freeing with g_free(). 8938 8939 Testing if pointer on memory to free is not NULL is unnecessary 8940 since g_free() does the test itself. 8941 8942commit 21bdf2fbbad2146234fd32a0fe04bddcaddb64f8 8943Author: Ales Hvezda <ahvezda@seul.org> 8944Date: Sun Jul 6 22:21:00 2008 -0400 8945 8946 Updated versions in the important man pages 8947 8948commit 8479d01b6a4a819ae105659a9b9f1e6ab2d85136 8949Author: Ales Hvezda <ahvezda@seul.org> 8950Date: Sun Jul 6 22:03:02 2008 -0400 8951 8952 Updated all ChangeLogs by running ./update-changelogs.sh 1.0-20070526..master 8953 8954commit 8773525a45c1e33a2f020ac511f628e04ff373b9 8955Author: Ales Hvezda <ahvezda@seul.org> 8956Date: Sun Jul 6 22:01:37 2008 -0400 8957 8958 Ran make update-po in all po directories (in prep for a new release) 8959 8960commit 2740891d2b1a2e9b8ad0ef27ef1cb54ec47f9b74 8961Author: Ales Hvezda <ahvezda@seul.org> 8962Date: Sun Jul 6 21:51:28 2008 -0400 8963 8964 Removed some m4 files which no longer exist 8965 8966commit 97c1b01e1c95d2f8a334d916ffc60d35797782c2 8967Author: Ales Hvezda <ahvezda@-e false.(none)> 8968Date: Sun Jul 6 09:34:01 2008 -0400 8969 8970 Fixed up all icon-theme-installer files to work with non-bash 8971 8972 Grabbed the latest icon-theme-installer files from the pcb repository 8973 since they have been fully patched to work with non-bash shells. On 8974 my ubuntu system, /bin/sh is linked to dash which prevented me from 8975 running the previous version of icon-theme-installer. This commit 8976 is related to a7e7a28613abe4705ec01011d0f4308ff024251b 8977 8978commit 7ae9572f269c8b973bb4a38014e28dbc10cdcb32 8979Author: Ales Hvezda <ahvezda@-e false.(none)> 8980Date: Sun Jul 6 08:38:24 2008 -0400 8981 8982 Bumped versions to 1.5.0/20080706/34:0:0 for the next development release 8983 8984commit a7e7a28613abe4705ec01011d0f4308ff024251b 8985Author: Carlos Nieves Onega <cnieves@iespana.es> 8986Date: Sun Jun 29 19:00:10 2008 +0200 8987 8988 Changed shell from bash to sh in icon-theme-installer 8989 8990 Changed shell from bash to sh in icon-theme-installer. 8991 This commit is still not tested in non-bash systems. 8992 8993 Applied partially geda patch #1978537 (only bash to sh 8994 change, not removal of $INSTALL_DATA_EXEC check) from 8995 anonymous contributor and Dan McMahill's test case 8996 change in line 103 from: 8997 8998 http://pcb.cvs.sourceforge.net/pcb/pcb/icon-theme-installer?r1=1.1&r2=1.2 8999 9000commit 55b378f5eddc78f0f3f48c83f401e454323d9bd9 9001Author: Werner Hoch <werner.ho@gmx.de> 9002Date: Fri May 23 17:02:51 2008 +0200 9003 9004 gschem: use pointer from drawing area in preview and x_attribedit 9005 9006 The preview widget used in the file dialog and in the component dialog is 9007 now using the pointer from the drawing area, too. The motion event function that tracked the pointer is no longer required. 9008 9009 The attribedit dialog used the mouse_wx/y variables to set the attribute 9010 postion when activated with the hotkey. This usage has been removed. 9011 9012 Removed all mouse_wx/y occurences in x_event and in the global.h file. 9013 This variables are completly gone now. 9014 9015commit 5681a43743b2ccfdf246679ad78f186b5a7f1f14 9016Author: Werner Hoch <werner.ho@gmx.de> 9017Date: Fri May 23 16:54:28 2008 +0200 9018 9019 gschem: use pointer from drawing area for all gschem callbacks 9020 9021 The global variable for the pointer mouse_wx/y are no longer used. 9022 The zoom and panning actions have a unsnapped position again. 9023 Note: If the pointer is outside the drawing area and a hotkey action 9024 is triggered the action will be ignored. 9025 9026commit 0b0100eefa31acbd56f41ca639856da904645e74 9027Author: Werner Hoch <werner.ho@gmx.de> 9028Date: Fri May 23 10:22:25 2008 +0200 9029 9030 gschem: added function to get the pointer from the drawing area 9031 9032 The new function x_event_get_pointer_position() get's the mouse 9033 position from a given GSCHEM_TOPLEVEL object. This function will replace 9034 the global mouse_wx, mouse_wy variables in the following commits. 9035 9036commit 016cd29c2d4cb540f70f01c14059b0d538b801d6 9037Author: Peter Clifton <pcjc2@cam.ac.uk> 9038Date: Sun May 18 18:11:45 2008 +0100 9039 9040 Add o_copy_rubbercopy() and o_copy_rubbercopy_xor() 9041 9042 Make use of o_copy_rubbercopy_xor() throught the code to avoid 9043 duplication of o_drawbounding() calls. 9044 9045commit cc5017e65222ec97e084c17a3920dc29f5e65532 9046Author: Peter Clifton <pcjc2@cam.ac.uk> 9047Date: Sun May 18 18:11:42 2008 +0100 9048 9049 Rework o_buffer_place_rubberplace() to follow usual semantics. 9050 9051 Renames o_buffer_place_rubberplace() o_buffer_place_rubberplace_xor() 9052 and re-adds o_buffer_place_rubberplace() which now follows the "undraw, 9053 move, draw" sequence like the other functions with this naming pattern. 9054 9055 Make use of o_buffer_rubberpaste_xor() throught the code to avoid 9056 duplication of o_drawbounding() calls. 9057 9058commit f8bc1947ddf59f8e437702b6f83c1292cb6f50ac 9059Author: Peter Clifton <pcjc2@cam.ac.uk> 9060Date: Sun May 18 18:10:25 2008 +0100 9061 9062 Rework o_text_rubberattrib() to follow usual semantics. 9063 9064 Renames o_text_rubberattrib() o_text_rubberattrib_xor() and re-adds 9065 o_text_rubberattrib() which now follows the "undraw, move, draw" 9066 sequence like the other functions with this naming pattern. 9067 9068 Make use of o_text_rubberattrib_xor() throught the code to avoid 9069 duplication of o_drawbounding() calls. 9070 9071commit deae2c854ddc1461811c176e78f69842be738321 9072Author: Peter Clifton <pcjc2@cam.ac.uk> 9073Date: Sun May 18 18:09:49 2008 +0100 9074 9075 Use o_complex_rubbercomplex_xor() where possible to simplify code. 9076 9077 Adds a parameter "int drawing" to this call, which is passed on to 9078 o_drawbounding(). This is used to determine whether the operation 9079 is to undraw an old object (in which case, the old feedback mode is 9080 used), or is drawing new objects, in which case the current action 9081 feedback mode is used. 9082 9083commit 6359729a98bb9f34a4b460d6b42e85cf502ae010 9084Author: Peter Clifton <pcjc2@cam.ac.uk> 9085Date: Sun May 18 15:34:29 2008 +0100 9086 9087 Fix rotate whilst moving to rotate about the current mouse coordinates 9088 9089 Bug appears to have been introduced when changing from screen to world 9090 coordiantes in 1b05cbfcbb07970159c58b2b18d583516e257a45 9091 9092commit 62a3123ce33d825855735ed8727c8f617b46b61e 9093Author: Peter Clifton <pcjc2@cam.ac.uk> 9094Date: Sun May 18 14:27:46 2008 +0100 9095 9096 Add o_move_rubbermove(...) function to keep move logic in o_move.c 9097 9098commit ec074cb3ca38db23516d89df6bf4f60f13229822 9099Author: Peter Clifton <pcjc2@cam.ac.uk> 9100Date: Sun May 18 14:27:44 2008 +0100 9101 9102 Rework o_complex_rubbercomplex(...) to follow usual semantics. 9103 9104 Renames o_complex_rubbercomplex() o_complex_rubbercomplex_xor() and 9105 re-adds o_complex_rubbercomplex() which now follows the "undraw, move, 9106 draw" sequence like the other functions with this naming pattern. 9107 9108commit 4768b20db9983ae7d0b3221d9340a61ca2a805c0 9109Author: Peter Clifton <pcjc2@cam.ac.uk> 9110Date: Sat Apr 26 17:58:06 2008 +0100 9111 9112 Various whitespace changes and tidy-up split from code-change patches 9113 9114 No code changes. 9115 9116commit d76dfc090cd97a1aa582fd215468ec6b6d234f57 9117Author: Peter Clifton <pcjc2@cam.ac.uk> 9118Date: Sun May 18 13:55:38 2008 +0100 9119 9120 Remove bounding box undraws in DRAWTEXT and DRAWCOMP states 9121 9122 These two states are used when no drawing has yet hit the screen, 9123 so there should not be XOR drawing calls to "undraw" changes which 9124 haven't been made. 9125 9126commit de5a6de1643a041e70acf1f27b02281fe16f23b7 9127Author: Peter Clifton <pcjc2@cam.ac.uk> 9128Date: Sun May 18 13:54:54 2008 +0100 9129 9130 Fixup prototype variable names to reflect their usage (screen vs. world) 9131 9132commit 2337e0a71a5c5f2181801441e4435d0cb44c5ba0 9133Author: Peter Clifton <pcjc2@cam.ac.uk> 9134Date: Sat Apr 26 17:57:50 2008 +0100 9135 9136 Tidy up some whitespace in gschem/src/x_event.c 9137 9138commit 38bf778654574851469b6b280cf2aef5bc2bff0e 9139Author: Werner Hoch <werner.ho@gmx.de> 9140Date: Sun Apr 20 21:55:04 2008 +0200 9141 9142 set rubber invisible at the end of each object draw action, cleanup 9143 9144 It's more save to reset the variable GSCHEM_TOPLEVLE->rubber_visible 9145 after any creation of an object. This variable is usually reset inside 9146 any redraw action, too. 9147 Moved some event code from o_bus to x_event. Moved setup of w_x/y variables 9148 some lines up to prevent uninitialised usage. 9149 9150commit 73d59cd8394c172ffdcb17e860ae0d9a01b46bc9 9151Author: Werner Hoch <werner.ho@gmx.de> 9152Date: Sun Apr 20 11:12:38 2008 +0200 9153 9154 balancing snapped and unsnapped x/y coordinates 9155 9156 All object actions need snapped coords, while selecting and zooming/panning 9157 need unsnapped coords. 9158 Unsnapped actions are now select, select-box, zoom-box and grips actions. 9159 grips motion is slightly special for arcs. While the radius is snapped 9160 the manipulation of start and endangle needs to remain unsnapped. 9161 All other grid motion actions (line, box, ...) still needs snapped coords. 9162 9163commit eb3a7b13f85c9a84b88d9de2e3ad29f1245dd865 9164Author: Werner Hoch <werner.ho@gmx.de> 9165Date: Sat Apr 19 19:38:06 2008 +0200 9166 9167 use world coord for to find objects, cleanup 9168 9169 Removed all uses of the global screen variables mouse_x, mouse_y. 9170 This included changes when adding an attribut and when finding an object. 9171 Additionally fixed a buggy call to o_pan. 9172 9173commit c484c83a3890ea22619c1c84757b83632e128ab4 9174Author: Werner Hoch <werner.ho@gmx.de> 9175Date: Fri Apr 18 20:54:29 2008 +0200 9176 9177 switched zoom and pan to world coordinates, cleanup 9178 9179 zoom and pan are the last users of the old variables start_x, start_y, 9180 last_x, last_y, second_x, second_y, save_x, save_y. 9181 Those variables are obsolete and have been removed from the 9182 GSCHEM_TOPLEVEL structure. 9183 The panning also affected the preview widget. Which needed to be fixed, too. 9184 9185commit 69fa323b708bc5784a475a0911d1c100927edab8 9186Author: Werner Hoch <werner.ho@gmx.de> 9187Date: Thu Apr 17 23:08:20 2008 +0200 9188 9189 switch complex copy and complex place to world coords 9190 9191 switched all functions to world coords. The temporary calculation of 9192 the world coords can be removed now, as all complex objects are in 9193 world coords now. 9194 9195commit 1e0500f9e3abb6ac431a8b69e4d97b5c17775155 9196Author: Werner Hoch <werner.ho@gmx.de> 9197Date: Thu Apr 17 22:12:23 2008 +0200 9198 9199 switched buffer insertion mode to world coords 9200 9201commit eb46913531447bd975e438c8697aded9ce07ee2f 9202Author: Werner Hoch <werner.ho@gmx.de> 9203Date: Thu Apr 17 21:37:48 2008 +0200 9204 9205 switched selection and selection box to world coords 9206 9207 The holdoff distance before starting to draw the selection box 9208 has been moved from x_event.c to o_select_box_start() 9209 9210commit 4820283ca1f6977ffbfed1565da5b2a70aa0eb77 9211Author: Werner Hoch <werner.ho@gmx.de> 9212Date: Tue Apr 15 21:44:07 2008 +0200 9213 9214 switched text code to world coords 9215 9216 Changed all text creation functions to use world coords. 9217 9218commit 70afd4b31ebbb9dfc6c7a8ed0a33bb53f0ff0511 9219Author: Werner Hoch <werner.ho@gmx.de> 9220Date: Tue Apr 15 20:56:57 2008 +0200 9221 9222 switched o_draw_bounding and all xor drawing functions to world coords 9223 9224 All object xor drawing functions are called in world dx/dy coordinates 9225 now. Changed the object code and the o_draw_bounding code. 9226 BUG: o_draw_bounding is still used in world and nonworld coords. 9227 9228commit 2d880f35530c43d5f291af6c70535c99a378ffdb 9229Author: Werner Hoch <werner.ho@gmx.de> 9230Date: Tue Apr 15 19:09:24 2008 +0200 9231 9232 switched move mode to world coordinates 9233 9234 Switched move functions to world corrdinates. 9235 This affects the net and bus when stretching them. 9236 BUG: The function o_draw_bounding is used by world and nonworld 9237 coordinates. This needs to be fixed with the next commits. 9238 9239commit 4cace928604a9b799e761a80d7b0424d45d554ce 9240Author: Werner Hoch <werner.ho@gmx.de> 9241Date: Mon Apr 14 20:52:15 2008 +0200 9242 9243 fixed rubber color for pin and bus, fixed line erase 9244 9245 The color of the rubber wasn't correct for pins and buses. 9246 The o_line_eraserubber function still used start_x. 9247 9248commit c4abffeb78305f3c7ede736b027def82c3171181 9249Author: Werner Hoch <werner.ho@gmx.de> 9250Date: Sun Apr 13 12:00:24 2008 +0200 9251 9252 switched picture rubber and manipulation to world coords 9253 9254 Call all picture functions with world coords. 9255 9256commit 6cfafdaf3c09dde2aedfa7fc3f57662dd0b25ba9 9257Author: Werner Hoch <werner.ho@gmx.de> 9258Date: Tue Apr 8 21:15:36 2008 +0200 9259 9260 switched pin rubber drawing to world coordinates 9261 9262 Call all pin functions with world coordinates. Replaced some of the 9263 gdk drawing functions with object drawing functions. 9264 9265commit ef2871ee0ee34af000205cdfe889fb2bad3a74bb 9266Author: Werner Hoch <werner.ho@gmx.de> 9267Date: Mon Apr 7 20:47:44 2008 +0200 9268 9269 removed redundant x event state code from o_grips.c 9270 9271 The removed code for updating the state and the toolbar is already 9272 present in the state code in x_event.c after the o_grips_end() 9273 call. Reseting the state variables first_wx, second_wx, ... is not 9274 required at all. 9275 9276commit 60b734ed80d7ccefba7a78a878714261a9637a67 9277Author: Werner Hoch <werner.ho@gmx.de> 9278Date: Mon Apr 7 20:32:01 2008 +0200 9279 9280 fixed o_grips_end manipulation for net/line and pin 9281 9282 Fixed the code for the end of the net line and pin manipulations. 9283 Extracted the functionality to three new functions and switched them 9284 to world coordinates. Removed some gdk drawing code and replaced it 9285 with object drawing functions. 9286 9287commit f003de85165f11280f909acd6b785ebf38bacf39 9288Author: Werner Hoch <werner.ho@gmx.de> 9289Date: Sun Apr 6 21:41:19 2008 +0200 9290 9291 switched grips for line manipulation to world coords 9292 9293 This also affects the line/bus and pin manipulation. 9294 While start and motion is identical, the end point of the 9295 manipulation has to be fixed separatly. 9296 9297commit 6efa4f6c16894852b409f130d50acef88d78aa22 9298Author: Werner Hoch <werner.ho@gmx.de> 9299Date: Sun Apr 6 20:05:25 2008 +0200 9300 9301 switched line rubber drawing to world coords 9302 9303 Call all line functions with world coordinates. Removed 9304 some unused code. 9305 9306commit bdcb6e63c3ed1b19f0d1d854536b0e51aad85429 9307Author: Werner Hoch <werner.ho@gmx.de> 9308Date: Sun Apr 6 19:10:31 2008 +0200 9309 9310 switched bus rubber drawing to world coords 9311 9312 Call all bus function with world coordinates. Added rubberbus_xor 9313 function to simplify code. Added some function documentations. 9314 9315commit 87aeb1ee33995af7645aa4d72265254d217f62ef 9316Author: Werner Hoch <werner.ho@gmx.de> 9317Date: Sun Apr 6 17:29:40 2008 +0200 9318 9319 switched arc rubber drawing and manipulation to world coords 9320 9321 Call all arc function with world coords. Removed obsolete loc_x/y 9322 variables. Removed unused functions o_arc_end2 and o_arc_end3. 9323 9324commit 0720815ae4594ae3a73ca96d6392ae35c2172e4a 9325Author: Werner Hoch <werner.ho@gmx.de> 9326Date: Sun Apr 6 15:03:22 2008 +0200 9327 9328 switched circle rubber drawing and manipulation to world coords 9329 9330 Call all cirle functions in world coords. Use rubber_visible variable 9331 to protect the drawing code from erasing errors. 9332 9333commit 4f5cf44b196790dbf5cf318977463b487a17ec89 9334Author: Werner Hoch <werner.ho@gmx.de> 9335Date: Sun Apr 6 13:09:35 2008 +0200 9336 9337 switched box grips to world coordinates 9338 9339 This fixes the manipulation of a box, that broke in the previous 9340 commit. 9341 9342commit 693d7fbb8630bcb846ee72bb594a6c8612ec2f17 9343Author: Werner Hoch <werner.ho@gmx.de> 9344Date: Sun Apr 6 12:15:21 2008 +0200 9345 9346 switched box rubber drawing to world coordinates 9347 9348 Call all box functions with world coordinates. Protect the rubber box 9349 from erasing if the rubber box has been erased by the redraw_all 9350 function. This happend if the user zoomed while drawing the box. 9351 The variable w_current->rubber_visible is used for this purpose. 9352 9353commit 1b05cbfcbb07970159c58b2b18d583516e257a45 9354Author: Werner Hoch <werner.ho@gmx.de> 9355Date: Sat Apr 26 17:09:58 2008 +0200 9356 9357 switched x events to world coordinates in net drawing code 9358 9359 This includes the creation of w_x, w_y, mouse_wx, mouse_wy variables 9360 in the x_event functions. Call all net drawing functions in world 9361 coordinates. Print a warning message when connecting to offgrid pins 9362 and nets. 9363 9364commit 3372a6ff3e99fb1d46c694b1d7bb7a586c9eebb9 9365Author: Werner Hoch <werner.ho@gmx.de> 9366Date: Tue Apr 1 13:50:07 2008 +0200 9367 9368 removed redundant snap grid code in o_net.c 9369 9370commit fadb2326204bb6375749653d1e8a3035462b3479 9371Author: Werner Hoch <werner.ho@gmx.de> 9372Date: Tue Apr 1 13:37:05 2008 +0200 9373 9374 add world coordinates for the rubber lines, use them for net drawing 9375 9376 This commit adds new variables to GSCHEM_TOPLEVEL. first_wx, 9377 second_wx, third_wx. They are intended to replace the screen 9378 coordinates start_x, last_x and last_y. Deployed that change in the 9379 net drawing code. This should finally fix Bug [#1928544]. 9380 9381commit 5f62a34fc821ced98f6faa7d4901ccd47e48380e 9382Author: Werner Hoch <werner.ho@gmx.de> 9383Date: Tue Apr 1 10:20:18 2008 +0200 9384 9385 switched the net rubber code from screen to world coordinates 9386 9387 Using screen coordinates for start_x, second_x and last_x causes 9388 integer arithmetic errors whenever the coordinates are converted between 9389 the screen an the world. The conversion occurs with the fix_x function 9390 and whenever the user zooms/pans in the drawing mode. 9391 This change fixes bug [#1928544] pointed out by Thomas Arndt. 9392 Note: This breaks the zooming and paning inside net drawing 9393 9394commit deacf7e8bc9a67aa4ac446f8627f177e8daa249a 9395Author: Werner Hoch <werner.ho@gmx.de> 9396Date: Mon Mar 31 14:42:14 2008 +0200 9397 9398 Add CTRL modifier key to mangetic net mode 9399 9400 If magnetic net mode is active and you don't want to connect to 9401 the closest possible connetion, you can use the CTRL key now. 9402 Note: You're losing the ability to draw non-orthogonal nets in 9403 magnetic net mode. 9404 9405commit 087374bd49bdc0fcefc535fe901de55439c28a17 9406Author: Werner Hoch <werner.ho@gmx.de> 9407Date: Sun Mar 9 10:14:50 2008 +0100 9408 9409 make the net direction mode configurable (ON/OFF) 9410 9411 Add all variables and callbacks to make the net direction mode 9412 configurable. The configuration variable is used in o_net.c. 9413 9414commit c377b5f84dd046dd6716d262bc6b5c883bb9f280 9415Author: Werner Hoch <werner.ho@gmx.de> 9416Date: Sun Mar 9 09:40:11 2008 +0100 9417 9418 guess net direction when adding nets in gschem 9419 9420 When drawing a L-shape net the old behavier was to draw the horizontal 9421 net first and the vertikal after. This patch guesses the direction 9422 dependant of the starting point of the net. It tries to continue nets 9423 and not to overwrite them. This functionality was originally written 9424 by "ar" and posted to the geda-dev mailing list. 9425 9426commit e089678b9fc068a4b14f41a47e7cef304d5d8221 9427Author: Peter Clifton <pcjc2@cam.ac.uk> 9428Date: Fri Apr 18 14:11:06 2008 +0100 9429 9430 gschem: Fix memory leak in x_window_open_page() 9431 9432commit 949ebc253254a4ec4798ea5faab6bce698fabbb0 9433Author: Peter Clifton <pcjc2@cam.ac.uk> 9434Date: Thu Apr 17 21:55:09 2008 +0100 9435 9436 gschem: Use argc, rather than relying that char **argv is NULL terminated 9437 9438commit f1754277410f7e42fa86371ff875dbbf9f5dd100 9439Author: Peter Clifton <pcjc2@cam.ac.uk> 9440Date: Thu Apr 17 20:00:30 2008 +0100 9441 9442 gschem: Remove unused GDK global variable "visual" 9443 9444commit 84e20e053383201472c32834f4ea9995b8d20c45 9445Author: Werner Hoch <werner.ho@gmx.de> 9446Date: Wed Apr 2 22:49:42 2008 +0200 9447 9448 fixed syntax error typo in x_image.c 9449 9450 repaced ":" with ";", Typo catched by Thomas Arndt 9451 9452commit af0d9f2e8825f7d23c691deec0e70f1eaaac0e38 9453Author: Ales Hvezda <ahvezda@seul.org> 9454Date: Wed Mar 5 05:27:41 2008 -0500 9455 9456 Updated version to 1.5.0 to mark the start of the next development cycle 9457 9458commit fa3091a4da63abd5312be5b1cd132baefb9e77c1 9459Author: Werner Hoch <werner.ho@gmx.de> 9460Date: Sun Mar 2 18:06:51 2008 +0100 9461 9462 show the magnetic net mode in the status bar 9463 9464commit 24f0395aab9589f8e98f284e63fe77e6dc2d2836 9465Author: Werner Hoch <werner.ho@gmx.de> 9466Date: Sun Mar 2 16:42:06 2008 +0100 9467 9468 Fix drawing artefact in rubbernet drawing code 9469 9470 The invalidation rectangles are to small if you're zoomed in. 9471 The half of the net width needs to be added to the rectangels. 9472 To do that, you need to sort the rectangle borders. 9473 9474commit 0b2ce2cb246fa46eae2abe53c32e2c1a2f100093 9475Author: Werner Hoch <werner.ho@gmx.de> 9476Date: Sun Mar 2 16:20:27 2008 +0100 9477 9478 Enlarge the magnetic net marker with increasing net line width 9479 9480 When zooming in the magnetic marker became small relativ to the net 9481 width. This commit enlarges the magnetic marker with a constant factor 9482 relative to the net width. The line width of the marker is the 9483 same as the net width. 9484 9485commit ffd2298ca90e9e8616a2804c5708cb3d2ccb0a83 9486Merge: b62e017 1a49d46 9487Author: Werner Hoch <werner.ho@gmx.de> 9488Date: Sat Mar 1 09:43:53 2008 +0100 9489 9490 Merge branch 'magneticnet' 9491 9492commit 1a49d46192ff0e84e5727ba92829c56961119e5b 9493Author: Werner Hoch <werner.ho@gmx.de> 9494Date: Wed Feb 27 20:12:26 2008 +0100 9495 9496 added configuration option for magnetic net mode in system-gschemrc 9497 9498 Added a configuration option magnetic-net-mode and the g_rc function 9499 Set the default value to enabled. 9500 9501commit 855f29d44df73caef03ee49bd58f19897f31b69d 9502Author: Werner Hoch <werner.ho@gmx.de> 9503Date: Fri Feb 22 21:46:21 2008 +0100 9504 9505 use tiles to find connections for magnetic net mode 9506 9507 This commit changes the magnetic net code to use the tiles. This 9508 reduces the load when checking all the possible connections for every 9509 mouse movement. The patch adds a library function to get object lists 9510 which may contain objects in the region of the magnetic reach. In 9511 o_net.c the object iterator code has been changed to use the new library 9512 function. 9513 9514commit c283e8416d058258bab90b176ee94bb96308c710 9515Author: Werner Hoch <werner.ho@gmx.de> 9516Date: Sun Feb 17 12:14:27 2008 +0100 9517 9518 Only look for visible objects in magnetic net mode 9519 9520 In a large circuit the cpu load can be quite large. Checking only 9521 visible objects decreases the cpu load. 9522 The magnetic reach area is now a circle (Pythagoras). A rectangle 9523 gives several points with the same distance at each side. 9524 9525commit 4b53eba9204af5eee37c308f23d396df21b2edad 9526Author: Peter Clifton <pcjc2@cam.ac.uk> 9527Date: Fri Feb 15 22:24:33 2008 +0000 9528 9529 Don't change back to a deleted page after the "Save changes?" dialog. 9530 9531 Only switch back to the previous page being edited if that was not 9532 the one just deleted. Fixes crash or memory corruption after closing 9533 this dialog. 9534 9535commit de64a4f9ff006a80536359d148da9db57594083f 9536Author: Werner Hoch <werner.ho@gmx.de> 9537Date: Fri Feb 15 00:38:51 2008 +0000 9538 9539 o_delete_text(): only call o_attrib_slot_update() for COMPLEX objects. 9540 9541 Fixes crash observed when deleting attributes from a net. 9542 9543commit 26883a66c3711ffe04eb5280c4b49c483ca50e95 9544Author: Werner Hoch <werner.ho@gmx.de> 9545Date: Thu Feb 14 21:49:25 2008 +0100 9546 9547 added reset function to net drawing code 9548 9549 This reset function cleans up all variables required to draw nets. 9550 It is used before entering net drawing mode and should be used 9551 whenever the STARTDRAWNET mode is entered. 9552 Fixed the last drawing artefact in STARTDRAWNET state. 9553 9554commit aa26da60b8c2a7e66c8b4d6446e7b67de2c3537a 9555Author: Werner Hoch <werner.ho@gmx.de> 9556Date: Wed Feb 13 21:38:54 2008 +0100 9557 9558 misc cosmetic corrections for the magnetic net 9559 9560 Put the magnetic marker onto grid (fix_x/y) 9561 Changed the marker from a rectangle to a circle. 9562 Changed the calculation of the magnetic reach from x+y to max(x,y). 9563 This enlarges the reach into the 45� direction. 9564 9565commit 6e092d15b6e1881789561653ded80f98c5bdc2f5 9566Author: Werner Hoch <werner.ho@gmx.de> 9567Date: Sat Feb 9 12:56:09 2008 +0100 9568 9569 connect the magnetic net mode into the net drawing functions 9570 9571 The magnetic net mode is now use to set the start net point, track the 9572 closest connection in the rubbernet function and to get the end point 9573 of the net. The endpoint in the magnetic mode is calculated in the new 9574 function o_net_finishmagnetic. 9575 9576 This commit is based on the patch written by Franz Mottas and Thomas 9577 Arndt [#1824420]. 9578 9579commit 96fbd6214a4a364d0aa45b405293421623ea939c 9580Author: Werner Hoch <werner.ho@gmx.de> 9581Date: Sat Feb 9 11:09:10 2008 +0100 9582 9583 core code for magnetic net mode: find connections and draw marker 9584 9585 When in STARTDRAWNET state, search for the closest connection. 9586 Added code to search for that connection and to draw and erase 9587 a rectangular magnetic net marker. 9588 9589 This commit is based on the patch written by Franz Mottas and Thomas 9590 Arndt [#1824420]. 9591 9592commit 3a412167fe7e16526fafdfea273b3daf8be207b3 9593Author: Werner Hoch <werner.ho@gmx.de> 9594Date: Sat Feb 9 08:54:45 2008 +0100 9595 9596 added menu entry and callbacks for magnetic net mode 9597 9598 Added a entry into the options menu to toggle the magnetic net mode. 9599 Added all required variables in GSCHEM_TOPLEVEL. 9600 9601 This commit is based on the patch written by Franz Mottas and Thomas 9602 Arndt [#1824420]. 9603 9604commit 1d1c604d63bfe8f6eff91749953ba713f7b3745c 9605Author: Werner Hoch <werner.ho@gmx.de> 9606Date: Sat Feb 9 08:11:38 2008 +0100 9607 9608 fix drawing artefact when drawing a net and zoom/pan 9609 9610 Zooming and paning redraw everything and if there are rubbernets 9611 they get deleted, too. We have to tell the rubbernet function that 9612 the rubbernet is no longer on the screen. 9613 Thus I've added a flag rubbernet_visible as indicator. This flag needs 9614 to be set when drawing, and reset when the rubbernet gets erased. 9615 9616commit 20e0e015622bd57d9b0704d39593f209e49a3396 9617Author: Werner Hoch <werner.ho@gmx.de> 9618Date: Fri Feb 8 20:57:09 2008 +0100 9619 9620 moved rubbernet drawing code into a extra function 9621 9622commit 921ed5c0b907fb0f11cfff2233758a2c0169c3e0 9623Author: Werner Hoch <werner.ho@gmx.de> 9624Date: Fri Feb 8 20:40:43 2008 +0100 9625 9626 Reuse common code from o_net_eraserubber in o_net_rubbernet 9627 9628 The removal code or the rubbernets is the same in both cases, reuse 9629 it. 9630 9631commit 3ebfd10448ffefd902325b115193cb95cbeeaaf5 9632Author: Werner Hoch <werner.ho@gmx.de> 9633Date: Fri Feb 8 20:24:14 2008 +0100 9634 9635 reuse common code from o_net_eraserubber in o_net_end 9636 9637 reuse the o_net_eraserubber function in o_net_end. o_net_end 9638 deleted a rubbernet the same way as o_net_eraserubber does. 9639 9640commit cf7689c9b6950c1694edacf9d750a48d87d462be 9641Author: Werner Hoch <werner.ho@gmx.de> 9642Date: Fri Feb 8 19:34:18 2008 +0100 9643 9644 Remove unused drawing code from function o_net_start() 9645 9646 This code was never used as the line lenght of both rubbernet 9647 segments was set to zero before drawing it. 9648 9649commit 56a787446f3f5a244c8b4cec21cdc4e489e19568 9650Author: Carlos Nieves Onega <cnieves@iespana.es> 9651Date: Wed Feb 6 21:25:58 2008 +0100 9652 9653 Fix documentation about list format. 9654 9655 - Applied patch from Timur Aydin <ta@taydin.org>, fixing a 9656 comment on top of the list that explains each individual 9657 item in that list. The comment didn't match the actual list 9658 definition. 9659 - Added comment about considering line width when calculating 9660 a component's reference point. 9661 9662commit 5757ce41ac1846814b0e96885942f2e011f2d3b7 9663Author: Peter Clifton <pcjc2@cam.ac.uk> 9664Date: Fri Feb 1 13:06:15 2008 +0000 9665 9666 Rename translations to drop un-needed ISO-3166 country codes. 9667 9668 From Debian bug #336796: 9669 9670 Using a country part in a translation file is a discouraged practice 9671 except in very few cases (such as pt_BR). 9672 9673 Using a fr_FR.po file instead of a fr.po file prevents users of fr_CA, 9674 fr_BE, fr_LU, fr_CH and all other existing and future locales for 9675 French to benefit from the French translation of the program. 9676 9677 In general PO files should only be named after the 9678 ISO_639 code of the given language and should not use a country part 9679 with a ISO-3166 code. The only accepted expcetions to this are: 9680 9681 -pt_BR for Brazilian Portuguese and pt alone for "standard Portuguese" 9682 -zh_CN for "Simplified Chinese" use in mailand China and Singapore 9683 -zh_TW for "Traditional Chinese" used in Taiwan 9684 9685commit 22396b286d50c454287ff94a3c3de414b3f9a08a 9686Author: Werner Hoch <werner.ho@gmx.de> 9687Date: Sat Jan 26 19:27:15 2008 +0100 9688 9689 update the pinnumbers if a slot attribute is deleted 9690 9691 Update the slots whenever a text line that is attached to an object 9692 gets deleted. The update checks the slotting even if there's no slot 9693 attribut. This catches the case when the user deletes a slot attribute 9694 and the current displayed pinnumbers are not the ones defined in the 9695 symbol. This commit fixes [#1880221] 9696 9697commit b202ee510fb90cedd038ce5ec41cc6de453dbeea 9698Author: Ales Hvezda <ahvezda@seul.org> 9699Date: Sun Jan 27 11:47:13 2008 -0500 9700 9701 Updated ChangeLogs for the 1.4.0 release 9702 9703commit 5e4ee69035885d76fba09aa453789be68481c69a 9704Author: Ales Hvezda <ahvezda@seul.org> 9705Date: Sun Jan 27 11:46:06 2008 -0500 9706 9707 Ran make update-po one more time before the 1.4.0 release 9708 9709commit b11f5701b2329f1cb7ff64d2419197a6587d2008 9710Author: Werner Hoch <werner.ho@gmx.de> 9711Date: Sun Jan 27 09:24:01 2008 +0100 9712 9713 Updated german translation of gschem 9714 9715commit 58898d9db5403355c3984d4c4c970e4477d7e85a 9716Author: Ales Hvezda <ahvezda@seul.org> 9717Date: Sat Jan 26 22:12:05 2008 -0500 9718 9719 Fix a crash when running a script that calls (gschem-image ...) 9720 9721 x_image_lowlevel frees the last parameter (filetype). This free was 9722 causing a segfault when x_image_lowlevel was being passed a constant 9723 character string. Bernd Jendrissek found this bug during an irc 9724 discussion. Thanks. 9725 9726commit 5d619d94e6142ad683b26aa302348b3cf559d459 9727Author: Peter Clifton <pcjc2@cam.ac.uk> 9728Date: Sun Jan 27 02:51:01 2008 +0000 9729 9730 Only call gdk_window_invalidate_rect() when drawing to a GdkWindow. 9731 9732 For image export, a GdkPixmap is used in place of w_current->window, 9733 and calling gdk_window_invalidate_rect() with this as an argument 9734 causes lots of nasty warnings. It led to a crash when print.scm is 9735 used to export from the command line. 9736 9737 This "fix" is really quite a nasty hack. Since w_current->window is 9738 a GObject in both cases, a test with GDK_IS_WINDOW() can be used to 9739 distinguish the cases. A better fix will come from future rework of 9740 the drawing code. 9741 9742commit bab0fb5d22b22b5452da553306555d7ff069ebd3 9743Author: Ales Hvezda <ahvezda@seul.org> 9744Date: Sat Jan 26 21:03:50 2008 -0500 9745 9746 Changed Edit/Undo and Add/Bus hotkeys 9747 9748 Previously, "u" was add-bus-hotkey, which was annoying a growing number of 9749 users. Now "u" is undo and "Shift-B" is add-bus. There are now like four 9750 different keys for undo (u, Shift-U, Control-Z, and "e Shift-U") in the 9751 default keymap. Add/bus has "Shift-B" and "au" as hotkeys. 9752 9753commit 3d43c5d642ebe12a69380e8accf5533d338ee5e5 9754Author: Ales Hvezda <ahvezda@seul.org> 9755Date: Sat Jan 26 20:07:45 2008 -0500 9756 9757 Bumped versions to 1.4.0/20080127/33:0:0 for the next stable release 9758 9759commit ecda6ee9e101563f7fed092150532256fd9b343e 9760Author: Ales Hvezda <ahvezda@seul.org> 9761Date: Sat Jan 26 19:50:16 2008 -0500 9762 9763 Updated all dates and versions in all man pages 9764 9765commit 9a4bbc16c5c0e408aabbc69c1c1cc10cb4b7675f 9766Author: Ales Hvezda <ahvezda@seul.org> 9767Date: Sat Jan 26 19:48:29 2008 -0500 9768 9769 Manually ran make update-po in all po dirs in prep for the 1.4.0 release 9770 9771commit 915463b5f3fe41419307e5dee4d227f3c9a9bb5e 9772Author: Peter Clifton <pcjc2@cam.ac.uk> 9773Date: Sat Jan 26 22:06:06 2008 +0000 9774 9775 Invalidate component cache when updating symbols. [#1880211] 9776 9777 Temporary fix for Bug #1880211, "symbol update reads the symbol from 9778 the cache". Ensure that when refreshing symbols, the symbol is read 9779 from the component source, not from the cache. (Suggested by Peter 9780 Brett). 9781 9782 A more complete fix will be to add API which invalidates a single symbol 9783 name, rather than the entire cache. 9784 9785commit 968c37becebd630b85abd8bf3546a834db419aaa 9786Author: Werner Hoch <werner.ho@gmx.de> 9787Date: Sat Jan 26 15:26:53 2008 +0000 9788 9789 Update the pinnumbers when updating a symbol with slots 9790 9791 Fix for [#1880207]. When updating symbols, gschem loaded the 9792 pinnumbers from the symbol file without respect to the slot attribute. 9793 9794commit fccaae6b363d7f81ab94725751314813c42b718d 9795Author: Peter Clifton <pcjc2@cam.ac.uk> 9796Date: Wed Jan 16 20:08:27 2008 +0000 9797 9798 Fix use after free corruption when consolidating nets 9799 9800commit bcea0ec85eb10a97b2f794fa240052b25d386cb9 9801Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 9802Date: Fri Jan 18 22:54:33 2008 +0000 9803 9804 Update Afrikaans translation to fix spelling error. 9805 9806commit ec4b6287bbb4f709a7d3258a7474ec716933ca4b 9807Author: Ales Hvezda <ahvezda@seul.org> 9808Date: Fri Jan 11 01:23:39 2008 -0500 9809 9810 Manually ran make update-po in all po directories in prep for the 1.3.1 release 9811 9812commit d2047bc2a06e6534ff32464d36f8a95aec11b9d7 9813Author: Ales Hvezda <ahvezda@seul.org> 9814Date: Fri Jan 11 01:11:12 2008 -0500 9815 9816 Updated all ChangeLogs for this release (1.3.1) 9817 9818commit bab45317a9e009449942e87d2ce2506287368187 9819Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 9820Date: Fri Jan 11 05:10:13 2008 +0000 9821 9822 Add Afrikaans translation for gschem 9823 9824 (af_ZA.po converted to UTF-8 encoding by Peter Clifton for consistency) 9825 9826commit 8eeb92aa5d10d7c4808d039e09b4b6626e380138 9827Author: Ales Hvezda <ahvezda@seul.org> 9828Date: Thu Jan 10 23:51:08 2008 -0500 9829 9830 When doing a find_text into hierarchy, the titlebar was not being updated 9831 9832 Added a update call into o_edit_find_text that made sure the titlebar and 9833 scrollbars are properly updated when the found attribute is displayed. 9834 This addition will do a full redraw as well (not sure if that is going 9835 to cause problems at this point). 9836 9837commit c1e3075cb263a6098d2351440b680247456ae0d0 9838Author: Ales Hvezda <ahvezda@seul.org> 9839Date: Thu Jan 10 00:27:16 2008 -0500 9840 9841 Updated and correct the gEDA/gaf man pages a little bit. 9842 9843 This is the fix for SF Bug: [ 1556064 ] man page version out of date 9844 9845commit 7b0c15cea18baf9a2a3bb8c89ccb02034a821156 9846Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> 9847Date: Thu Jan 10 01:24:26 2008 +0000 9848 9849 gnetlist: Fix typo 9850 9851 (Peter Clifton modified the patch to fix translations at the same time) 9852 9853commit 015f1dc8f08ef4ff9510dc04859b88311dedf237 9854Author: Carlos Nieves Onega <cnieves@iespana.es> 9855Date: Mon Jan 7 20:22:46 2008 +0100 9856 9857 Updated gschem's spanish (Spain) translation. 9858 9859commit fd560649436835795f173f0fd3dc498133040f9a 9860Author: Peter Clifton <pcjc2@cam.ac.uk> 9861Date: Sun Jan 6 21:02:26 2008 +0000 9862 9863 Validate log messages to ensure they are UTF-8 before passing to GTK 9864 9865commit 048bd6f8e2fc1c5f5b01ff3f1cad3a7c9bf43f3e 9866Author: Peter Clifton <pcjc2@cam.ac.uk> 9867Date: Sun Jan 6 20:36:52 2008 +0000 9868 9869 Allow configuration of the scroll wheel's action to match GTK app. norms 9870 9871 Adds configuration parameter (scroll-wheel ...) which takes either 9872 "classic" or "gtk" as a string argument. "classic" remains the default. 9873 9874 Tidies x_event_scroll() to deal with the various options in a neater way. 9875 9876commit 3aaba690a9360bfe9acd480acf5d549d05513f52 9877Author: Bert Timmerman <bert.timmerman@xs4all.nl> 9878Date: Sun Jan 6 12:18:06 2008 +0100 9879 9880 Dutch translation file reviewed for upcoming release. 9881 9882 - Updated modified texts. 9883 - Corrected minor typos near exclamation marks. 9884 - Tried to conform to new Dutch spelling definitions. 9885 9886commit e800618afe70c93c3739d725172dfdba95386232 9887Author: Ales Hvezda <ahvezda@seul.org> 9888Date: Sat Jan 5 21:14:51 2008 -0500 9889 9890 Manually ran make update-po in all directories 9891 9892commit b2380c0f70344117be7045a5fc1483698fdf4358 9893Author: Ales Hvezda <ahvezda@seul.org> 9894Date: Sat Jan 5 20:57:51 2008 -0500 9895 9896 Bumped versions to 1.3.1/20080110/32:0:0 for the next development snapshot 9897 9898 Note, libgeda's so did not change at this time. 9899 9900commit 6b36311d3be00d9b4901a876f5f4da4f892e3bce 9901Author: Peter Clifton <pcjc2@cam.ac.uk> 9902Date: Sat Jan 5 22:10:31 2008 +0000 9903 9904 Remove extraneous printf where they duplicate log messages. 9905 9906commit d367e94f7d11ceb66c8ad95332052d2abf5ed09c 9907Author: Ales Hvezda <ahvezda@seul.org> 9908Date: Fri Jan 4 13:33:15 2008 -0500 9909 9910 Added consistent border width to the in-use scrolled window 9911 9912 Without this border width, switching between the in-use and library tabs 9913 caused the scrolled windows to jump around. Plus now the spacing is 9914 consistent between the two tabs. 9915 9916commit 3fb40e7713e33a034632386a1446e3d94b25e6a5 9917Author: Ales Hvezda <ahvezda@seul.org> 9918Date: Fri Jan 4 13:30:26 2008 -0500 9919 9920 Added refresh button to the in-use tab in the component selection dialog 9921 9922 The refresh button refresh the in-use component list as well as the library 9923 component list. Before this patch, the refresh button was only in the 9924 library tab and not accessible from the in-use tab. 9925 9926commit cf1ebffc8fc1634dc82cfd3a5e2748edadea4565 9927Author: Peter Clifton <pcjc2@cam.ac.uk> 9928Date: Fri Jan 4 20:26:24 2008 +0000 9929 9930 Remove "Apply" button from the component selector. 9931 9932 As the component list is de-selected when placement mode is cancelled, 9933 the action of re-selecting a component to place switches back to this 9934 mode without the need for an explit "Apply" button. 9935 9936commit 8333e806fef245815235d8f96a81fcd06b96dfa4 9937Author: Peter Clifton <pcjc2@cam.ac.uk> 9938Date: Fri Jan 4 20:23:22 2008 +0000 9939 9940 De-select list in the compselect dialog when placement is cancelled. 9941 9942 By de-selecting the list, we ensure that the list state reflects the 9943 component the user may currently place. It allows the same component 9944 to be selected for again, without either using the "Apply" button, 9945 or having to temporarily select a different component first. 9946 9947 As a hook to de-select the list is added in o_redraw_cleanstates(), we 9948 now avoid using that call as a shortcut to cleanup our last place 9949 operation. It is still used if the last operation was not a component 9950 placement. 9951 9952commit 3ae9c752b203ddc66b94c3f6cda352ee9306f13d 9953Author: Peter Clifton <pcjc2@cam.ac.uk> 9954Date: Fri Jan 4 20:06:24 2008 +0000 9955 9956 Add call to o_redraw_cleanstates() in the edit_{copy,mcopy,move} actions. 9957 9958 Ensures that any existing action is appropriately cancelled before 9959 starting the new action. 9960 9961commit 09c5d9fe73e0874b8b86b50c1ddc552254ee8661 9962Author: Peter Clifton <pcjc2@cam.ac.uk> 9963Date: Fri Jan 4 18:08:22 2008 +0000 9964 9965 gschem: Remove extraneous debugging printf from g_hook.c 9966 9967commit 9aca06cdb70c3fc9595beb82713eedd90a7e1d16 9968Author: Ales Hvezda <ahvezda@seul.org> 9969Date: Fri Jan 4 12:57:58 2008 -0500 9970 9971 Added checks at the autogen.sh stage for missing m4 macros 9972 9973 This commit adds a autoconf friendly m4 macro to check for undefined 9974 macros (originally written by Peter Brett). This macro is used in 9975 configure.ac.in to check for a few troublesome macros (guile, nls, 9976 gettext, intltool) that are usually missing because a required -dev 9977 package is not installed/missing. 9978 9979commit ef9f1e110cc8d67a98310e9c689c5afe5363be25 9980Author: Peter Clifton <pcjc2@cam.ac.uk> 9981Date: Wed Jan 2 19:15:14 2008 +0000 9982 9983 Prefix "geda-" to icon names to help namespace the icon theme. 9984 9985commit 1697a90e5465dde296199745991e76df8f68c3be 9986Author: Peter Clifton <pcjc2@cam.ac.uk> 9987Date: Wed Jan 2 15:41:07 2008 +0000 9988 9989 Changed --with-xdgdir to --with-xdgdatadir for consistency 9990 9991commit ee47fc5fa6d418a54af62a55a78e508d95a0f913 9992Author: Peter Clifton <pcjc2@cam.ac.uk> 9993Date: Wed Jan 2 02:46:14 2008 +0000 9994 9995 Change usage of ${datarootdir} to ${datadir} for autoconf compatibility. 9996 9997commit 208cb97b474b29efea9b76d8b9099ffe2bf446af 9998Author: Peter Clifton <pcjc2@cam.ac.uk> 9999Date: Wed Jan 2 01:22:20 2008 +0000 10000 10001 Fix typo in --disable-update-desktop-database help text 10002 10003 Also fixed closing comment which had "mime" instead of "desktop" 10004 10005commit 25557429d0ca8baaa921b4a2ce5f243f8df8dfc2 10006Author: Ales Hvezda <ahvezda@seul.org> 10007Date: Tue Jan 1 16:14:09 2008 -0500 10008 10009 Updated gschem's autogen.sh to be identical libgeda's 10010 10011 This commit also fixed up the build mechanism for gschem to recreate 10012 configure.ac if configure.ac.in changes. These changes are identical to 10013 1a1cbb29f5d1ff118fb91235463e57a48ba81054 10014 10015commit 5f3cde4f20975275cb38b52cd3155fda41201209 10016Author: Peter TB Brett <peter@peter-b.co.uk> 10017Date: Tue Jan 1 17:24:18 2008 +0000 10018 10019 Fix configure checks for Guile (again). 10020 10021 The previous patch missed changing the gschem configure script 10022 (generated from configure.ac.in), and got the logic wrong anyway. 10023 10024commit 2f7e3ae60480743a8268d392272d05bd77dd75c8 10025Author: Ales Hvezda <ahvezda@seul.org> 10026Date: Mon Dec 31 20:43:08 2007 -0500 10027 10028 Updated all ChangeLogs for the past development release (1.3.0) 10029 10030 This step was supposed to happen before the 1.3.0 tarballs were released. 10031 These changes will be picked up in a subsequent release. 10032 10033commit 0525e60123ab47ff62c9c30f4a3159ca75bbb456 10034Author: Peter TB Brett <peter@peter-b.co.uk> 10035Date: Sun Dec 30 20:15:19 2007 +0000 10036 10037 Add TAGS to some .gitignore files. 10038 10039commit ec101c69efe4cef25410fc6e8b9e43a3dbafd5f0 10040Author: Peter TB Brett <peter@peter-b.co.uk> 10041Date: Sun Dec 30 20:15:19 2007 +0000 10042 10043 gschem: Use protected evaluator to run menu functions. 10044 10045commit 46f8e5671e1f22ed32d02ce7fd4f87f65f257c0f 10046Author: Ales Hvezda <ahvezda@seul.org> 10047Date: Sat Dec 29 22:32:31 2007 -0500 10048 10049 Created POTFILES.skip (with intl/plural.c inside) to make distcheck happy 10050 10051commit ba474af87840a0d49e04a00de96b7df2944c09bd 10052Author: Ales Hvezda <ahvezda@seul.org> 10053Date: Sat Dec 29 09:57:43 2007 -0500 10054 10055 Bumped versions to 1.3.0/20071229/32:0:0 for the next development snapshot 10056 10057commit 7c82238f3b2433607f8af6c873af99a642f05409 10058Author: Ales Hvezda <ahvezda@seul.org> 10059Date: Sat Dec 29 09:22:38 2007 -0500 10060 10061 Ran make update-po in all po directories in prep for a new release. 10062 10063commit ae6aeb9b656ead47d5cad5cbc7370cf59877eda7 10064Author: Werner Hoch <werner.ho@gmx.de> 10065Date: Sat Dec 29 09:00:36 2007 +0100 10066 10067 ignore deleted geda-gschem.pot in .gitignore 10068 10069commit e2f7ebf5903560592cd31168085068310c2a12fb 10070Author: Werner Hoch <werner.ho@gmx.de> 10071Date: Sat Dec 29 08:56:40 2007 +0100 10072 10073 gschem: updated german translations 10074 10075commit 15ff1a06a1352871426a9774a5037519e74759f6 10076Author: Ales Hvezda <ahvezda@seul.org> 10077Date: Fri Dec 28 23:52:17 2007 -0500 10078 10079 Removed now machine generated file 10080 10081commit fdf272053572b5017fa342d91e7ed2ee559e1e2d 10082Author: Ales Hvezda <ahvezda@seul.org> 10083Date: Fri Dec 28 23:36:02 2007 -0500 10084 10085 Fixed a minor newline typo 10086 10087commit 91a9b7a5391544f961c96d376186228a72410f67 10088Author: Peter Clifton <pcjc2@cam.ac.uk> 10089Date: Sat Dec 29 03:12:06 2007 +0000 10090 10091 gschem: Fix copy-paste error handling line-style keyword in g_rc.c 10092 10093commit 91726e0964602983e8f896be86aa056afc96baff 10094Author: Peter Clifton <pcjc2@cam.ac.uk> 10095Date: Sat Dec 29 01:41:14 2007 +0000 10096 10097 Change image embedding format to base64 encode the original files 10098 10099 Previously, the format was a base64 encoding of serialised output from 10100 the gdk_pixbuf used to store the image internally. Due to another bug 10101 (now fixed) it is known that no official gEDA release could re-load 10102 the embedded images that it saved. This hopefully provides some 10103 justification as to why its OK to change the embedding format here. 10104 10105commit 1061b44d8af612e15b4179b71aac44c3959e09b9 10106Author: Peter Clifton <pcjc2@cam.ac.uk> 10107Date: Sat Dec 29 01:38:55 2007 +0000 10108 10109 gschem: Redraw after embedding or unembedding components 10110 10111commit cf5a697b83f1d53d6c9299a39d37d7d685f374eb 10112Author: Peter Clifton <pcjc2@cam.ac.uk> 10113Date: Sat Dec 29 01:37:18 2007 +0000 10114 10115 Add undo save for embed / unembed operations 10116 10117commit 5ad632442a79dcf8ddb0fd60cdd9a1c09acfc39a 10118Author: Peter Clifton <pcjc2@cam.ac.uk> 10119Date: Sat Dec 29 01:37:10 2007 +0000 10120 10121 Use gdk_pixbuf_copy(...), not gdk_pixbuf_rotate(.., 0) to copy pixbufs 10122 10123commit 70293381f5af9957afbd3e3fd0614d838738c7a7 10124Author: Peter Clifton <pcjc2@cam.ac.uk> 10125Date: Sat Dec 29 01:37:02 2007 +0000 10126 10127 Compute picture aspect ratio in double arithmetic, not integer. 10128 10129 Avoids a nasty bug where coordinates would overflow when attempting to 10130 grip-adjust the picture size due to this ratio being incorrect. 10131 10132commit c356556b29a991ec1f40b6be01e332fdfd663dac 10133Author: Peter Clifton <pcjc2@cam.ac.uk> 10134Date: Sat Dec 29 00:48:09 2007 +0000 10135 10136 gschem: Fix erase drawing of objects 10137 10138 Code which used o_..._erase() was not causing invalidations of the dirty 10139 screen regions. Refactored to the code to use o_erase_single() instead, 10140 and deleted the then unused o_..._erase() functions. 10141 10142commit 532aa7129dafe872d0993fed52d0dcba92e78399 10143Author: Bert Timmerman <bert.timmerman@xs4all.nl> 10144Date: Fri Dec 28 22:04:26 2007 +0100 10145 10146 Updated the Dutch translation for gschem. 10147 10148commit b03232ea8fe9f911af8265c63b16425cf7ee70cb 10149Author: Peter Clifton <pcjc2@cam.ac.uk> 10150Date: Fri Dec 28 18:52:30 2007 +0000 10151 10152 Allow standard glob matches in the component selector's filter entry. 10153 10154commit f2101950cde757e1b51c8e6e70a5d764d8a7fa99 10155Author: Peter Clifton <pcjc2@cam.ac.uk> 10156Date: Thu Dec 27 21:54:16 2007 +0000 10157 10158 gschem: Don't delete po/ChangeLog on make maintainer-clean 10159 10160 Also removed rule to delete po/Makefile.in.in as this also exists 10161 in the po/Makefile maintainer-clean rule. 10162 10163commit 127cff28ce52f41ce0972e8109049ecb78b09cc3 10164Author: Peter Clifton <pcjc2@cam.ac.uk> 10165Date: Tue Dec 25 23:09:28 2007 +0000 10166 10167 Add English (British) translations for libgeda and gschem 10168 10169commit b9f741e0906295754fa5e1301cf3079aee88ff55 10170Author: Peter Clifton <pcjc2@cam.ac.uk> 10171Date: Tue Dec 25 05:12:40 2007 +0000 10172 10173 Remove intltool-*.in files during make maintainer-clean 10174 10175commit 76885149df80234cd91c42ca83752cfe5cd470f8 10176Author: Peter Clifton <pcjc2@cam.ac.uk> 10177Date: Sun Dec 23 06:11:31 2007 +0000 10178 10179 Add --with-xdgdir=... option to gschem and gattrib to match libgeda 10180 10181commit 5ee84ba2b7f534b11b7487c91413deaf393cb7ca 10182Author: Peter Clifton <pcjc2@cam.ac.uk> 10183Date: Sun Nov 18 22:55:34 2007 +0000 10184 10185 Add .desktop and icon files to gschem and gattrib 10186 10187 Ship application icons and .desktop files for gschem and gattrib. 10188 The gschem icons were contributed by Tomaz Solc, and the gattrib 10189 icons created by Peter Clifton. 10190 10191 Uses the intltool framework to translate the .desktop files. 10192 10193commit cd5263a602c8da768d3af7fdf9aca99847324d9e 10194Author: Peter TB Brett <peter@peter-b.co.uk> 10195Date: Sat Dec 22 21:46:25 2007 +0000 10196 10197 gschem: Don't lose close confirmation dialog behind window 10198 10199 It was possible to lose gschem's close confirmation dialog behind the 10200 gschem main window, which could lead to data loss as it was then very 10201 difficult to recover gracefully. 10202 10203commit b10a0ed7e99910a5d83565ede63a7ff9b11bc528 10204Author: Peter Clifton <pcjc2@cam.ac.uk> 10205Date: Sat Dec 22 05:32:31 2007 +0000 10206 10207 Switch back to the page we were on after a saving changed pages. 10208 10209 The changed page saving code switches pages with s_page_goto(), but the 10210 page was not switched back. This lead to gschem being left editing a 10211 different page after a cancelled close operation. No redraw or GUI 10212 update was called, so the screen still showed the old page. 10213 10214commit ceacc48fd83d27953a9510374962f267c42e22e9 10215Author: Peter Clifton <pcjc2@cam.ac.uk> 10216Date: Sat Dec 22 05:32:28 2007 +0000 10217 10218 Use Save, not Save As.. after prompt when closing modified schematics 10219 10220 If the schematic is changed at exit time, a prompt is given. the 10221 "Save" option will save into the existing schematic file. If the 10222 page is untitled, a file-chooser will be presented.This is in 10223 keeping with other applications. 10224 10225commit f3de6fdfcd78b60d201e8786c78ea59bcc3f437e 10226Author: Peter Clifton <pcjc2@cam.ac.uk> 10227Date: Fri Dec 21 23:48:42 2007 +0000 10228 10229 gschem: Set default window icon to the "gschem" icon from the icon theme. 10230 10231 When a "gschem" icon is found in the icon theme, this will be used as the 10232 default application icon. For GTK versions < 2.6, some default sizes have 10233 been picked at which to look for icons. GTK >= 2.6 will find the best icon 10234 by name. 10235 10236commit f024b92045527776c0ddf86ac16de5dfb09837ad 10237Author: Peter TB Brett <peter@peter-b.co.uk> 10238Date: Fri Dec 21 17:44:15 2007 +0000 10239 10240 gschem: Don't use direct o_???_translate_world() funcs 10241 10242 Use o_translate_world() instead of the direct functions, so we can 10243 hide the internal implementation in libgeda. Only a very small 10244 performance hit. 10245 10246commit 52bb24c3868d14b12480037dc8f0b1450cc78d7f 10247Author: Peter TB Brett <peter@peter-b.co.uk> 10248Date: Fri Dec 21 17:26:30 2007 +0000 10249 10250 libgeda: Make sure that Guile smobs are initialised. 10251 10252 Rather than initialising them in gschem, which is a WTF. 10253 10254commit 0a5ba355c6719172ec1e6325108d5c0e716d1a2e 10255Author: Robert Fitzsimons <robfitz@273k.net> 10256Date: Fri Dec 21 14:13:51 2007 +0000 10257 10258 gschem: Fix segfault when trying to write an image. 10259 10260 The change to split out gschem TOPLEVEL variables, left some code 10261 which tries to copy the TOPLEVEL variables from the old data 10262 structure. This caused a segfalut to happen on my system. 10263 10264commit 3b040cf8d60a8fbe45f6e7c5f3d71a3dea119357 10265Author: Peter Clifton <pcjc2@cam.ac.uk> 10266Date: Wed Dec 19 17:48:57 2007 +0000 10267 10268 Add intltoolize to the build infrastructure 10269 10270 Provide intltoolize infrastructure for translating .desktop and MIME 10271 XML files. Run gettextize after intltoolize if required, so that the 10272 infrastructure for providing libintl on a non GNU system still works. 10273 10274commit c290fcbcb34bd4adaee35a7ba4f655f88e4e252a 10275Author: Peter Clifton <pcjc2@cam.ac.uk> 10276Date: Mon Dec 17 23:11:47 2007 +0000 10277 10278 Check if bounds were found before invalidating drawn areas. 10279 10280 If world_get_..._bounds() return zero (for example, in the case of 10281 invisible attributes, or an empty schematic), no bound coordinates 10282 are returned and we can't use them for further processing. 10283 10284commit 17998a71cc46a7eff3c738fcbd3851c7c8ea5930 10285Author: Peter Clifton <pcjc2@cam.ac.uk> 10286Date: Mon Dec 17 23:11:44 2007 +0000 10287 10288 Fix bug #1851403: Crash after adding component while in move mode 10289 10290 Ensure any operation already in progress when opening the component 10291 selector is cancelled by calling o_redraw_cleanstates() first. 10292 10293 Also call o_redraw_cleanstates() just before placing the component, 10294 rather then directly freeing the objects in the complex place list. 10295 Since the component selector isn't modal, the user may have switched 10296 to a different action whilst the component selector was open. 10297 10298 To avoid a similar crash, use o_redraw_cleanstates() upon closing the 10299 component selector (if we are still in component placement mode). 10300 10301commit 83b4c4f7d62c8a0a6a52ec092c9535f81f82deac 10302Author: Peter Clifton <pcjc2@cam.ac.uk> 10303Date: Mon Dec 17 23:03:53 2007 +0000 10304 10305 Fix memory leak in o_redraw_cleanstates() called during copy or place. 10306 10307 For actions other than "MOVE", the objects in the complex_place_list 10308 must be free'd as they are otherwise unowned. 10309 10310commit 95a9632f6b4970b578fe06647496f339ee5fa1f8 10311Author: Peter Clifton <pcjc2@cam.ac.uk> 10312Date: Mon Dec 17 23:03:49 2007 +0000 10313 10314 Fix i_callback_edit_copy_hotkey() to set new state after clearing old. 10315 10316 o_redraw_cleanstates() needs to know the state it's clearing up. 10317 10318commit fb274693d442e16890582d7442f1d52d60e95755 10319Author: Peter Clifton <pcjc2@cam.ac.uk> 10320Date: Sat Dec 15 16:53:25 2007 +0000 10321 10322 Add private function compselect_get_view() in x_compselect.c 10323 10324 This function abstracts away an assumption we make that the tabs of the 10325 GtkNotebook inside the component selection dialog are in a particular 10326 order. Separating this into a function call which returns from an enum of 10327 views will stop this ordering assumption spreading throughout the code. 10328 10329commit a5f930da86483f05c58a92ea5ae436b25e548486 10330Author: Peter Clifton <pcjc2@cam.ac.uk> 10331Date: Sat Dec 15 13:42:55 2007 +0000 10332 10333 Remove unused functions o_{net,bus}_xorrubber() 10334 10335commit 79f8378827becac265f5cd3a3327ab79a2c8befc 10336Author: Peter Clifton <pcjc2@cam.ac.uk> 10337Date: Sat Dec 15 13:31:39 2007 +0000 10338 10339 Always redraw the screen using a blit from the backbuffer. 10340 10341 The previous redraw scheme which would draw to the screen concurrently 10342 with drawing to the backbuffer is proving to be a bottle-neck to recent 10343 desktops using compositing. Every draw we make forces the X server to 10344 compute a damaged region and re-composite the window. 10345 10346 We now draw only into the backbuffer, and then invalidate the extents of 10347 the region we've drawn. 10348 10349commit 33e12c8916f6b3bcd2d0df2246ef925e7b25b0dd 10350Author: Peter Clifton <pcjc2@cam.ac.uk> 10351Date: Sat Dec 15 13:31:38 2007 +0000 10352 10353 XOR draw to remove component ghost when cancelling component placement. 10354 10355 Changes previous full-screen redraw when cancelling component placement 10356 to use XOR drawing. Adds similar code to remove the ghost which exists 10357 (usually underneath the dialog) when the component selection dialog is 10358 closed. Don't rely on an expose event to re-paint it for us. 10359 10360commit ebf8dd81c398f39adcdbe4801d4a624ab1f73241 10361Author: Peter Clifton <pcjc2@cam.ac.uk> 10362Date: Sat Dec 15 13:31:36 2007 +0000 10363 10364 Remove unused toplevel variable in o_grips_motion() 10365 10366commit 20f61e1aaebcf565e5d7dcf111b1c07cd8483fd1 10367Author: Peter Clifton <pcjc2@cam.ac.uk> 10368Date: Sat Dec 15 12:32:52 2007 +0000 10369 10370 Fix test of object_changing in o_grips_motion() to a g_return_if_fail() 10371 10372 This test isn't hit unless o_grips_motion() is called before the 10373 object_changing variable is set, and this would indicate a bug in 10374 libgeda or its client. This could currently cause a segfault if it 10375 were to happen, as the variable isn't initialised to NULL. 10376 10377 Initialise object_changing to NULL, so any bug will always be caught. 10378 10379 Tidy up indentation levels in o_grips_start() by returning early if we 10380 don't have any object to manipulate, rather than wrapping most of the 10381 funciton in an if (...) {...} test. 10382 10383commit 49bce50cbcfe83e7b53c4ffe76e4ca1edb333c38 10384Author: Peter Clifton <pcjc2@cam.ac.uk> 10385Date: Sat Dec 15 11:37:51 2007 +0000 10386 10387 Remove un-needed box size computation in o_select_box_start() 10388 10389commit ec2269ef825369b75ab932f5395a2f64dae72847 10390Author: Peter Clifton <pcjc2@cam.ac.uk> 10391Date: Sat Dec 15 11:19:48 2007 +0000 10392 10393 Fix stroke trail to be visible on light background color scheme 10394 10395commit a02bc0b501b7acbdf419ad306b46ec6a9522b61c 10396Author: Peter Clifton <pcjc2@cam.ac.uk> 10397Date: Sat Dec 15 11:12:47 2007 +0000 10398 10399 Erase stroke trails after an un-successful stroke recognition 10400 10401 Previous behaviour was only to erase stroke trails after a 10402 successful match. 10403 10404commit 47240f890c2282d19a1822c280de4fac18a50e66 10405Author: Peter TB Brett <peter@peter-b.co.uk> 10406Date: Wed Dec 12 19:19:13 2007 +0000 10407 10408 gschem: Warn before overwriting files. [1846593] 10409 10410 Also fixes a memory leak in the file save function. 10411 10412commit 405e7a33706d1e82d53c8d607aad11f9be8ad559 10413Author: Peter TB Brett <peter@peter-b.co.uk> 10414Date: Fri Dec 7 21:48:43 2007 +0000 10415 10416 General log handler improvements 10417 10418 - Handle all messages above "debug" level 10419 - Send all messages which are neither "message" nor "warning" levels 10420 to console using default log handler 10421 - Don't print to console from the gschem log handler 10422 10423commit 22b3fde6c98fc0219e54bf7edfcd8dcb33c5fe92 10424Author: Peter TB Brett <peter@peter-b.co.uk> 10425Date: Fri Dec 7 21:48:18 2007 +0000 10426 10427 gschem: Show log in pretty colours. 10428 10429commit 668ada22ec0f2a48adffcc62daacc6876108ee71 10430Author: Peter TB Brett <peter@peter-b.co.uk> 10431Date: Fri Dec 7 21:48:17 2007 +0000 10432 10433 Pass all log info to x_log_update_func 10434 10435 In order to enable applications to do interesting things with log 10436 messages, they need to have all of the log info (including severity 10437 and log domain). 10438 10439commit e0dda20b072897d6c00fddeddf729cab283a2810 10440Author: Peter TB Brett <peter@peter-b.co.uk> 10441Date: Fri Dec 7 21:48:17 2007 +0000 10442 10443 gschem: Show an informative message dialog when loading a file fails. 10444 10445commit be301530f468e4d0057b3be68e218ac444c2d2be 10446Author: Peter TB Brett <peter@peter-b.co.uk> 10447Date: Fri Dec 7 17:20:55 2007 +0000 10448 10449 Make libgeda's f_open() & f_open_flags use GError. 10450 10451 This patch actually *removes* error message output from file loading 10452 errors is some cases. This is for the sake of keeping the patch 10453 concise, and will be addressed in later patches. 10454 10455commit e4a1fa8545e76b4ef82cc1253e65a844fa5fea88 10456Author: Peter TB Brett <peter@peter-b.co.uk> 10457Date: Thu Nov 29 13:32:15 2007 +0000 10458 10459 symbols: Nicer names for default libraries 10460 10461 Use the features added in the component library backend rewrite to 10462 give the default component libraries less cryptic names. 10463 10464 Also, put them in a sensible order, and disable component library 10465 sorting by default so that that order is preserved. 10466 10467commit 49059356b318abbfa2ce977e017859049fd40162 10468Author: Peter TB Brett <peter@peter-b.co.uk> 10469Date: Thu Nov 29 08:37:12 2007 +0000 10470 10471 gschem: Fix file loading 10472 10473 commit 5cb63878f258bc836a9908b329608268c38cf64c inadvertently broken 10474 file loading completely due to a logic error. 10475 10476commit 5cb63878f258bc836a9908b329608268c38cf64c 10477Author: Peter TB Brett <peter@peter-b.co.uk> 10478Date: Thu Nov 29 01:29:16 2007 +0000 10479 10480 gschem: Fix new page behaviour 10481 10482 Currently, gschem attempts to load "untitled-1.sch" from the cwd at 10483 startup. This is clearly wrong -- gschem should present a blank page 10484 regardless of whether there is a page available on disk (consider 10485 behaviour for "untitled-N.sch", N>1). 10486 10487 This has the side effect of stopping gschem from trying to load backup 10488 files for new pages (this is a good thing). 10489 10490commit 7228144a2195734300776a868ee88ee648a93df8 10491Author: Peter TB Brett <peter@peter-b.co.uk> 10492Date: Thu Nov 29 00:29:15 2007 +0000 10493 10494 gschem: Fix "failed to set sensitivity" log spam 10495 10496 A bad string in i_basic.c was making x_menus_sensitivity() spam error 10497 messages to the log. Altered the log message to make it easier to fix 10498 in the future. 10499 10500 Bug was introduced in commit 93199b2f50c31691722ed154fc42fd4c01a2dac5 10501 by editing menu definitions in system-gschemrc without updating 10502 i_basic.c. 10503 10504commit e97af7cb9cd0b79534cc2bf93e6e5dbf336e883a 10505Author: Peter TB Brett <peter@peter-b.co.uk> 10506Date: Wed Nov 28 14:58:15 2007 +0000 10507 10508 gschemdoc: Use xdg-open if available 10509 10510 xdg-open is a tool from freedesktop.org which tries to use the user's 10511 preferred application to open a file or URL. This is a big 10512 improvement over using a hardcoded list of applications to try. 10513 10514commit ae225157603f063747709fa3d639ed8cdf63f6b1 10515Merge: 1abfd25 43b5713 10516Author: Peter TB Brett <peter@peter-b.co.uk> 10517Date: Tue Nov 27 07:53:37 2007 +0000 10518 10519 Merge with Cesar's mingw/pu branch 10520 10521 Merge commit 'cesar/mingw/pu' into premerge 10522 10523commit 1abfd25bf917ee4e90ccdbbbe9921db6ff46c49f 10524Author: Peter TB Brett <peter@peter-b.co.uk> 10525Date: Sat Nov 24 08:34:13 2007 +0000 10526 10527 gschem: Fix NULL pointer risk in x_image.c [1802087] 10528 10529 x_image_update_dialog_filename may attempt to deference a NULL 10530 pointer. 10531 10532commit 74e7888ed1d23eac05d097f9d635d4a58a6576a3 10533Author: Peter TB Brett <peter@peter-b.co.uk> 10534Date: Fri Nov 23 21:43:49 2007 +0000 10535 10536 gschemdoc: Quote variables in case they contain spaces. [1792986] 10537 10538 In the gschemdoc shell script, the variables $pdfreader and $browser 10539 need quoting on lines 86, 113 and 128 (eg "${browser}"). Otherwise, 10540 paths with spaces in, like "Program Files/Mozilla Firefox" commonly 10541 used in Windows don't work. 10542 10543 Based on anonymous SourceForge patch. 10544 10545commit 8b490a404e682ac4f1e4cbd46e22c92f58b2ae76 10546Author: Tomaž Šolc <tomaz.solc@tablix.org> 10547Date: Fri Nov 23 21:42:50 2007 +0000 10548 10549 Compilation fixes for Mac OS X 10.5 [1832417] 10550 10551 This patch contains changes to gEDA source tree that were necessary to 10552 compile on Mac OS X (10.5 Leopard, PPC). 10553 10554commit 0b0d1259692ffe36e3bbc617af78bbf8a1c8f716 10555Author: Peter Clifton <pcjc2@cam.ac.uk> 10556Date: Sun Nov 18 21:34:57 2007 +0000 10557 10558 Improve object mirroring API in libgeda + gschem 10559 10560 Implements the o_mirror_world() function which rotates any object, and 10561 o_{glist,list}_mirror_world() functions which mirror lists of objects. 10562 10563 Moves o_complex_mirror_world() from gschem into libgeda, and modifies 10564 appropriate places in libgeda + gschem to use the new API. The old 10565 gschem function o_mirror_world() becomes o_mirror_world_update(), a 10566 convenience function calling o_glist_mirror_world() and ensuring all 10567 necessary drawing and connection updates are made. 10568 10569 Removes the o_complex_mirror_lowlevel() function which is made redundant 10570 by the above changes. 10571 10572commit 21a8790b0540c374b00cfc45ad79ab474a4655b0 10573Author: Peter Clifton <pcjc2@cam.ac.uk> 10574Date: Sun Nov 18 21:34:35 2007 +0000 10575 10576 Improve object rotation API in libgeda + gschem 10577 10578 Implements the o_rotate_world() function which rotates any object, and 10579 o_{glist,list}_rotate_world() functions which rotate lists of objects. 10580 10581 Moves o_complex_rotate_world() from gschem into libgeda, and modifies 10582 appropriate places in libgeda + gschem to use this new API. The gschem 10583 function o_rotate_90_world() is greatly simplified, becoming a 10584 convenience function calling o_glist_rotate_world() and ensuring all 10585 necessary drawing and connection updates are made. This function is 10586 renamed o_rotate_world_update(). 10587 10588 Removes the o_{complex,text}_rotate_lowlevel() functions which are made 10589 redundant with the above changes. 10590 10591commit 626f5c071a1dfea55e0214f6064b29908152d792 10592Author: Peter Clifton <pcjc2@cam.ac.uk> 10593Date: Sun Nov 18 19:21:34 2007 +0000 10594 10595 Update the all drawing state SCREEN co-ordinates when zooming / panning. 10596 10597 By updating all of the co-ordinate state when zooming / panning, a redraw 10598 which includes a draw of any rubberbanded items will show them in the 10599 correct location. This allows XOR drawing to continue without dropping 10600 artifacts, or flashing up a "ghost" where the original element being moved 10601 was. The explicit erase for the gost item when moving is no longer needed. 10602 10603commit b20fa7e79e364fc8b5188ce8f6d9d807d8185a44 10604Author: Peter Clifton <pcjc2@cam.ac.uk> 10605Date: Sun Nov 18 19:19:20 2007 +0000 10606 10607 Rework o_drawbounding() to work without dropping artifacts in all modes. 10608 10609 Simplifies both o_drawbounding(), and many functions which call it. No 10610 special casing outside o_drawbounding() is needed for OUTLINE vs. 10611 BOUNDINGBOX mode. Duplicated code has been reduced by making more use of 10612 o_drawbounding() during copying / complex OBJECT placement. 10613 10614 This commit fixes bugs in code paths which aren't normally exercised, as 10615 the BOUNDINGBOX drawing mode isn't used any more. The code could be 10616 simplified further by removing the BOUNDINGBOX mode if desired. 10617 10618commit c3e9ed7bd974e4c8f8adbd7d61b44a11ed0edfe1 10619Author: Peter Clifton <pcjc2@cam.ac.uk> 10620Date: Sun Nov 18 19:03:12 2007 +0000 10621 10622 Don't redraw the selected objects which are being manipulated by grips 10623 10624 This saves the need to explicitly erase those object after every redraw. 10625 10626commit 0b34786f4d28b57854f5cc4851afa40ac44b4ac3 10627Author: Cesar Strauss <cestrauss@gmail.com> 10628Date: Fri Nov 16 09:33:52 2007 -0200 10629 10630 MinGW does not have getuid nor getgid. 10631 10632commit bdd7ef7ee9047c3942b43c165396ebe48d31e95a 10633Author: Cesar Strauss <cestrauss@gmail.com> 10634Date: Sun Nov 11 14:17:21 2007 -0200 10635 10636 Use g_path_is_absolute from GLIB instead of platform specific code. 10637 10638commit 40c0582e39d6a7ed0a41e0e5deedc0bfd03bbddc 10639Author: Cesar Strauss <cestrauss@gmail.com> 10640Date: Thu Nov 15 19:11:12 2007 -0200 10641 10642 Use forward slashes as path separators on MinGW. 10643 10644 They are also acceptable as path separators on MinGW. 10645 10646commit d715ba7dc3e02d77e671b9ab54b994379daefec5 10647Author: Cesar Strauss <cestrauss@gmail.com> 10648Date: Thu Nov 15 13:34:40 2007 -0200 10649 10650 Tell git to ignore .exe files. 10651 10652commit f71ae05abf00acdafa0d5626304ca6baa9851a53 10653Author: Peter Clifton <pcjc2@cam.ac.uk> 10654Date: Tue Nov 6 23:11:41 2007 +0000 10655 10656 Free gdk events obtained with gtk_event_get(). 10657 10658 gtk_event_put() copies an event given to it, so if we retrieve an event 10659 and re-push it into the event queue, we still need to free our copy. 10660 10661commit 21f35c531c68e6ceafa09548e0de6040e1b1ce52 10662Author: Peter Clifton <pcjc2@cam.ac.uk> 10663Date: Tue Nov 6 23:11:39 2007 +0000 10664 10665 Refactor XOR drawing functions to avoid code duplication. 10666 10667commit 14da6cd4ad1e318b53f0d3b745667842a442bf66 10668Author: Peter Clifton <pcjc2@cam.ac.uk> 10669Date: Tue Nov 6 23:09:38 2007 +0000 10670 10671 Remove full screen redraw calls the rubberbanding and ..._end() functions. 10672 10673 These calls aren't hit, as they were conditional on the inside_action flag 10674 being 0, which should not be the case when these functions are called. 10675 10676 Temporarily add g_assert() statments to verify inside_action != 0 to prove 10677 these changes are appropriate. Assertions should be removed after testing. 10678 10679commit 5f08590dee1f13d4b771880d46f317e49253ccff 10680Author: Peter Clifton <pcjc2@cam.ac.uk> 10681Date: Fri Nov 2 18:27:56 2007 +0000 10682 10683 Remove the o_redraw_all_fast() function, as its not any faster now. 10684 10685 Historically, o_redraw_all_fast() may have been used for faster drawing 10686 in some cases, however the o_redraw_all() call is now equivelant, with 10687 the addition of redrawing any "place" trails should gschem be mid-action. 10688 10689commit 23ead18086e59aab22945c37ff95f49e5747f277 10690Author: Peter Clifton <pcjc2@cam.ac.uk> 10691Date: Wed Oct 17 04:50:39 2007 +0100 10692 10693 Remove the ATTRIB linked list in favour of a GList 10694 10695 The ATTRIB.copied_to pointer is moved from the ATTRIB struct to reside in 10696 the source OBJECT being copied. 10697 10698 The ATTRIB *attached_to pointer of an attribute's text OBJECT is changed 10699 to OBJECT *attached_to, pointing directly at the OBJECT to which that 10700 attribute is attached. This avoids the need to traverse the ATTRIB list 10701 and retrieve this pointer from the HEAD attribute node. (A HEAD node is 10702 not used in the GList of ATTRIBs). 10703 10704 The ATTRIB structure now only contains one element, OBJECT *object. This 10705 points to the text OBJECT holding and displaying that attribute's 10706 "name=value". 10707 10708commit 6f0ab03ed06d5cf0265a4f5bee516866efc16828 10709Author: Peter Clifton <pcjc2@cam.ac.uk> 10710Date: Wed Oct 17 04:14:38 2007 +0100 10711 10712 Tidy the o_drawbounding() function to make it more readable. 10713 10714commit 1ec03e992136e524a24b6bd593a4e0de3ce0158f 10715Author: Peter Clifton <pcjc2@cam.ac.uk> 10716Date: Wed Oct 17 04:14:25 2007 +0100 10717 10718 Add function o_erase_list() to gschem, to undraw a GList of OBJECTS. 10719 10720commit 20df014334dbd0b62e2ec3515ff932726c2a29c9 10721Author: Peter Clifton <pcjc2@cam.ac.uk> 10722Date: Tue Oct 9 22:27:02 2007 +0100 10723 10724 Tidy o_redraw() to be more concise and have a tighter inner loop. 10725 10726commit ccd73092afbe22bdd6ef9f17318481dc32e50c8a 10727Author: Peter Clifton <pcjc2@cam.ac.uk> 10728Date: Tue Oct 9 22:05:22 2007 +0100 10729 10730 Avoid use of global_window_current in gschem/src/x_dialog.c: color_set() 10731 10732commit f914d437f4a76df5ba28e80e7dab6f55996a8b59 10733Author: Peter Clifton <pcjc2@cam.ac.uk> 10734Date: Tue Oct 9 22:05:21 2007 +0100 10735 10736 Split out gschem specific TOPLEVEL variables into a new GSCHEM_TOPLEVEL 10737 10738 GSCHEM_TOPLEVEL has a TOPLEVEL *toplevel pointer as its first elelment, 10739 gschem uses this to call libgeda functions. (Almost) all gschem functions 10740 now take the GSCHEM_TOPLEVEL as their first argument. 10741 10742commit 3da83d39b58ab2cb642b93b798ec31be0a725d81 10743Author: Peter Clifton <pcjc2@cam.ac.uk> 10744Date: Tue Oct 9 20:08:26 2007 +0100 10745 10746 Move o_redraw_single() from libgeda to gschem 10747 10748commit fe4375d7185c0d5f7cc8186c1a214981fb6d0edd 10749Author: Peter Clifton <pcjc2@cam.ac.uk> 10750Date: Tue Oct 9 20:08:26 2007 +0100 10751 10752 Move libgeda's o_selection_unselect_list() into gschem. 10753 10754 The function calls o_redraw_single(), so should be in gschem. 10755 It is now named o_select_unselect_list(). 10756 10757commit f217428f8248d6e8491d943256d30d5e11d808d1 10758Author: Peter Clifton <pcjc2@cam.ac.uk> 10759Date: Thu Oct 4 19:42:01 2007 +0100 10760 10761 Remove OBJECT* linked list argument to o_drawbounding(). 10762 10763 All code is now passing GLists of objects to this function. 10764 10765commit 185958029cb58e26d37854c7580bef1b0869a7c9 10766Author: Peter Clifton <pcjc2@cam.ac.uk> 10767Date: Thu Oct 4 19:42:01 2007 +0100 10768 10769 Use GLists to store OBJECTs in the "object_buffers[]" paste buffers. 10770 10771 Replaces o_list_copy_all_selection2() with o_glist_copy_all_to_glist(). 10772 10773commit 38d3c48fd5a2ea57af5d772854393b39fd3b7e78 10774Author: Peter Clifton <pcjc2@cam.ac.uk> 10775Date: Thu Oct 4 19:42:00 2007 +0100 10776 10777 Make attribute / text placing use a new attrib_place_list GList. 10778 10779commit d1e77cc6b87f6bd78cfc38630c292ac2c0f1f09b 10780Author: Peter Clifton <pcjc2@cam.ac.uk> 10781Date: Thu Oct 4 02:44:18 2007 +0100 10782 10783 Remove the redundant toplevel variables current_{show,visible}. 10784 10785 These variables were previously used for an interactive method of attrib 10786 placement which has since been removed. The current_visible variable was 10787 also tested during non-attribute text placement, but to no effect. 10788 10789 Whilst the file-format does technically allow invisible text, gschem's UI 10790 pesesnts no way to achieve it, so removing this variable does no harm. The 10791 ability to correctly load schematics with invisible text remains. 10792 10793commit aa91395ad62805ec4112d602406888a328c43519 10794Author: Peter Clifton <pcjc2@cam.ac.uk> 10795Date: Thu Oct 4 02:36:19 2007 +0100 10796 10797 Remove the unused states for attrib placement: DRAWATTRIB and ENDATTRIB. 10798 10799 Also removes the functions: 10800 o_attrib_{start|end|rubberattrib} which are no longer used after this. 10801 10802commit 6a0fb625ba8dfd3d8dceb1b44055d4920e4b2658 10803Author: Peter Clifton <pcjc2@cam.ac.uk> 10804Date: Thu Oct 4 02:35:53 2007 +0100 10805 10806 Remove the unused function o_erasebounding(). 10807 10808commit 4595948e41b2d195eb78a820fc15d0d8596067a4 10809Author: Peter Clifton <pcjc2@cam.ac.uk> 10810Date: Thu Oct 4 02:34:50 2007 +0100 10811 10812 Avoid accessing (GList)->{next|priv} directly to aid debugging. 10813 10814 Instead use g_list_{next|previous}, allowing us to catch errors where 10815 changing from gEDA structures which had their own next and prev pointers. 10816 10817 To debug, edit the glist.h include file from glib, renaming the next and 10818 prev elements in the GList structure and macros. Recompile gEDA to see any 10819 bad accesses such as those where the HEAD nodes were previously skipped. 10820 10821commit fc2b607031341f2f15b9c6f3d881e11895bdef50 10822Author: Michele Petrecca <michelinux@alice.it> 10823Date: Tue Sep 11 22:49:03 2007 -0400 10824 10825 Updated Italian translation. 10826 10827commit e84c1d4ba2ad15e18f94346389d2671eb49d0cf5 10828Author: Ales Hvezda <ahvezda@seul.org> 10829Date: Tue Sep 11 22:37:55 2007 -0400 10830 10831 Fixed a whole bunch of gtk+ 2.4.x and misc issues building on an older box 10832 10833 This is a fix for (Patch#) 1789290 libgeda-1.2.0 fprintf which supplied a 10834 similar patch which fixes the issues in libgeda/src/s_clib.c and 10835 libgeda/src/s_textbuffer.c. In the future, all releases will be built with 10836 gtk+ 2.4.x so that these sorts of problems do not get released. 10837 10838commit bdc4d9ce6522fca0bf5332cb9c5228e03861c079 10839Author: Peter Clifton <pcjc2@cam.ac.uk> 10840Date: Sun Sep 9 14:14:44 2007 +0100 10841 10842 Avoid un-necessary usage of global_window_current in g_keys_execute() 10843 10844commit 8ca8f4d38990365a2455999ea7e649156d2f6f90 10845Author: Peter Clifton <pcjc2@cam.ac.uk> 10846Date: Sun Sep 9 14:14:42 2007 +0100 10847 10848 Avoid use of global_window_current in gschem/src/x_compselect.c 10849 10850commit fcbfa052a9bafdd11092a99909dc587476ef8612 10851Author: Peter Clifton <pcjc2@cam.ac.uk> 10852Date: Sun Sep 9 14:04:21 2007 +0100 10853 10854 Use a GObject constructor, not instance_init for compselect the dialog. 10855 10856 Using a GObject constructor allows access to the construct time properties 10857 of the object during initialisation, whereas at execution of the GType 10858 instance_init function, those properties have not been set. 10859 10860commit 201b6aecab7f3f0f86b6d89479e7c229d4e6fb30 10861Author: Peter Clifton <pcjc2@cam.ac.uk> 10862Date: Sun Sep 9 12:51:00 2007 +0100 10863 10864 Remove unused TOPLEVEL variables display_{width,height} 10865 10866commit 2be89fae224e359b5e349341da160cd19542d53d 10867Author: Peter Clifton <pcjc2@cam.ac.uk> 10868Date: Sun Sep 9 00:54:12 2007 +0100 10869 10870 Fix grid snapping in "Edit->Mirror Mode" 10871 10872 Where the user selectes Edit->Mirror Mode, then clicks a point about which 10873 to mirror, the snap operation on the mouse coordinates was not taking place 10874 until after the mirror. Bug was introduced with noscreen changes. 10875 10876commit 2e3c06cbcdce8254f70162ecebd650980cf70ee9 10877Author: Peter Clifton <pcjc2@cam.ac.uk> 10878Date: Sun Sep 9 00:18:34 2007 +0100 10879 10880 Remove the globally exported variable_set_func. 10881 10882 Only gattrib provided a non-NULL export of this symbol, and such imports 10883 into libgeda prevent libgeda being dynamically linked on some platforms. 10884 10885 To better match the other tools in the suite, gattrib's i_vars_set() and 10886 i_window_vars_set() functions were combined into a single i_vars_set(). 10887 10888commit f94d63a9a9f73e70b51c16b1e9f337bfa26b0de2 10889Author: Peter Clifton <pcjc2@cam.ac.uk> 10890Date: Sat Sep 8 23:26:47 2007 +0100 10891 10892 Use o_translate_world() to tidy up o_complex_translate_world() 10893 10894 Removed o_complex_world_translate_toplevel(), and changed all useage of 10895 o_complex_translate_world() for generic lists of objects to instead use 10896 the new o_list_translate_world(). o_glist_translate_world() is also added. 10897 10898commit 36dc96b81aadceb9bb6e4c3d8b59939a2dc240e0 10899Author: Peter Clifton <pcjc2@cam.ac.uk> 10900Date: Sat Sep 8 23:24:27 2007 +0100 10901 10902 Rename o_complex_world_translate() to o_complex_translate_world() 10903 10904 The function name now matches the pattern for other objects types. 10905 10906commit 4c7705297748e544ceeb1ac119ee44f7a72595c4 10907Author: Peter Clifton <pcjc2@cam.ac.uk> 10908Date: Sat Sep 8 15:26:31 2007 +0100 10909 10910 Remove unused function o_text_input(). 10911 10912commit 7e04d192b78dc0821efda3326e6ec676db424472 10913Author: Peter Clifton <pcjc2@cam.ac.uk> 10914Date: Sat Sep 8 00:17:05 2007 +0100 10915 10916 Remove o_complex_translate{2,_selection,_display_selection}() 10917 10918 o_complex_translate{_selection,_display_selection}() were unused, 10919 o_complex_translate2() simply wrapped o_complex_translate_display(). 10920 10921commit 32dbd8536c17bcce9fbd9436fbb4c7efa32ee546 10922Author: Peter Clifton <pcjc2@cam.ac.uk> 10923Date: Sat Sep 8 00:17:03 2007 +0100 10924 10925 Removed unnecessary angle parameter to o_complex_rotate_world(), fix bug. 10926 10927 Fix rotation code to support angles other than 90 degrees. All current 10928 users actually pass 90 degrees so this bug had no visible effect. 10929 10930commit 08ac872c975a587cf4125c6468c79c453661ee8f 10931Author: Peter Clifton <pcjc2@cam.ac.uk> 10932Date: Fri Sep 7 23:58:51 2007 +0100 10933 10934 Removed unused angle parameter to o_complex_rotate_lowlevel(). 10935 10936commit c66d009979f49bd7ac8ba0641a6974be9e6a82d5 10937Author: Peter Clifton <pcjc2@cam.ac.uk> 10938Date: Fri Sep 7 23:57:38 2007 +0100 10939 10940 Removed unused angle parameter to o_text_rotate_world(). 10941 10942 From an old unmerged patch by Patrick Bernaud. 10943 10944commit 0529c40c453c6f1a958acc87a85974c7a3f871b1 10945Author: Peter Clifton <pcjc2@cam.ac.uk> 10946Date: Fri Sep 7 00:20:29 2007 +0100 10947 10948 Avoid use of gtk_cell_renderer_stop_editing(), which is GTK 2.6+ 10949 10950 Instead emit the "editing-canceled" signal directly if necessary. 10951 10952commit 613dcf8d3c2cf0ef40278ff481cc44e68c98428a 10953Author: Peter Clifton <pcjc2@cam.ac.uk> 10954Date: Wed Sep 5 14:38:13 2007 +0100 10955 10956 Remove un-necessary variable re-initialisations in x_window_setup(). 10957 10958 The initialisations removed are the same as those in s_toplevel_new(). 10959 10960commit bd101aa36356082f479e1bd4970ea93b01bbfa5d 10961Author: Peter Clifton <pcjc2@cam.ac.uk> 10962Date: Wed Sep 5 14:38:02 2007 +0100 10963 10964 Remove the un-needed TOPLEVEL variable: DONT_RECALC, and its usage. 10965 10966commit 5e9f49ed25bf87783207906daaf915714f43259c 10967Author: Peter Clifton <pcjc2@cam.ac.uk> 10968Date: Wed Sep 5 14:37:56 2007 +0100 10969 10970 Remove the redundant TOPLEVEL variable: DONT_RESIZE 10971 10972commit 863d3c63667dc1a106b21758f957d810ee6f5583 10973Author: Peter Clifton <pcjc2@cam.ac.uk> 10974Date: Wed Sep 5 14:37:49 2007 +0100 10975 10976 Remove the redundant TOPLEVEL variable: DONT_DRAW_CONN 10977 10978commit bf3a364ed474ce6f5824a5f3fe94a3c17ce8bc28 10979Author: Peter Clifton <pcjc2@cam.ac.uk> 10980Date: Wed Sep 5 14:37:41 2007 +0100 10981 10982 Remove unused variables from the TOPLEVEL structure 10983 10984commit 96495b7a87701b2ea8d7eb6b4da206d6c169a85c 10985Author: Peter Clifton <pcjc2@cam.ac.uk> 10986Date: Wed Sep 5 13:46:57 2007 +0100 10987 10988 Fix memory corruption and possible segfault copying attributes 10989 10990 If an object (but not all its attributes) was selected and copied, dangling 10991 pointers were left in the un-copied attributes. A subsequent copy operation 10992 containing those missed attributes would attempt to reattach them to the 10993 copy of their parent. If this had been deleted in the mean time, memory 10994 corruption and a possible segfault would occur. 10995 10996 Consolidates the duplicated code which sets the ATTRIB property "copied_to" 10997 into a helper function, o_attrib_list_copied_to(). This is also used to 10998 clean up after copy operations. 10999 11000commit 5b2cb25e06604a8d31dff974f323477a78f02f46 11001Author: Peter Clifton <pcjc2@cam.ac.uk> 11002Date: Mon Sep 3 16:48:32 2007 +0100 11003 11004 Move o_picture_set_pixbuf() from libgeda to gschem 11005 11006commit 07d5a095c313e031b939d45f89afcd1c0ca9bc97 11007Author: Peter Clifton <pcjc2@cam.ac.uk> 11008Date: Mon Sep 3 16:48:09 2007 +0100 11009 11010 Remove unused TOPLEVEL variable REMOVING_SEL. 11011 11012commit 70d8cc898e42b95a7ac463d9e879c959690fbd5c 11013Author: Peter Clifton <pcjc2@cam.ac.uk> 11014Date: Mon Sep 3 16:47:22 2007 +0100 11015 11016 Remove unused dialog pointers from TOPLEVEL 11017 11018commit 9044d41a2305c97522bc70cfd7945f9d843482ae 11019Author: Peter Clifton <pcjc2@cam.ac.uk> 11020Date: Mon Sep 3 16:41:28 2007 +0100 11021 11022 Removes the linking between TOPLEVELs, instead uses a GList in gschem 11023 11024commit d68adb7f7d91836a9fb4553e7cb7067c9ec2cd33 11025Author: Peter Clifton <pcjc2@cam.ac.uk> 11026Date: Mon Sep 3 15:32:27 2007 +0100 11027 11028 Make use of o_select_unselect_all() to reduce code duplication in gschem 11029 11030commit bae595bf000b1d64ff83053cef76bce7839640b4 11031Author: Peter Clifton <pcjc2@cam.ac.uk> 11032Date: Mon Sep 3 15:32:27 2007 +0100 11033 11034 Remove o_unselect_all() function, instead use o_select_unselect_all() 11035 11036commit ebabf4fa5667d2ab74b5443367b83228fad4d6d0 11037Author: Peter Clifton <pcjc2@cam.ac.uk> 11038Date: Mon Sep 3 15:32:25 2007 +0100 11039 11040 Remove unused GType instance_init functions in gschem. 11041 11042commit 96ca8a9a2804176b689f4fe89393259ec109a6d9 11043Author: Peter Clifton <pcjc2@cam.ac.uk> 11044Date: Mon Sep 3 15:28:33 2007 +0100 11045 11046 Remove unused header file gschem/include/x_event.h 11047 11048commit 283c545e77ada97b7bee7834c34708a8053abe60 11049Author: Peter Clifton <pcjc2@cam.ac.uk> 11050Date: Mon Sep 3 13:49:51 2007 +0100 11051 11052 x_compselect.c: Avoid using GValue to set properties where unnecessary 11053 11054commit 63ee20a80cd42e1af745f9a52cd1d632c1bc345a 11055Author: Peter Clifton <pcjc2@cam.ac.uk> 11056Date: Mon Sep 3 12:17:25 2007 +0100 11057 11058 Avoid using s_hierarchy_up() for traversal when we know where we're going. 11059 11060 When trying to reach a specific parent we've come from before, we can use 11061 s_page_goto() and avoid the search through the page list. 11062 11063commit a1b83a7ed4edf0d857a7bcbb98d551a5653f0476 11064Author: Peter Clifton <pcjc2@cam.ac.uk> 11065Date: Mon Sep 3 12:17:19 2007 +0100 11066 11067 Fix indenting / whitespace in gschem/src/o_misc.c 11068 11069commit adca8b7d5897b11331c6a20392d22ad1e58ee572 11070Author: Peter Clifton <pcjc2@cam.ac.uk> 11071Date: Mon Sep 3 12:15:43 2007 +0100 11072 11073 Replace the linked list of PAGEs with a GedaList (typecast to GedaPageList) 11074 11075commit 086908ed44c9abc6d5907888695933b59ead4684 11076Author: Ales Hvezda <ahvezda@seul.org> 11077Date: Sun Sep 2 22:48:59 2007 -0400 11078 11079 Last minute updates to the READMEs for all projects 11080 11081 Cherry picked from stable-1.2 branch, since these changes apply to master 11082 too. 11083 (cherry picked from commit 88fcb8d1bcdaa1436572d6a0ebe86f4df242a8d6) 11084 11085commit 2a79a231e0ced47d36636690614af348f47fe1d6 11086Author: Ales Hvezda <ahvezda@seul.org> 11087Date: Sun Sep 2 21:11:05 2007 -0400 11088 11089 Updated po/pot files by running make update-po 11090 11091commit b018b88a1f2a88d246af850a67a15be5b19825b2 11092Author: Ales Hvezda <ahvezda@seul.org> 11093Date: Sun Sep 2 20:54:49 2007 -0400 11094 11095 Fix for Bug# 1782032: Blank attibute name when attribute value starts with " " 11096 11097 In order to fix this bug, we needed to validate the input attribute when: 11098 1) input an attribute using the single attribute editor, 11099 2) Add an attribute in the multi-attribute editor 11100 3) Modify the name or value of an attribute in the multi-attribute editor 11101 An attribute is not valid if the name or value are empty, name ends with a 11102 space, and/or value starts with a space. o_attrib_get_name_value does 11103 this validation throughout gaf. 11104 11105commit 5a67f8a879c0f5bcfaa14daf6847064beebaf783 11106Author: Ales Hvezda <ahvezda@seul.org> 11107Date: Sun Sep 2 18:52:50 2007 -0400 11108 11109 Moved refresh button in component select dialog box 11110 11111 The refresh button was along the very bottom of the component select 11112 dialog box at the same level as Close, Apply, and OK. The refresh 11113 operation is not nearly as important or first class as these actions. 11114 The refresh button was moved to the filter area. Whether this change 11115 sticks depends on what users think of the new location (I'm quite willing 11116 to move it elsewhere if there is a better spot). 11117 11118commit f0c1bf37611b14dedcf1c4b45ac2319216f3293c 11119Author: Ales Hvezda <ahvezda@seul.org> 11120Date: Sun Sep 2 18:21:24 2007 -0400 11121 11122 Added standard Control-z and Control-y keymappings for Undo and Redo 11123 11124commit 9f3b4e2520b8dc5adf3b77fd0dfbe1beec8398ef 11125Author: Ales Hvezda <ahvezda@seul.org> 11126Date: Sun Aug 19 23:03:54 2007 -0400 11127 11128 Another set of po files changed via make distcheck 11129 11130commit 6056ef48272778419d39e0233f395bfd60019ab9 11131Author: Ales Hvezda <ahvezda@seul.org> 11132Date: Sun Aug 19 22:40:19 2007 -0400 11133 11134 Update ChangeLogs using: ./update-changelogs.sh 1.0-20070526..master 11135 11136commit 19aacfff985ee9b478c4c50dfeeb1a8af5957c3a 11137Author: Ales Hvezda <ahvezda@seul.org> 11138Date: Sat Aug 18 16:41:24 2007 -0400 11139 11140 Added undo-panzoom keyword to control if pan/zoom cmds are undoable 11141 11142 The default is to still store the pan/zoom info when panning or zooming, 11143 but now the user has a choice. 11144 11145commit 93199b2f50c31691722ed154fc42fd4c01a2dac5 11146Author: Ales Hvezda <ahvezda@seul.org> 11147Date: Sat Aug 18 16:17:45 2007 -0400 11148 11149 Toplevel gschem menu tweaks 11150 11151 Added ... to some entries that open up dialog boxes or other windows 11152 Changed the ordering of Hotkeys and About in the Help menu 11153 Removed obsolete comment about the help menu being right justified 11154 11155commit 92b3b65d0cec286b0ce59fc43cc07dcb60c39fa1 11156Author: Ales Hvezda <ahvezda@seul.org> 11157Date: Sat Aug 18 16:14:30 2007 -0400 11158 11159 Bumped versions to 1.1.2/20070818/30:2:0 for the next development snapshot 11160 11161commit e4b8aac64806c5f345d009ce725e16660d67cee4 11162Author: Ales Hvezda <ahvezda@seul.org> 11163Date: Sat Aug 18 14:21:53 2007 -0400 11164 11165 Added dist-license and use-license to the attribute-name keyword 11166 11167commit f90d327e8f415f35c94c686db846e8377bc0cd26 11168Author: Ales Hvezda <ahvezda@seul.org> 11169Date: Tue Aug 14 08:01:18 2007 -0400 11170 11171 Updated po files using make update-po 11172 11173commit 72c4db8aa20c22baa4243a0d27b3bb3f32f3ef64 11174Author: Ales Hvezda <ahvezda@seul.org> 11175Date: Tue Aug 14 07:46:06 2007 -0400 11176 11177 Moved 3 rc promotion keywords from gschem into libgeda (fix for bug#1748143) 11178 11179 All the promotion keywords were moved from gschem into libgeda to fix: 11180 [ 1748143 ] gschlas causes duplicate prompted attributes The primary 11181 cause of this bug was that the promotion variables within TOPLEVEL were 11182 not being setup by gschlas and so duplicate refdes attributes were 11183 showing up in the schematic. The three rc keywords that were moved are: 11184 11185 (attribute-promotion ... ) 11186 (promote-invisible ... ) 11187 (keep-invisible ... ) 11188 11189commit e04284b595dffa4b9931872ae33b76daede58dd7 11190Author: Peter Clifton <pcjc2@cam.ac.uk> 11191Date: Sun Aug 12 01:57:17 2007 +0100 11192 11193 Fix component selector filtering after using the "Refresh" button. 11194 11195commit 802a2fea15d9bd918bd2398ac06bf6ca9b2e75c4 11196Author: Peter Clifton <pcjc2@cam.ac.uk> 11197Date: Sun Aug 12 01:57:00 2007 +0100 11198 11199 Make updates faster when typing in the component selector filter. 11200 11201 The filtering process doesn't happen until after the user pauses typing. 11202 Reducing the update delay from 300ms to 200ms makes this feel better. 11203 11204commit fa2045b8e9cac268fe0c0b7af2028ea768c8e465 11205Author: Peter Clifton <pcjc2@cam.ac.uk> 11206Date: Sun Aug 12 01:56:58 2007 +0100 11207 11208 Fix crash closing component selector window quickly after filtering. 11209 11210 Typing in the filter box adds new update timeouts (300ms) with each 11211 keystroke. If typing fast there could be more than one timer active at 11212 once, however only the last added is cancelled when closing the dialog. 11213 Timers which ran after the dialog closed could cause a segfault. 11214 11215 We now cancel any pending timeout before adding a new one. 11216 11217commit 663e133ff0c0e153a8081b36404c0808222c6dcb 11218Author: Ales Hvezda <ahvezda@seul.org> 11219Date: Fri Aug 10 22:00:58 2007 -0400 11220 11221 Added some net midpoint connections for testing purposes 11222 11223commit 703151a94b0eece6b24b3b18ce2465eeae068814 11224Author: Peter Clifton <pcjc2@cam.ac.uk> 11225Date: Thu Aug 9 12:36:17 2007 +0100 11226 11227 Remove old prototypes from various prototype.h where no function exists. 11228 11229commit 71600215311af0a98ed371ab750b09182de139a1 11230Author: Peter Clifton <pcjc2@cam.ac.uk> 11231Date: Sat Aug 11 00:52:25 2007 +0100 11232 11233 Revert inadvertent commits: 11234 11235 dbfe00a20de3f875e519ef60629b968977fc5db8 (commit) 11236 f1451161914a0ed0bb43123279906d82cb7d5b49 (commit) 11237 2ad315fc0badd16a9614d1107b22c973908893d5 (commit) 11238 d8844bb48969aa45a05cbe6836fc96c198e88c19 (commit) 11239 ee1b64a1ae07eb99eae5d63307e9fe23f9604662 (commit) 11240 11241commit dbfe00a20de3f875e519ef60629b968977fc5db8 11242Author: Peter Clifton <pcjc2@cam.ac.uk> 11243Date: Fri Aug 10 22:52:18 2007 +0100 11244 11245 Avoid using s_hierarchy_up() for traversal when we know where we're going. 11246 11247 When trying to reach a specific parent we've come from before, we can use 11248 s_page_goto() and avoid the search through the page list. 11249 11250commit f1451161914a0ed0bb43123279906d82cb7d5b49 11251Author: Peter Clifton <pcjc2@cam.ac.uk> 11252Date: Fri Aug 10 22:45:48 2007 +0100 11253 11254 Fix indenting / whitespace in gschem/src/o_misc.c 11255 11256commit 2ad315fc0badd16a9614d1107b22c973908893d5 11257Author: Peter Clifton <pcjc2@cam.ac.uk> 11258Date: Fri Aug 10 21:30:24 2007 +0100 11259 11260 Add page list "changed" signal handler to gschem's page manager dialog. 11261 11262commit d8844bb48969aa45a05cbe6836fc96c198e88c19 11263Author: Peter Clifton <pcjc2@cam.ac.uk> 11264Date: Fri Aug 10 21:26:10 2007 +0100 11265 11266 Replace the linked list of PAGEs with a GedaList (typecast to GedaPageList) 11267 11268commit ee1b64a1ae07eb99eae5d63307e9fe23f9604662 11269Author: Peter Clifton <pcjc2@cam.ac.uk> 11270Date: Fri Aug 10 01:32:27 2007 +0100 11271 11272 Add different select box behaviour for left-right and right-left drags 11273 11274 Selections boxes dragged from... 11275 11276 left to right: select elements entirely contained within the box. 11277 right to left: select any element partially inside the box. 11278 11279commit 0f5c72daacfa7d78666769e4063122934861da5c 11280Author: Peter Clifton <pcjc2@cam.ac.uk> 11281Date: Sun Aug 5 22:36:56 2007 +0100 11282 11283 Alter guile 1.6 compat tests to work with older autoconf versions 11284 11285 Don't use AC_DEFINE to define function like macros, instead use 11286 AC_CHECK_DECLS to set a HAVE_DECL_..., then use AH_VERBATIM to 11287 insert a test which defines a replacement if necessary. 11288 11289commit 5c098070b87709540345afb1b3b79d9db470ed53 11290Author: Peter Clifton <pcjc2@cam.ac.uk> 11291Date: Thu Aug 2 22:09:52 2007 +0100 11292 11293 Fix configure checks enabling guile 1.6.x compatability routines. 11294 11295commit 512561395fb348a0fb71625edb4fe1ec96553c3f 11296Author: Peter Clifton <pcjc2@cam.ac.uk> 11297Date: Thu Aug 2 13:17:58 2007 +0100 11298 11299 Fix to allow automatic loading of untitled backup files 11300 11301commit 4cbb0c15240f649cfd69b120e7ed7ecd6c752896 11302Author: Peter Clifton <pcjc2@cam.ac.uk> 11303Date: Thu Aug 2 13:16:22 2007 +0100 11304 11305 Fix drawing artifact when dragging a net / bus to zero length. 11306 11307 The grip dragging code cancels editing if you resize to a zero length line 11308 segment. Don't attempt to undraw the (zero length) rubberbanded line after 11309 the coordinates have been invalidated. 11310 11311commit 8dc511639494940987582871d9f2efa09ecc2b37 11312Author: Peter Clifton <pcjc2@cam.ac.uk> 11313Date: Thu Aug 2 13:07:30 2007 +0100 11314 11315 Refactor code in o_grips.c to reduce duplication 11316 11317 Also make many whitespace fixes. The code paths should remain the same. 11318 11319commit 92ef419c46d5a41aa33b399d43ccde2ba2a99998 11320Author: Peter Clifton <pcjc2@cam.ac.uk> 11321Date: Thu Aug 2 13:06:09 2007 +0100 11322 11323 Fix drawing of cues after moving a single line segment 11324 11325commit 0a7ab22a482a896818dff52fbf289856d76efc87 11326Author: Peter Clifton <pcjc2@cam.ac.uk> 11327Date: Wed Aug 1 22:58:05 2007 +0100 11328 11329 Alter grammar in gschem's "Unsaved changes" dialog box. 11330 11331commit c31bd4adb677d671af8bdf5aed71f96a4995f9b1 11332Author: Peter Clifton <pcjc2@cam.ac.uk> 11333Date: Tue Jul 31 20:03:51 2007 +0100 11334 11335 Changed configure.ac(.in) to allow guile-1.6 11336 11337 Introduces compatibility #defines where guile 1.8 funcs are missing in 11338 guile 1.6. Also adds missing configure.ac checks for guile in packages 11339 gattrib, gnetlist, gsymcheck and utils. 11340 11341commit 30a86f3458c5a1562d97d33b06320647ed23132e 11342Author: Peter Clifton <pcjc2@cam.ac.uk> 11343Date: Sat Jul 28 01:18:44 2007 +0100 11344 11345 Change color in the multi-attrib dialog "value" entry when insensitive. 11346 11347 Makes the "value" GtkTextView look the same as its neighbouring widgets 11348 when insensitive. Unfortunately GtkTextView always appears to render using 11349 the style's GTK_STATE_NORMAL text color. We save that initial value, and 11350 copy across either the saved value, or the GTK_STATE_INSENSITIVE text color 11351 when setting the widget sensitivities. 11352 11353 NB: This is just a workaround for what appears to be a bug in GTK+. 11354 11355commit f8f5c1f05c9c2dfa1d2566a113e9c295049f7564 11356Author: Peter Clifton <pcjc2@cam.ac.uk> 11357Date: Sat Jul 28 00:05:03 2007 +0100 11358 11359 Update the multi-attrib dialog after an undo operation. 11360 11361 The undo mechanism replaces the page (and selection object), so we need to 11362 poke the multi-attrib dialog after an undo operation for it to watch the 11363 new page's selection object. 11364 11365commit ae2ddeb6839ae4e2c9e9c73272b0372c63810717 11366Author: Peter Clifton <pcjc2@cam.ac.uk> 11367Date: Wed Jul 25 15:36:42 2007 +0100 11368 11369 Don't blank the add attribute boxes in the Multiattrib dialog. 11370 11371 Leaving the text present after adding an attribute makes it is easier to 11372 add the same attribute to multiple objects. Instead we add a "grab-focus" 11373 signal handler to select the text box contents as we tab into it. 11374 11375commit 31f65059cf1ce5be9b8a0987d4538fed075a6805 11376Author: Peter Clifton <pcjc2@cam.ac.uk> 11377Date: Wed Jul 25 02:09:15 2007 +0100 11378 11379 Fixed two calls to free() where g_free() should have been used. 11380 11381 Updated Doxygen comments to note where memory should be freed with g_free() 11382 rather than free(). Commented three instances where free() is correct. 11383 11384commit 852786d7dc90eebdc677e5d2af916d577d5f3aaa 11385Author: Peter Clifton <pcjc2@cam.ac.uk> 11386Date: Sun Jul 22 17:12:12 2007 +0100 11387 11388 Clamp page canvas size in the preview to the size of the page contents 11389 11390 Ensures the user can't zoom way off the page contents being previewed. 11391 11392commit 41ce0eb61b4b91d407d788a7ae1eb823d60fbdfd 11393Author: Peter Clifton <pcjc2@cam.ac.uk> 11394Date: Sun Jul 22 17:12:08 2007 +0100 11395 11396 Alter panning code to center the page in the viewport if under-zoomed 11397 11398 Centering is independant in the X and Y directions. When the viewport is 11399 larger than the page canvas in a particular direction the page is 11400 re-centered in that direction. This is necessary for a nice preview. 11401 Also change preview widget code to remove the A_PAN_IGNORE_BORDERS flag 11402 from zoom operations, which is no-longer needed with the above changes. 11403 11404commit 42034b5e81a0a4d40254aa2ef557083531d38291 11405Author: Peter Clifton <pcjc2@cam.ac.uk> 11406Date: Sun Jul 22 14:32:05 2007 +0100 11407 11408 Stop scroll events wraping the pointer when the preview widget is inavtive 11409 11410 Also corrects the prototype of the scroll event handler to return gboolean 11411 11412commit 3345932d7fcaad0570ebd793f88253696a014895 11413Author: Peter Clifton <pcjc2@cam.ac.uk> 11414Date: Sun Jul 22 14:15:35 2007 +0100 11415 11416 Clear the preview when no valid file is selected in the file chooser 11417 11418 Previously the preview widget would continue to display the last 11419 schematic or symbol which had been selected. 11420 11421commit 867525cce75bcf9996992db1681f506f4fcdc84f 11422Author: Peter Clifton <pcjc2@cam.ac.uk> 11423Date: Sun Jul 22 14:14:37 2007 +0100 11424 11425 Clear preview and stop placing components when no valid symbol is selected. 11426 11427 Previously the component selector preview would continue to display the 11428 last symbol which selected, and component placement could continue. 11429 11430commit c217b2b5160867c85ef89d53c5035adfc430da09 11431Author: Peter Clifton <pcjc2@cam.ac.uk> 11432Date: Sun Jul 22 14:02:12 2007 +0100 11433 11434 Fix some memory leaks when placing components. 11435 11436 In several places the complex_place_list glist was freed, 11437 but its contents were not. 11438 11439commit ac28aaa56a684a07fe3ee5590a31baf3fa8adbe7 11440Author: Peter Clifton <pcjc2@cam.ac.uk> 11441Date: Sun Jul 22 05:33:42 2007 +0100 11442 11443 Save/restore which component selector source tab was last used. 11444 11445commit 7f54d6e4996f15d14781a49b3400ce89a39a60dd 11446Author: Peter Clifton <pcjc2@cam.ac.uk> 11447Date: Sun Jul 22 05:10:27 2007 +0100 11448 11449 Make the preview widget resizable 11450 11451 Added handler for the configure event to resize the backing store and 11452 re-zoom the preview. Added the A_PAN_IGNORE_BORDERS flag to the zoom 11453 extents calls - giving a nice centered preview. 11454 11455 Altered component selector dialog's alignment widget to allow the preview 11456 widget to expand to fill the available space. 11457 11458commit 50a6da87868ce9d0f3cc788a8a9918fd9210a536 11459Author: Peter Clifton <pcjc2@cam.ac.uk> 11460Date: Sun Jul 22 04:52:23 2007 +0100 11461 11462 Fix mouse initiated zoom / panning operations on the preview widget 11463 11464 The preview widget isn't called with a filename for previewing component 11465 sources, so the test for filename != NULL in the mouse event handlers 11466 stopped those callbacks working. 11467 11468 Also added a scroll event handler to allow zooming with the mouse wheel. 11469 11470commit 8ad905e0d55b7ed60b3f5c63cf6056ddccee7a8b 11471Author: Peter Clifton <pcjc2@cam.ac.uk> 11472Date: Sun Jul 22 04:49:35 2007 +0100 11473 11474 Fix zoom extents to work correctly first time. Closes bug #1699959. 11475 11476 A page's visible area is intialised to be the same size as the canvas 11477 extents. The zoom extents code scales based on this visible area, however 11478 this initialisation isn't correct, since the aspect ratio of the screen 11479 doesn't always match the canvas extents. The first call to zoom extents 11480 would fix this by correctly setting the visible area. 11481 11482 By making the zoom extents code work from the screen aspect ratio (scaled 11483 to world coordinates), we can zoom to the visible extents in one shot. 11484 11485 Also fixed some /2 operations, which for doubles should be /2.0 11486 11487commit e4f7225254cb5168131d31347a8de277181f41ea 11488Author: Peter Clifton <pcjc2@cam.ac.uk> 11489Date: Sat Jul 21 19:16:50 2007 +0100 11490 11491 Save/restore geometry of the GtkHPaned in the component selection dialog. 11492 11493commit a139f2ed1ec50ad2a0fec4e91c7e51dd690d983a 11494Author: Peter Clifton <pcjc2@cam.ac.uk> 11495Date: Sat Jul 21 19:16:24 2007 +0100 11496 11497 Extend GschemDialog to allow hooking to save/restore internal geometry 11498 11499 GschemDialog now emits "geometry-save" and "geometry-restore" signals 11500 which instances can connect to. Subclasses may over-ride and chain the 11501 "geometry_save" and "geometry_restore" class members. These signal handlers 11502 are passed a pointer to the GKeyFile and a text string identifying the 11503 group it expects data to be saved under. 11504 11505 The code relies on features only available in GLIB 2.6 onwards. When using 11506 this functionality the code must be surrounded with an appropriate test as 11507 the class functions are not defined when compiling against an older GLIB. 11508 11509commit 91ffb796f41ca6ee7a5ed1063917f7bb3fd03464 11510Author: Peter Clifton <pcjc2@cam.ac.uk> 11511Date: Sat Jul 21 19:16:09 2007 +0100 11512 11513 Separate the list and preview with a GtkHPaned in the compselect dialog. 11514 11515commit 5e47599e07b5bed9d24b5c295db7a5e05f7c4624 11516Author: Peter Clifton <pcjc2@cam.ac.uk> 11517Date: Fri Jul 20 17:36:39 2007 +0100 11518 11519 Added missing test to allow pins to work with the multiattrib dialog 11520 11521commit 6287df1357bdfc0188f5fa60df5d88f5fc5e4b40 11522Author: Peter Clifton <pcjc2@cam.ac.uk> 11523Date: Fri Jul 20 14:15:10 2007 +0100 11524 11525 Make the multi-attribute editor non-modal 11526 11527 This implementation only supports editing when a single object which can 11528 have attributes is selected. Work is required to act more intelligently if 11529 an attribute its-self is selected, and with multiple selections. 11530 11531commit 1dfb3a4b9907ff81552de57080d2897ab40e512c 11532Author: Peter Clifton <pcjc2@cam.ac.uk> 11533Date: Thu Jul 19 15:13:03 2007 +0100 11534 11535 Make the Escape key cancel editing in the multiattrib dialog. 11536 11537 The previous behaviour where it would quit editing but save the changes is 11538 counter-intuitive for the user. 11539 11540commit c06b6684296a2ec6765036b28e8c48a50c2b8928 11541Author: Peter Clifton <pcjc2@cam.ac.uk> 11542Date: Thu Jul 19 15:13:00 2007 +0100 11543 11544 Remove workaround for an unknown property with GTK 2.2 in x_multiattrib.c 11545 11546commit cb9c4ee19ca58158308a234782fdad6fb60257da 11547Author: Peter Clifton <pcjc2@cam.ac.uk> 11548Date: Thu Jul 19 15:09:56 2007 +0100 11549 11550 Change selection code to use a generic GedaList typecast to SELECTION. 11551 11552 GedaList allows various parts of the program to keep track of changes 11553 to the selection via callbacks attached to the GedaList object. 11554 11555commit b5caa78a6dd9227d328397cb77ac4b0731c7d1c9 11556Author: Peter Clifton <pcjc2@cam.ac.uk> 11557Date: Sun Jul 15 12:55:54 2007 +0100 11558 11559 Remove unused function e_gtk_button_new_with_icon() from x_pagesel.c 11560 11561commit 5dfe42146dfee7dd0909cda7615279228bc09d70 11562Author: Peter Clifton <pcjc2@cam.ac.uk> 11563Date: Sun Jul 15 12:55:47 2007 +0100 11564 11565 Split out update(s) when notify::toplevel on GschemDialog is recieved. 11566 11567 We need to perform various setup actions when the toplevel property of our 11568 parent GschemDialog is set. We need to make this a specific function, as 11569 the current method of just calling pagesel_update isn't correct for all 11570 future cases. 11571 11572commit cd7db8026b00934afc6acc1ff8f5467021194287 11573Author: Peter Clifton <pcjc2@cam.ac.uk> 11574Date: Sun Jun 24 04:21:39 2007 +0100 11575 11576 Fixed memory leak placing components. 11577 11578 When placing components we free'd the complex_place_list without removing 11579 the objects it pointed to. The code now uses s_delete_object_glist(..) 11580 rather than g_list_free(..) to free the complex_place list and its objects. 11581 11582commit 9cc487143fe371181bc0fea41e94c03a54b776f9 11583Author: Werner Hoch <werner.ho@gmx.de> 11584Date: Tue Jul 10 17:32:59 2007 +0200 11585 11586 gschem: updated german translation 11587 11588commit b41713e02347002424ca8c18aaa0f9f6a4a6e660 11589Author: Carlos Nieves Onega <cnieves@iespana.es> 11590Date: Mon Jul 9 19:33:45 2007 +0200 11591 11592 Updated spanish translation. 11593 11594commit ff036cbb89336c48106b064af499b6e841c7d8a5 11595Author: Carlos Nieves Onega <cnieves@iespana.es> 11596Date: Mon Jul 9 18:36:36 2007 +0200 11597 11598 Disable rotating while copying, & fix hitting rotate hotkey/menu while moving. 11599 11600 Rotating while copying is still not supported, so disable it. 11601 Fix behaviour when hitting the rotate hotkey, or select the edit->rotate menu 11602 while moving. 11603 Previously the move action was cancelled and then the selection was rotated. 11604 Now, the objects being moved are rotated, and the move action continues. 11605 11606commit e978b9098c7567ad3b9c834a5e4914de3bc039ec 11607Author: Ales Hvezda <ahvezda@seul.org> 11608Date: Sun Jul 8 18:18:39 2007 -0400 11609 11610 Updated ChangeLogs using ./update-changelogs.sh 1.0-20070526..master 11611 11612commit e653983c3177bdadfecb56f49662f5cb39c5749b 11613Author: Ales Hvezda <ahvezda@seul.org> 11614Date: Sun Jul 8 18:17:28 2007 -0400 11615 11616 Updated all pot/po files (via make update-po). 11617 11618commit d7e8f5abc35644e90bfabf84396023cab09f2968 11619Author: Ales Hvezda <ahvezda@seul.org> 11620Date: Sun Jul 8 16:18:57 2007 -0400 11621 11622 Updated configure.ac[.in] and Makefile versions in prep for a release. 11623 11624 The update was done by running ./update-versions.sh 1.1.1 20070708 30:1 11625 at the toplevel. libgeda's shared library version is now 30:1:0 11626 11627commit 3f3505662fe4bb8c585aea0ea965296bd923956c 11628Author: Carlos Nieves Onega <cnieves@iespana.es> 11629Date: Sun Jul 8 21:16:17 2007 +0200 11630 11631 Added *~ to .gitignore files. 11632 11633commit 3cf1cca33ed2e567b959ad8486cad0d4cdbb47e9 11634Author: Ales Hvezda <ahvezda@seul.org> 11635Date: Sun Jul 8 13:55:38 2007 -0400 11636 11637 Added some missing code to controlling junction color (more for #1746675) 11638 11639commit 4f245d7023eec872e5dd484530dff9a77ff77dfc 11640Author: Carlos Nieves Onega <cnieves@iespana.es> 11641Date: Sun Jul 8 19:47:14 2007 +0200 11642 11643 Set the focus to the filter entry only if it is visible. 11644 11645 In the compselect window, focus can be set to the filter entry only 11646 if it is visible (i.e.: its ancestor is the current tab). Otherwise, 11647 GTK is confused. 11648 11649commit 29f4868bb8ac570445da493c69afb91aafcf69d0 11650Author: Carlos Nieves Onega <cnieves@iespana.es> 11651Date: Sat Jul 7 01:03:41 2007 +0200 11652 11653 Disable rotating using middle mouse button while copying. 11654 11655 Rotating while copying is still not supported, so it should be disabled. 11656 Now middle mouse button does nothing while copying. 11657 11658commit f30cf1a2fd45898b62e236116a84059bd0df9544 11659Author: Carlos Nieves Onega <cnieves@iespana.es> 11660Date: Sat Jul 7 00:55:05 2007 +0200 11661 11662 Fixed drawing bug when attribute autoplacing is enabled. 11663 11664 When rotating while placing a new component, the refdes was drawn 11665 wrongly, and it was shown fixed in the screen despite the component 11666 being moved. 11667 This was due to attribute autoplacing function was called before drawing 11668 the component. This function erases the old text (which wasn't drawn), thus 11669 drawing the text in the screen permanently. 11670 This fix disables all drawing functions when calling autoplacing function, 11671 and renables them afterwards. 11672 11673commit ecf159040422c5625de6b615c1070b7a1d58c511 11674Author: Carlos Nieves Onega <cnieves@iespana.es> 11675Date: Sat Jul 7 00:41:05 2007 +0200 11676 11677 Fixed drawing bug when using attribute autoplacing. 11678 11679 When placing a new component, if attribute autoplacing was enabled, 11680 the refdes was drawn wrongly, and it was shown fixed in the screen despite 11681 the component being moved. 11682 This was due to attribute autoplacing function was called before drawing 11683 the component. This function erases the old text (which wasn't drawn), thus 11684 drawing the text in the screen permanently. 11685 This fix disables all drawing functions when calling autoplacing function, 11686 and renables them afterwards. 11687 11688commit 5dc09fc232bf36dc219e86e78bad92631d2c244a 11689Author: Carlos Nieves Onega <cnieves@iespana.es> 11690Date: Sat Jul 7 00:35:07 2007 +0200 11691 11692 Moved default attrib positions out of system-gschemrc. 11693 11694 All default attribute positions, used for attribute autoplacing, have been 11695 moved into its own file, scheme/default-attrib-positions.scm . 11696 The above file is loaded in system-gschemrc. 11697 11698commit 411ddc16df3bf9388d80107503c165a8c88304b1 11699Author: Carlos Nieves Onega <cnieves@iespana.es> 11700Date: Fri Jul 6 23:38:31 2007 +0200 11701 11702 Consider line's width when calculing net directions. 11703 11704 In text autoplacing function get-net-connection-sides, consider line's 11705 width when guessing net directions. 11706 11707commit 68b495e6b75b802a9c77889c223d680e8359ce91 11708Author: Carlos Nieves Onega <cnieves@iespana.es> 11709Date: Fri Jul 6 23:13:03 2007 +0200 11710 11711 Display a warning message if can't guess net direction. 11712 11713 In attribute autoplacing, display a warning message if net direction can't 11714 be guessed. 11715 11716commit 1361831fc9e44bcc719f73d68f4d5b119963bb57 11717Author: Ivan Stankovic <ivan.stankovic@fer.hr> 11718Date: Thu Jul 5 09:18:48 2007 -0400 11719 11720 Possible fix for bug #1748079: CRASH: gschem segfault on file save or open 11721 11722commit dd995d808b9f4440db48d2daa2473a9d9cfd88ef 11723Author: Ales Hvezda <ahvezda@seul.org> 11724Date: Thu Jul 5 01:36:31 2007 -0400 11725 11726 Updated ChangeLogs using ./update-changelogs.sh 1.0-20070526..master 11727 11728commit a680faf8e3121c2b999bc5168a2910fb83f11ffc 11729Author: Ales Hvezda <ahvezda@seul.org> 11730Date: Thu Jul 5 00:57:07 2007 -0400 11731 11732 Updated all pot/po files (via make update-po). Added new menus to rcstrings.c. 11733 11734commit 099c49e5689afda4b8a5221dde73f9fdf1972ce7 11735Author: Ales Hvezda <ahvezda@seul.org> 11736Date: Thu Jul 5 00:11:45 2007 -0400 11737 11738 Updated all version strings to 1.1.0 and 20070705 11739 11740commit 87731dda219b0986fed0d1a7789e17678dd79d8c 11741Author: Ales Hvezda <ahvezda@seul.org> 11742Date: Wed Jul 4 23:55:07 2007 -0400 11743 11744 Removed AM_MAINTAINER_MODE from all configure.ac[.in] files. 11745 11746 Maintainer mode is no longer needed or desired now that we are no longer 11747 using CVS. Hopefully this will prevent some of the odd problems that were 11748 observed during the last release when the Makefile's didn't get auto 11749 regenerated. 11750 11751commit dc7b8c53f4bc94626634887e46167a367a91f707 11752Author: Ales Hvezda <ahvezda@seul.org> 11753Date: Wed Jul 4 23:32:15 2007 -0400 11754 11755 Changed gEDA/gaf's version mechanism to use new dotted X.Y.Z convention 11756 11757 Added DOTTED_VERSION and DATE_VERSION variables to all configure.ac[.in] 11758 files. Changed all version related output to be DOTTED_VERSION.DATE_VERSION. 11759 Updated the configure.ac[.in] files to have consistent top sections. 11760 Updated code and various scheme files to use the new DOTTED_VERSION 11761 and DATE_VERSION variables available via config.h. Stopped using 11762 PREPEND_VERSION_STRING as the mechanism for doing the dotted versions 11763 (not intended for that use). Updated update-versions.sh script to set the 11764 version in all the configure.ac[.in] files and the toplevel Makefile. 11765 Went through all the g_rc.c files and make the handling of rc file 11766 mismatch handling consistent. 11767 11768commit dbf600e34e2284fe1ec59242d541334bc27d3d49 11769Author: Ales Hvezda <ahvezda@seul.org> 11770Date: Wed Jul 4 16:51:32 2007 -0400 11771 11772 Implemented the ability to change the color of junctions (code for #1746675). 11773 11774 The filled circles (at the junction of nets) and filled boxes (at the 11775 end of unconnected nets) were the same color and it was hard to tell the 11776 difference from a distance. This patch addes (junction-color ...) rc 11777 keyword and allows the user to change the junction color. The default 11778 color for the dark color scheme is yellow and the default color for the 11779 light color scheme is purple. 11780 11781commit ca4571b1a6a49c97feb8fc6cc8cb926acc287ece 11782Author: Peter TB Brett <peter@peter-b.co.uk> 11783Date: Wed Jul 4 18:03:53 2007 +0100 11784 11785 libgeda: s_clib_toplevel_get_symbol_names() is poorly named. 11786 11787 s_clib_toplevel_get_symbol_names() returns symbols, not names of 11788 symbols, so rename it to s_clib_toplevel_get_symbols(). 11789 11790commit 96f9c87ef4063b52dd4d13f51958b916ba4e5939 11791Author: Peter TB Brett <peter@peter-b.co.uk> 11792Date: Wed Jul 4 18:03:53 2007 +0100 11793 11794 gschem: Add "In Use" view to component selector. 11795 11796 The "In Use" view shows symbols which are instantiated in open 11797 schematics, for ease of adding more symbols similar to the ones 11798 already present. This is particularly useful for frequently-used 11799 symbols such as resistors and capacitors. 11800 11801commit b1733d4d69d3a2e6fcb64e91a26dab2768f4e171 11802Author: Peter TB Brett <peter@peter-b.co.uk> 11803Date: Wed Jul 4 18:03:53 2007 +0100 11804 11805 gschem: Add a "Refresh" button to component selector. 11806 11807 In order to update the symbol library, a "Refresh" button is needed 11808 (because we don't do it automatically any more). 11809 11810commit cb6e4e5e98ed45427f60d718f7dbb5d5439eecef 11811Author: Peter TB Brett <peter@peter-b.co.uk> 11812Date: Wed Jul 4 18:03:53 2007 +0100 11813 11814 gschem: Don't use generic response IDs for compselect actions. 11815 11816 The component selector "OK" and "Apply" buttons aren't actually "OK" 11817 and "Apply" actions, so they shouldn't use those response IDs -- it's 11818 confusing. 11819 11820 This patch adds special response IDs for these actions. This is a 11821 preparation for using "proper" Place and Hide icons & text. 11822 11823commit 7c6419f49cb211ce74e7a8787148d2fd624482e7 11824Author: Alex Precosky <precosky@mac.com> 11825Date: Sun Jul 1 16:55:13 2007 -0700 11826 11827 gschem: Fix a race condition with mouse wheel scroll events (1740327) 11828 11829 If more than one mouse wheel scroll events are received into the event 11830 queue before the first one can be processed, then the program was 11831 zooming in to the wrong location. This is because the mouse moved 11832 event handler, which is triggered by a call to warp the cursor in the 11833 scroll event handler, must run to update the mouse postion global 11834 variables that the scroll event handler needs. 11835 11836commit 62b214780e34aea9b56993f2b699cb78d50d4769 11837Author: Werner Hoch <werner.ho@gmx.de> 11838Date: Wed Jul 4 17:35:06 2007 +0200 11839 11840 Set default button for single attribute edit dialog 11841 11842 Fixed wrong setting of the default button in the dialog. 11843 Added the set property to the value entry. 11844 [Suggested by Kai-Martin Knaak] 11845 11846commit b034307ae05d909a726c09d4eb02a5eed6f401ea 11847Author: Peter TB Brett <peter@peter-b.co.uk> 11848Date: Thu Jun 28 18:08:04 2007 +0100 11849 11850 gschem: Support preview of symbols from all library types. 11851 11852commit 907857c70c12707f00696d0688eb8392ac1e9294 11853Author: Peter TB Brett <peter@peter-b.co.uk> 11854Date: Thu Jun 28 18:08:00 2007 +0100 11855 11856 gschem: Preview data from a buffer. 11857 11858 Add the ability to parse & preview a gEDA schematic or symbol from a 11859 character buffer. 11860 11861commit c144221daf8ef133f39e14c76447a1b556c54853 11862Author: Peter TB Brett <peter@peter-b.co.uk> 11863Date: Thu Jun 28 15:50:31 2007 +0100 11864 11865 libgeda: Add fine-grained control over f_open() behaviour. 11866 11867 Add a function f_open_flags() which takes an extra argument which is a 11868 set of flags controlling actions taking while opening a file. f_open() 11869 wraps this with a default set of flags. 11870 11871 Coincidentally, this also leads to a trivial fix for the file open 11872 dialog backup-message bug. 11873 11874commit dc88c870d8d9ba66855f03fd3bc678d8b9f34cf2 11875Author: Ivan Stankovic <ivan.stankovic@fer.hr> 11876Date: Wed Jun 27 19:47:46 2007 +0100 11877 11878 This patch removes most of the unused code from gschem. 11879 11880commit 2a0abb503110a7b7cfe5739f26bc1e4c7d939fff 11881Author: Peter TB Brett <peter@peter-b.co.uk> 11882Date: Wed Jun 27 16:47:20 2007 +0100 11883 11884 Correct some typos in gschem default texts. 11885 11886commit 2b8cc26ddbb4af4db653d913c49f6d365dc89df9 11887Author: Werner Hoch <werner.ho@gmx.de> 11888Date: Tue Jun 26 22:25:01 2007 +0200 11889 11890 updated german translation 11891 11892commit 57b2848a7e69d19e18ac03a1264cb55d41c65d0e 11893Author: Ales Hvezda <ahvezda@laptop.ales.net> 11894Date: Mon Jun 25 22:31:07 2007 -0400 11895 11896 Changed/updated the #define mechanism for creating custom gEDA/gaf versions. 11897 11898 Previously this mechanism was used to create custom versions of gEDA/gaf. 11899 With the coming of stable and development versions of gEDA/gaf, this 11900 mechanism was changed so that end users can tell the difference between 11901 a stable release vs a development release (by looking at the version string). 11902 The CUSTOM_VERSION #define was changed PREPEND_VERSION_STRING and is now 11903 prepended to any strings that output the VERSION string. 11904 11905commit daa5d16aee1f0ec58cced5ca835dcb4f53339339 11906Author: Ales Hvezda <ahvezda@laptop.ales.net> 11907Date: Mon Jun 25 21:23:32 2007 -0400 11908 11909 Updated Makefile.am to not include VOCABULARY file. 11910 11911commit 0ad58a2c8e82ff00b71c600d54cf76bc4860e24a 11912Author: Ales Hvezda <ahvezda@laptop.ales.net> 11913Date: Sun Jun 24 23:57:16 2007 -0400 11914 11915 Removed ancient VOCABULARY file. 11916 11917 This file has been superceeded by the glossary that is in the wiki. 11918 11919commit 0ed9cf080cfc8509cb29cbe4e976f86b2821c407 11920Author: Ales Hvezda <ahvezda@laptop.ales.net> 11921Date: Sun Jun 24 23:48:51 2007 -0400 11922 11923 Updated copyright text/header in most source files. 11924 11925 Updated all copyright text dates that have my name (Ales) associated 11926 with them. Added gEDA contributer copyright text where appropriate. 11927 Fixed a bunch of GNU text typos (these should have been either GPL 11928 or gEDA). Removed some $Id$ tags which are no longer used/needed. 11929 Fixed a few file header that were just plain incorrect. 11930 11931commit a4e956c6272ea982ec54327dcc5e3aa528ac8c99 11932Author: Ales Hvezda <ahvezda@laptop.ales.net> 11933Date: Sun Jun 24 22:22:32 2007 -0400 11934 11935 Added *.o (all object files) to all src .gitignore files. 11936 11937commit 1c76ee9d84ea4fcdc924d992ecc3a828887eff4f 11938Author: Ales Hvezda <ahvezda@laptop.ales.net> 11939Date: Sun Jun 24 22:17:03 2007 -0400 11940 11941 Removed all trace of libgd usage and removed some old ps printing routines. 11942 11943 All trace of libgd and HAS_LIBGD has been removed. Some obsoleted and 11944 11945commit 868d31c36736b1ceebdd9a7cea6d12d12ecf89a9 11946Author: Ales Hvezda <ahvezda@laptop.ales.net> 11947Date: Sun Jun 24 15:46:46 2007 -0400 11948 11949 Removed libgd and indent tests from configure scripts. 11950 11951 indent is no longer use since noweb was removed a long time ago. 11952 libgd is no longer used since libgeda/gschem uses mage export support in gdk. 11953 11954commit cb63bf6506caf145d44f454734a1f4d712fa9216 11955Author: Ales Hvezda <ahvezda@laptop.ales.net> 11956Date: Sun Jun 24 15:07:58 2007 -0400 11957 11958 Compile fix to the NL translation. 11959 11960commit cdd6b8669301baafb118ef3d76bb54a2f99a077b 11961Author: Bert Timmerman <bert.timmerman@xs4all.nl> 11962Date: Sat Jun 23 23:47:06 2007 +0200 11963 11964 Update gschem Dutch translations. 11965 11966commit df71a28480510dd3c82eb1e551325f17ae16f958 11967Author: Peter TB Brett <peter@peter-b.co.uk> 11968Date: Sun Jun 24 06:37:21 2007 +0100 11969 11970 Always draw text placeholder box in correct place (#1740620). 11971 11972 When dragging text in "fast" mode (where the text is replaced by a 11973 bounding box), the box was drawn in the wrong place if the text isn't 11974 anchored in the usual bottom-left position. 11975 11976commit adb2dc9eedb72dc180e081ded2fc1ed20dde0a23 11977Author: Peter Clifton <pcjc2@cam.ac.uk> 11978Date: Sun Jun 24 03:48:30 2007 +0100 11979 11980 Fix bug #1741452, segfault on "Include component as individual objects" 11981 11982 Inserted a missing line to set the complex place list to NULL after freeing 11983 its contents. 11984 11985commit 214166747c3146cd21af1e346c8ad1b1351dcde8 11986Author: Peter TB Brett <peter@peter-b.co.uk> 11987Date: Sat Jun 23 20:07:36 2007 +0100 11988 11989 Revert po file changes in edff766e8b15c311505810241528026f722e30b6. 11990 11991commit edff766e8b15c311505810241528026f722e30b6 11992Author: Peter TB Brett <peter@peter-b.co.uk> 11993Date: Sat Jun 23 18:19:11 2007 +0100 11994 11995 Make sure various files are installed. 11996 11997 Several new files were not being distributed. This patch addresses the 11998 problem by adding files to EXTRA_DIST in automake input files. 11999 12000commit e57c37a66edc1c4d4e4d7160001749df51b96c4b 12001Author: Peter Clifton <pcjc2@cam.ac.uk> 12002Date: Sat Jun 23 18:17:29 2007 +0100 12003 12004 Move all .cvsignore files to .gitignore files 12005 12006commit 065595ccd8b5e77616c29a37742357cfab0ae7f7 12007Author: Peter TB Brett <peter@peter-b.co.uk> 12008Date: Sat Jun 23 16:11:44 2007 +0100 12009 12010 Changes to ChangeLog usage. 12011 12012 With actual changes this time. Old-style changelogs as of gaf 1.0 12013 (release of 26th June 2007) are moved to ChangeLog-1.0; new (blank) 12014 ChangeLogs replace them. A script has been added to the gaf top level 12015 to allow maintainers to update all the ChangeLog files immediately 12016 prior to making out a release. 12017 12018commit 67038ed9bece3a1317757b58a982ed29af2831c6 12019Author: Peter TB Brett <peter@peter-b.co.uk> 12020Date: Sat Jun 23 13:50:57 2007 +0100 12021 12022 Don't cache symbol pointers in persistent structures. 12023 12024 Several persistent structures, including TOPLEVEL and OBJECT, cache 12025 pointers to CLibSymbols. This is bad, because it makes removing 12026 component sources or rescanning them likely to cause stale pointers 12027 around the place. 12028 12029 With fast hashtable-cached searches in place, this is no longer 12030 necessary. This patch ensures that only symbol names are stored 12031 persistently. 12032 12033 This patch also enables descending into embedded symbols using a 12034 component library lookup on the embedded symbol's name. 12035 12036commit 1c226a4ebe5f297460cccf8568b7d7b7b2179253 12037Author: Peter TB Brett <peter@peter-b.co.uk> 12038Date: Sat Jun 23 13:32:45 2007 +0100 12039 12040 Factor out TOPLEVEL.current_clib. 12041 12042commit fe621022acfbe69688878b70d4c40883f8f2a3df 12043Author: Peter TB Brett <peter@peter-b.co.uk> 12044Date: Fri Jun 22 08:34:33 2007 +0100 12045 12046 Add s_clib_get_symbol_by_name(). 12047 12048 Add a new function which returns the first exact match for a given 12049 symbol name, printing log messages if either there are more than one 12050 match or no matches are found at all. Also update 12051 s_clib_symbol_get_data_by_name() to use new function and remove 12052 o_complex_add_by_name() as more or less redundant. 12053 12054commit 01fd87d78aa26d3c29b4141878b5f48edab264ec 12055Author: Peter TB Brett <peter@peter-b.co.uk> 12056Date: Fri Jun 15 09:05:53 2007 +0100 12057 12058 Make comp. library search faster and more flexible 12059 12060 Replace s_clib_glob() with s_clib_search(), which can operate in 12061 either exact matching or glob matching mode. Use a hashtable to cache 12062 the results of library searches. The hashtable is cleared every time 12063 it is invalidated (for instance if a component source is added or 12064 removed, or the component sources are rescanned). 12065 12066commit 9dde0233ebed32065511b567445f9f34d4b3bea1 12067Author: Peter TB Brett <peter@peter-b.co.uk> 12068Date: Fri Jun 15 09:06:56 2007 +0100 12069 12070 Refactor system RC files 12071 12072 Moved system-gafrc into the libgeda package, where it belongs. 12073 Removed all environment and configure substitutions. Created separate 12074 font and component library setup scripts in the symbols package, 12075 automatically loaded by system-gafrc if they exist. Updated 12076 system-gschemrc to use new infrastructure. 12077 12078commit 7067e71ef1558ceb94772a703cde1463233460fe 12079Author: Carlos Nieves Onega <cnieves@iespana.es> 12080Date: Wed Jun 13 16:59:29 2007 +0000 12081 12082 Removed code handling escape key presses in dialogs. 12083 12084 Since GTK takes care of escape key presses, this code 12085 is not needed. Applied patch from Ivan Stankovic. 12086 Fixes bug #1710818 for gschem. Thanks. 12087 12088commit 2a2fa60eee536f48cc27c16f2577106e78250ed6 12089Author: Peter TB Brett <peter@peter-b.co.uk> 12090Date: Sat Jun 9 20:30:14 2007 +0000 12091 12092 Fix gschem's sort-component-library option 12093 12094 In the last release, the sort-component-library gschemrc option did 12095 nothing. This patch corrects the issue, by adding an argument to 12096 s_clib_get_sources which enables or disables sorting the list of 12097 component sources. 12098 12099commit 1b18f93b85cc01a9d091795f94f4559372d165ad 12100Author: Carlos Nieves Onega <cnieves@iespana.es> 12101Date: Sat Jun 9 19:09:13 2007 +0000 12102 12103 Load the GTK missing image pixmap if a pixmap is not found. 12104 12105 Improve fix for bug #171449, loading the GTK missing image pixmap if 12106 a pixmap is not found. 12107 12108commit 378040ccd23339eedffd06e9d84867ca719fa659 12109Author: Carlos Nieves Onega <cnieves@iespana.es> 12110Date: Sat Jun 9 16:42:34 2007 +0000 12111 12112 Added check for missing pixmap file. 12113 12114 Fix for bug #1714493. If a pixmap file doesn't exist, write 12115 a message to the log window. Thanks to the anonymous submitter. 12116 12117commit eed0be648afd9bc421a8d0059de621df778c5fbe 12118Author: Carlos Nieves Onega <cnieves@iespana.es> 12119Date: Sat Jun 9 16:09:36 2007 +0000 12120 12121 Avoid writting '\r' to files on MinGW. 12122 12123 Applied patch #1733826 from Cesar Strauss. Thanks. 12124 When using the "w" mode in fopen, MinGW translates LF into CR-LF. 12125 This creates havoc when reading the same file again, when sharing 12126 schematics files with other systems, and when placing them in a VCS. 12127 12128 This can be avoided by using the "wb" mode. The "b" is ignored on 12129 all POSIX conforming systems, according to these sources: 12130 12131 http://www.die.net/doc/linux/man/man3/fopen.3.html 12132 http://www.opengroup.org/onlinepubs/009695399/functions/fopen.html 12133 12134 There are other ways, however. Adding 12135 12136 #include <fcntl.h> 12137 int _fmode = _O_BINARY; 12138 12139 on some source file should work as well. Another way is linking 12140 against the MinGW supplied binmode.o, which does exactly that. 12141 12142commit 21d3dbc1ef88701b60aacc700d2cc9fec1a88f8d 12143Author: Ales Hvezda <ahvezda@seul.org> 12144Date: Sat Jun 9 15:14:07 2007 +0000 12145 12146 Applied a few patches from Ivan Stankovic 12147 12148commit 419b4d152b0b2ae6546052ccb8d87ef26fa83752 12149Author: Carlos Nieves Onega <cnieves@iespana.es> 12150Date: Sat Jun 9 14:59:01 2007 +0000 12151 12152 Added EPS support. 12153 12154 Applied patch #1713747 (with minor tweaks) from Wojciech Kazubski 12155 adding support for EPS when writing an image. Thanks. 12156 12157commit 4e55d9355a69f2005b9afc2596526a133caf8524 12158Author: Peter Clifton <pcjc2@cam.ac.uk> 12159Date: Sat Jun 9 14:54:33 2007 +0000 12160 12161 Added call to g_thread_init() in Gschem and Gattrib. 12162 12163 Gschem and Gattrib aren't threaded, but some of GTK's file chooser 12164 backends uses threading so we need to call g_thread_init(). 12165 12166commit ef0ca7042e49ed3f26ec61c71085378ab04fef6e 12167Author: Ales Hvezda <ahvezda@seul.org> 12168Date: Sat Jun 9 14:44:27 2007 +0000 12169 12170 Applied patch from Ivan Stankovic that displays entered characters in 12171 the status bar 12172 12173commit 251771e1f9acab07a3721d5828873464f56fa347 12174Author: Carlos Nieves Onega <cnieves@iespana.es> 12175Date: Sat Jun 9 12:59:32 2007 +0000 12176 12177 Changed nil by #f. 12178 12179 Nil is no longer supported by guile 1.8. Applied patch from 12180 Peter Clifton changing nil by #f. Thanks. 12181 Note there are still some files using nil. 12182 12183commit bca8aacb0b3dd8f03851fa7c50d287b458eb045e 12184Author: Carlos Nieves Onega <cnieves@iespana.es> 12185Date: Sat Jun 9 12:17:28 2007 +0000 12186 12187 Set alternative button order after buttons are created. 12188 12189 Apply patch from Cesar Strauss, moving the 12190 gtk_dialog_set_alternative_button_order call after buttons are 12191 created, in the component selector window. Thanks. 12192 12193commit 3d58ffc27e6d915c4b1ebbd6f6b96d98d6126b7b 12194Author: Peter TB Brett <peter@peter-b.co.uk> 12195Date: Mon Jun 4 16:15:37 2007 +0000 12196 12197 Replace deprecated Guile functions & macros. 12198 12199 Replace deprecated SCM_STRINGP, SCM_INUM, SXM_INUMP & SCM_MAKINUM with 12200 recommended equivalents for Guile 1.8. 12201 12202commit 66fb25858496cdf33e1456b835d68a16bb7ccdcd 12203Author: Peter TB Brett <peter@peter-b.co.uk> 12204Date: Sat Jun 2 16:33:34 2007 +0000 12205 12206 Improve Guile configure checks & remove 1.4 compat. code. 12207 12208 Removes compatibility code for Guile 1.4, and makes configure scripts 12209 check for actual Guile version. 12210 12211commit 14fb224ec0f09b0b95a083abcaf3f5eaaf41b74f 12212Author: Ales Hvezda <ahvezda@seul.org> 12213Date: Sat Jun 2 01:02:42 2007 +0000 12214 12215 Fixed a behavior where you would cancel (via right mouse button or escape) 12216 the placing of components, but gschem would still be in the add component 12217 mode (and clicks would still place components). 12218 12219commit dcb48381f14f16e8786f70c4dae231f170539aac 12220Author: Peter TB Brett <peter@peter-b.co.uk> 12221Date: Thu May 31 21:29:47 2007 +0000 12222 12223 Cleanup code for status bar messages. 12224 12225 Applied patch from Ivan Stankovic cleaning up code used for displaying 12226 status bar messages. 12227 12228commit a50de86a4c0f45a1202c3fac77ba1b712de29330 12229Author: Dan McMahill <dan@mcmahill.net> 12230Date: Wed May 30 04:11:07 2007 +0000 12231 12232 Use "=" instead of "==" as an operator for test as the former 12233 is portable and the latter is a bash-ism 12234 12235commit 103524d50813c8a9490c9f4ebba1b72a3e4f36b5 12236Author: Peter Clifton <pcjc2@cam.ac.uk> 12237Date: Wed May 30 00:10:22 2007 +0000 12238 12239 Committing src/gschem_dialog.c and include/gschem_dialog.h 12240 which were missed in the last commit. 12241 12242commit 98e738a12c2351a2613f3fef9ff0400df62247c3 12243Author: Peter Clifton <pcjc2@cam.ac.uk> 12244Date: Tue May 29 23:06:04 2007 +0000 12245 12246 Applied patch by Ivan Stankovic making dialogs within gschem save 12247 their position and size on exit and restore it on opening. 12248 Geometry is saved to {$HOME}/.gEDA/gschem-dialog-geometry 12249 12250 Dialogs inherit this functionality by using, or deriving from the 12251 new GschemDialog class (A GtkDialog subclass). 12252 12253commit 4eca6e40036bdeb68e15588180636c14c56fd71d 12254Author: Peter TB Brett <peter@peter-b.co.uk> 12255Date: Mon May 28 07:42:19 2007 +0000 12256 12257 Implement new component library system in gschem. 12258 12259 A new component library model was introduced into libgeda to 12260 allow gschem etc. to work well with database systems. This 12261 patch updates gschem to use the new library system. Most code 12262 dealing with creating, updating and (un)embedding symbols is 12263 affected. However, this patch should not introduce any 12264 changes for the end-user. 12265 12266commit b0810d4d71e27bc32e0e0b1e903d230d97ca9ad6 12267Author: Peter TB Brett <peter@peter-b.co.uk> 12268Date: Sat May 26 19:21:28 2007 +0000 12269 12270 Help menu updates. 12271 12272 Change help menu now that all documentation is in the wiki. 12273