1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
Commit graph

9023 commits

Author SHA1 Message Date
Marius Vollmer
a8255dca08 * Makefile.am (INCLUDES): Use @LTDLINC@ instead of
"-I$(top_srcdir)/libguile-ltdl".
(libguile_la_LIBADD): Use @LIBLTDL@ instead of
"../libguile-ltdl/libguile-ltdl.a".

* guile.c, dynl.c: Switched to using libltdl directly.  Replaced
all references to scm_lt_* with just lt_*.  Include <ltdl.h>
instead of <libguile-ltdl.h>.
2004-10-22 13:01:59 +00:00
Marius Vollmer
c62a2bb99f * configure.in: Call AC_LIBLTDL_INSTALLABLE instead of
AC_LIB_LTDL.
(AC_CONFIG_SUBDIRS): Added libltdl.
(DLPREOPEN, LTDLINC, LIBLTDL): Moved AC_SUBST near other libtool
stuff.  Also subst LTDLINC instead of INCLTDL.
(AC_CONFIG_FILES): Removed libguile-ltdl/Makefile and
libguile-ltdl/upstream/Makefile.

* Makefile.am (SUBDIRS): Replaced libguile-ltdl with libltdl.
2004-10-22 13:01:32 +00:00
Marius Vollmer
77600f3e11 *** empty log message *** 2004-10-19 22:51:02 +00:00
Marius Vollmer
14e9281bb3 (quicksort): Copy pivot out of the array while constructing the
partitions; it could get overwritten otherwise.  Because of the
ultimate insertion sort, this bug did not cause quicksort to fail, it
just put all the burdon on the insertion sort and was thus very slow.
Thanks to Rolan Orre for reporting the slowness!
2004-10-19 22:49:51 +00:00
Marius Vollmer
192cd79259 *** empty log message *** 2004-10-19 16:02:11 +00:00
Marius Vollmer
1713d319b7 * numbers.c (scm_i_range_error): New.
* conv-integer.i.c, conv-uinteger.i.c: Use it instead of
scm_out_of_range.
2004-10-19 15:59:56 +00:00
Marius Vollmer
3bdf7962a7 (scm_restricted_vector_sort_x): Validate startpos <= endpos. State
inclusiveness/exclusiveness if bounds in docstring.
2004-10-19 15:58:49 +00:00
Marius Vollmer
9b0018a113 (scm_array_p): When no prototype is given, explicitely test for
allowable types, do not simply return true.  Thanks to Roland Orre for
reporting this!
2004-10-19 15:57:18 +00:00
Marius Vollmer
5000379b92 *** empty log message *** 2004-10-19 13:55:18 +00:00
Marius Vollmer
e8a7ec792c (smob mark function): List admissible functions
to call.
2004-10-19 13:55:06 +00:00
Marius Vollmer
322a2bf7a0 (SCM_DEFAULT_MAX_SEGMENT_SIZE): Increase to 20 Mib. 2004-10-19 13:53:17 +00:00
Marius Vollmer
c17b358f48 (scm_i_get_new_heap_segment): Limit size of new
segment to scm_max_segment_size.
2004-10-19 13:51:22 +00:00
Marius Vollmer
98c712c4c3 *** empty log message *** 2004-10-18 15:26:50 +00:00
Marius Vollmer
a6b3219e85 (format:obj->str): Simplified considerably by using
object->string or display instead of implementing our own printer.
Handle format:read-proof here.  Unreadable objects are recognized
by their "#<" prefix instead of by being unknown to the custom
printer (which would treat keywords as unprintable, for example).
(format:iobj->str): Removed.
2004-10-18 15:26:41 +00:00
Han-Wen Nienhuys
fbccd84e22 remove display-separated.
(build-link): cleanup.
(build-compile): remove space between -I and path.
2004-10-08 10:22:26 +00:00
Han-Wen Nienhuys
23ac14c0c9 remove display-separated.
(build-link): cleanup.
(build-compile): remove space between -I and path.
2004-10-08 10:03:14 +00:00
Han-Wen Nienhuys
17b8540143 remove display-separated.
(build-link): cleanup.
(build-compile): remove space between -I and path.
2004-10-08 09:46:23 +00:00
Han-Wen Nienhuys
07b99edbe8 (scm_igc): put scm_gc_running-- before running hooks. 2004-10-07 23:42:41 +00:00
Han-Wen Nienhuys
497eb0b725 (scm_double_cell): abort if GC running.
(scm_cell): idem.
2004-10-07 22:52:22 +00:00
Marius Vollmer
1097a62cd9 *** empty log message *** 2004-10-04 18:54:43 +00:00
Marius Vollmer
f04cb17594 Synced from libguile/ 2004-10-04 18:54:32 +00:00
Marius Vollmer
7719ef2234 * api-data.texi: Removed primitive keyword section, updated
keyword docs.

