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
|
gp2c (0.0.14)
* By default, support PARI 2.17 now.
* Added:
- Support for _* (primorial) operator from 2.16.1
- Support for #_~ from 2.16.1
-- Bill Allombert <allomber@math.u-bordeaux.fr> Mon, 07 Oct 2024 14:54:39 +0200
gp2c (0.0.13)
* By default, support PARI 2.15 now.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Mon, 19 Sep 2022 18:56:36 +0200
gp2c (0.0.12pl1)
* Fix some compiler warnings
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 25 Mar 2022 12:29:40 +0100
gp2c (0.0.12)
* By default, support PARI 2.13 now.
* Bugs fix:
- Prototype code DV in iterator was not fully supported
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 20 Oct 2020 22:35:52 +0200
gp2c (0.0.11pl4)
* Fix configure handling of missing pari.desc files.
* Bugs fix:
- Using break(1) instead of break() did not work.
- iferr(,E,print(E)) did not work
- (from 0.0.11pl1) affectation of vecsmall was missing a copy
* Test-suite:
- Update break test to test break(1)
- Update iferr test to test iferr(,E,print(E))
- Update gerepile test to check affectation of vecsmall
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 22 May 2020 18:02:09 +0200
gp2c (0.0.11pl3)
* Fix declarations in header files so that it build with gcc 10
(reported by Michael Orlitzky).
* Add correct filenames in error messages when using \r
* Added
- support for references (~) from PARI 2.12.1
- support for foreach from PARI 2.12.1
- support for holes in multi-assignement from PARI 2.12.1
- support for \r "..." from PARI 2.12.1
- support for ploth and plothexport
- support for parfor, parforprime and parforvec
- support for alarm
* Bugs fix:
- multiassign did not trigger copy
* Test-suite:
- Update multiassign test to check trigger of copy
- Update multiassign test to check support of holes
- Add test foreach to check foreach support
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 05 Mar 2020 22:40:18 +0100
gp2c (0.0.11pl2)
* Added:
- support for derivn from PARI 2.12.0
* Bugs fix:
- localprec() did not work with -p.
- localbitprec() treated input precision as decimal.
* Test-suite:
- Add test precision to test support for localprec, etc.
- Update closure test to check for derivation.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 22 May 2019 11:48:19 +0200
gp2c (0.0.11pl1)
* Bugs fix:
- unary minus of vectors was broken (introduced in 0.0.9pl3).
* Added:
- Optimized support for Vecsmall([...])
* Test-suite:
- Fix test forprimestep to work around bug in PARI 2.11.0
- update compr test to check unary minus of vectors.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 19 Oct 2018 17:14:48 +0200
gp2c (0.0.11)
* By default, support PARI 2.11 now.
* Improve line number accuracy in error messages.
* Update the documentation with respect to local() and main().
* Added:
- Support for fordivfactored
* Test-suite:
- Add test forprimestep to test support for forprimestep
- Add test fordivfactored to test support for fordivfactored
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 19 Jul 2018 17:26:54 +0200
gp2c (0.0.10pl1)
* Bugs fix:
- generate correct code for while loop with empty body
- handle GC of z[i++]=... correctly.
* Test-suite:
- update while test to test while loop with empty body
- update affect test to check GC of z[i++]=...
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 22 Oct 2017 12:47:55 +0200
gp2c (0.0.10)
* By default, support PARI 2.9 now.
* Added:
- Support for 2.8 range.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 02 Nov 2016 19:37:29 +0100
gp2c (0.0.9pl5)
* Added:
- Support for prototype code 'b' and bitprec.
- Support for localprec() and localbitprec()
* Bugs fix:
- generate correct install() commands when -o is in use.
- undeclared variable in iterators bounds leads to gp2c crash
* Test-suite:
- Update forprime test to test undeclared variable in bound.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 10 Jan 2016 11:42:03 +0100
gp2c (0.0.9pl4)
* Bugs fix:
- Wrappers did not handle types correctly
- global() could be misparsed.
- option -C (range checking code) did not work.
- generate correct compile_command when -o is in use.
* Test-suite:
- Update apply test to test wrappers support for types.
- Update initfunc test to test global() parsing.
* Added:
- Basic support for 0x and 0b integer prefix.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sat, 21 Nov 2015 22:15:40 +0100
gp2c (0.0.9pl3)
* gp2c -h did not list options -C and -L
* Bugs fix:
- Fix for multi-assignment of vecsmall
- Casting lvalues did not work anymore since 0.0.7pl3
- global(...):type declaration did not work
* Test-suite:
- Update multiassign test to check multi-assignment of vecsmall
- Update cast test to cast of lvalues
- Add test vararg to test support for variadic GP functions
- Update return test to test global(...):type
* Added:
- support for generating gc_needed (with PARI 2.8)
- support for self()
- support for variadic GP functions
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 16 Dec 2014 16:13:42 +0100
gp2c (0.0.9pl2)
* Fix mismatching prototypes (reported by Michael Tautschnig for Debian)
* Use "const char *" for prototype code s
* Added:
- support for prototype code u and U and usmall (ulong).
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 22 Jul 2014 12:08:51 +0200
gp2c (0.0.9pl1)
* Bugs fix:
- Fix for 'closure as optional arguments did not work' was incorrect
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 17 Apr 2014 15:45:46 +0200
gp2c (0.0.9)
* By default, support PARI 2.7 now.
* Improve installation of documentation (suggested by Jan Engelhardt).
* Bugs fix:
- closure as optional arguments did not work
- multiple forprime in a single function did not work
* Test-suite:
- Update test closure to test closures as optional arguments.
- Update test forprime to test multiple forprime in a single function.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 17 Apr 2014 11:57:22 +0200
gp2c (0.0.8pl1)
* Added:
- support for Debian-style multiarch systems.
- option -L: generate #line directive for the compiler.
- support for parsing histtime entries (%#)
- support for prototype code 'J'.
* Bugs fix:
- the value of rec in iferr(code,E,rec,pred) could be ignored.
* Test-suite:
- Update test iferr to test value of rec.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 04 Mar 2014 12:13:40 +0100
gp2c (0.0.8)
* Added:
- support for PARI 2.6.1
- support for Iterator field in description (forpart and forcompositum)
* Bugs fix:
- closed variable inside loops were missed.
- forstep did not support negative vector steps.
- multiif did not allow block in predicates.
- code for forprime did not garbage collect the stack correctly.
- do not generate the same comment multiple time [#1444]
* Test-suite:
- Update test closure to test closed variable inside loops.
- Update forstep test to test negative vector steps.
- Add extra tests for PARI >=2.6: compr, forprime, iferr, multiassign,
multiif, range.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 20 Sep 2013 12:07:48 +0200
gp2c (0.0.7pl5)
* Added:
- option -C: add range checking code.
- support for 2.6 my([a,b]=v)
- support for 2.6 iferr(code,E,rec,pred)
* Bugs fix:
- addhelp: handle newline correctly.
- blocks in default values for function arguments did not work.
* Test-suite:
- Update test args to test blocks in default values
-- Bill Allombert <allomber@math.u-bordeaux.fr> Mon, 06 May 2013 00:25:35 +0200
gp2c (0.0.7pl4)
* Added:
- support for 2.6 forprime(a,/*omitted*/,...)
- support for 2.6 iferr/iferrname.
* Bugs fix:
- Fix option -o when input is from stdin.
- clone was not fully supported.
- returning a global variable could break garbage collecting.
- support for pari.cfg.dbg was broken.
* Test-suite:
- Add test forprime to check support for forprime.
- Expand initfunc to check support for clone.
- Expand return to check returning a global variable.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 16 Oct 2012 19:04:32 +0200
gp2c (0.0.7pl3)
* Add support for 2.6 ranges [a..b] and comprehension [a(x)|x<-a,c(x)]
* Add support for 2.6 slices M[a..b,^c]
* Add support for 2.6 multiif (if(x==0,a,x==1,b,default))
* Add support for 2.6 multi-assignement: [a,b]=v
* Bugs fix:
- Fix 'make check' breakage on non-glibc systems like OS X and Solaris
introduced in the previous release. Thanks to Alessandro Languasco.
- genblock() was not C89 standard compliant.
- Operators like "+=" did not handle type conversion correctly.
- Use of _badtype for unsupported types could crashes gp2c.
* Test-suite:
- Rename randomprime to randprime to be compatible with PARI 2.6.
- Expand cast test to check type conversion of +=.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Mon, 07 May 2012 12:50:37 +0200
gp2c (0.0.7pl2)
* Do not truncate output file if the input file does not exist.
* Add support for 2.6 error messages.
* configure now also looks for a pari.cfg.dbg file of a PARI debugging
installation.
* Bugs fix:
- Allow spaces between ) and -> in (x)->x.
- stack_base() was not C89 standard compliant.
* Test-suite:
- Change lambda test to have spaces between ) and -> once.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 21 Feb 2012 22:20:36 +0100
gp2c (0.0.7pl1)
* Rename README.SVN to README.GIT.
* Test-suite:
- Fix 'call' test-suite to work on 32bit.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 02 Oct 2011 23:04:03 +0200
gp2c (0.0.7)
* By default, support PARI 2.5 now.
* Remove remains of support for PARI 2.1.
* Improve scoping of local variables declared inside blocks.
* Add basic support for parsing history entries (%).
* Bugs fix:
- Fix order of evaluation in local()/my().
- Fix support for prototype code 'm'.
- Fix support for prototype code 'DP'.
- Fix support for prototype code 'Dr'.
- Fix value of if(0,x) in blocks.
- Fix garbage collection of global variables.
- Fix bug when removing dummy variables.
* Test-suite:
- Expand affect test to check order of evaluation in local()/my().
- Add member test to check support for member function.
- Expand if test to check for value of if(0,x) in blocks.
- Add extra tests for PARI >=2.5: apply, call, closure, lambda, printf
and sums.
- Add test cleanvar for testing dummy variables removal.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 22 Jul 2011 14:01:50 +0200
gp2c (0.0.6)
* Add support for evaluating closures (need PARI >=2.4.4).
* Add support for generating closures from functions.
* Add support for generating wrappers for closures.
* Add support for functions intnum,sumalt,forsubgroup and related (need PARI >=2.4.4).
* Add support for RUNTEST to use with a cross-compiled gp.
* Add support for new prototype codes 'Dr', 'Ds', and 'DP'.
* Remove -p prefix from gp2c-added variable names to avoid clash.
* Move to autoconf 2.67 and automake 1.11, for better or for worse.
* Bugs fix:
- incorrect use of gerepileupto.
- gp2c did not compile Str(a,,b) correctly.
- strings with embedded newlines were not well-supported.
* Test-suite:
- Expand upto test to check for garbage collection problem with complex numbers.
- Expand args test to check compilation of Str(a,,b).
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 29 Apr 2011 18:38:22 +0200
gp2c (0.0.5pl10)
* Add support for new prototype code 'm'.
* Add support for new GP operator '==='.
* Add support for more than 8 arguments for install() in PARI 2.4.3.
* Bugs fix:
- gp2c failed to compile affectation to undefined vectors.
* Test-suite:
- expand affect test to check affectation to undefined vectors.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 26 Oct 2010 12:23:30 +0200
gp2c (0.0.5pl9)
* Bugs fix:
- fix a bug with the ss* prototype introduced in 0.0.5pl8.
* Test-suite:
- expand print test to check function using ss* prototype.
* Thanks to Alessandro Languasco for testing the previous release.
-- Bill Allombert <ballombe@math.univ-montp2.fr>Sat, 30 Jan 2010 11:13:01 +0100
gp2c (0.0.5pl8)
* Lots of spelling fix to the documentation by Michael Somos.
* Bugs fix:
- fix crash due to bad use of internal memory allocator.
- fix crash with undefined functions.
- function arguments modified through pointers were not copied.
* Test-suite:
- expand affect test to check function arguments modified through pointers.
-- Bill Allombert <ballombe@math.univ-montp2.fr>Sun, 28 Jun 2009 16:36:50 +0200
gp2c (0.0.5pl7)
* Add preliminary support for 'W' protocode.
* Discard empty rules in descriptions.
* Bugs fix:
- Fix problem with global(L:list) introduced in 0.0.5pl3.
- Handle functions with empty prototype.
- Fix problems with function returning vectors in if statements.
* Test-suite:
- Change print, dot and read tests to be compatible with PARI 2.4.3.
- Change initfunc test to try global(L:list).
- Change return test to check more if statements.
-- Bill Allombert <ballombe@math.univ-montp2.fr>Sat, 13 Dec 2008 17:21:15 +0100
gp2c (0.0.5pl6)
* Handle pari.cfg file generated by PARI 2.4.2 properly.
* genblock now 'guess' that 'length' returns a small.
* GP2C now report errors for spaces inside identifiers.
* Rename cvsinit to autogen.sh.
* Bugs fix:
- Fix compilation of 32- to 63-bits integers on 64-bits systems.
- Fix handling of comment at end of included files.
- gp2c could try to gcopy non-GEN objects.
- Fix garbage collection problem with return() introduced in 0.0.4.
- Fix garbage collection problem with vectors.
* Test-suite:
- Expand cast test to check support for a 42-bit integer.
- Expand read test to check support for comments at end of file.
- Expand gerepile test to check support for non-GEN objects.
- Expand return test to check for garbage collection problems.
- Add upto test to check for garbage collection problem with vectors.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 18 Dec 2007 13:32:16 +0100
gp2c (0.0.5pl5)
* Add initial support for 'my()' (GP 2.4 extension).
* Bugs fix:
- Fix handling of comments followed by newlines.
- Fix support for sumdiv.
* Test-suite:
- Expand vector test to test comments followed by newlines.
- Expand sumprod test to test whether sumdiv works.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 26 Sep 2007 13:20:07 +0200
gp2c (0.0.5pl4)
* Fix Changelog (0.0.5pl3 changes were split in two).
* Fix nameclash with Solaris standard headers files.
* Bugs fix:
- Fix garbage collection problem with if() introduced in 0.0.4.
* Test-suite:
- Expand if test to trigger garbage collection.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 7 Jun 2007 11:09:42 +0200
gp2c (0.0.5pl3)
* No more allow type cast between incompatible types.
* Synchronize parser with new GP parser.
* Fix some gcc warnings introduced in the previous release.
* Bugs fix:
- while and until did not handle some complex expression in the condition.
- code generated for matrices did not run side-effects in order.
- Fix parsing of real numbers.
* Test-suite:
- expand while test to check more complex expressions in the conditions.
- expand matrix test to check side-effects order.
- add dot test to check for parsing of real numbers.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 8 Feb 2007 16:46:45 +0100
gp2c (0.0.5pl2)
* Fix (harmless) misdetection of PARI versions >= 2.3
* Documentation:
- Fix lots of typos.
- Update the examples of generated code to be current.
* Bugs fix:
- Matrices built with matrix() were not typed vec.
- Comments after = lead to premature end of function.
- Do not generate default value for typed global variables, but
generate them for non-typed local variables.
* Test-suite:
- Add comments to vector test to check support of comments after =
- Expand moveblock test to cover blocks inside a[ ,] constructs.
* Thanks to Jeffrey Stopple for testing the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 17 Sep 2006 13:34:26 +0200
gp2c (0.0.5pl1)
* Bugs fix:
- Fix missing copy with forvec variables.
* Test-suite:
- Expand forvec test to catch missing copy in forvec.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 20 Jun 2006 17:53:38 +0200
gp2c (0.0.5)
* Support for PARI 2.1 and 2.2 has been removed.
* Reformat ChangeLog to fit in 80 columns
* Fix configure.in to work with recent autoconf.
* 'make install' now install gp2c-dbg if gp2c-dbg support was configured.
* Add gp2c-dbg.1 man page.
* Add ./gp2c-dbg wrapper script.
* Change gp2c-run and gp2c-dbg to create a .gp.run file containing the GP;
commands instead of gp2c_start.gp and gp2c_gprc.
* Build HTML documentation with hevea.
* 'make install' now install the documentation.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 16 Jun 2006 11:49:36 +0200
gp2c (0.0.4pl5)
* Fix crash on some platforms caused by missing case in gendeblock.
* Fix usage of getopt on platforms where char is unsigned.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 14 May 2006 10:04:07 +0200
gp2c (0.0.4pl4)
* Add table of contents to the gp2c manual.
* Add documentation of the description system (doc/type.tex).
* Add support for &a[b].
* Bugs fix:
- Fix missing copy with code like x=vector(3);y=x;x[1]++;y
* Test-suite:
- Expand gerepile test to catch missing copy problems.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 19 Mar 2006 17:34:50 +0100
gp2c (0.0.4pl3)
* Add support for break(n)/next(n) for constant n.
* Improve small loops detections.
* Fix -p option for global variables.
* Descriptions:
- Add _const_real description for strtor().
- Allow descriptions to match string litterals.
- Change #type to only match litterals with exact same types.
* Test-suite:
- run with -p gp2c_ now.
- change 'args' test-suite to be independant of vecsort algorithm.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 4 Dec 2005 19:59:18 +0100
gp2c (0.0.4pl2)
* gp2c-run was no more accepting filename containing a /.
* Vectors were not typed vec.
* Handle the 'r' protocode properly.
* Test-suite:
- change 'vector' test-suite to be independant of print1() behaviour.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 28 Sep 2005 18:02:41 +0200
gp2c (0.0.4pl1)
* Allow the description system to differentiate f(x,) from f(x).
* Handle empty files correctly.
* Descriptions:
- Add _[_,] description for PARI 2.2 row function.
* Test-suite:
- Change 'print' test to test 'printp1' instead of 'printtex', due to
different output in 2.2.11.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 28 Jun 2005 21:11:26 +0200
gp2c (0.0.4)
* Interface changes:
- Variables declared with a type do not have a default value anymore.
See "Effect of types declaration on default values" in the manual.
- PARI 2.1 is still supported, but will not pass the test-suite.
* Bugs fix:
- Fix return() of expressions implemented via block.
- Fix parser to allow semi-commas in empty arguments like while(1,;).
- Add support for prodeuler().
- Fix segfault on 64-bit platforms.
- Allow to define functions with empty body (f(x)=;).
- Allow complex expressions as default values for arguments and initial
values for variable, for(w=[1,1])=local(v=[1,2]~);w*v.
- New syntax local(...):type to set the default type in a local().
- Allow to redefine a function (clobber the previous definition).
* Generated code clean-up:
- Try to declare several variables on one line.
- Do not generate strings containing embedded new lines.
- Rewrite the handling of 'return' to generate nicer code.
- Better support for immediate t_COL ([...]~).
- Better support for negative small real constants.
- Add space after comma in code generated for [] and print().
- Use gerepileall instead of gerepilemany when available.
- Use NEXT_PRIME_VIADIFF when available for forprime() loops.
* Build system:
- Add ctags target to generate vi tags to src/Makefile.
- Allow to override descriptions with the file desc/override.desc.
- Add option --paricfg-dbg to configure to specify the path to the
pari.cfg file of a PARI debugging installation.
* Descriptions:
- Add support for RPN style replacement ${} in descriptions.
- Reimplement type casts in term of description (_cast).
- Add descriptions for vector/matrix components (in _[_,_]).
- Add _const_smallreal description for small real constants.
- Add O(_^_) description of O(x^y).
- Add description of cgetg (as _cgetg).
- Add _const_quote description for 'x constructs.
- Add _const_expr description for integers and reals.
- Add _gerepileall description to use gerepileall().
- Add _cast_noarg description for default arguments.
- Handle print and error through descriptions.
- Add _low_stack_lim for low_stack() code.
- Add _diffptr description for forprime().
- Add _forprime_next for NEXT_PRIME_VIADIFF.
* Test-suite:
- Fix 'initfunc' test to be compatible with PARI 2.2.10.
- Expand 'vector' test to try constant vectors/matrices.
- Expand 'return' test to try returning blocks.
- Expand 'moveblock' test to try unary - operator.
- Expand 'args' test to try user-defined functions.
- Expand 'initfunc' test to try non-cloned matrices.
- Expand 'if' test to test parsing of semi-commas in empty arguments.
- Expand 'trunc' test to try truncating real constants.
- Add 'gerepile' test to exercise garbage-collecting code generation.
- Make test-suite independant of random() to avoid test failure on 64bit
machines.
- Expand 'args' test to try function with complex optional arguments.
- Expand 'affect' test to try local variables initialised to a complex
expression.
- Expand 'initfunc' to test use of undeclared global variables.
- Expand 'sumprod' to test prodeuler.
- Add 'forvec' to check forvec support.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 15 May 2005 18:51:56 +0200
gp2c (0.0.3pl4)
* Fix garbage collecting of forvec loops.
* Expand documentation about types.
* Add description for gerepileupto (in _gerepileupto).
* Add option -o to specify output file instead of stdout.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Mon, 10 Jan 2005 16:29:53 +0100
gp2c (0.0.3pl3)
* Fix 'gp2c -l'.
* Add support for forvec with PARI 2.2.8.
* Fix .orders with GP 2.1.
* Fix compat.desc logic.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 25 Nov 2004 16:05:55 +0100
gp2c (0.0.3pl2)
* PARI/GP Workshop bugfix release.
* "make install" no more install useless pari21.dsc.
* Store preorder in _type_preorder description instead of hard-coding it
in gp2c. Create modes and types dynamically.
* Fix -p option.
* Fix install() handling.
* Change gp2c-run convention: line starting with 'GP;' in the C file are
passed to gp at startup.
* Implement \r as an include directive.
* Add test 'install' and 'read'.
* Pass addhelp() to GP using 'GP;' convention.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 22 Sep 2004 10:29:54 +0200
gp2c (0.0.3pl1)
* Fix testsuite to accomodate error() change in 2.2.8.
* Rewrite README.
* Description system:
- Fix the parser.
- Add compat.desc to support 2.2.7 and newer release.
- Add support for matching C type and modes.
- Add _declaration, _typedef, and _proto to pari21.desc and compat.desc.
- Avoid casting lvalue (ANSI C does not allow it).
* use _declaration, _typedef, and _proto to handle C types instead of
hardcoding in type.h
* Fix gp2c-dbg script to use GP_PATH to find GP.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sat, 26 Jun 2004 12:30:11 +0200
gp2c (0.0.3pl0)
* Rewrote the configuration system to use the description system.
* Member functions are now fully supported with PARI 2.2.7.
* Add support for the new 'i' prototype code.
* Add support for the new interface to the 's*' prototype.
* Update documentation to reflect change in the installation process
and new features.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 18 Dec 2003 17:04:59 +0100
gp2c (0.0.2pl6)
* Use signe() instead of gcmp0 for integers and reals.
* Provide yywrap so we don't need LEXLIB anymore.
* Ship lang.c in the tarball so that flex is not required to build
gp2c anymore.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 30 Oct 2003 16:45:28 +0100
gp2c (0.0.2pl5)
* Add error message for wrong use of operators.
* Add very basic support for lists, via the 'list' type.
* Fix config/modules_build to support PARI 2.2.5 interface.
* 'install' arguments were not treated as raw input correctly.
* gp2c is now more clever at guessing types in genblock.
* Update the manual.
* Make clean now clean test directory.
* fix segfault on sparc introduced in 0.0.2pl4 in findfunctionerr.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 13 Feb 2003 20:26:21 +0100
gp2c (0.0.2pl4)
* gp2c-dbg now handle .c files.
* Fix code limiting user functions return type.
* Expand 'return' test to catch negbool.
* Fix bug with if(cond,,code).
* Expand 'if' test to check if(cond,,code) and if(cond,code,).
* Fix bug in gendeblock with if(cond,print(print)).
* Expand 'moveblock' test.
* Add descriptions for '^-1'.
* Fix -p option with forprime.
* Better error messages.
* Allow cast system to use descriptions.
* Add description for _toGENstr.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 7 Jan 2003 15:40:23 +0100
gp2c (0.0.2pl3)
* Fix some gcc warnings.
* Portability fix to lang.l (OSF/1).
* Test "moveblock" was no more 64 bits clean.
* Functions used before declaration generated wrong code.
* Description of setunion was incorrect. Thanks Ottavio G. Rizzo.
* gp2c-run now handle .c files.
* Add gp2c-run.1 man page.
* Add section 'Hand-editing the C file generated by gp2c' to manual.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 30 Oct 2002 16:48:54 +0100
gp2c (0.0.2pl2)
* '.' was not treated as a ``smallreal''.
* v[1,1] was not printed correctly by gp2C -G.
* Components do type checking now.
* Add 'empty' type for correct type computation.
* Use is_subtype for comparisons of types.
* Movecode fix from 0.0.0pl8 was incomplete.
* Expand tests "affect" and "moveblock".
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sat, 31 Aug 2002 11:16:56 +0200
gp2c (0.0.2pl1)
* Implement printf format with descriptions.
* Add ?type and ?integer default in description.
* Implement affection to line of matrix M[a,]=V
* Add space in error messages.
* Fix the way unused variables are handled.
* Fix -p option that was broken in 0.0.2.
* Fix type preorder transitivity computation.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 29 Aug 2002 11:40:56 +0200
gp2c (0.0.2)
* New parser code. This one support automatic concatenation, the 2.2.4 way.
* Add listcalltostack for unfolding function call.
* Add concat unfolding to genformat{,arg}.
* Add genstr type and cast for t_STRING GEN object.
* Add description for Str.
* Fix description of __ (concat) operator.
* Add a new casting method.
* Rewrite the way constants are handled. Fix 1.a bug.
* Remove the hard-coded limit on string length.
* Use const char *.
* Remove the KSTART kludge.
* Automatic variables now have consecutive numbers.
* Fix operators priority problems with gp2c -G.
* Allow empty functions and empty member functions.
* Catch declarations with more than one tag.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 28 Aug 2002 15:07:01 +0200
gp2c (0.0.1pl3)
* gp2c-dbg really uses GP_DBG now.
* Fix a bug introduced in 0.0.0pl11 when handling description with noarg.
* Expand "args" test.
* 'install' was no more working, and using entries has never worked.
* .sign description was incorrect.
* Update manual and expand the "common problem" section.
* Avoid GENtostr, because it leaks memory.
* Implement write*,printtex,printp* via eval().
* For uniformity, print now output to stdout.
* Thanks to Herbert Gangl for testing the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 9 Jul 2002 16:32:15 +0200
gp2c (0.0.1pl2)
* gp2c -S breaks with functions with more than 8 args.
* Support for simple real constants.
* KB style function definition.
* Correct typo in gp2c manual.
* Add support for manual in HTML.
* Fix a bug introduced in 0.0.0pl11 that cause variable to appear several
time in gptr lists.
* Add --with-paricfg flag to configure.
* Better version detection.
* Variables ('x) were printed as a number.
* gp2c now really ignore '\r'.
* typ->str cast generate invalid code.
* Default for str args was not quoted correctly.
* Use char * instead of void * in src/stack.c.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sat, 29 Jun 2002 17:23:12 +0200
gp2c (0.0.1pl1)
* Typo in addseqleft.
* Add VCG tree debugging output.
* Fix a bug introduced in 0.0.0pl12 with sum(,,if(,,)) constructs.
* Add test "sumprod".
* Movebloc could create loops in the tree.
* gp2c.tex: RTLD_GLOBAL is already in 2.2.2.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 19 May 2002 16:41:39 +0200
gp2c (0.0.1)
* Fix problem in gp2c-run when .gprc did not end by a newline.
* Add gp2c-dbg script to help debugging (not installed).
* Do not use snprintf for portability.
* Fix some warning when compiling on 64 bits machines.
* Add some more descriptions.
* Remove unneeded -u flag to diff in script/dotest.
* Fix some compatibility problems with old flex.
* Fix SEGV caused by unspecified execution order.
* Fix module-build when EXTRADLLDFLAGS use ${LIBS}.
* Add BUGS and doc/gp2c.dvi to the tarball.
* Remove src/lang.c and test/*/CVS from the tarball.
* Make forstep test more robust.
* Fix descriptions of _?=_ operators.
* FUNCDSC_PATH configuration is now GNU compliant.
* matrix() generate extraneous (GEN) cast.
* Add missing cast gen->bell.
* Fix GP path in gp2c-run.
* Thanks to John Cremona for testing the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 3 May 2002 20:18:17 +0200
gp2c (0.0.0pl12)
* Fix line numbers in error messages.
* Implement 'fordiv' and 'sumdiv'.
* Fix bugs with option -l and -f.
* Make gp2c-run recognize -l, -t and -v.
* Use "&&" in compile command instead of ";".
* Fix some bugs in the garbage collecting code.
* Add test "return".
* Missing copy with member functions clgp and bnr.
* Rewrite the lexical analyser with start condition.
* Missing cast in the description of "variable".
* Do not generate checkgal (not in pari 2.1 headers).
* Add documentation, thanks to Ariel Pacetti for review and install section.
* Add some missing #include.
* Thanks to Olivier Ramar for testing the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 13 Mar 2002 21:31:32 +0100
gp2c (0.0.0pl11)
* Remove bnrinit description, unuseful and not PARI 2.2 compliant.
* Fix a potential SEGV with undeclared variables.
* Fix some printnode bugs.
* Better description choice strategy.
* Add arguments checking to functions.
* New way to handle default arguments.
* Preserve comments in output.
* Add description for operators between small and real.
* Fix a long-standing bug causing extra indentation.
* More gerepileupto in place of gerepilemany.
* Use stack.[ch] interface for memory allocation.
* New option -S (strict arguments).
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 19 Feb 2002 19:44:39 +0100
gp2c (0.0.0pl10)
* 'x operator is now of type "var" instead of "gen".
* Fix a typo in the mode of if(,,) constructs.
* Fix initialization of non-GEN global vars.
* Expand "if" test.
* Add ";" after install commands to help copy-paste under emacs.
* Thanks to Henri Cohen for testing the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Wed, 19 Dec 2001 19:53:22 +0100
gp2c (0.0.0pl9)
* Add doc directory and manpage.
* Add support for new "#" operator.
* Add comments for non Gsmall C long.
* Better support for DOS files.
* Path-independent name for the init function.
* Rewrite the way functions definitions are stored.
* Implement 'install' as a gp2c directive.
* Add a new strategy in gencast.
* Add AM_MAINTAINER_MODE to configure.in.
* More check in configure.in.
* Allows to build without perl, or without PARI, or with debug enabled.
* Copy function arguments if they are modified.
* Handle absolute path to plugin in install().
* Add tests "cast" and "args", and expand "affect" and "forstep" tests.
* Rewrite the way prototype codes are parsed.
* Fix global vars initialization.
* Make "make check" more clever when gp2c fails.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 18 Dec 2001 17:30:07 +0100
gp2c (0.0.0pl8)
* Add gp2c-run script.
* Fix some castings from void and to gen.
* !(void) is 1 now.
* Still better output for gp2c -G.
* Add types vec, lg and vecsmall.
* Add descriptions supporting lg, vec and vecsmall type.
* Fix determination of return type of functions.
* Implement user-defined member functions.
* Hopefully fix a bug in moveblock().
* Add shell-style comments to description.
* Avoid casting lvalues.
* Affectations may need parens, like in a+b=c.
* Fix description of isprime.
* Add new check 'moveblock'.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 15 Nov 2001 12:30:06 +0100
gp2c (0.0.0pl7)
* Correct SEGV on files without any functions definitions.
* Try to cope with DOS files under unix.
* 'if' constructs used as loop bounds were wrongly discarded.
* 'M[k,]' induced looping in genblock.
* Add new check 'matrix'.
* Better output for gp2c -G .
* vector and matrix now check theirs index variables.
* 'f(x)=;x' is now valid, though ugly.
* Output warning for meta-commands.
* Output warning and default to gen for unknown functions.
* Description of '!' was incomplete leading to extraneous '!!'.
* Less spurious warnings.
* Thanks to Ariel Pacetti <apacetti@math.utexas.edu> for testing
the previous release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 23 Sep 2001 16:14:34 +0200
gp2c (0.0.0pl6)
* Add self test, for 'make check'.
* Code for tufu was wrong.
* Bug in genentryuser.
* Implementation of matrix().
* Gtyp to Ggen coercion.
* Global vars are initialized to gzero to protect against gerepile
* clone and unclone facilities.
* Parser grammar clean up.
* Add Gpol and Gvar type. Support for polynomial specific code.
* Add Mcopy mode.
* Add -p option to protect user namespace.
* Rewrite the initialisation function generation code.
* Fix typo in description of >>=.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 4 May 2001 13:03:21 +0200
gp2c (0.0.0pl5)
* Autoconfiguration of command line to compile the modules.
* Better support for '&' references.
* Better cleanup of var generate by if() constructs.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 18 Mar 2001 19:38:34 +0100
gp2c (0.0.0pl4)
* forstep(z=1,100,[1,3,1]) pre-implementation.
* Better garbage collecting.
* New option -W warning about undeclared variable.
* Now error messages print the line number or the function.
* New description code '@' for member function which use several time theirs
arguments.
* Variables added by the compiler of type `long' are named l1, l2, etc...
* User vars named l1, l2, l_1, etc... are now renamed l_1, l_2, l__1, etc...
* Now generate an initialization function automatically.
* Better variable optimizations.
* \= and \/= were absolutely buggy.
* Rewrote movecode/moveblock to be safe with entangled bloc.
* while(<BLOC>,SEQ) and until(<BLOC>,SEQ) now work.
* Add support for clone.
* for(i:small=1,x,SEQ) now work.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Thu, 15 Mar 2001 12:33:40 +0100
gp2c (0.0.0pl3)
* Fix `forstep'.
* Now error accept multiple parameter, as print do.
* `next' now is accepted.
* Add types nf,bnf,bnr,clgp,prid,ell,bell,gal to allow implementation of
member functions.
* Operators and member functions are now handled by descriptions.
* Fix PARI version detection for 2.2
* User vars named p1, p2, p_1, etc... are now renamed p_1, p_2, p__1, etc...
* 'lim' now renamed st_lim to reduce name clash.
* Much less extraneous parens generated.
* `&' references now work.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sun, 4 Mar 2001 11:53:16 +0100
gp2c (0.0.0pl2)
* Update scripts that were forgotten in pl1.
* Fix indentation in `for' loop.
* Added some provisions for better garbage collecting.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Sat, 13 Jan 2001 21:29:32 +0100
gp2c (0.0.0pl1)
* Now initialization in type declaration is supported, like
f(x:long=3)=local(z:mp=1.2);...
* New func.desc format.
* Garbage collecting before return more secure but still ugly.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Fri, 12 Jan 2001 21:29:32 +0100
gp2c (0.0.0pl0)
* Initial Release.
-- Bill Allombert <allomber@math.u-bordeaux.fr> Tue, 12 Dec 2000 17:33:32 +0100
Local variables:
mode: debian-changelog
End:
|