Commit | Line | Data |
---|---|---|
a6ba4ef8 MD |
1 | 1999-07-27 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
2 | ||
3 | * Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c. | |
4 | ||
5 | * lang.c: New file: Beginning of multi-language support. | |
6 | ||
7 | * init.c (scm_boot_guile_1): Added call to scm_init_lang (). | |
8 | ||
9 | * dynwind.c (scm_dowinds): Removed obsolete wind_key #f case. | |
10 | (scm_dynamic_wind): Added argument checking for the after guard so | |
11 | that we don't add garbage on the dynwind chain. | |
12 | (scm_swap_bindings): Added. | |
13 | ||
14 | * tags.h, print.c (SCM_IM_NIL_COND, SCM_IM_NIL_IFY, SCM_IM_T_IFY, | |
15 | SCM_IM_0_COND, SCM_IM_0_IFY, SCM_IM_1_IFY), print.c | |
16 | (scm_isymnames): New isyms for multi-language support. | |
17 | ||
18 | * eval.c (scm_nil, scm_t): New symbols. | |
19 | (nil-cond, nil-ify, t-ify, 0-cond, 0-ify, 1-ify): New special | |
20 | forms for multi-language support. | |
21 | ||
259529f2 MD |
22 | 1999-07-25 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
23 | ||
24 | * random.c, random.h (scm_c_default_rstate, scm_c_uniform32): | |
25 | Added. | |
26 | Renamed functions in the random function library interface | |
27 | from scm_i_XXX --> scm_c_XXX. | |
28 | ||
1b9c3dae GH |
29 | 1999-07-25 Gary Houston <ghouston@easynet.co.uk> |
30 | ||
31 | * ports.c (scm_putc): fix line-buffering. | |
32 | ||
544e9093 MD |
33 | 1999-07-25 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
34 | ||
35 | * ports.c, ports.h, fports.c, strports.c, vports.c: Renamed | |
36 | scm_set_ptob_XXX --> scm_set_port_XXX. | |
37 | ||
f15913d0 MD |
38 | 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
39 | ||
40 | * ports.c, ports.h (scm_make_port_type): New interface for | |
41 | creation of port types (replaces scm_newptob). Just as for the | |
42 | smobs, we need to separate the internal representation of smob | |
43 | types from the interface, so that we easily can add new fields and | |
44 | rearrange things without caring about backward compatibility. | |
45 | This change was forced by the need in GOOPS to create classes | |
46 | representing port types. | |
47 | (scm_set_ptob_mark, scm_set_ptob_free, scm_set_ptob_print, | |
48 | scm_set_ptob_equalp, scm_set_ptob_flush_input, scm_set_ptob_close, | |
49 | scm_set_ptob_seek, scm_set_ptob_truncate, | |
50 | scm_set_ptob_input_waiting_p): New setters. | |
51 | (scm_newptob): Rewritten to use scm_make_port_type. For backward | |
52 | compatibility. | |
53 | (scm_ptobs): Changed type scm_ptobfuns --> scm_ptob_descriptor. | |
54 | (scm_prinport): Removed. | |
55 | (scm_port_print): Added. | |
56 | (scm_print_port_mode): Added. | |
57 | (void_port_ptob, print_void_port, close_void_port, noop0): | |
58 | Removed. Removed #include "genio.h" Added #include "objects.h", | |
59 | #include "smobs.h" | |
60 | ||
61 | * fports.c (prinfport): Moved code from ports.c. | |
62 | (local_free): Added. | |
63 | (scm_fptob): Removed. Instead use new interface. | |
64 | (scm_make_fptob): Added. (Need to create basic ports in a | |
65 | specific order in ports.c.) | |
66 | ||
67 | * strports.c (scm_stptob, prinstpt, noop0): Removed | |
68 | (scm_make_stptob): Added. | |
69 | ||
70 | * vports.c (scm_sfport, prinsfpt, sf_read_flush, noop0): Removed. | |
71 | (scm_make_sfport): Added. | |
72 | ||
73 | * filesys.c (scm_dir_print): Don't use the port printing code. | |
74 | Instead provide specific directory printer. | |
75 | ||
76 | * gc.c (scm_gc_sweep): Use value returned from scm_ptobs[].free. | |
77 | ||
78 | * ioext.c (scm_redirect_port): Replaced scm_ptobfuns --> | |
79 | scm_ptob_descriptor. | |
80 | ||
81 | * smob.c (scm_smob_print): Handle non-existing type name nicely. | |
82 | Removed #include "genio.h" | |
83 | ||
84 | * objects.c (scm_make_port_classes): New function ptr. | |
85 | ||
69bc9ff3 GH |
86 | 1999-07-24 Gary Houston <ghouston@easynet.co.uk> |
87 | ||
88 | * gdbint.c (gdb_print, gdb_read): call scm_truncate_file. | |
89 | ||
90 | * ports.c (scm_truncate_file): renamed from scm_ftruncate. | |
91 | allow the 1st argument to be a fdes or filename as well as a | |
92 | port (as in the filesys.c version). | |
93 | ||
94 | * filesys.c (scm_truncate_file): removed. | |
95 | ||
096d0b15 MD |
96 | 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
97 | ||
98 | * readline.c, readline.h: Removed. | |
99 | ||
100 | * objects.c, objects.h (scm_port_class): Added. | |
101 | (scm_class_of): Look up port class in scm_port_class. | |
102 | (SCM_IN_PCLASS_INDEX, SCM_OUT_PCLASS_INDEX, | |
103 | SCM_INOUT_PCLASS_INDEX): Added. | |
104 | ||
f15913d0 MD |
105 | |
106 | * Makefile.am: Removed genio.c, genio.x. | |
107 | ||
108 | * genio.c: Removed. | |
109 | ||
aafe2718 MD |
110 | 1999-07-23 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> |
111 | ||
112 | * init.c: Make sure that scm_post_boot_init_modules is called only | |
113 | once. (Important when using a dumped image.; Thanks to Bernard | |
114 | Urban.) | |
115 | ||
3144e1a9 JB |
116 | 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com> |
117 | ||
8e1e60f1 JB |
118 | * guardians.c (scm_guardian_zombify): Separate scanning for |
119 | zombies from marking the pairs of the free list. | |
120 | ||
a825bb0e JB |
121 | * guardians.c (scm_guardian_zombify): Don't set marks manually --- |
122 | use the macros. (Thanks to Michael Livshin.) | |
123 | ||
4d4c53ac JB |
124 | * eval.c (scm_m_lambda): Let bodycheck check the body of the |
125 | lambda. Let your sins be purified by the blood of the lambda. | |
126 | (Thanks to Eric Hanchrow.) | |
127 | ||
d9ad6919 JB |
128 | * net_db.c (h_errno): Don't declare this if it's #defined. Eew. |
129 | (Thanks to Valdis Kletnieks.) | |
130 | ||
3144e1a9 | 131 |