1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570
|
-- Release 1.0.1 --
2005-02-15 Stefan Petersen <spe@siouxsie.umunet.org>
* src/draw_amacro.c: Forgot to copy gc to local_gc
so drawing inherits gc from image wide setting.
Pointed out by Warren Young.
2005-02-08 Tomasz Motylewski <t.motylewski@bfad.de>
* src/gerbv.c: malloc strlen+2, not +1
* src/gerb_file.c: malloc len+1, not len
-- Release 1.0.0 --
2004-12-28 Stefan Petersen <spe@siouxsie.umunet.org>
* src/draw.c: When drawing circles I ignored if circle
had inner diameter, which was pointed out by Harry Eaton.
Not anymore... Closes bug #1050340 in this branch.
2004-10-30 Stefan Petersen <spe@siouxsie.umunet.org>
* src/draw_amacro.c: Forgot to use local_gc when drawing some
of the primitive aperture macros. Closes bug #1051045.
2004-09-13 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: If you tried to invert color of an unloaded layer
you got a segmentation fault. I think it was discovered by Juergen.
2004-08-22 Stefan Petersen <spe@stacken.kth.se>
* configure.in, src/Makefile.am: Use libpng-config to find out
parameters to use in CFLAGS and LIBS.
2004-08-21 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Made sure that only list of short options is
printed when only short options are compiled in.
2004-08-16 Stefan Petersen <spe@stacken.kth.se>
* doc/*, example/*: Makefiles.am removed Makefile.in wheh running
distclean. Not good. Spotted by Hamish Moffatt when packaging
for Debian.
2004-07-28 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c: In gerbers the image can be negative or positive.
Then a part of the image called a layer can be clear or dark.
-"No more weed for you, Mr Gerber".
Richard Lightman found this and submitted both an example and
a patch. Thanks!
2004-07-11 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: When drawing thermals the cross ends in butt
instead of round which gives nicer look when thermal covers an
other via.
2004-06-27 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Improved comments on what is going and why. Also
improved a little in determining the size of the image. Now it
ignores points with no aperture defined, unless it is a polygon
area.
2004-06-24 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Removed two potential segfaults when running old
RS-274D format.
* src/gerber.c, src/batch.c, src/gerb_image.[hc]: Actually removed
all traces of MQ_END and MQ_START. That means that empty nodes
with only this information isn't saved, since the only time we need
this information is when parsing arcs. When an arc is parsed
the information wheter that arc is multi or single quadrant is
saved there. Also closes bug #942590.
* src/gerbv.c, src/gerbv_screen.h, src/gerb_image.c, src/gerb_image.h:
Added possibility to dump a parsed image as text to be able to
debug the parser.
2004-06-10 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: By mistake I assumed that all aperture
macros had exposure flags, but that was a mistake. Drew Moore
pointed it out to me. Thanks.
2004-06-05 Stefan Petersen <spe@stacken.kth.se>
* */.cvsignore, man/gerbv.1.in, src/gerbv.c: Minor updates and
cleanups from Dimitri. --help added for instance.
-- Release 0.16 --
2004-05-25 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: Now aperture macros handles exposures properly,
so some thermals can be drawn properly. Inspired by discussion with
Dimitri.
2004-05-19 Stefan Petersen <spe@stacken.kth.se>
* man/gerbv.1.in, src/Makefile.am, src/drill.c, src/gerbv.c,
src/tooltable.c, src/tooltable.h: Patch from Dimitri
(lastname unknown) to read tool files from for instance Eagle CAD.
2004-04-27 Stefan Petersen <spe@stacken.kth.se>
* configure.in, src/drill.c: Patch from Tomasz Motylewski as a start
remove dependencies on mmap et al (sys/mman.h) for targets lacking
these operations (mingw).
2004-04-21 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Added keys f for fit, z for zoom in and Z for zoom out
after request from Stefan Thiede.
2004-04-04 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_file.[hc], src/drill.c, src/amacro.c, gerber.c:
Changed gerb_fgetint() so it can return number of parsed characters.
This is useful when parsing coordinates in omit trailing zeros mode.
Omit trailing zeros is also handled properly now. Reported by Joachim
Jansen and filed as bug #918344.
2004-02-24 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Apperently under GTK2 both delete_event and destroy
signals is emitted when you press the little cross in the
decoration bar. When both signals were emitted gerbv tried to free
the same memory twice.
2004-02-14 Stefan Petersen <spe@stacken.kth.se>
* src/Makefile.am: Making sure init.scm is copied to the right
place at install.
2004-02-13 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: The good old circles revisited. This time Dan
noticed that circles with the same start and end point did not
draw properly ie as circles. It became points.
2004-02-08 Stefan Petersen <spe@stacken.kth.se>
* configure.in: Apperently auto* doesn't define $prefix if you
don't set it in your script. The autotools has become more and
more of a moving target...
* man/gerbv.1.in: A bunch of updates, mainly reflecting the new
features.
2004-02-07 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Save screen.path even when we load a project file.
* src/gerbv.c: Fixed a segmentation fault when I tried to free
an optarg:ed variable.
2004-02-05 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Dan strikes again. Option -p (with appropriate
error message) added as an alternative to --project.
2004-02-01 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Patch from Dan causes the "save as..." dialog box
to come up if you try to do a "save" with no current project
file name.
* src/gerbv.c: Yet another patch from Dan to put project filename
in title of window.
2003-12-14 Stefan Petersen <spe@stacken.kth.se>
* configure.in, src/gerbv.c, src/log.c, src/setup.h: It is now
possible to compile gerbv with GTK+ 2.*, at least tested with
2.2.4. There are still some problems, particulary in log.c.
GtkText is deprecated, but I have enabled GTK_ENABLE_BROKEN.
This needs a more permanent solution. This closes Feature
Request #771480, but probably opens up some new ones.
2003-12-10 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Projects saves and restores background color.
* src/gerbv.c, src/gerbv_screen.h: Added Save Project and handles
if a filename was given, either when loading or a previous save.
2003-12-09 Stefan Petersen <spe@stacken.kth.se>
* configure.in, */Makefile.am: Added a recursive chain of Makefile.am
to be able to run make dist and make distcheck. Proposed by Dan
McMahill. Thanks!
2003-12-07 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c, src/project.[hc]: Project now saves ev. inversion of
layer, all layers accept all parameters and commandline switch
--project=<project file> also works.
* src/gerbv.c, src/gerbv_screen.h: Added invert layer functionality.
Closes feature request 777547.
2003-12-06 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_file.[hc]: Added function gerb_find_file.
* src/draw_amacro.c: Forgot to make some internal functions static.
* src/*: Scheme interpreter added to be used by project files as a
start. Also project file handling added. A short description of
the format used in project files also added. A massive commit.
2003-11-22 Stefan Petersen <spe@stacken.kth.se>
* configure.in, acconfig.h: acconfig.h removed and more information
added to configure.in after information in warning messages from
autoheader.
2003-11-13 Stefan Petersen <spe@stacken.kth.se>
* src/export_image.c: Changes pixbuf_to_file_as_png simplify operation
No major speedup since that is not the time hog.
-- Release 0.15 --
2003-10-06 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: Drawing of aperture macro primitive 7 was
severly broken. Revealed by Drew Moore who sent an example
along. Thanks Drew! Closes bug #818307.
2003-09-28 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Patch from Peter Brueckner. Some Gerbers don't
have G04 but just G4. Peters patch fixes that for G- and M-codes.
2003-09-08 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Patch from Simon Munton to fix a problem with polygons
sometimes not being filled properly. Closes bug #800928 (which
he promptly had submitted).
* src/gerber.c: Another patch from Simon. This time it fixes
circular polygon outlines by with a number of short segments.
Closes bug #603183, which was almost a year old. Thanks Simon!
-- Release 0.14 --
2003-05-31 Stefan Petersen <spe@stacken.kth.se>
* configure.in, src/amacro.c: Removed the last remaining malloc.h
after tips from Charles Lepple on the geda mailinglist.
2003-04-18 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: Larry Doolittle had a problem when drawing
one of his files, a circle seemed to explode. I couldn't
reproduce it, but after his tests I added this patch. Thanks Larry!
2003-04-07 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: RS274D caused segfaults again. Reported by Skurk.
-- Release 0.13 --
2003-03-16 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c, src/gerb_image.h, src/gerber.c: Angles are now
calculated as doubles instead of ints. For instance, the cslk
example now draws properly at the same time as Dans ridicously
small arcs also works.
* src/gerber.c: Better sanity checks for angles of arcs, so
cw are drawn cw and ccw are drawn ccw. Closes bug #703265
which was reported by Mark Whitis. Thanks!
2003-03-10 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Doesn't warn anymore if a gerber file requests an
image rotate on zero degrees. Reported by Balaji V.
2003-03-02 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: Aperture macro primitive 1 is a filled circle.
* Makefile.am, configure.in, src/gerbv.c, src/Makefile.am,
src/gerbv.1.in: Removed all traces of Guile. batch.c is left, but
is not compiled in.
2003-03-01 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_image.[hc], gerber.c: Redesigned step-and-repeat
parser. And when I was at it I also cleaned up new_gerb_image()
a bit.
2003-02-24 Stefan Petersen <spe@stacken.kth.se>
* src/Makefile.am,src/gerbv.c,src/gerbv_screen.h,src/log.c,
src/setup.[hc]: Added setup to handle all things that can
be setup by commandline or (future) rc files. We have the
screen variable, but some didn't think it was appropriate
to add setup things to.
2003-02-22 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Changed comparision if two angles are equal
to double since Dan McMahill discovered a case where the difference
between the angles were actually less than 0.5 degrees.
Closes bug #689663.
* src/gerbv.c: I you tried to swap layer with an unused layer
gerbv segfaulted. Also discovered by Dan McMahill. Cudos to him
as usual... Closes bug #689667.
2003-02-12 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: A patch from Peter Monta for incremental
coordinates. He also discovered that I had made a mistake
when parsing incremental/absolute coordinates.
-- Release 0.12 --
2003-02-06 Stefan Petersen <spe@stacken.kth.se>
* src/drill.c; Exchanged the last fprintf(stderr, with
GERB_COMPILE_ERROR.
* src/gerbv.c: Added swap of tooltips information too.
2003-02-02 Stefan Petersen <spe@stacken.kth.se>
* src/drill.c: Added patch from Dan McMahill since + sign
before coordinates seemed to confuse the drill parser.
Closes bug #678407.
* src/gerbv.c: Now you can move around layers in the right
sidebar so you can select in which order the layers should
be presented.
* src/draw.c, src/drill.c, src/gerb_image.[hc], src/gerber.c:
A new system to keep track of mm and inches. Everything is
still drawn based on inches and min/max is also stored as
inches. But now every aperture and every coordinate has a
unit attached to it that is used when drawing. I hope I
haven't breaked anything, patricular in drill.c. And I have
very few (one) reference examples in millimeters.
2003-01-26 Stefan Petersen <spe@stacken.kth.se>
* src/log.[hc], src/gerbv.c: Made sure error messages are
directed to the right place (shell and popup) at the
right moment and that the error messages look nicer.
* .cvsignore, man/.cvsignore, scheme/.cvsignore, src/.cvsignore:
Added these files submitted by Holger Waechtler. Thanks!
2003-01-25 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c, src/gerb_image.[hc]: Added a patch from
Holger Waechtler regarding G70/G71 which opened up a whole
can of worms. After thinking and hacking the following works:
* all in inches (as always).
* apertures in inches and vectors in millimeters.
The reason for not fixing apertures in millimeter are because
the calculation must happen in the drawing engine, since we
don't know until the moment of drawing if the paramters defines
a length or an angle. It's probably just a matter of fixing the
scaling when drawing, but I fix that later on.
2003-01-19 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Fixed bug in arc/circle drawing that caused
some odd cases (not noticed so far elsewhere) that made
ccw arcs to be drawn cw. Discovered by Jukka Marin. Thanks.
2003-01-16 Stefan Petersen <spe@stacken.kth.se>
* man/gerbv.1, src/gerbv.c : Updated documentation to reflect
the new log commandline switch.
* files2tag, TODO: Minor documentation updates to reflect
reality.
2003-01-15 Stefan Petersen <spe@stacken.kth.se>
* src/Makefile.am, src/color.c, src/draw.c, src/drill.c,
src/gerber.c, src/gerbv.c, src/gerbv_screen.h. Added are
src/log.[hc], src/gerb_error.h: Finally have managed to
change all error reporting routines so it works with
Dinos log system. Now should all errors and warnings pop up
in an explicit window so it behaves like a proper
X-application. Thanks to Dino I got this fixed. Maybe
all code is not what Dino expected, but anyhow I owe him
a great THANKS. Maybe all compilation errors should have
"return;" after them?
2003-01-14 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: A fix for the previous fix. The previous fix
was not good and had to be redone. now. We check the
parsed image before we put it in use so we don't have to
save alot of thing to be able to back off if error.
2003-01-13 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: When gerbv discovered RS274D and terminated
it tried to free memory to hadn't been allocated due to
it had discovered error in the gerber file. This caused
windows to never close and segfaults when terminating.
2002-12-25 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv_screen.h, src/gerbv.c: Changed how the
different windows are stored in the screen struct.
* src/amacro.h: Forgot to include stdlib.h which was needed
to remove warnings regarding free missing.
* src/gerbv.c: Minor beautification cleanups.
2002-12-11 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Fixed 64-bit compilation warning by casting
gpointer to long int. Closes bug #642703.
2002-12-09 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Fixed some kind of bug causing some filled
polygons not to get displayed. Reported by Chris Ellec.
Closes bug #649663.
2002-12-02 Anders Eriksson <anders@umunet.org>
* configure.in, src/amacro.c: Applied patch from
Charles Lepple to fix bug #646268 (building on MacOS X).
2002-11-26 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Fixes bug #643799 (zoom out_line stopped
working).
2002-11-26 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Added idea and (hacked up by me) patch for
turning all layers on and off from Martin Sigrand. It should
really need an overhaul regarding non freed memory.
2002-11-24 Stefan Petersen <spe@stacken.kth.se>
* doc/eagle/*: Added information for Eagle CAD users from
Daniel Dorau. It also made the webpage. Thanks Daniel!
* src/gerber.c: Yet another G-code (55) discovered in an
example in the "standard" by our russian friend Yuri.
2002-11-23 Stefan Petersen <spe@stacken.kth.se>
* src/amacro.c, src/draw.c, src/draw_amacro.c, src/gerber.c:
More files with the same mistake in as below. I cleaned up
my own mess this time.
2002-11-23 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Fixed bug 642600, Don't use default labels without
any statement after. Also use comments for label after #endif.
-- Release 0.11 --
2002-11-19 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Anders optimized drawing optimized away setting
of superimpose function. Not any longer. Daniel Dorau pointed
out this and the one below.
* src/draw.c: Hopefully fixed the one pixel gap between lines
when it should be a filled area.
2002-11-17 Stefan Petersen <spe@stacken.kth.se>
* src/exportimage.c: Background color was ignored. Noticed by Dino.
2002-11-16 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Made sure all cancels and destroy_event from
different popup windows are handled and destroyed properly.
Also made some minor fixes in new "set explicit scale" functions.
* src/gerbv.c: Made explicit set scale also center image properly.
2002-11-15 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Robustified if someone tries to parse RS274D.
Happend to fix bug #639127.
* doc/PNG-print/*: Added doc on how to print PNGs generated by gerbv.
* src/gerbv.c: Added explicit setting of scale. Good when generating
PNGs for printing. Both patch and above doc is thanks to
Dino Ghilardi.
2002-11-15 Andreas Andersson <e92_aan@e.kth.se>
* src/drill.c: Slight change to allow broken drill files from
Orcad386. Not pretty. But then again, neither is Orcad.
2002-11-07 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Minor cleanups, prepare idle_redraw to
be reentrant to allow calling it more than once (i.e.
for png export as well as for screen redraw).
2002-11-06 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Re-read some gtk-docs, we weree mistreating
the gtk_idle-functions. This patch fixes this and closes
pixmap leakage caused by complete redraw when we had a
preempted state.
Oops, you need to start the idle function at least once.
2002-11-05 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h: Removed clipping/no
clipping kludge since export_png now behaves as Dino
expects. We should make a function of common code in
export_png and redraw_pixmap to make it more maintainable.
* src/gerbv.c (redraw_pixmap): Don't try to sneak out doing
events from redraw_pixmap, check for them and preempt if
there are events on queue. This closes the everythinh-is-
not-redrawn-sometimes bug (I hope).
2002-11-04 Stefan Petersen <spe@stacken.kth.se>
* src/exportimage.c, gerbv.c: export_png now export whole image
despite whats displayed (still depending on zoom/scale thou).
If export_png receives an imagetosave, that will be the image
that will be saved, so it's more general now. Must hack some
more to be able to utilize both ways. Anders can happily remove
all what he calls kludges.
2002-10-31 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Yet another commando that doesn't complain if
default values are given. AS is the lucky one this time.
* src/gerber.c, src/draw.c: By considering an undefined aperture
despite we didn't draw caused strange lines around the first line
drawn.
2002-10-31 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Replace incremental redraw with clipping
option. It is now possible to turn clipping off, this
might be useful for export png (sorry for breaking this,
Dino).
2002-10-30 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_image.h, src/gerber.c: Implemented %SF% and %SR% in
parser, but ignored the draw engine. If any of these parameters
not are default a warning is issued. Closed a feature request.
2002-10-30 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h: Added restartable
redraw by keeping redraw state between calls to
redraw_pixmap(). Also added drawing status on statusbar.
2002-10-29 Stefan Petersen <spe@stacken.kth.se>
* src/draw_amacro.c: Fixed a bug when drawing primitive 20
discovered by jj. Caused slanted (by coordinates) primitives
to "slant" in the wrong direction.
2002-10-29 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (redraw_pixmap): Free pixmaps also when
preempted, we used to leek pixmaps (bad!).
2002-10-28 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (autoscale): Wrong sign on clip_bbox.x1 from
trans_x. Now even nollezappare is centered correctly.
2002-10-27 Stefan Petersen <spe@>
* src/draw_amacro.c: Reset the stack pointer after each primitive
operation. It's not completly right to do it this way, but since
I built the compiler I know how the code generated looks like ;-).
Closes bug #629101.
2002-10-26 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: Removed some nested use of strncmp with simple
switch/case instead in parse_G_code.
* src/gerber.c: Added an extra check so RS274D doesn't casue
segfault. Discovered by Jukka Marin. Thanks.
2002-10-24 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h: Played with clipping. Allocated
pixmap is now same size as window. GTK does all clipping (we
could optimize this somewhat with "object" bounding boxes). This
makes it possible to zoom where no gerbv has zoomed before.
Some interesting effects can be found by zooming in a lot.
-- Release 0.0.10 debian release 2 --
2002-10-18 Stefan Petersen <spe@stacken.kth.se>
* src/drill.c, src/gerb_file.[hc], src/gerber.c, src/gerbv.c:
Alot of abuse using EOF(-1) when char actually is unsigned
caused a lot of warnings when Debian build system tried to
build it for a couple of platforms.
2002-10-14 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Activate millimeters in unit menu if this
is the default unit.
(update_statusbar()): Check that statusbar has been
created before trying to set text to it. This eliminates
an annoying GTK assertion.
-- Release 0.0.10 --
2002-10-13 Stefan Petersen <spe@stacken.kth.se>
* configure.in: Updated version to 0.0.10
2002-10-11 Anders Eriksson <anders@umunet.org>
* configure.in, acconfig.h, src/gerbv.c: Added configure-option
to change default unit for status bar to millimeters instead
of the built-in default of mils.
2002-10-09 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: The undefined aperture fix below is, in princip,
only valid if aperture type != from aperture macro.
2002-10-07 Stefan Petersen <spe@stacken.kth.se>
* src/gerber.c: If aperture was undefined (as in polygon outline)
it caused a segfault in min-max routine. Closes bug #619652.
* man/gerbv.1.in: Added blurb about the new command line
switches. Also added some text on backends.
* src/gerbv.c: Added some GDK/GTK specific command line
parameters. Also added the parameter --geometry.
Currently ignoring placement parameters, though I parse them
2002-10-06 Anders Eriksson <anders@umunet.org>
* src/gerbv_screen.h, src/gerbv.c: Added menu selection for
units. Decreased width of status bar. This closes the too
wide window problem in bug #615475. The default minimum
height is still too high to fit in an 800x600 display.
By limiting the number of files to 17 or so this problem
is also solved.
2002-09-29 Anders Eriksson <anders@umunet.org>
* src/gerber.c, src/gerbv.c, src/gerbv_screen.h: Removed last
traces of IMG_EXTRA hack. Now using proper aperture width to
increase width of bounding box. This may give slightly too
big bbox, but it is better than before. I consider this to
close bug #605985.
2002-09-17 Stefan Petersen <spe@stacken.kth.se>
* configure.in: exportpng is configured in default and removed
if asked (--disable-exportpng).
* configure.in, acconfig.h, src/gerbv_screen.h: Setting of MAX_FILES
from ./configure.
2002-09-09 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Added version number in main windows title.
2002-09-07 Stefan Petersen <spe@stacken.kth.se>
* src/batch.c, src/draw.c, src/gerb_image.h, src/gerber.c,
src/gerber.h: Changed how multiquadrant circles are supported.
Now it's more of a state, before it was considered an interpolation.
Therefore not all multiquadrant circles were detected as such and
got defined wrong. Some parts of the EAGLECAD_KLUDGE was removed,
though EagleCad had some other surprises in store.
* src/amacro.[hc], draw.c, draw_amacro.[hc]: Dynamic allocation
of stack when drawing aperture macros. Closes the evil bug 603147.
2002-09-02 Stefan Petersen <spe@stacken.kth.se>
* src/batch.c, src/draw.c, src/gerb_image.h, src/gerber.c:
Polygon drawing got it's own gc (pgc) since we must have
our own outline pen size. Now we don't have to have an aperture
defined to be able to draw polygon areas. Closes bug 602965.
* Removed PAREA_FILL as an interpolation. Has only PAREA_START
and PAREA_END left so the application has to keep track if it's
in polygon area fill or not by itself. PAREA_FILL was not a
proper "interpolation", it is instead any of the other
interpolations. Closes bug 603146.
2002-09-01 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c: Polygon Area Fill could never have worked at
all since number of points reported to gdk_draw_polygon
always was zero.
2002-08-31 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (redraw_pixmap): Removed redundant bounding
box calculation.
2002-08-27 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h, src/gerbv_icon.h: Calculate
proper initial translation when doing autoscale. Center image.
Added #define for extra 0.1 inches in autoscale. New icon image.
Also added outline debugging code (within #ifdef's).
2002-08-27 Andreas Andersson <e92_aan@e.kth.se>
* src/drill.c: Minor change to the drill file format guessing
logic to allow for yet another special case.
2002-08-27 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Fixed a couple of minor memoryleaks in color
allocation with valgrind after a tips from Anthony J Bybell.
2002-08-10 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c, src/Makefile.am, files2tag.txt modified,
src/scm_gerber.[hc] removed, src/batch.[hc] added:
All batch functionality broken out to one place, ie batch.[hc].
2002-08-09 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Removed two lines causing zoom to stop work
when a non-loaded layer recently had been selected or deselected.
I didn't find a reason for these two lines to be there. Maybe
there was... Closes bug 593109.
* src/gerbv.c, src/gerbv_screen.h, man/gerbv.1.in: Added
activation/deactivation via the keyboard. Closes feature request
593104. Also updated the man page with this info and fixed other
minor stuff.
2002-08-04 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c, src/gerbv_screen.h: Added superimposing selectable
function to be used when you put "layer upon layer". I call it
superimposing functions. Hope it's correct english.
* man/gerbv.1.in: Minor layout changes and added part on superimposing
functions.
* src/gerbv.c: Fixed GTK asserts popping up when starting gerbv
without any files loaded.
2002-08-01 Stefan Petersen <spe@stacken.kth.se>
* src/draw.[hc], src/gerbv.c: Changed how layers are created and
stored to be able to be displayed on top of each other. This
is based on a grand idea from Dino Ghilardi.
2002-07-24 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.c: Changed the parser to catch undefined tools
and insert default values. It warns the user, though.
Fixed a slight bug in min/max coordinate finding.
2002-07-16 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Fixed bug 573016, some gerbers not drawn.
always do fabs on floats not abs.
* src/gerb_image.[hc], gerber.c: Parses and stores %IN%
ie the image name.
2002-07-15 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_icon.h: Added application icon.
2002-07-13 Stefan Petersen <spe@stacken.kth.se>
* configure.in: Added --with-gtk-config to fit FreeBSD
after patch from Bruno Schwander <bruno@tinkerbox.org>.
* example/ekf/README: Fixed bug 578583 basically saying that
this example shouldn't work.
-- Release 0.0.9 --
2002-07-06 Stefan Petersen <spe@stacken.kth.se>
* configure.in: Updated version to 0.0.9.
* man/gerbv.1.in: Updated man page with new features.
2002-07-05 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Save a widget by adding a leading space in
statusbar.
2002-07-04 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Statusbar => Label to allow setting a fixed
width font and thus avoid getting the coordinates to move
as the number of digits change. Moved font names to header
file. We should consider using a rc-file for font names and
colours and stuff.
Made status bar not expandable.
2002-07-02 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h: Macrofied coordinate unit
conversions to have the constants in one place. Converted
sprintf()s to safer snprintf()s.
2002-07-01 Anders Eriksson <anders@umunet.org>
* src/gerbv_screen.h: Bounding box needs to be doubles, not
ints.
* src/gerbv.c (motion_notify_event): Finally it seems I got
the absolute coordinates right. Partly closes feature
request 567965 (still need to add error messages and fix
the layout).
* Fixed some of the layout issues. Now uses only one statusbar
widget instead of three. The message is composed from three
strings. Still no error messages.
2002-06-20 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Mils are 0.001 inch and not 0.01, thanks Dan!
This closes bug #571097.
2002-06-19 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (motion_notify_event): py, not px!
* src/gerbv.c, src/gerbv_screen.h, src/draw.c: Added bounding
box translations to get correct gerber coordinates (second
try, did I make it?).
2002-06-18 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Added background color selection. Closes feature
request 557365.
2002-06-17 Anders Eriksson <anders@umunet.org>
* src/gerbv_screen.h: added msgid for stausbar.
* src/gerbv.c: Changed coordinate output both in statusbar and
in measure mode. Now using mils and mms as units. Coordinates
are now correct in respect to the gerber coordinate system
(at least that's what I think). Too much information is shown
in the statusbar, we will have to add unit selection (either
mils or mms). Minor layout change for statusbar (I need to
learn gtk layout better!).
2002-06-17 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c: Ignored if lines were using rectangular apertures
to draw. Closes bug 567128.
2002-06-13 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screeen.h: Added statusbar, prints cursor
position as well as distance when measuring.
2002-06-12 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Fixed autoscale() not to translate image out of
window. Happened after fix for negative coordinates. Should
translate image to center of window.
* src/draw.c: Moved setting off err_gc outside loop so it's always
done, even if you don't need it.
2002-06-12 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (draw_zoom_outline): Fix division by zero when
drawing a zoom box with no delta y. Closes bug 567166.
2002-06-11 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_file.c: Changed ENODATA to EIO, which is more portable.
Closes bug 567179.
* src/gerbv.c: It is now possible to draw images with negative
coordinates. Closes bug 548094.
* src/draw.[hc],src/draw-amacro.[hc], src/Makefile.am: Split out
aperture macro stuff from draw.c to a separate file, draw_amacro.c.
* src/draw_amacro.c: Fixed bug when drawing primitive 4 causing
rotation to be wrong. Thanks to Jonas (you know who you are) for
the excellent files.
* src/draw_amacro.c: Changed interpretation of "closed shape" in
primitive 4. If first point is the same as the last point it's
a closed shape, ie filled according to my interpretation. Don't
know if it's a correct interpretation.
2002-06-10 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Centered outline zoom uses shift instead of control,
use shift before clicking with button three to initiate centered
outline zoom (rm:ed switching between centered and plain outline).
Changed distance output format to add more digits.
2002-06-09 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Fix actual zoomed area for centered outline zooming.
2002-06-09 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Set cross hair cursor as soon as shift key is
pressed (in normal mode, i.e. not zoom outline). Added centered
zoom outline mode (closes Feature Request 553452).
2002-06-09 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Added measure distance color. Added actual zoom
box for zoom outline mode (this shows the area that will
be included when zooming, displayed as dashed lines). Use
cross-hair cursor when measuring distance.
2002-06-08 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (motion_notify_event, expose_event): Don't
redraw entire image when drawing zoom outline and measured
distance. This makes the outline follow much more smoothly.
The side effect in measure mode is that several measures
may be visible simultaneously. I am not sure if this is
a bug or a feature. :)
2002-06-08 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Setting up a watch while running export_image.
* configure.in: Adding a check for libpng when export_png enabled.
2002-06-07 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (expose_event): Center distance strings properly,
get string height to properly space the two lines independant
of the resolution (dpi). Minor cleanups.
2002-06-07 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c, src/gerb_image.h, src/gerber.c: Now handles
negative layer polarity (%LP%)! After fixing bug 557368
this was simple to add. Tested with files from PCB.
2002-06-06 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c, src/gerbv_screen.h: Added "reload files", gerbv
rereads all loaded files and display them. Usefull if you have
an external gerber manipulation tool.
2002-06-06 Anders Eriksson <anders@umunet.org>
* src/gerbv.c, src/gerbv_screen.h: Added a crude measurement tool,
renamed screen.zstart_[xy] since they are now used for measure-
ment also. To use this tool hold down <SHIFT> while pressing
button 1 (the leftmost). This functionality still needs some work.
2002-06-06 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c, src/gerb_image.h, src/gerber.c: Added counting and
storing of number of corners in polygons, so drawing of polygons
can use dynamically allocated memory. Hard coded array size gave
horrible result with submitted file from David Cussans with a lot
of corners in the polygons.
2002-06-05 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c: Added check to autoscale so scale don't screw up
everything.
2002-06-02 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_image.h, src/gerber.c: Thanks to Stephen Adam I now know
what %IC??*% means (Input Code) and have added it to the parser.
2002-05-18 Stefan Petersen <spe@stacken.kth.se>
* configure.in, acconfig.h, src/Makefile.am, src/gerbv.c,
src/gerbv_screen.h, src/exportimage.[hc], CONTRIBUTORS:
Added "export image to PNG" contributed by Dino Ghilardi.
Thanks! Currently not default, use --enable-exportpng when
running configure.
2002-05-17 Stefan Petersen <spe@stacken.kth.se>
* src/gerbv.c, src/gerbv_screen.h: Split out the global
screen variable and it's struct to simplify future
split of gerbv.c.
* acconfig.h, configure.in, src/gerbv.c, scm_gerber.c:
Prepared phase out of Guile by changing default to exclude
Guile inclusion.Change flag disable-batch to enable-batch
during configure and changing the variable NO_GUILE to
GUILE_IN_USE.
2002-05-10 Stefan Petersen <spe@stacken.kth.se>
* src/gerb_image.*, src/gerber.*, src/gerbv.c: Moved verify_gerb
to gerb_image and renamed it to gerb_image_verify so drill file
parsing and gerber file parsing could split them. Done after
receiveing Excellon file without drillfile sizes (Innoveda/PADS
Power PCB) from Dino Ghilardi.
* src/gerb_file.c: Improved error reporting.
2002-05-08 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (zoom_outline): Prevent division by zero by
disallowing too small zoom areas in outline mode. Allocate a
separate outline zoom color. Center outline zoom area instead
of using upper left corner as translation points.
2002-05-08 Stefan Petersen <spe@stacken.kth.se>
* INSTALL: Changed gschem->gerbv
* src/gerbv.c: Remember where we loaded file from last time and
start file selection from there.
2002-05-07 Anders Eriksson <anders@umunet.org>
* src/gerbv.c (zoom_outline): Added zoom outline support and
scaled zoom step (zoom 10% of current scale instead of a fixed
number of 10). Some comments in old code. The outline drawing could
probably be optimized quite a bit (it currently piggybacks on the
expose event). With this functionality it is easier to note the
excessive memory usage when zooming in too far.
-- Release 0.0.8 --
2002-05-05 Stefan Petersen <spe@stacken.kth.se>
* configure.in: Updated VERSION.
* src/gerbv.c: If gerbv was started without any files loaded,
the watch mouse pointer was running all the time.
2002-05-03 Anders Eriksson <anders@umunet.org>
* AUTHORS: Corrected my e-mail address
2002-05-02 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Made redraw_pixmap() and image2pixmap()
interruptible by calling g_main_pending() at regular intervals and
registering an idle function to redraw the pixmap at a later time
if there are pending events to process. This partly fixes 550319.
Also added the event to the data sent to the zoom function since
this allows us to read the mouse position at the event generation
and not at processing time which we used to do (giving a very
confusing behaviour if we can't keep up with events).
2002-05-02 Stefan Petersen <spe@stacken.kth.se>
* src/draw.c: Now ovals are ovals and not ellypses.
Closes bug 548099.
* HACKING, AUTHORS, CONTRIBUTORS: Updated with more authors
and contributors. Also extended HACKING to include ChangeLog
and code format.
* src/gerbv.c: Autoscale is more correct, though not completely
perfect. Closes bug 550795.
2002-04-29 Anders Eriksson <anders@umunet.org>
* src/gerbv.c: Improved zoom. Now zooming around image center when
zooming from menu and around mouse pointer when zooming using the
mouse. There seems to be some (small) rounding error in the
centering code, but it is very small. Closes 548128.
2002-04-27 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Number constants replaced with an enumeration
type. Also error in zooming comments fixed.
* man/gerbv.1.in: Added blurb about zooming.
* src/gerber.c: Bug 549602 fixed so format statements are
completely handled.
2002-04-27 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Changed name for all *open* functions to
*load*. Implemented "unload file" in right-click popup,
which closes feature req. 548124.
2002-04-24 Stefan Petersen (spe@stacken.kth.se)
* src/gerb_file.c: Fixed bug causing segfault when opening
empty file (bug 548578).
2002-04-24 Stefan Petersen (spe@stacken.kth.se)
* man/gerbv.1: Removed.
* man/gerbv.1.in: Created, so configure can add version of
gerbv automagically. Also added blurb about right-click thing.
* configure.in: man/gerbv.1 is created from man/gerbv.1.in.
2002-04-24 Stefan Petersen (spe@stacken.kth.se)
* example/orcad/*: Added after submission from and with
permission from Dino Ghilardi.
2002-04-10 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.c: Fixed mq arcs so circles are circles and
and width/height are correctly calculated. Closes bug
#541089. Hopefully.
2002-04-09 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.c: Fixed draw direction of arcs reported in
bug #541089. Not drawn D3 and VR1, and wrong size on some
transistors, still open.
2002-04-03 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.c, src/gerber.h: Fixed some numerical
constants in verify code.
2002-04-03 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Added color selection on layers.
* TODO: Added zooming and gerber layers.
2002-02-10 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c: Added inclusion of string.h as pointed out by
Dan McMahill.
-- Release 0.0.7 --
2002-02-03 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c: Fixed bugs in drawing primitive 6 and 7 after
verification. The last primitives...
* example/am-test/am-test.gbx: The verification suite for
aperture macros.
2002-01-06 Stefan Petersen (spe@stacken.kth.se)
* src/amacro.c: Parser handles negative immediate values.
* src/draw.c: Load of minor bugfixes after verification like
rotate points in the other direction, line wiidths constant,
wrong indeces.
* src/gerber.c: Rewrote parse_aperture_defintion to handle
aperture defintions without parameters.
2002-01-06 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c: All primitive macros are implemented (though not
completely) and passed the MS-test; they compile. Now it's
verify, verify and verify.
2001-12-31 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c: Started to add functions to be able to draw
aperture macros too. Some aperture macro primitives are
half way implemented, so the examples in the distribution
should work. Though not 100% properly.
2001-12-30 Stefan Petersen (spe@stacken.kth.se)
* src/amacro.[hc]: Added, even though I haven't executed
an aperture macro program yet. But parsing seems stable.
* src/gerb_image.[hc], gerber.c, src/Makefile.am: Calls
and keeps track of parsing of aperture macros.
* doc/aperturemacro.txt: simple text on the "program code"
generated when parsing aperture macros.
2001-12-29 Andreas Andersson (e92_aan@e.kth.se)
* src/gerb_file.c:
Fixed gerb_fgetstring() to not write after the end of the
allocated array.
* src/gerber.c:
Removed small memory leak in parse_aperture_definition()
2001-12-29 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.c:
Autodetection routine changed back to original style to allow
special cases needed with output from some CAD systems.
* src/gerb_file.c:
Error check for mmap() added to stop gerbv from segdumping
when trying to open a directory instead of a file.
2001-12-29 Stefan Petersen (spe@stacken.kth.se)
* src/gerb_file.[hc], src/gerber.c: Added function
gerb_fgetstring and used it.
-- Release 0.0.6 --
2001-12-14 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c : Removed gdk_gc_set_line_attribute when drawing
a point.
* src/gerbv.c: Added autoscaling and autocentering, both as
a menu option (Zoom/Fit) and when loading a file.
2001-12-11 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c : Removed prelighting on buttons and changed
the "random function" creating colors. Also fixed "clear
all" remaining after the pan speedup rewrite.
2001-12-10 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c : Forgot to check if we had any pixmap to draw.
2001-12-09 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.c: Fixed small bug in min/max calculation
which caused big problems.
* src/gerbv.c: Major rewrite of panning code giving major
improvements in screen update speed.
2001-12-07 Stefan Petersen (spe@stacken.kth.se)
* src/draw.[hc], src/gerbv.c : Pseudo optimized drawing.
* src/gerb_file.c, src/gerbv.c: Fixed bug causing segfault
when file didn't exist (oops) and pushed error messages
out of gerb_file.c. And if a file (of many) given at
commandline doesn't exist, the next file is tried instead
of halting.
2001-12-06 Stefan Petersen (spe@stacken.kth.se)
* src/drill.c, src/gerb_image.c, src/gerber.c, src/gerbv.c:
Exchanged bzero with memset for further portability.
* scheme/Makefile.am: gerb-debug.scm gets installed too.
2001-12-06 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.[hc]:
Very minor change to allow tool number 0.
2001-12-03 Stefan Petersen (spe@stacken.kth.se)
* src/Makefile.am, src/color.c, src/gerber.c, src/scm_gerber.c:
Turned on -Wall and cleaned up after it.
2001-12-03 Stefan Petersen (spe@stacken.kth.se)
* src/drill.h, src/gerber.h, src/gerbv.c:
Fixed bug caused by last minute namechange of
gerb_file.[hc].
* src/gerb_file.[hc]: Added functions gerb_fgetint and
gerb_fgetdouble.
* src/drill.c, src/gerber.c: Utilize the new file read
functions.
2001-12-02 Stefan Petersen (spe@stacken.kth.se)
* src/gerb_file.[hc], src/drill.[hc], src/gerber.[hc], gerbv.c:
Changed method of file IO from fgetc to mmap. Speed increase
up to 3 times noted (loading all of jj's file at ones).
2001-12-02 Stefan Petersen (spe@stacken.kth.se)
* src/drill.c: drill_file_p recoded so it seems to work better.
* src/gerbv.c: Removed and cleaned up "open file" code.
* src/gerbv.c, src/color.c, src/color.h: Fixed the whole mess
with colors. Now colors doesn't set any limits on how many files
you can load. It also checks that you don't give too many files
to the program.
2001-12-02 Andreas Andersson (e92_aan@e.kth.se)
* src/gerbv.c:
Changed radiobuttons to togglebuttons, redraw_pixmap() now shows
all switched on images. Slight changes to the zoom/translate code
(it still doesn't work as intended, though). Added mouse commmands
for zooming without scrollwheel. screen.scale no longer goes down
to 0 when zooming out.
* src/draw.h, src/draw.c:
Floating point calculations that are converted to ints for
display are now rounded to the nearest int rather than always
truncated down (or was it up?) Macro round(x) added to make that
prettier. Removed minor stuff that caused warnings with -Wall
flag to gcc.
2001-11-27 Andreas Andersson (e92_aan@e.kth.se)
* src/gerbv.c:
Added autodetection of file type.
* src/drill.c:
Corrected stupid bug in autodetection.
2001-11-27 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.h, src/drill.c:
Added drill_file_p(); which checks whether a file could
be a drill file or not.
2001-11-26 Stefan Petersen (spe@stacken.kth.se)
* configure.in: Now --data works when running ./configure.
A patch from Wojciech Kazubski <wk@ire.pw.edu.pl>
2001-11-26 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.c:
Coordinate parsing now works on coordinates with decimal points.
More M codes and some G codes recognized. Most importantly
absolute/incremental mode and zero setting could work, though
it hasn't been properly tested yet.
2001-11-23 Stefan Petersen (spe@stacken.kth.se)
* src/gerb_image.h, src/draw.c, src/gerber.c, src/scm_gerber.c:
Are now able to parse and display polyogon area fill codes.
2001-11-21 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.c:
The format guessing code now guesses right for
one more format.
More M codes recognized (and later ignored).
2001-11-20 Stefan Petersen (spe@stacken.kth.se)
* src/scm_gerber.c: Backend didn't receive the last
entry in the netlist due to bad loop constraint.
* src/gerber.c: Made sure angles always are positive when
calculating multi quadrant ones.
* src/gerber.c: Improved error detection by checking that
all part of an image is there.
* src/gerber.c: Fix for EagleCad caused other Gerber files
to fail. Only D-code 1-3 on a line should also be considered
as a change.
2001-11-15 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Tooltips over radio buttons with name
of loaded file.
-- Release 0.0.5 --
2001-11-14 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Changed speed key for zooming in to
Alt-O.
* configure.in: Changed version number for release.
2001-11-09 Stefan Petersen (spe@stacken.kth.se)
* src/gerb_image.[hc]: Added.
* src/drill.[hc], src/gerber.[hc], src/scm_gerber.[hc]:
Changed to utilize the new "class", gerb_image.
2001-11-07 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c, src/gerber.c: Implemented multi quadrant arcs.
Calculated with a separate function; should be able to be
combined with single quadrant calculations. Not properly
tested since I need better examples.
2001-11-06 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.h, src/drill.c:
parse_drillfile() now ignores unstandard text in headers.
Also, it now returns the actual unit used (it used to return
the unit of the input file).
Minor fixes, mostly moved stuff around.
2001-11-03 Stefan Petersen (spe@stacken.kth.se)
* src/drill.c, src/scm_gerber.c: Fixed bug causing backend
first not to generate aperture list and then barfing when
trying.
2001-11-03 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Added command line -d|--drill support
for drill files both in graphical mode and batch mode.
Though are drill file tool/apertures not properly handled
by ->scheme converter.
* man/gerbv.1: Changed man page to reflect the new switches.
2001-11-03 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.[hc]: Cleaned up code after latest hack.
* src/scm_gerber.c: Changed format of list delivered to
the backend; no delta center points. Now it's all calculated
center points and angles.
* scheme/gerb-ps.scm: Accept the new list, but doesn't do anything
with it yet.
2001-11-03 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.c: Inserted check for undefined apertures that
was earlier removed.
2001-11-02 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.h, src/gerber.c, src/draw.c: Now almost
all calculation for circles is done when parsing and
not when (re)drawing.
* src/gerbv.c: Removed two unnecessary defines.
2001-10-31 Stefan Petersen (spe@stacken.kth.se)
* src/gerbv.c: Added zooming with scroll wheel on mouse.
* README: Added info on how to configure XFree86 for scroll mouse.
2001-10-28 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.[hc]: Fixed bug causing parser to reports
points with wrong aperture. Pointed out by Dan Christian.
2001-10-30 Andreas Andersson (e92_aan@e.kth.se)
* src/drill.c, src/gerber.h, src/gerber.c
Moved new_image() to the correct place
2001-10-28 Andreas Andersson (e92_aan@e.kth.se)
* src/Makefile.am
Added drill.c to SOURCES since it seems to work well enough
for some testing.
* src/drill.c
Added an input file format guessing function.
Some kludges to get around scaling problems.
* src/gerbv.c
Separated File/Open command into File/Open Gerber... and
File/Open Drill... Added functions to open drill files.
* src/*.c:
A few speling errors fixed.
2001-10-28 Stefan Petersen (spe@stacken.kth.se)
* src/draw.c, src/gerber.h, src/gerber.c, src/scm_gerber.c:
aperture array is now full size and array index is very
simple.
2001-10-27 Stefan Petersen (spe@stacken.kth.se)
* src/*.[ch]: typedef:ed all internal structs to *_t
-- Release 0.0.4 --
2001-10-27 Stefan Petersen (spe@stacken.kth.se)
* src/gerber.[hc]: EagleCad generates broken Gerber.
I kindly detect and then tries to run as nothing
happened. Disable kludge with commenting out
EAGLECAD_KLUDGE in src/gerber.h.
This was pointed out to me by Dan Christian and
later confirmed by Fredrik Jonsson sent me some
examples. Thanks guys!
* AUTHORS/CONTRIBUTORS: Added latest bunch of contributing
people.
* configure.in: Updated version to 0.0.4 before release.
2001-10-24 Stefan Petersen (spe@stacken.kth.se)
* src/draw.[hc]: Added. Extracted drawing functions from
gerbv.c.
* src/gerbv.c: Removed add drawing functions into draw.c.
Also minor clean ups. Fixed #def's of Guile support.
* src/Makefile.am: Added draw.c as src file.
2001-10-22 Stefan Petersen (spe@stacken.kth.se)
* example/*: Cleaned out numpres.pcb.* to a separate dir
and added a example received from Joachim Jansen on
separate aperture files.
2001-10-21 Stefan Petersen (spe@stacken.kth.se)
* gerbv.c: Changed how cw and ccw is handled when drawing
arcs to avoid swapping of start and stop points.
* gerbv.c: Red dots at "aperture macros wanna-be's" scale
with ordinary scale, so they don't disappear when scaling
around.
2001-10-09 Stefan Petersen (spe@stacken.kth.se)
* gerber.h, gerber.c: Added 'D' as possible Format
Statement after patches from Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>. Thanks!
* scm_gerber.c: Broke out omit_zeros_t to scm type
conversion and added 'explicit to this type.
2001-09-03 Stefan Petersen (spe@stacken.kth.se)
* configure.in: fixed bug when testing for opt_backend_dir
causing configure to fail at least on Solaris.
* INSTALL: updated with info now that automake's in use.
2001-09-02 Stefan Petersen (spe@stacken.kth.se)
* build-release, rebuild-conf: missing files when running
automake are now copied instead of linked. Thanks
Dan <mcmahill@mtl.mit.edu> for reporting this.
2001-08-31 Stefan Petersen (spe@stacken.kth.se)
* Splitted AUTHORS to AUTHORS and CONTRIBUTORS
* src/gerb-ps.scm: removed
* build_release uses anonymous cvs from sourceforge
to build the release.
* src/scm_gerber.c, src/gerbv.c:
Now the scheme backend receives the name of the parsed file
* scheme/gerb-ps.scm: Utilizes the above feature by creating output
filename by prepending input filename with ".ps"
|