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
|
1 News
******
0.92.7
======
* Assume 'stack-direction' upwards for 'hppa' and 'metag' arches.
(Debian patch) [Helge Deller]
* Make build reproducible [Bernhard M. Wiedemann]
x make 'doc-strings' sort the output by default
x allow overriding 'build-info' build time, hostname and
username.
* Update 'librep.spec' [Allan Duncan]
* Update 'config.guess', 'config.sub' and 'install-sh' [Christopher
Bratusek]
0.92.6
======
* Fix 'inline_Fcons' multiple definition errors with gcc 5.
[Christopher Bratusek]
* Make detection of stack direction more robust [Andreas Schwab]
* Remove 'debclean' target from Makefile, improve 'gitclean' target
[Christopher Bratusek]
* Fix checking version of libtool in 'autogen.sh' [Christopher
Bratusek]
* Update config.guess and config.sub to 2015-08-20 [Christopher
Bratusek]
* Debian GNU/Linux code review:
+ Rename configure.in to configure.ac [Christopher Bratusek]
+ Fix various spelling errors found by 'codespell' [Christopher
Bratusek]
+ Fix the address of the FSF in various files as spotted by
'licensecheck' [Christopher Bratusek]
0.92.5
======
* Assume stack-direction 'downwards' for all sparc, hppa, mips,
mipsel, ia64 and alpha variants (fixes compilation) [Christopher
Bratusek]
* Fix compilation due to bug in libtool 2.0+ if /bin/sh is not
/bin/bash [Christopher Bratusek]
* rules.mk clean-up [宋文æ¦] [Daniel M. German]:
x Variables that depend on prefix should not be recursive
x Don't set prefix, datadir, libdir, datarootdir and repdir
x Use pkg-config to get the absolute path for repcommonexecdir
* Update .gitignore [Meng Zhang]
* Update config.sub to 2014-09-11 from autoconf
0.92.4
======
* Fix building librep on ARM [Togan Muftouglu, Christopher Bratusek]
* Fix building librep on AArch64 [Kim B. Heino]
* Misc. updates to debian packaging scripts [Christopher Bratusek]
0.92.3
======
* More entities support for xml-reader (gt, umlauts, esszett)
* Fix address of FSF in all files [Togan Muftouglu]
* Assume stack-direciton 'downwards' for all ppc and s390 variants
[Kimb B. Heino]
* Updated 'install-sh' to version 2011-01-19.21.
* Added 'program-exists-p' [Mark Triggs]
0.92.2.1
========
* Assume stack-direction 'downwards' on ARM [Kim B. Heino]
0.92.2
======
* Sync librep.spec with Fedora [Kim B. Heino]
* Assume stack-direction 'downwards' for x86_64. Self-detection
doesn't work with gcc >= 4.7.0 [Kim B. Heino]
* read_line no longer aborts at 400 characters [Timo Korvola]
0.92.1b
=======
* Fixed a bug in librep.pc
0.92.1
======
* Fixed building REP on OS-X 10.6 by not exporting librepm.sym via
libtool[John Harper]
* Fixed building REP on OS-X 10.7 by defining a proper ALIGN if ffi.h
doesn't provide one [John Harper]
* Fixed detection of FFI, if ffi.h isn't found [John Harper]
* Added various missing symbols in librep.sym [John Harper]
* Fixed a warning from configure regarding librep.pc [Christopher
Bratusek]
* Removed VPATH from Makefiles, to allow building REP using 'makepp'
[Daniel Pfeiffer]
* Added 'position' meta-function [Jeremy Hankins] [Eli Barzilay]
* Imported utility-functions from Sawfish: 'beautify-symbol',
'remove-newlines', 'option-index' and 'string->symbol'.
0.92.0
======
* Bumped soname to 16.0.0 [Ian Zimmermann]
* Make librep loading shared-objects, rather than libtool-archives
[Kim B. Heino]
* Removed architecture and version from installation paths
[Christopher Bratusek]
* Improved debian packaging-scripts [Ian Zimmermann, Christopher
Bratusek]
0.91.1
======
* 'rep.ffi.util' module [Sergey Bolshakov]
A new module containing utils for rep's ffi binding is added.
* Fixed librep.pc to prevent a possible build issue in rep-gtk or
sawfish (occurred on fedora 14) [Christopher Bratusek]
* New functions [Teika Kazura]
'function-name' returns the name of the function object. (*note
Functions::)
'remove-hook-by-name' removes functions from a hook by their name.
(*note Normal Hooks::)
* Documentation [Teika kazura]
Function 'in-hook-p' now has the documentation. (*note Normal
Hooks::)
New sections "Module Aliases" (*note Module Aliases::), "Module
Limits" (*note Module Limits::).
* Minor bugfix: 'remove-hook' used to emit an error if the hook was
unbound, but it's fixed. [Teika kazura]
* fixed the spec-file [Kim B. Heino]
* updated debian packaging-scripts (mostly) to the new format
[Christopher Bratusek]
0.91.0
======
* Update note [important]:
You need to rebuild rep-gtk and sawfish against this version of
librep, because of an ABI-change.
Your lisp files have to be byte-compiled again, too.
* Halfway improved 'debug-on-error' and 'backtrace-on-error' [Teika
Kazura]
Previously, setting these values to 't' triggered the debugger /
backtracer even if the error was signalled inside of
'condition-case'. This behavior can still be obtained by setting
them to the symbol 'always'.
Now, if they're 't', the debugger / backtracer is invoked only if
the control is not inside of any 'condition-case'. Notice that the
condition is NOT if the error is actually handled by an error
handler. It is not the best, but we can't improve it.
The default value of 'backtrace-on-error' is now 't'.
* When you evaluate a closure interactively, the module it belongs to
is printed, too. [Teika kazura]
* Improved functions' docstring support [Teika Kazura]
Handling of functions' docstring is improved. The revised
'documenation' function is ensured to return the docstring of
functions, macros, and special forms (*note Docstrings::).
Previously, fuctions' docstrings of byte-compiled user-files (eg:
pager.jlc) were lost, but not now.
* New function 'subr-structure' [Teika Kazura]
It returns the module a subr belongs to.
* Major documentation revision [Teika kazura]
Reorganized documentation files. Many capital letter name files
were updated or merged into the info.
New entries: *Note Crash course for Elisp users::, *Note
Closures::, on leading tilde in a filename and tarball access
(*note File Handlers::), fully revised the module section (*note
Modules::), improved description on invocation (*note
Invocation::), improved "fluid" and 'let' descriptions (*note Fluid
Variables::, and *note Local Variables::), improved the read syntax
of character (*note Characters::). Module names are supplied for
all functions.
Supplied documentation to some functions: Input stream functions
'peek-char', 'read-char' (*note Input Functions::), list functions
'remove-if', 'remove-if-not' (*note Mapping Functions::),
'table-size' (*note Hash Tables::), 'setcar', 'setcdr' and 'cdddr'
family (*note Cons Cells::), 'assoc-regexp' (*note Association
Lists::).
* 'define-special-variable' is replaced by 'defvar-setq' [Teika
kazura]
The former is still valid, but it's a very confusing name,
therefore the latter is introduced.
* Makefile's uninstall rule has been fixed [Christopher Bratusek]
0.90.6
======
* renamed 'file-uid-p' to 'file-uid' and 'file-gid-p' to 'file-gid'
[Christopher Bratusek]
* Minor doc improvements [Teika Kazura]
Describes functions 'signal' and 'string-split'. Correction in
suffix handling of 'load' function. More details on the function
'require'.
* improved specfile [Kim B. Heino]
* Process execution failure emits better message. [Teika Kazura]
0.90.5
======
* Byte compiler bugfix in docstring loss [Teika Kazura]
Practical effect: Previously, if a user byte-compile files, then
the docstring is lost in sawfish-config. This is fixed.
Details: Loss of docstring happened only if (1) byte compiler is
not given '--write-docs', so only byte-compilation by user (2)
defvar is invoked within macro definition, including 'defcustom' in
Sawfish. Plain defvar was not affected by this bug. It was
because in 'trans-defvar' in lisp/rep/vm/compiler/rep.jl, the
docstring is stored in a wrong property 'variable-documentation'.
It is corrected to 'documentation'.
Symbol 'variable-documentation' is not used elsewhere, including
Sawfish and emacs' sawfish-mode.
* Our own implementation of dlmalloc is disabled since 2002, as it
breaks librep on several architectures. From this version on, we
don't ship it. [Kim B. Heino]
* Our own implementation of alloca/memcmp is not needed, rely on
libcs instead. [Kim B. Heino]
* Majorly improved the debian and rpm packaging scripts [Christopher
Bratusek] [Kim B. Heino]
* Install headers to $includedir/rep/ instead of $includedir/
[Christopher Bratusek]
* Autotools improvements (Makefile, autogen.sh & Co.) [Christopher
Bratusek]
* Added 'file-gid-p' function for getting the gid of a file
[Christopher Bratusek]
* Added 'file-uid-p' function for getting the uid of a file
[Christopher Bratusek]
0.90.4
======
* Library version bumped to 9.4.1
* Use $prefix/lib instead of $prefix/libexec
* Fixups for OpenBSD [Jasper Lievisse Adriaanse]
* Don't hardcode /usr in manpage installation path
0.90.3
======
* Added 'file-executable-p' function
* Improved spec-file [Kim B. Heino]
* Improved ebuild [Fuchur, Christopher Bratusek]
* Fallback check for ffi, if there's no libffi.pc [Vincent Untz]
* Removed rep-config script (use librep.pc instead)
* Added man-pages for 'rep', 'repdoc', 'rep-remote' and
'rep-xgettext' [Debian]
* Added debian packaging scripts based on the official ones
0.90.2
======
* Fixed a major defunct with prin1 + utf8 [Timo Korvola]
* Fixed descriptions of formats %s and %S in streams.c
0.90.1
======
* Properly terminate the rep interpreter [Jürgen Hötzel]
* Use readline history in interactive mode [Jürgen Hötzel]
* Tar file-handler does now support XZ compressed tarballs
* Tar file-handler does now support LZMA compressed tarballs
* Improved regex for parsing tar output in the file-handler [Alexey
I. Froloff]
* We do now correctly check for libffi
* Improved libffi-binding [Alexey I. Froloff]
* Updated librep.sym for missing entries [Alexey I. Froloff]
* Fixed an incomplete definition
* Added -L$prefix to libs section of the .pc file
* No C++ style comments in C code
0.90.0
======
* Added UTF-8 Support! [Wang Diancheng]
* Remove scheme and unscheme modules
* Going on with code-cleanup
0.17.4
======
* Don't ignore datarootdir setting
* Fixed an aclocal warning from configure.in
* Improved configures ending message
* Doc update in 'Numbers' section. Lacking description on machine
dependence is added. [Teika]
* Remove tar target from Makefile [Ritz]
0.17.3
======
* Updated MAINTAINERS
* Dropped rep.m4 - use librep.pc instead
* Improved librep.pc
* Updated librep.spec
* Add -L/lib$libsuff to READLINE_LIBS [T2 Patch]
* Fix compilation on PPC64 [Marcus Comstedt]
* Small fixup in src/fake-libexec [SuSE]
* No rpath in src/rep-config.sh [Fedora]
* Added ebuild [Harald van Dijk]
* Improved Makefile's distclean rule
* Reworked autogen.sh
* Reworked configure.in
* Major rework of the spec-file
* Improved configure's ending message
* Fixed configure.in's templates for autoheader
* BSD-Tar is not supported by librep, give users a useful warning
message [Mark Diekhans]
0.17.2
======
* fixups for configure.in
* updated BUGS, HACKING and README
* define inline if undefined (fixes compiler warnings)
* create the destination directory for the .pc file before installing
it
* fixed in issue with FreeBSD in numbers.c [FreeBSD patch]
* improved a function of numbers.c [FreeBSD patch]
* rep_file_fdopen has not been listed in librep.sym
* added -tag=CC to libtool in several places
* don't ignore $LDFLAGS upon build
* dropped some useless code in sdbm.c
* make sure inline is defined
0.17.1
======
* started code-cleanup
* added a .pc file
* added -no-split to makeinfo [FreeBSD patch]
* added -enable-paranoia to configure [compile with CFLAGS+="-Wall
-ansi"]
* updated the spec file
* replaced a static void by a void in main.c [Debian patch]
* use correct shebang in rep-xgettext.jl [ALT-Linux patch]
* trim trailing / to mkdir(2) [NetBSD patch]
0.17
====
* Added 'rep.ffi' module (Foreign Function Interface). Uses gcc's
libffi. Very untested.
* Partial implementation of guile's 'GH' interface.
* Bug fixes:
- Don't hang in select for a second when starting processes via
the 'system' function (race condition that only seems to show
up on Linux 2.6 kernels)
- Miscellaneous fixes for Mac OS X.
- Don't return a reversed list of items from the XML parser.
(Alexander V. Nikolaev)
- Fixes to string capitalization functions. (Charles Stewart)
0.16
====
* New modules 'rep.data.trie', 'rep.threads.proxy'
* Also added 'rep.xml.reader' and 'rep.xml.printer', though these
should probably be used with extreme caution
* Appending to queues is now O(1) not O(n)
* Many changes to 'rep.net.rpc' module, protocol is incompatible with
previous version. Should be more robust
* 'rep.i18n.gettext' module exports the 'bindtextdomaincodeset'
function (Christophe Fergeau)
* Slightly more secure way of seeding the rng
* 'inexact->exact' can now convert floating point numbers to
rationals (though not optimally). This means that 'numerator' and
'denominator' also work better with floats now
* New function 'file-ttyp'
* Some random bug fixes
0.15
====
* Parser can now associate lexical location (file name and line
number) with parsed objects. Added 'call-with-lexical-origins' and
'lexical-origin' functions. This adds memory overhead but is only
enabled in interpreted mode, or other times it could be useful
(e.g. when compiling)
* The compiler enables line-numbering, and uses the information when
it prints errors. It also prints errors in a more standard format
(intended to mimic GCC), and distinguishes warnings from errors
* Debugger is much improved, and supports emacs-style emission of
line number tokens. Use the included 'rep-debugger.el' elisp code
to source-debug rep programs in Emacs!
* New command line option '--debug'. When given, rep starts up in
the debugger
* Reformatted backtrace output. Also backtraces only ever include
evaluated argument lists now. They also include lexical
information when possible
* Syntax errors include error description and line number
* Now supports weak reference objects. New functions
'make-weak-ref', 'weak-ref', 'weak-ref-set'. A weak reference is a
pointer to another object. When that object is garbage collected,
the pointer in the weak reference is set to false.
* New 'error helper' module. When an error is handled, this module
is called and tries to print a human-understandable message
explaining why the error may have occurred
* REPL commands may now be specified by their shortest unique set of
leading characters, e.g. ',o' instead of ',open'
* Added an '#undefined' value. Returned by '%define' and the macros
using it ('defun', 'defmacro', etc...)
* New function 'table-size' in module 'rep.data.tables'
* 'thread-suspend' returns true iff the timeout was reached (i.e.
return false if 'thread-wake' was used to unsuspend the thread)
* Objects defined using the 'object' macro now have an implicit
'self' binding - the object representing their self (or their most
derived self)
* Added TIMEOUT parameter to 'condition-variable-wait' and
'obtain-mutex' functions
* New 'rep.threads.message-port' module, implements a simple message
queue for threads
* 'log' function now optionally accepts a second argument, the base
of the logarithm
* Use gmp to generate random numbers when possible (if at least
version 3 of gmp is found) [disabled in librep 0.15.1 - gmp seems
to be buggy?]
* The 'string-replace' function may now be given a function as its
TEMPLATE parameter
* Bug fixes:
- Signal an error if writes don't write all characters they were
asked to. Also, some functions could write fewer characters
than they were supposed to even if no errors occurred
- Remembered that file sizes may not fit in fixnums
- Don't preserve trailing slashes in results of
canonical-file-name (to make the path canonical)
- Don't signal an error when end of file is encountered
immediately after reading '#\X' syntax
- 'current-thread' and 'all-threads' will create a thread object
for the implicit thread if there isn't one already
- In C subrs that take optional integer arguments, signal an
error if the given value isn't an integer or undefined
(false). Also, accept all types of numbers where it makes
sense to do so
- Signal an error if end of file is read while parsing a block
comment
- Don't ever return a null object from 'current-time-string'
- Catch errors signalled during command line option processing,
and pass them to the standard error handler
- Right hand side of 'letrec' bindings may now have more than
one form
- The 'object' macro now evaluates its BASE-OBJECT parameter
exactly once
- Finally removed 'define-value'
- Ignore null lines (or lines which only have comments) in the
repl
- In the compiler, don't expand macros which have have been
shadowed by local bindings
- Don't print some compiler errors/warnings twice
- Fixes for 'mips-compaq-nonstopux' architecture (Tom Bates)
- Fixed ',reload' and ',unload' repl commands not to try to
remove non-existent structures
0.14
====
* New module 'rep.util.md5', has two functions for generating MD5
message digests (of files or strings)
* Changes to the 'rep.io.sockets' function:
In the 'socket-server' function the HOST and/or PORT arguments may
be false, meaning to listen on all addresses and to choose a random
unused port.
New functions 'socket-peer-address' and 'socket-peer-port', these
always returns the details of the far end of the connetion.
'socket-address' and 'socket-port' have been changed to always
return the details of the local connection point.
* New function in 'rep.system' module, 'crypt'. A wrapper for the
system's 'crypt' function (if it has one)
* New function in 'rep.threads' mdoule, 'make-suspended-thread'
* New module 'rep.net.rpc', provides a text-stream based RPC
mechanism for Lisp programs. Similar in some ways to untyped
CORBA. (This is still in the experimental stage - its interface may
change in forthcoming releases)
* New functions in 'rep.data' module, 'list->vector' and
'vector->list'
* New macro 'define-special-variable'. A combination of 'defvar' and
'setq' - it always makes the variable special and it always sets it
to the given value
* New module 'rep.test.framework' implementing 'assert', 'check' and
'test' macros. This provides a framework for implementing unit
tests in Lisp modules (such that running the interpreter with the
'--check' option will run all tests that have been set up to be
autoloaded
* Bug fixes:
- When reading from strings, don't choke on zero bytes
- When writing into sockets, be aware that the socket is in
non-blocking mode
- SDBM and GDBM modules now close any open databases before the
interpreter exits
- Fixed the 'rep_parse_number' function not to require a
terminating null character in the string when parsing bignums
- Only define 'Qrep_lang_interpreter' once
- Don't assign vm registers to physical registers on 68000
architectures - it's been reported to crash
- When running asynchronous subprocesses, open and initialize
the pty slave before forking to avoid a race condition with
the child process
- Flush symbols from the module cache at another point
- Fixes for Unixware
- When compiling non-top-level 'defvar' forms, add any doc
string they have to the database
0.13.5
======
* Tar file handling no longer requires GNU tar
* The 'defvar' special form can now take only a single argument
* The reader now treats '#\return' characters as white space
* Other miscellaneous bug fixes...
0.13.4
======
* Don't restrict symbols exported from plugin libraries, some need to
export symbols to work properly (this bug only seemed to appear on
Solaris systems)
* Added 'rep_file_type' and 'rep_guardian_type' to the list of
symbols exported from librep
* Fixed the 'install-aliases' script (Peter Teichman)
* New module 'rep.threads.condition-variable'
* Added 'string-split' and 'string-replace' to the gaol
0.13.3
======
* Try to only export public symbols from 'librep.so' and modules
* When expanding file names translate '/..' to '/'
* Set an upper bound on the allowed recursion depth when regexp
matching, prevents the stack from overflowing in pathological cases
* Added optional second arg to 'readline' function, a function to
call to generate completions. The 'rl-completion-generator' method
of supplying this function is deprecated
* Fixed bugs when handling character-case in regexp module (Andrew
Rodionoff)
* Added an 'premature-end-of-stream' error. This is signalled
instead of 'end-of-stream' when reading characters in the middle of
a syntax form. The 'end-of-stream' error is only signalled when
the end of the stream is reached before encountering anything other
than whitespace characters
* Fixed bug of expanding declarations in the 'define' macro expansion
0.13.2
======
* Fix 'define' so that it tracks bound variables and ignores shadowed
keywords when traversing code
* Added checks to compilation process for the kind of missing
shared-library problems that many people see
* Fixed the 'install-aliases' shell script
* New configure option: '--enable-full-name-terminator'
0.13.1
======
* Added functions 'remove-if' and 'remove-if-not'
* Various bug-fixes for non-linux or solaris systems (John H.
Palmieri, Philippe Defert)
* '#f', '#t', '#!optional', '#!key' and '#!rest' are now uninterned
symbols. Keywords are interned in a separate obarray
* Fixed bug of caching regexps even when their string has been
modified
* Fixed some bugs in the ftp remote file handler and the 'pwd-prompt'
function
* Fixed 'define' to ignore 'structure' and 'define-structure' forms
0.13
====
* The end-of-list / boolean-false object is no longer the symbol
'nil'. Instead there is a special object '()' fulfulling these two
roles. For modules importing the 'rep' module, the symbol 'nil'
evaluates to '()'. This allows the 'scheme' module to be more
compliant with the Scheme standard
* Parameter list changes:
- Deprecated '&optional' and '&rest', in favour of '#!optional'
and '#!rest'.
- Added keyword parameters. Use '#!key' to declare them.
Keyword syntax is '#:PARAM'. For example:
((lambda (#!key a b) (list a b)) #:b 2 #:a 1) => (1 2)
- '#!optional' and '#!key' parameters may now have default
values, syntax is '(VAR DEFAULT)'. For example:
((lambda (#!optional (a 1)) a)) => 1
* The module namespace is now hierarchical. '.' characters in module
names denote directory separators, e.g. 'foo.bar' translates to
the file 'foo/bar'
All module names prefixed with 'rep.' are reserved for librep,
other top-level names should be picked to be as unique as possible
The existing modules have been renamed to fit this scheme (see the
file 'TREE' in the distribution for the hierarchy details).
However, old module names will still work for the time being
* The 'rep' module no longer includes the 'rep.regexp', 'rep.system',
'rep.io.files', 'rep.io.processes' or 'rep.io.file-handlers'
modules. These need to be imported explicitly
* Doc strings are now indexed by module name as well as symbol name.
The 'define' macro now takes a doc string as its optional third
parameter
* Record constructors may include all lambda-list keywords (e.g.
keywords and/or default values)
* Incompatible virtual machine changes, hence bytecode files will
need to be recompiled. Improvements include:
- Only heap-allocate variables when absolutely necessary
- Closure analysis to allow inlining of some types of 'letrec'
expressions
- Added a 'safe' virtual machine, which makes no assumptions
regarding validity of bytecode, so is safe for untrusted code
* Added an 'unscheme' module. Another Scheme implementation, but the
goal of this one is to integrate cleanly with the librep runtime
environment, even if this is at the expense of R4RS compliance
For example, in 'unscheme' code, '#f => ()' and '#t => t'. This
allows rep and unscheme functions to call each other without
needing to convert any data
* By default, it is now illegal to modify top-level variables that
have not previously been defined
* New macro 'define-structures' to export multiple views of a single
underlying environment
* The librep runtime no longer handles the '--help' option itself,
this should be done by scripts
* Don't search '$LD_LIBRARY_PATH' for plugins, but prepend all
directories in colon-separated '$REP_DL_LOAD_PATH' to
'dl-load-path'. Similarly, the contents of '$REP_LOAD_PATH' is
prepended to 'rep-load-path'
* '(/ X) => (/ 1 X)'
* Extra string-manipulation functions: 'string-replace',
'string-split' (in the 'rep.regexp' module)
* '#f' and '#t' are now primitive symbols, not special objects
* Special case tail-recursive calls to 'apply', to ensure they get
eliminated
* The '0x123' and '0123' read syntaxes have been deprecated, use
'#x123' and '#o123' instead
* '#| ... |#' comments now nest correctly
* New modules: 'rep.i18n.gettext', 'rep.vm.safe-interpreter',
'rep.vm.assembler', 'unscheme', 'rep.data.objects',
'rep.www.quote-url', 'rep.www.fetch-url', 'rep.util.ispell',
'rep.util.base64', 'rep.util.autoloader', 'rep.io.sockets',
'rep.util.time', 'rep.net.domain-name'
* Bug fixes, including:
- Find size of 'long long' type on AIX, IRIX and Solaris (Dan
McNichol, Albert Chin-A-Young)
- Never allow macros to be called as functions
- Make bitfields unsigned (Albert Chin-A-Young)
- Fixed bounds-checking when parsing non-base-10 fixnums
- Thread fixes (and much lower thread-switch latency in many
cases)
- Fixed 'DEFUN' macro for C++ (Matt Tucker); also fixed header
files to avoid C++ keywords
- Make error message for bytecode version mismatches more
meaningful
- Fixed: 'default-boundp', 'continuation-callable-p'
- Only the evaluate the value of 'defvar' forms if the symbol
isn't already bound
- Compile else-less 'case' expressions correctly; eliminate
tail-recursion in 'cond' forms when possible
- Various fixes in 'scheme' module
0.12.4
======
* Support building without GNU MP, '--without-gmp' option to
configure. Use 'long long' for non-fixnum integers (promote to
floats when out of range); no exact rationals. There's also an
option to disable continuations/threading
('--disable-continuations')
* Sanitized function inlining:
- Use '(declare (inline NAMES...))' to tell the compiler that it
might be useful to inline the named functions
- Don't even think about inlining across module/file boundaries
(for now anyway)
* Cleaned up the 'gaol' module. Interface is essentially:
'gaol-define', 'gaol-define-special', 'gaol-define-file-handler'.
Added 'gaol-open' to import complete modules. Still supports old
interface
* Be a lot more efficient when printing quoted strings and symbol
names (for some streams there used to be a system-call per
character!) Also, when quoting weird symbol names, be more
intelligent
* Removed code to autoload from modules (which didn't really work
anyway)
* Be more intelligent about deciding when to flush the module cache
* Build fixes for IRIX (David Kaelbling)
* Other miscellaneous bug-fixes and performance tweaks
0.12.3
======
* New function 'thread-join', waits for a specified thread to exit,
then returns the value of the last form it evaluated
* Added a rudimentary profiler (',profile FORM' command in repl)
* Reorganized 'ring' module, sanitized the interface (preserving
compatibility with old functions), also added a 'ring->list'
function
* 'rplaca' and 'rplacd' (but not 'setcar' and 'setcdr') functions now
return the cell being modified, not the value being stored into it,
for compatibility with CL (Karl Hegbloom)
* 'unwind-protect', 'catch', 'condition-case': these special forms
are now macros
* When signalling 'bad-arg' or 'missing-arg' errors, try to include
the function as the first element of the error data
* 'load' function now _only_ loads files without suffixes if
NO-SUFFIX arg is non-'nil' (prevents picking up un-suffixed files
by mistake, e.g. from the current directory)
* Fixed some bugs when reading rationals
* Fixed bug of 'gettext' module not redefining '_' binding in 'rep'
module
* Fixed bug when building 'rep-config' script (Mark Hewitt, Dan
Winship)
* Fixed bug of 'rep_INTERN_SPECIAL' macro not looking for default
values of special variables
* Fixed interpreted versions of 'min' and 'max' when operating on
non-numeric values
* If unable to allocate heap space, just print an error and terminate
the program (the low-memory handling doesn't currently work
properly)
* Fixed bug when extracting doc strings from 'define' forms
* Fixed bug when compiling structure definitions in non-top-level
environments
* Fixed bug of being unable to 'load' empty files
* When recursively macro-expanding, dereference identifiers in the
correct module
0.12.2
======
* The tar file-handler now caches the unpacked archive (wins big when
loading sawfish themes)
* The 'gaol' module can now create multiple gaols, each with it's own
namespace
* More performance tweaks
* Miscellaneous bug-fixes (more vm stack smashing, 'defconst' never
evaluates its constant)
0.12.1
======
* Some virtual machine performance tweaks
* Fixed nasty stack smashing bug (when using compiler declarations)
* Some 64-bit cleanups (George Lebl)
* Fixed non-ANSI C syntax (Sam Falkner)
0.12
====
* Added a basic module system.
Modelled after the Scheme48 system, but simpler. At its simplest,
include a 'define-structure' form in each file representing a
module:
(define-structure NAME INTERFACE CONFIG BODY...)
The external definitions of this module can then be imported by
other modules through their CONFIG statements, e.g. '(open
NAMES...)'. Most modules will open 'rep' to get the standard
language definitions.
'foo#bar' reads as '(structure-ref foo bar)'
The 'timers', 'tables', 'sdbm', 'gdbm', 'readline', 'gettext',
'ring', 'mutex', 'memoize', 'lisp-doc', 'disassembler', 'compiler',
'date', 'cgi-get', 'gaol' features are all now modules (this is
backwards compatible, since modules may be imported using
'require')
See the "Modules" section of the manual for more details.
* The repl now contains meta-commands for inspecting and configuring
the module system (amongst other things)
* Added a facility for creating new primitive types: 'make-datum',
'datum-ref', 'datum-set', 'has-type-p', 'define-datum-printer'
* Added an SRFI 9 compatible 'define-record-type' macro for defining
data structures (the 'records' module)
* Added fluid variables--a method of creating dynamically scoped
bindings that fit well with lexically scoped definitions
('make-fluid', 'fluid', 'fluid-set', 'with-fluids', 'let-fluids')
* Added a 'queues' module providing a basic queue type
* Added stream functions: 'peek-char', 'input-stream-p',
'output-stream-p'
* Interpreter now also eliminates tail-calls
* Changed handling of inexact numbers to be compatible with the
Scheme standard:
- Many operations now produce inexact outputs if any of their
inputs are inexact (e.g. 'min', 'max', 'floor', 'ceiling',
'round', 'truncate')
- 'eql' and 'equal' no longer ignore exactness when comparing
numbers. '=', '/=', '<', '>', '<=' and '>=' _do_ ignore
inexactness. E.g.
(eql 2 2.) => nil
(= 2 2.) => t
* Support most of Scheme's read-syntax for numbers (i.e. '#b', '#o',
'#d', '#x' radix prefixes, and '#e', '#i' exactness prefixes).
* Implemented Scheme's 'string->number' and 'number->string'
functions
* Included a basic R4RS Scheme implementation (module: 'scheme'). Do
',new foo <RET> ,open scheme' to test it in the repl, use '(open
scheme)' instead of '(open rep)' to use it within modules.
The compiler also knows enough about Scheme to be able to compile
it. Also, use the '-s' or '--scheme' options to load a file of
Scheme code.
* The debugger works better (and can be used to walk the stack
history somewhat)
* Last arg of 'append' and 'nconc' may be a non-proper-list now
* Implemented the Scheme 'do' macro for iteration
* 'define' supports curried functions. E.g. '(define ((plus a) b)
(+ a b))', then '(plus 1)' evaluates to the function that adds one
to its argument.
* Many performance improvements:
- Allocates less memory (so garbage collects less often)
- Much faster at bytecode-to-bytecode function calling
- Much reduced VM overhead (when compiled with GCC)
* Compiler improvements:
- Supports the '(declare CLAUSES...)' form. See the "Compiler
Declarations" section of the manual for details on the actual
declarations supported.
- Is cleverer about detecting when to create new bindings when
tail recursing, and when the old bindings can just be
overwritten
- Groks the module system, and the language of the module being
compiled (so that it can compile both rep and Scheme code)
- Splices bodies of top-level 'progn' and 'begin' forms
themselves into the top-level (for when macros expand into
multiple definitions)
- Compiling already defined functions (or whole modules of
functions) now (mostly) works
- Coalesce and compile non-defining top-level forms
* Many bug fixes (see ChangeLog files for details)
0.11.3
======
* Fixed bug of throwing uninitialized errors when autoloading
* Fixed bug of interpreting '(let () ...)' as a named let
0.11.2
======
* Replaced many special forms by macros--'let', 'let*', 'function',
'if', 'and', 'or', 'prog2', 'defmacro', 'defun', 'defconst',
'define-value', 'setq-default'
* 'let' now supports Scheme's named-let construct for iteration via
tail recursion
* Parse some standard Common Lisp and Scheme syntax: '#| ... |#'
block comments, '#\C' or '#\NAME' characters (where NAME may be one
of: 'space', 'newline', 'backspace', 'tab', 'linefeed', 'return',
'page', 'rubout'), and '#(...)' vectors
* When comparing symbols, compare their names as strings
* Implemented Scheme's 'dynamic-wind' function
* Fixed bug of sometimes evaluating function arguments in the
environment of the callee not the caller
* Fixed bug when calculating how long to sleep for when no threads
are available
* Fixed bugs in mutex implementation (Damon Anderson)
* Work around bugs in Tru64 'RTLD_GLOBAL'; everything should work on
Tru64 now (Aron Griffis)
* Fixed bug of not saving current regexp state across continuations
0.11.1
======
* The compiler now eliminates single-function tail calls (instead of
leaving it to the virtual machine)
* Updated to use libtool-1.3.4
* Miscellaneous bug fixes and minor changes
0.11
====
* Better support for numerical computting. Now supports bignums,
rational numbers (numerator and denominator are bignums), and
floating point values as well as the original fixnums. Many new
numerical functions supporting these types. Promotes and demotes
hopefully as you'd expect (never demotes an inexact number to an
exact number). Tries to follow the Scheme numeric system as much
as possible
* Supports "guardian" objects through the 'make-guardian' function
(as described in Dybvig's paper). These are a clean mechanism for
allowing the programmer to control when arbitrary lisp objects are
finally deallocated. Also added a new hook: 'after-gc-hook'
* The default error handler can now be redefined. If the variable
'error-handler-function' contains a function then it will be called
to handle the error, with arguments '(ERROR DATA)'.
* New special form 'case', switches on a key value and sets of
constants
* New function 'call/cc' (also available through the alias
'call-with-current-continuation'). Provides scheme-like
continuation functions. Special variables are now deep-bound to
support this correctly
* Supports "soft" preemptive threads using continuations and a
general "barrier" mechanism (used either for restricting control
flow, or for receiving notification when control passes across a
barrier)
* Parameter lists in lambda expressions now support improper lists,
as in scheme. E.g. '(lambda (x . y) ...)'
* Implements the scheme 'define' syntax, with support for inner
definitions
* The 'tables' plugin implements hash tables, with extensible hashing
and comparison methods; supports both strongly and weakly keyed
tables
* Included a GDBM binding; DOC files are now stored in GDBM files
(SDBM has limits on datum sizes)
* 'put' and 'get' functions now use 'equal' to compare property names
* Virtual machine / compiler improvements:
- Variable references and mutations are classified by type:
lexical bindings use (one-dimensional) lexically addressed
instructions, global non-special bindings have their own
instructions, everything else uses the original instructions.
Similar classification when creating new bindings
- Eliminate tail-recursive function calls wherever possible in
compiled code (when the calling function has no dynamic state)
Compiled lisp code will need to be rebuilt to run on the modified
virtual machine.
* When expanding macros, bind 'macro-environment' to the macro
environment it was called with. This allows macros to reliably
expand inner macro uses
* New hook 'before-exit-hook'. Called immediately before exiting
* 'rep-xgettext' now has an option '--c'. This makes it output
pseudo C code containing the string constants found
* Fixed misfeature of interpreting filenames 'FOO//BAR' as '/BAR'.
Contiguous path separators are now merged (i.e. 'FOO/BAR')
0.10
====
* Updated support for dumping (freezing) lisp definitions to handle
lisp-1 nature with closures. Also now generates C code instead of
assembler for portability; creates a plugin that may be loaded
through the REP_DUMP_FILE environment variable
* Plugin '.la' files may now contain rep-specific settings:
'rep_open_globally=yes' and 'rep_requires='FEATURES...''
* New function 'define-value'. A combination of 'set' and 'defvar',
but without implying dynamic scope
* 'load' scans AFTER-LOAD-ALIST for plugins as well as lisp libraries
* '(if t)' now evaluates to 'nil' not 't'
* Fix regexp bug in matching simple non-greedy operators (Matt Krai)
* Borrowed guile's bouncing parentheses for readline (Ceri Storey)
* New C functions 'rep_load_environment' and 'rep_top_level_exit'
* 'defvar' allows symbols to be redefined in protected environments
if they haven't also been defined by unprotected environments
* Detect GCC's with broken '__builtin_return_address' functions
(George Lebl)
* Try to use libc 'gettext' implementation, but only if it looks like
it's the GNU implementation
0.9
===
* Support for using GNU readline (give configure the
'--with-readline' option)
* New functions: 'letrec', 'caar', ..., 'cddr', 'caaar', ...,
'cdddr', 'in-hook-p', 'make-variable-special'
* Changed 'unless' to have the Common Lisp semantics--return 'nil'
when the condition evaluates true, not the value of the condition
* Fixed/added some compiler optimisations
* Fixed 'rep-xgettext' script to remove duplicated strings and to
search exhaustively
* 'add-hook' forces the hook variable to be special (in case it
wasn't declared using 'defvar')
0.8.1
=====
Fixed some documentation bugs; fixed some build problems
0.8
===
* Default scoping is now lexical, only variables declared using
'defvar' are dynamically scoped.
* There is now only a single namespace for symbols (excepting
property lists), this means that the 'fset', 'symbol-function' and
'fboundp' functions have been removed
This allows all elements in procedure-call forms to be evaluated
equally (as in scheme), so things like:
((if t + -) 1 2)
now work. Related to this, function names (i.e. symbols and
lambda expressions) are no longer dereferenced by any operations
taking functions as arguments. Only built-in subroutines and
closures are considered functions.
This means that where before you'd write something like:
(mapcar '+ '(1 2 3))
this is now illegal; the '+' function must be evaluated:
(mapcar + '(1 2 3))
* 'lambda' is now a special form evaluating to a closure (as in
scheme); this means that the following are exactly equivalent:
(lambda (x) x) == (function (lambda (x) x)) == #'(lambda (x) x)
An alternative method of enclosing a lambda expression is to use
the 'make-closure' function.
* 'gaol' module providing semi-safe environment for untrusted code to
evaluate in
* Support for i18n through 'gettext' module; also support for '%1$s'
type format specifiers
* New functions 'string-equal' and 'string-lessp'
0.7.1
=====
* Added '--with-rep-prefix' option to autoconf AM_PATH_REP macro
* Fixed bug when inserting a new timer before an existing timer
* Fix the malloc tracking code
* Fix dlmalloc for FreeBSD
* Use install when installing, not cp
* Some fixes for compiling with SUN's C compiler on Solaris
0.7
===
* Added file handler for read-only access to the contents of tar
archives, access files like 'foo.tar.gz#tar/bar'
* 'process-id' function now returns pid of lisp interpreter when
called with zero arguments
* Added (untested) support for loading dynamic objects via 'shl_load'
(HP-UX)
* Added (untested) support for systems that prefix symbol names in
dynamic objects with underscores
* Fix bug when compiling 'last' function
* Fix bug of not closing files in the 'load' function
0.6.2
=====
* Added 'autoload-verbose' variable; set it to 'nil' to turn off the
messages when autoloading
* Fix problems when '--prefix' option has a trailing slash
* Updated libtool files to version 1.3.3
* Initial (incomplete) support for building under Tru64, from Aron
Griffis
0.6.1
=====
No new features; minor portability tweaks and build changes. Fix bug of
trying to load directories as Lisp scripts
0.6
===
* Add 'unsetenv' function
* 'system' now uses 'process-environment'
* Workaround compiler bug with GCC 2.95 on sparc
* Fix build problem where libsdbm.la can't be located
0.5
===
* New function 'set-input-handler', registers an asynchronous input
handler for a local file
* Don't abort on receipt of unexpected 'SIGCHLD' signals
* Upgrade libtool to version 1.2f
* The 'rep' binary by default always loads a script named 'rep', not
named by it's 'argv[0]' (this breaks under the newer libtool)
0.4
===
* Sending a rep process a 'SIGUSR2' prints all debug buffers
* Added '--with-value-type', and '--with-malloc-alignment' configure
options. Also added code to automatically detect the first of
these options.
* Fixed some 64-bit problems
* Removed the difference between static and dynamic strings
0.3
===
* New compiler command line option '--write-docs'
0.2
===
* The variables 'error-mode' and 'interrupt-mode' control where
errors and user-interrupts (i.e. 'SIGINT' signals) are handled.
The three possible values are: 'top-level', 'exit' and 'nil'
(denotes the current event loop).
* Fixed bug where all dynamic types were erroneously 'symbolp'.
* 'SIGINT', 'SIGHUP' and 'SIGTERM' signals should now be caught more
successfully.
* Added a new directory to 'dl-load-path': 'LIBEXECDIR/rep/ARCH' to
contain third-party shared libraries.
0.1
===
First public release.
|