* api-undocumented.texi: Moved keyword dash-symbol docs here.
2004-10-04 18:54:18 +00:00
Marius Vollmer
83e1ab6ddf (scm_wrong_type_arg): Do not talk about "argument" for
pos == 0.
2004-10-04 18:52:35 +00:00
Marius Vollmer
aef0bdb420 *** empty log message *** 2004-10-04 18:07:12 +00:00
Marius Vollmer
f13b4400d3 (scm_lreadr): Simply do (symbol->keyword (read)) after
reading '#:' or ':'.  See NEWS for consequences.
2004-10-04 18:03:18 +00:00
Marius Vollmer
db74ed0306 Include discouraged.h and keywords.h. Fixed silly typo. 2004-10-04 18:00:53 +00:00
Marius Vollmer
d7212289db * keywords.c (scm_symbol_to_keyword): Use SCM_ASSERT_TYPE for a
better error message.
2004-10-04 17:59:20 +00:00
Marius Vollmer
ee4140fb99 (SCM_KEYWORD, SCM_GLOBAL_KEYWORD): Use scm_from_locale_keyword instead
of scm_c_make_keyword.
2004-10-04 17:58:40 +00:00
Marius Vollmer
92b51af6c1 (symbol->keyword, keyword->symbol): Removed, they are
now implemented in C.
2004-10-04 17:57:39 +00:00
Marius Vollmer
c598539a67 Replaced SCM_KEYWORDP with scm_is_keyword. 2004-10-04 17:02:53 +00:00
Marius Vollmer
265a7997fb * keywords.h, keywords.c, deprecated.h, deprecated.c
(SCM_KEYWORDP, SCM_KEYWORDSYM): Deprecated and implemented in
terms of scm_is_keyword and scm_keyword_dash_symbol.

* keywords.h, keywords.c, discouraged.h, discouraged.c
(scm_make_keyword_from_dash_symbol, scm_keyword_dash_symbol,
scm_c_make_keyword): Discouraged.

* keywords.h, keywords.c (scm_symbol_to_keyword,
scm_keyword_to_symbol): Implemented in C.
(scm_is_keyword, scm_from_locale_keyword,
scm_from_locale_keywordn): New.
2004-10-04 17:02:01 +00:00
Dirk Herrmann
c454c4e624 * tests/syntax.test: Added tests for unmemoization. 2004-10-03 06:15:22 +00:00
Marius Vollmer
6a0813c35d *** empty log message *** 2004-09-30 11:59:36 +00:00
Marius Vollmer
b144a33c42 (string-set!): Explicitely construct read-only string. String
literals are not yet read-only.
2004-09-30 11:58:26 +00:00
Marius Vollmer
6a1d27ea08 Added section about highlighting in backtraces. 2004-09-29 18:13:40 +00:00
Marius Vollmer
43c2562635 *** empty log message *** 2004-09-29 18:07:38 +00:00
Marius Vollmer
8631637894 (scm_lreadr): Revert change from 2004-09-22: string literals are now
read-write again (until SCM_STRING_CHARS is removed).
2004-09-29 18:01:36 +00:00
Marius Vollmer
767882a09d Removed section about string literals being read-only. 2004-09-29 17:59:32 +00:00
Marius Vollmer
556d75dbb8 (SCM_STRING_CHARS): Explicitely reject read-only strings with an error
message that blames SCM_STRING_CHARS.
2004-09-29 17:58:39 +00:00
Marius Vollmer
81ae25da8c (SCM_PRINT_HIGHLIGHT_PREFIX,
SCM_PRINT_HIGHLIGHT_SUFFIX): New printer options.
(scm_iprin1): Use them instead of the previoulsy hardcoded
strings.
(scm_init_print): Initialize them.
2004-09-29 17:53:40 +00:00
Marius Vollmer
a2902ecb90 (change_option_setting): Use scm_car instead of explicit type check
plus SCM_CAR.
2004-09-29 17:52:10 +00:00
Marius Vollmer
22e47f69ae (display_frame_expr): Do not remove control characters from the final
string.  Print it directly using scm_display.
2004-09-29 17:40:11 +00:00
Marius Vollmer
818deb1158 *** empty log message *** 2004-09-29 15:50:24 +00:00
Marius Vollmer
400f0fb716 (array-equal?): New test. 2004-09-29 15:49:38 +00:00
Marius Vollmer
4f943a29c2 (scm_array_equal_p): Include scm_tc7_svect in switch. Thanks to
Roland Orre!
2004-09-29 15:48:21 +00:00
Kevin Ryde
d748089e17 *** empty log message *** 2004-09-28 23:55:54 +00:00
Kevin Ryde
38923713f1 (match:string): New tests. 2004-09-28 23:53:02 +00:00
Kevin Ryde
21682b207e (scm_regexp_exec): Correction to last change, should
be whole original string in match struct, not offsetted substring.
2004-09-28 23:50:21 +00:00
Marius Vollmer
5cc183a12f *** empty log message *** 2004-09-28 19:57:59 +00:00
Marius Vollmer
31af633ae2 New file. 2004-09-28 19:57:16 +00:00