comparison src/ChangeLog @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents 3742ea8250b5 bc4f2511bbea
children fc85923c49af
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
1 <<<<<<< local
1 2005-11-22 Ben Wing <ben@xemacs.org> 2 2005-11-22 Ben Wing <ben@xemacs.org>
3 =======
4 2009-12-21 Jerry James <james@xemacs.org>
5
6 * config.h.in: Remove OffiX support.
7 * device-x.c: Ditto.
8 * dragdrop.c: Ditto.
9 (vars_of_dragrop): Ditto
10 * event-Xt.c: Ditto.
11 (x_event_to_emacs_event): Ditto.
12 * frame.c (vars_of_frame): Ditto
13 * frame-x.c: Ditto.
14 (Foffix_start_drag_internal): Remove.
15 (syms_of_frame_x): Remove OffiX support..
16 * Makefile.in.in: Ditto.
17 * event-gtk.c: Don't include OffiX headers.
18 * offix.c: Remove.
19 * offic.h: Remove.
20 * offix-cursors.h: Remove.
21 * offix-types.h: Remove.
22 * text.h (Qoffix_dnd_encoding): Remove, twice.
23 * depend: Regenerate.
24
25 2009-11-27 Adrian Aichner <adrian@xemacs.org>
26
27 * nt.c (mswindows_getdcwd): Check first whether drive is valid
28 with _getdrives() to avoid crash in _wgetdcwd(...) when linking
29 against msvcrt8. This fix was taken from the Mozilla project
30 which experienced the same problem.
31
32 2009-12-18 Jerry James <james@xemacs.org>
33
34 * ppc.ldscript: Remove, obsolete.
35
36 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
37
38 * events.h (character_to_event_meta_behavior): New enumeration,
39 describing what character_to_event should do with characters in
40 the range ?\x80-?\xFF, and passed as the third argument to
41 character_to_event instead of the binary use_console_meta_flag.
42 * events.c (character_to_event, Fcharacter_to_event):
43 * event-unixoid.c (read_event_from_tty_or_stream_desc):
44 * event-stream.c (maybe_kbd_translate, maybe_kbd_translate):
45 * event-msw.c (mswindows_need_event):
46 Use the new enumeration.
47 * event-Xt.c (x_to_emacs_keysym):
48 Call character_to_event when we receive XLookupChars events,
49 passing latin_1_maps_to_itself as the meta_behavior flag,
50 addressing the problem FKtPp sees in 87bpi9mwpu.fsf@yahoo.com.cn
51
52 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
53
54 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD):
55 That last change was wrong in theory though not in practice; we're
56 comparing function pointers, not enumeration values.
57
58 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
59
60 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD):
61 Cast the enumeration values here to integers before comparing
62 them, fixing the build on VC++. Thank you Vin!
63
64 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
65
66 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD):
67 New macro, giving a default value for a hash table's rehash
68 threshold given its size and test function.
69 (print_hash_table): Print the hash table's rehash threshold if it
70 has a non-default value. Ditto for its rehash size.
71 (Fmake_hash_table): Supply the keyword arguments in a format
72 understood by #'function-arglist.
73
74 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
75
76 * alloc.c (resize_string):
77 Don't attempt to free dumped data in this function, avoiding an
78 assertion failure.
79
80 2009-12-13 Stephen J. Turnbull <stephen@xemacs.org>
81
82 * unicode.c (unicode_query): Add missing return type.
83 Thanks to 'mnewsam' on the tracker.
84
85 2009-12-09 Jerry James <james@xemacs.org>
86
87 * config.h.in: Remove HAVE_XMU.
88 * s/windowsnt.h: Ditto.
89 * device-x.c: Include needed Xmu headers instead of obsolete xmu.h.
90 * EmacsFrame.c: Ditto.
91 * glyphs-x.c: Ditto.
92 * frame-x.c: Ditto. Always include editres code.
93 * xmu.c: Removed, obsolete.
94 * xmu.h: Ditto.
95 * depend: Regenerate.
96
97 2009-12-05 Stephen J. Turnbull <stephen@xemacs.org>
98
99 * faces.c (complex_vars_of_faces): Explain why "*" isn't rewritten
100 as a full XLFD.
101
102 2009-11-19 Vin Shelton <acs@xemacs.org>
103
104 * sysdep.c (sys_subshell): Restore sys_subshell(); it's necessary
105 on Windows native builds.
106
107 2009-11-10 Jerry James <james@xemacs.org>
108
109 * Makefile.in.in: Drop support for dynodump and OSF1.
110 * alloca.s: Drop support for old systems, namely hp9000s300, wicat,
111 ns16000, ns32000, sequent, pyramid, att3b5, and Xenix.
112 * broken-sun.h: Remove, unused.
113 * compiler.h: Drop support for OSF1.
114 * config.h.in: Modify comments about obsolete systems. Drop NeXTstep
115 and SunOS4 support.
116 (DYNODUMP): Removed.
117 * console.h: Remove reference to NeXTstep in a comment.
118 * data.c (sign_extend_temp): Removed, unused.
119 (sign_extend_lisp_int): Ditto.
120 * depend: Regenerate.
121 * ecrt0.c: Remove reference to DONT_NEED_ENVIRON, which is not defined
122 by any supported system. Remove support for obsolete systems. Remove
123 comments that refer to obsolete systems.
124 * emacs.c (main_1): Remove NeXT support. Remove references to
125 EXTRA_INITIALIZE and NO_SUBPROCESSES, which are not defined by any
126 supported system.
127 * faces.c (complex_vars_of_faces): Remove comment that refers to
128 NeXTstep.
129 * fileio.c: Drop support for ancient versions of HP/UX.
130 * getloadavg.c: Remove symbols defined only by obsolete systems from
131 comment at the top listing symbols of interest. Remove support for
132 obsolete systems.
133 (getloadavg): Drop code blocks specific to obsolete systems.
134 * getpagesize.h: Remove reference to NBPC, which is not used by any
135 supported system.
136 * gmalloc.c: Remove reference to GMALLOC_NEEDS_SBRK_DECL, which is not
137 used by any supported system.
138 * hftctl.c: Remove, used only by ancient versions of AIX.
139 * hpplay.c: Remove includes for HP/UX versions less than 11.
140 * libsst.h: Remove support for SunOS 4.
141 * m/arm.h: Remove comment about Xenix.
142 * m/ibmrs6000.h: Remove hftctl support, which is only for very old
143 versions of AIX.
144 * m/intel386.h: Remove references to obsolete systems.
145 * m/mips.h: Ditto.
146 * nsselect.m: Remove (devoid of content) NeXT support file.
147 * process-unix.c: Remove references to NO_SUBPROCESSES, SKTPAIR, and
148 CONNECT_NEEDS_SLOWED_INTERRUPTS, which are not defined by any
149 supported system.
150 * process.c: Remove reference to NO_SUBPROCESSES.
151 * process.h: Ditto.
152 * regex.c: Remove reference to SWITCH_ENUM_BUG, which is not defined
153 by an supported system, and hence SWITCH_ENUM_CAST as well.
154 * s/aix4-2.h: Merge older include files in, and drop #define/#undef
155 pairs.
156 * s/bsd4-3.h: Ditto.
157 * s/hpux11.h: Ditto.
158 * s/irix6-0.h: Ditto.
159 * s/usg5-4.h: Ditto.
160 * s/hpux11-shr.h: Remove references to deleted version of HP/UX.
161 * s/template.h: Remove references to ancient BSD versions.
162 * strcmp.c: Removed, unused.
163 * strcpy.c: Ditto.
164 * sunOS-fix.c: Ditto.
165 * sunplay.c (init_device): Remove SunOS4.0.3 code.
166 * syntax.c (scan_sexps_forward): Remove comment about Apollo, but
167 leave the code the way it is, because I prefer it this way.
168 * sysdep.c: Remove code guarded by preprocessor symbols that are not
169 defined on any supported system, namely ISC4_0, AIXHFT, IBMRTAIX,
170 NO_SUBPROCESSES, RTU, USG_JOBCTRL, USE_GETOBAUD, _CX_UX, DGUX, ultrix,
171 F_SETOWN_SOCK_NEG, SET_LINE_DISCIPLINE, BROKEN_CLOSEDIR, HPUX9, and
172 NeXT.
173 (sys_subshell): Remove, unused.
174 * sysfile.h: Remove reference to hftctl.c.
175 * sysproc.h: Remove code guarded by preprocessor symbols that are not
176 defined on any supported system, namely NO_SUBPROCESSES, IRIS,
177 NEED_NET_ERRNO_H, and USG_JOBCTRL.
178 * syssignal.h: Remove reference to NeXT.
179 * systty.h: Remove support for obsolete systems. Remove support for
180 BROKEN_TIOCGWINSZ, which is no longer needed.
181 * unexaix.c (unrelocate_symbols): Remove code only needed on ancient
182 versions of AIX.
183 * unexec.c: Remove references to COFF_ENCAPSULATE and
184 SECTION_ALIGNMENT, which are not needed on any supported system.
185 Remove references to obsolete systems.
186
187 * m/7300.h:
188 * m/acorn.h:
189 * m/alliant-2800.h:
190 * m/alliant.h:
191 * m/alliant1.h:
192 * m/alliant4.h:
193 * m/alpha.h:
194 * m/altos.h:
195 * m/amdahl.h:
196 * m/apollo.h:
197 * m/att3b.h:
198 * m/aviion.h:
199 * m/celerity.h:
200 * m/clipper.h:
201 * m/cnvrgnt.h:
202 * m/convex.h:
203 * m/cydra5.h:
204 * m/delta.h:
205 * m/delta88k.h:
206 * m/dpx2.h:
207 * m/dual.h:
208 * m/elxsi.h:
209 * m/ews4800r.h:
210 * m/gould-np1.h:
211 * m/gould.h:
212 * m/hp300bsd.h:
213 * m/hp9000s300.h:
214 * m/i860.h:
215 * m/ibm370aix.h:
216 * m/ibmps2-aix.h:
217 * m/ibmrt-aix.h:
218 * m/ibmrt.h:
219 * m/iris4d.h:
220 * m/iris5d.h:
221 * m/iris6d.h:
222 * m/irist.h:
223 * m/is386.h:
224 * m/isi-ov.h:
225 * m/luna88k.h:
226 * m/masscomp.h:
227 * m/mega68.h:
228 * m/mg1.h:
229 * m/mips-nec.h:
230 * m/mips-siemens.h:
231 * m/mips4.h:
232 * m/ncr386.h:
233 * m/news-risc.h:
234 * m/news.h:
235 * m/next.h:
236 * m/nh3000.h:
237 * m/nh4000.h:
238 * m/ns16000.h:
239 * m/ns32000.h:
240 * m/nu.h:
241 * m/orion.h:
242 * m/orion105.h:
243 * m/paragon.h:
244 * m/pfa50.h:
245 * m/plexus.h:
246 * m/pmax.h:
247 * m/pyramid.h:
248 * m/pyrmips.h:
249 * m/sequent-ptx.h:
250 * m/sequent.h:
251 * m/sgi-challenge.h:
252 * m/sgi3000.h:
253 * m/sps7.h:
254 * m/stride.h:
255 * m/sun1.h:
256 * m/sun2.h:
257 * m/sun3-68881.h:
258 * m/sun3-fpa.h:
259 * m/sun3-soft.h:
260 * m/sun3.h:
261 * m/sun386.h:
262 * m/symmetry.h:
263 * m/tad68k.h:
264 * m/tahoe.h:
265 * m/tandem-s2.h:
266 * m/targon31.h:
267 * m/tek4300.h:
268 * m/tekxd88.h:
269 * m/tower32.h:
270 * m/tower32v3.h:
271 * m/ustation.h:
272 * m/vax.h:
273 * m/wicat.h:
274 * m/xps100.h:
275 * s/3700.h:
276 * s/386-ix.h:
277 * s/386bsd.h:
278 * s/aix3-1.h:
279 * s/aix3-2-5.h:
280 * s/aix3-2.h:
281 * s/aix4-1.h:
282 * s/aix4.h:
283 * s/alliant-2800.h:
284 * s/alliant.h:
285 * s/altos.h:
286 * s/amdahl.h:
287 * s/bsd386.h:
288 * s/bsd4-1.h:
289 * s/bsd4-2.h:
290 * s/bsdos2-1.h:
291 * s/bsdos2.h:
292 * s/bsdos3.h:
293 * s/bsdos4.h:
294 * s/cxux.h:
295 * s/cxux7.h:
296 * s/decosf1-2.h:
297 * s/decosf1-3.h:
298 * s/decosf3-1.h:
299 * s/decosf3-2.h:
300 * s/decosf4-0.h:
301 * s/dgux.h:
302 * s/dgux5-4r2.h:
303 * s/dgux5-4r3.h:
304 * s/dgux5-4r4.h:
305 * s/domain.h:
306 * s/esix.h:
307 * s/esix5r4.h:
308 * s/ewsux5r4.h:
309 * s/hpux.h:
310 * s/hpux10-shr.h:
311 * s/hpux10.h:
312 * s/hpux8-shr.h:
313 * s/hpux8.h:
314 * s/hpux9-shr.h:
315 * s/hpux9-x11r4.h:
316 * s/hpux9.h:
317 * s/hpux9shxr4.h:
318 * s/iris3-5.h:
319 * s/iris3-6.h:
320 * s/irix3-3.h:
321 * s/irix4-0.h:
322 * s/irix5-0.h:
323 * s/irix5-1.h:
324 * s/irix5-2.h:
325 * s/irix5-3.h:
326 * s/isc2-2.h:
327 * s/isc3-0.h:
328 * s/isc4-0.h:
329 * s/isc4-1.h:
330 * s/linux.h:
331 * s/newsos5.h:
332 * s/nextstep.h:
333 * s/osf1.h:
334 * s/ptx.h:
335 * s/riscix1-1.h:
336 * s/riscix1-2.h:
337 * s/riscos5.h:
338 * s/rtu.h:
339 * s/sco4.h:
340 * s/sco5-shr.h:
341 * s/sco5.h:
342 * s/sunos4-0-shr.h:
343 * s/sunos4-0.h:
344 * s/sunos4-1-1.h:
345 * s/sunos4-1-2-shr.h:
346 * s/sunos4-1-2.h:
347 * s/sunos4-1-3-shr.h:
348 * s/sunos4-1-3.h:
349 * s/sunos4-1-4-shr.h:
350 * s/sunos4-1-4.h:
351 * s/sunos4-1-shr.h:
352 * s/sunos4-1.h:
353 * s/ultrix.h:
354 * s/ultrix4-3.h:
355 * s/umax.h:
356 * s/umips.h:
357 * s/unipl5-0.h:
358 * s/unipl5-2.h:
359 * s/usg5-0.h:
360 * s/usg5-2-2.h:
361 * s/usg5-2.h:
362 * s/usg5-3.h:
363 * s/xenix.h:
364 * unexapollo.c:
365 * unexconvex.c:
366 * unexelfsgi.c:
367 * unexencap.c:
368 * unexenix.c:
369 * unexfreebsd.c:
370 * unexfx2800.c:
371 * unexhp9k3.c:
372 * unexmips.c:
373 * unexnext.c:
374 * unexsni.c:
375 * unexsol2.c:
376 * unexsunos4.c: Removed.
377
378 2009-11-18 Stephen J. Turnbull <stephen@xemacs.org>
379
380 Assorted cleanups.
381
382 * font-mgr.h (CHECKING_LANG): Remove redundant conversion.
383
384 * font-mgr.c: Update copyright notice and author headers.
385 Reorder some functions.
386
387 * objects-xlike-inc.c (xft_find_charset_font): Check for freeing NULL.
388
389 Implement more of fontconfig API.
390
391 * font-mgr.c: (Ffc_default_substitute):
392 (Ffc_config_substitute):
393 (Ffc_font_render_prepare):
394 New functions.
395 (Ffc_font_match):
396 Gets optional argument CONFIG.
397 (Ffc_config_destroy):
398 Fix a typo.
399
400 Reimplement FCSTRLIST_TO_LISP_USING as a function.
401
402 (FCSTRLIST_TO_LISP_USING): Removed.
403 (fcstrlist_to_lisp_using): New function.
404 (Ffc_config_get_config_dirs):
405 (Ffc_config_get_font_dirs):
406 (Ffc_config_get_config_files):
407 Replace FCSTRLIST_TO_LISP_USING with fcstrlist_to_lisp_using.
408
409 Comment cleanups.
410
411 * objects-xlike-inc.c (charset_reporter): Document RFC 3066.
412 (xft_find_charset_font): Remove obsolete comment.
413
414 2009-10-18 Stephen J. Turnbull <stephen@xemacs.org>
415
416 * font-mgr.h (PRINT_XFT_PATTERN):
417 Cast away some warnings.
418
419 * font-mgr.h (PRINT_XFT_PATTERN):
420 * objects-x.c (x_font_instance_truename):
421 * objects-xlike-inc.c (xft_find_charset_font):
422 * objects.c (font_instance_truename_internal):
423 Improve error checking and reporting for Xft fonts.
424
425 * font-mgr.c (vars_of_font_mgr):
426 Set xft-debug-level to 0.
427
428 2008-07-23 Stephen J. Turnbull <stephen@xemacs.org>
429
430 * objects-xlike-inc.c (charset_table): Add names and ISO 639 codes
431 for Arabic, Russian, and Thai. Regional variants are lower-cased.
432
433 2009-11-16 Stephen J. Turnbull <stephen@xemacs.org>
434
435 Remove C asserts from test-format-data-conversion.
436 See also changes in test-harness.el and c-tests.el in tests/automated.
437
438 * tests.c
439 (Ftest_hash_tables):
440 (Ftest_data_format_conversion):
441 Each now collects a list of test results and returns it.
442 Update docstrings.
443 (DFC_INITIALIZE):
444 (DFC_CHECK_LENGTH):
445 (DFC_CHECK_CONTENT):
446 (DFC_RESULT_PASS):
447 New macros.
448 (DFC_CHECK_DATA_NUL):
449 (DFC_CHECK_DATA):
450 Use the new macros.
451 Add an argument for the test description.
452 (DFC_CHECK_DATA_COND_EOL_NUL)
453 (DFC_CHECK_DATA_COND_EOL)
454 (DFC_CHECK_DATA_COND_MULE_NUL):
455 (DFC_CHECK_DATA_COND_MULE):
456 Add an argument for the test description.
457
458 2009-11-17 Stephen J. Turnbull <stephen@xemacs.org>
459
460 Fix issue630.
461
462 * regex.c (regex_compile):
463 Sync treatment of normal_char to GNU Emacs 22.1.
464 Thanks to Aidan Kehoe for the diagnosis and suggestion.
465 (print_partial_compiled_pattern):
466 Avoid buffer overrun in case of /exactn/0.
467
468 2009-11-15 Aidan Kehoe <kehoea@parhasard.net>
469
470 * mule-ccl.c (setup_ccl_program):
471 Fix the union build, thank you Robert Delius Royar.
472
473 2009-11-15 Aidan Kehoe <kehoea@parhasard.net>
474
475 * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Assert that we always
476 have a symbol in this macro.
477 (setup_ccl_program): Ensure we're not allocating unreachable
478 memory in this function; all symbols must have been resolved in a
479 given CCL program before this function is called.
480 (find_ccl_program): New function, return a CCL program with all
481 its symbols resolved if it is valid (possibly allocating memory),
482 Qnil otherwise.
483 (get_ccl_program): New function, exported to other files; call
484 find_ccl_program, and error if it gives nil.
485 (Fccl_program_p): Call find_ccl_program from this function instead
486 of implementing the bulk of it here.
487 (Fccl_execute): Call get_ccl_program instead of implementing the
488 bulk of it here.
489 (Fccl_execute_on_string): Ditto.
490 * mule-ccl.h (Vfont_ccl_encoder_alist): Remove this declaration,
491 it hasn't been used in years.
492 (get_ccl_program): Declare this function.
493 * mule-coding.c (ccl_putprop): Use get_ccl_program on any
494 specified encode or decode CCL program property.
495 (fixed_width_putprop): Ditto.
496 * mule-charset.c (Fmake_charset): Use get_ccl_program on any
497 specified ccl-program.
498 (Fset_charset_ccl_program): Ditto.
499
500 2009-11-15 Aidan Kehoe <kehoea@parhasard.net>
501
502 * eval.c (Fquote_maybe):
503 Move this function here from callint.c; make it more comprehensive
504 about which types are self-quoting.
505 * lisp.h: Declare Fquote_maybe here, since it's now used in
506 callint.c and defined in eval.c
507 * callint.c (Fquote_maybe): Remove this function from this file.
508
509 2009-11-11 Stephen Turnbull <stephen@xemacs.org>
510
511 * darwin.h: Remove. Functionality implemented in configure.ac.
512 * config.h.in (USE_PARAM_H): New. Used by Darwin to #define BSD.
513
514 2009-11-09 Aidan Kehoe <kehoea@parhasard.net>
515
516 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
517 Move the WIN32_NATIVE definition inside the #ifdef emacs
518 conditional, clear up the comment after #else; thanks for the
519 build failure report, Vin!
520 Cast DEFAULT_DIRECTORY_FALLBACK to (const CIbyte *) by default,
521 which better reflects its contents.
522 * editfns.c (get_home_directory):
523 * buffer.c (init_initial_directory):
524 Cast DEFAULT_DIRECTORY_FALLBACK to (Ibyte *) with functions that
525 take that type, now that is necessary.
526
527 2009-11-09 Jerry James <james@xemacs.org>
528
529 * Makefile.in.in: Remove support for malloc.c ("old" GNU malloc). Do
530 not define GNU_MALLOC, which was only used to distinguish between
531 "old" and "new" GNU malloc.
532 * alloc.c (malloced_storage_size): Drop support for old GNU malloc,
533 and recast the remaining test in terms of SYSTEM_MALLOC.
534 * config.h.in (GNU_MALLOC): Remove.
535 * depend: Regenerate.
536 * emacs.c (main_1): Clean up old, now irrelevant, commented-out
537 preprocessor checks. Convert GNU_MALLOC test into an equivalent
538 SYSTEM_MALLOC test.
539 (voodoo_free_hook): Convert GNU_MALLOC test into an equivalent
540 SYSTEM_MALLOC test.
541 (Fkill_emacs): Ditto.
542 * gc.h: Ditto.
543 * malloc.c: Remove.
544 * s/sunos4-0-shr.h: Defining GNU_MALLOC is no longer necessary.
545
546 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
547
548 * window.c (Fsave_window_excursion, save_window_excursion_unwind):
549 Remove these functions, the first was masked by
550 #'save-window-excursion in window.el, and the second can be easily
551 replaced with Lisp primitives.
552 * bytecode.c (Bsave_window_excursion) : Don't pass
553 save_window_excursion_unwind to record_unwind_protect, now the
554 former is gone.
555 * event-stream.c (execute_help_form):
556 Ditto.
557
558 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
559
560 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
561 New #define, "/" on Unix and "C:\\" on Win32 native, a directory
562 that should "always" be available.
563 * fileio.c (Fexpand_file_name): Use DEFAULT_DIRECTORY_FALLBACK
564 here, instead of conditionalising on WIN32_NATIVE.
565 * editfns.c (get_home_directory):
566 Use DEFAULT_DIRECTORY_FALLBACK if looking up the home directory
567 fails, on both Windows and Unix.
568 * buffer.c (init_initial_directory):
569 Don't give a fatal error if the current directory doesn't exist,
570 chdir to DEFAULT_DIRECTORY_FALLBACK instead.
571
572 2009-11-02 Stephen Turnbull <stephen@xemacs.org>
573
574 Fix issue145.
575
576 * process.c: Remove abbreviated comments on exported Lisp
577 variables, and point to docstrings.
578 (init_process_io_handles): Allow Vdefault_network_coding_system
579 and Vdefault_process_coding_system to be nil.
580 (Vdefault_network_coding_system):
581 (Vdefault_process_coding_system):
582 Document that these variables may be nil.
583
584 2009-10-26 Aidan Kehoe <kehoea@parhasard.net>
585
586 * config.h.in (REALPATH_CORRECTS_CASE):
587 New #define, available on Darwin.
588 * realpath.c (readlink_or_correct_case):
589 On Darwin, use realpath(3)'s case correction to get the canonical
590 case for a file; thank you Robert Delius Royar!
591
592 2009-10-16 Michael Sperber <mike@xemacs.org>
593
594 * buffer.c (set_buffer_internal): Synchronize the window point
595 with the current point when switching to another buffer.
596
597 2009-10-11 Michael Sperber <mike@xemacs.org>
598
599 * event-stream.c (post_command_hook): Run `post-command-hook'
600 without INHIBIT_EXISTING_PERMANENT_DISPLAY_OBJECT_DELETION -
601 deleting other windows off that hook is legitimate.
602
603 2009-10-08 Jerry James <james@xemacs.org>
604
605 * bytecode.c (bytecode_arithop): Make divide-by-zero errors
606 noncontinuable.
607 * floatfns.c (arith_error2): New macro for signaling divide-by-zero.
608 (ceiling_two_fixnum): Handle a value returned from a continuable error.
609 (ceiling_two_bignum): Ditto.
610 (ceiling_two_ratio): Ditto.
611 (ceiling_two_bigfloat): Ditto.
612 (ceiling_two_float): Ditto.
613 (floor_two_fixnum): Ditto.
614 (floor_two_bignum): Ditto.
615 (floor_two_ratio): Ditto.
616 (floor_two_bigfloat): Ditto.
617 (floor_two_float): Ditto.
618 (round_two_fixnum): Ditto.
619 (round_two_bignum): Ditto.
620 (round_two_ratio): Ditto.
621 (round_two_bigfloat): Ditto.
622 (round_two_float): Ditto.
623 (truncate_two_fixnum): Ditto.
624 (truncate_two_bignum): Ditto.
625 (truncate_two_ratio): Ditto.
626 (truncate_two_bigfloat): Ditto.
627 (truncate_two_float): Ditto.
628 (truncate_one_ratio): Truncating zero should result in zero.
629
630 2009-10-10 Aidan Kehoe <kehoea@parhasard.net>
631
632 * rangetab.c (Frange_table_type):
633 Correct the docstring for this function, don't reuse that of
634 Frange_table_p.
635
636 2009-10-05 Jerry James <james@xemacs.org>
637
638 * emacs.c (main_1): Check the return value of dup() to quiet gcc.
639 * input-method-xlib.c (describe_Window): Check the return value of
640 system() to quiet gcc.
641 * objects-tty.c (UNUSED_IF_NEW_GC): New macro.
642 (tty_finalize_color_instance): Use it to quiet gcc.
643 (tty_finalize_font_instance): Ditto.
644 * syntax.c (UNUSED_IF_NEW_GC): New macro.
645 (uninit_buffer_syntax_cache): Use it to quiet gcc.
646
647 2009-10-05 Jerry James <james@xemacs.org>
648
649 * glade.c: Add GPL v2 or later notice with explicit permission of
650 Bill Perry (private email).
651 * gtk-glue.c: Ditto.
652 * gtk-xemacs.c: Ditto.
653 * gtk-xemacs.h: Ditto.
654 * ui-byhand.c: Ditto.
655 * ui-gtk.c: Ditto.
656 * ui-gtk.h: Ditto.
657 * unexfx2800.c: Fix malformed comment.
658
659 2009-10-05 Jerry James <james@xemacs.org>
660
661 * Makefile.in.in: Remove internal GIF object files from link.
662 * dgif_lib.c: Removed.
663 * gif_io.c: Removed.
664 * gifrlib.h: Removed.
665 * glyphs-eimage.c: Use external giflib instead of internal GIF
666 support.
667 (gif_instantiate_unwind): Use giflib's FreeSavedImages call
668 instead of the defunct GifFree.
669 (gif_read_from_memory): Adapt signature to giflib.
670 (gif_error_func): Removed.
671 (gif_memory_close): Removed.
672 (gif_decode_error_string): New function.
673 (gif_instantiate): Adapt to giflib API.
674 * libinterface.h: Include external giflib header instead of
675 internal GIF header.
676
677 2009-06-28 Stephen J. Turnbull <stephen@xemacs.org>
678
679 * Makefile.in.in (mostlyclean):
680 (versionclean):
681 (extraclean-noconfig):
682 (extraclean):
683 Clean certain build and debug products.
684
685 2009-10-01 Mike Sperber <mike@xemacs.org>
686
687 * frame-x.c (x_focus_on_frame): Use correct timestamp with
688 XSetInputFocus.
689
690 2009-09-30 Aidan Kehoe <kehoea@parhasard.net>
691
692 * mule-coding.c (fixed_width_putprop):
693 Register any CCL programs, avoiding crashes described by Robert
694 Delius Royar. Though it's unclear why, I'll try to investigate
695 once I'm on a 32-bit Unix machine regularly again.
696
697 2009-09-29 Mike Sperber <mike@xemacs.org>
698
699 * minibuf.c (Ftry_completion): If the collection is a list, allow
700 plain elements instead of cons cells. (As in GNU Emacs.)
701
702 2009-09-23 Stephen Turnbull <stephen@xemacs.org>
703
704 * glyphs-eimage.c (png_instantiate):
705 Clean up PNG handling. Fixes crash in issue570.
706
707 Pad eimage buffer to handle overrun in libpng (fix crash).
708 Reorder libpng setup and call png_read_update_info (display
709 images with transparency correctly).
710 Make background handling code prettier.
711 Make comment style more consistent.
712 Remove some obsolete comments and #ifdefs.
713
714 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
715
716 * alloc.c (Flist):
717 (Fvector):
718 (Fbit_vector):
719 (Fmake_byte_code):
720 (Fstring):
721 * data.c (Feqlsign):
722 (Flss):
723 (Fgtr):
724 (Fleq):
725 (Fgeq):
726 (Fneq):
727 (Fgtr):
728 (Fplus):
729 (Fminus):
730 (Ftimes):
731 (Fdiv):
732 (Fquo):
733 (Fmax):
734 (Fmin):
735 (Flogand):
736 (Flogior):
737 (Flogxor):
738 * editfns.c (Fsave_excursion):
739 (Fsave_current_buffer):
740 (Fencode_time):
741 (Finsert):
742 (Finsert_before_markers):
743 (Fsave_restriction):
744 (Fformat):
745 * elhash.c (Fmake_hash_table):
746 * eval.c (Fdefun):
747 (Fdefmacro):
748 (Fcatch):
749 (Funwind_protect):
750 (Fcall_with_condition_handler):
751 (Ffuncall):
752 (Fapply):
753 (Frun_hooks):
754 * fns.c (Fappend):
755 (Fconcat):
756 (Fvconcat):
757 (Fbvconcat):
758 (Fnconc):
759 * print.c (Fwith_output_to_temp_buffer):
760 * process.c (Fstart_process_internal):
761 * window.c (Fsave_window_excursion):
762 * widget.c (Fwidget_apply):
763 Add argument information, in a form understood by
764 #'function-arglist, to all these MANY or UNEVALLED (that is to
765 say, special-operator) built-in functions.
766
767 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
768
769 * general-slots.h:
770 * mule-coding.c (syms_of_mule_coding):
771 * mule-charset.c (syms_of_mule_charset):
772 Move Qfrom_unicode to general-slots.h, now it's used in more than
773 one file. Fixes the native Win32 build; thank you Vin!
774
775 2009-09-19 Aidan Kehoe <kehoea@parhasard.net>
776
777 Move the #'query-coding-region implementation to C.
778
779 This is necessary because there is no reasonable way to access the
780 corresponding mswindows-multibyte functionality from Lisp, and we
781 need such functionality if we're going to have a reliable and
782 portable #'query-coding-region implementation. However, this
783 change doesn't yet provide #'query-coding-region for the
784 mswindow-multibyte coding systems, there should be no functional
785 differences between an XEmacs with this change and one without it.
786
787 * mule-coding.c (struct fixed_width_coding_system):
788 Add a new coding system type, fixed_width, and implement it. It
789 uses the CCL infrastructure but has a much simpler creation API,
790 and its own query_method, formerly in lisp/mule/mule-coding.el.
791 * unicode.c:
792 Move the Unicode query method implementation here from
793 unicode.el.
794 * lisp.h: Declare Fmake_coding_system_internal, Fcopy_range_table
795 here.
796 * intl-win32.c (complex_vars_of_intl_win32):
797 Use Fmake_coding_system_internal, not Fmake_coding_system.
798 * general-slots.h: Add Qsucceeded, Qunencodable, Qinvalid_sequence
799 here.
800 * file-coding.h (enum coding_system_variant):
801 Add fixed_width_coding_system here.
802 (struct coding_system_methods):
803 Add query_method and query_lstream_method to the coding system
804 methods.
805 Provide flags for the query methods.
806 Declare the default query method; initialise it correctly in
807 INITIALIZE_CODING_SYSTEM_TYPE.
808 * file-coding.c (default_query_method):
809 New function, the default query method for coding systems that do
810 not set it. Moved from coding.el.
811 (make_coding_system_1):
812 Accept new elements in PROPS in #'make-coding-system; aliases, a
813 list of aliases; safe-chars and safe-charsets (these were
814 previously accepted but not saved); and category.
815 (Fmake_coding_system_internal):
816 New function, what used to be #'make-coding-system--on Mule
817 builds, we've now moved some of the functionality of this to
818 Lisp.
819 (Fcoding_system_canonical_name_p):
820 Move this earlier in the file, since it's now called from within
821 make_coding_system_1.
822 (Fquery_coding_region):
823 Move the implementation of this here, from coding.el.
824 (complex_vars_of_file_coding):
825 Call Fmake_coding_system_internal, not Fmake_coding_system;
826 specify safe-charsets properties when we're a mule build.
827 * extents.h (mouse_highlight_priority, Fset_extent_priority,
828 Fset_extent_face, Fmap_extents):
829 Make these available to other C files.
830
831 2009-09-11 Aidan Kehoe <kehoea@parhasard.net>
832
833 * unicode.c (unicode_convert):
834 Fix a bug with error sequences and very short input strings.
835
836 2009-08-31 Aidan Kehoe <kehoea@parhasard.net>
837
838 * eval.c (For, Fand):
839 Don't declare val as REGISTER in these functions, for some reason
840 it breaks the non-DEBUG union build. These functions are only
841 called from interpreted code, the performance implication doesn't
842 matter. Thank you Robert Delius Royar!
843 * eval.c (Fmultiple_value_list_internal):
844 Error on too many arguments.
845
846 2009-08-24 Jerry James <james@xemacs.org>
847
848 * lisp.h (INT_64_BIT): define as __int64 on WIN32.
849 * glyphs-eimage.c (tiff_instantiate): cast argument of
850 xnew_binbytes to size_t (guaranteed to fit because of immediately
851 preceding check).
852
853 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
854
855 * floatfns.c (ROUNDING_CONVERT, CONVERT_WITH_NUMBER_TYPES)
856 (CONVERT_WITHOUT_NUMBER_TYPES, MAYBE_TWO_ARGS_BIGNUM)
857 (MAYBE_ONE_ARG_BIGNUM, MAYBE_TWO_ARGS_RATIO)
858 (MAYBE_ONE_ARG_RATIO, MAYBE_TWO_ARGS_BIGFLOAT)
859 (MAYBE_ONE_ARG_BIGFLOAT, MAYBE_EFF, MAYBE_CHAR_OR_MARKER):
860 New macros, used in the implementation of the rounding functions.
861 (ceiling_two_fixnum, ceiling_two_bignum, ceiling_two_ratio)
862 (ceiling_two_bigfloat, ceiling_one_ratio, ceiling_one_bigfloat)
863 (ceiling_two_float, ceiling_one_float, ceiling_one_mundane_arg)
864 (floor_two_fixnum, floor_two_bignum, floor_two_ratio)
865 (floor_two_bigfloat, floor_one_ratio, floor_one_bigfloat)
866 (floor_two_float, floor_one_mundane_arg, round_two_fixnum)
867 (round_two_bignum_1, round_two_bignum, round_two_ratio)
868 (round_one_bigfloat_1, round_two_bigfloat, round_one_ratio)
869 (round_one_bigfloat, round_two_float, round_one_float)
870 (round_one_mundane_arg, truncate_two_fixnum)
871 (truncate_two_bignum, truncate_two_ratio, truncate_two_bigfloat)
872 (truncate_one_ratio, truncate_one_bigfloat, truncate_two_float)
873 (truncate_one_float, truncate_one_mundane_arg):
874 New functions, used in the implementation of the rounding
875 functions.
876 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor)
877 (Ffround, Fftruncate):
878 Revise to fully support Common Lisp conventions. This means:
879 -- All functions have optional DIVISOR arguments
880 -- All functions return multiple values; see #'values
881 -- All functions do their arithmetic with the correct number types
882 according to the contamination rules.
883 -- #'round and #'fround always round towards the even number
884 in ambiguous cases.
885 * doprnt.c (emacs_doprnt_1):
886 * number.c (internal_coerce_number):
887 Call Ftruncate with two arguments, not one.
888 * floatfns.c (Ffloat):
889 Correct this, if NUMBER is a bignum.
890 * lisp.h:
891 Declare Ftruncate as taking two arguments.
892 * number.c:
893 Provide scratch_ratio2, init it appropriately.
894 * number.h:
895 Make scratch_ratio2 available.
896 * number.h (BIGFLOAT_ARITH_RETURN):
897 * number.h (BIGFLOAT_ARITH_RETURN1):
898 Correct these functions.
899
900 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
901
902 * bytecode.c (enum Opcode /* Byte codes */):
903 Add four new bytecodes, to deal with multiple values.
904 (POP_WITH_MULTIPLE_VALUES): New macro.
905 (POP): Modify this macro to ignore multiple values.
906 (DISCARD_PRESERVING_MULTIPLE_VALUES): New macro.
907 (DISCARD): Modify this macro to ignore multiple values.
908 (TOP_WITH_MULTIPLE_VALUES): New macro.
909 (TOP_ADDRESS): New macro.
910 (TOP): Modify this macro to ignore multiple values.
911 (TOP_LVALUE): New macro.
912 (Bcall): Ignore multiple values where appropriate.
913 (Breturn): Pass back multiple values.
914 (Bdup): Preserve multiple values.
915 Use TOP_LVALUE with most bytecodes that assign anything to
916 anything.
917 (Bbind_multiple_value_limits, Bmultiple_value_call,
918 Bmultiple_value_list_internal, Bthrow): Implement the new
919 bytecodes.
920 (Bgotoifnilelsepop, Bgotoifnonnilelsepop, BRgotoifnilelsepop,
921 BRgotoifnonnilelsepop):
922 Discard any multiple values.
923 * callint.c (Fcall_interactively):
924 Ignore multiple values when calling #'eval, in two places.
925 * device-x.c (x_IO_error_handler):
926 * macros.c (pop_kbd_macro_event):
927 * eval.c (Fsignal):
928 * eval.c (flagged_a_squirmer):
929 Call throw_or_bomb_out, not Fthrow, now that the latter is a
930 special form.
931 * eval.c:
932 Make Qthrow, Qobsolete_throw available as symbols.
933 Provide multiple_value_current_limit, multiple-values-limit (the
934 latter as specified by Common Lisp.
935 * eval.c (For):
936 Ignore multiple values when comparing with Qnil, but pass any
937 multiple values back for the last arg.
938 * eval.c (Fand):
939 Ditto.
940 * eval.c (Fif):
941 Ignore multiple values when examining the result of the
942 condition.
943 * eval.c (Fcond):
944 Ignore multiple values when comparing what the clauses give, but
945 pass them back if a clause gave non-nil.
946 * eval.c (Fprog2):
947 Never pass back multiple values.
948 * eval.c (FletX, Flet):
949 Ignore multiple when evaluating what exactly symbols should be
950 bound to.
951 * eval.c (Fwhile):
952 Ignore multiple values when evaluating the test.
953 * eval.c (Fsetq, Fdefvar, Fdefconst):
954 Ignore multiple values.
955 * eval.c (Fthrow):
956 Declare this as a special form; ignore multiple values for TAG,
957 preserve them for VALUE.
958 * eval.c (throw_or_bomb_out):
959 Make this available to other files, now Fthrow is a special form.
960 * eval.c (Feval):
961 Ignore multiple values when calling a compiled function, a
962 non-special-form subr, or a lambda expression.
963 * eval.c (Ffuncall):
964 If we attempt to call #'throw (now a special form) as a function,
965 don't error, call #'obsolete-throw instead.
966 * eval.c (make_multiple_value, multiple_value_aset)
967 (multiple_value_aref, print_multiple_value, mark_multiple_value)
968 (size_multiple_value):
969 Implement the multiple_value type. Add a long comment describing
970 our implementation.
971 * eval.c (bind_multiple_value_limits):
972 New function, used by the bytecode and by #'multiple-value-call,
973 #'multiple-value-list-internal.
974 * eval.c (multiple_value_call):
975 New function, used by the bytecode and #'multiple-value-call.
976 * eval.c (Fmultiple_value_call):
977 New special form.
978 * eval.c (multiple_value_list_internal):
979 New function, used by the byte code and
980 #'multiple-value-list-internal.
981 * eval.c (Fmultiple_value_list_internal, Fmultiple_value_prog1):
982 New special forms.
983 * eval.c (Fvalues, Fvalues_list):
984 New Lisp functions.
985 * eval.c (values2):
986 New function, for C code returning multiple values.
987 * eval.c (syms_of_eval):
988 Make our new Lisp functions and symbols available.
989 * eval.c (multiple-values-limit):
990 Make this available to Lisp.
991 * event-msw.c (dde_eval_string):
992 * event-stream.c (execute_help_form):
993 * glade.c (connector):
994 * glyphs-widget.c (glyph_instantiator_to_glyph):
995 * glyphs.c (evaluate_xpm_color_symbols):
996 * gui-x.c (wv_set_evalable_slot, button_item_to_widget_value):
997 * gui.c (gui_item_value, gui_item_display_flush_left):
998 * lread.c (check_if_suppressed):
999 * menubar-gtk.c (menu_convert, menu_descriptor_to_widget_1):
1000 * menubar-msw.c (populate_menu_add_item):
1001 * print.c (Fwith_output_to_temp_buffer):
1002 * symbols.c (Fsetq_default):
1003 Ignore multiple values when calling Feval.
1004 * symeval.h:
1005 Add the header declarations necessary for the multiple-values
1006 implementation.
1007 * inline.c:
1008 #include symeval.h, now that it has some inline functions.
1009 * lisp.h:
1010 Update Fthrow's declaration. Make throw_or_bomb_out available to
1011 all files.
1012 * lrecord.h (enum lrecord_type):
1013 Add the multiple_value type here.
1014
1015 2009-07-31 Stephen Turnbull <stephen@xemacs.org>
1016
1017 * glyphs-gtk.c (gtk_xpm_instantiate): Image instance pixmap
1018 hotspot coordinates are Lisp integers; make it so.
1019 Thanks to Karl Kleinpaste for reporting.
1020
1021 2009-07-31 Stephen Turnbull <stephen@xemacs.org>
1022
1023 * config.h.in (HAVE_DBM):
1024 * database.c (HAVE_DBM):
1025 Use gdbm/ndbm.h if needed (via NDBM_H_FILE).
1026 Thanks to Karl Kleinpaste for the report.
1027
1028 2009-07-28 Stephen Turnbull <stephen@xemacs.org>
1029
1030 * faces.c (ensure_face_cachel_contains_charset):
1031 (add_face_cachel):
1032 (update_face_cachel_data):
1033 Fix typos in comments and otherwise improve them.
1034
1035 2009-07-27 Stephen J. Turnbull <stephen@xemacs.org>
1036
1037 * eval.c (debug-on-error): Document interaction with process filters.
1038
1039 2009-07-15 Aidan Kehoe <kehoea@parhasard.net>
1040
1041 * syntax.c (complex_vars_of_syntax):
1042 ?\012 is whitespace, as it always should have been, thank you Karl
1043 Kleinpaste and the Gnus team!
1044
1045 2009-07-11 Aidan Kehoe <kehoea@parhasard.net>
1046
1047 * file-coding.c (undecided_canonicalize_after_coding):
1048 If no data have been seen, or if
1049 coding_stream_canonicalize_after_coding gives nil, pass back
1050 str->codesys, which will be of type undecided (the same as the old
1051 behaviour) but will reflect any CODESYS argument passed to
1052 make_coding_input_stream. See also the change in lisp/code-files.el
1053
1054 2009-06-09 Jerry James <james@xemacs.org>
1055
1056 * glyphs-eimage.c (jpeg_instantiate):
1057 (gif_instantiate):
1058 (png_instantiate):
1059 (tiff_instantiate): Check for integer overflow before allocating
1060 memory for an image.
1061
1062 2009-06-20 Stephen Turnbull <stephen@xemacs.org>
1063
1064 * callint.c (Finteractive): Document that (interactive) must
1065 appear at the "top level" of a function definition to be effective.
1066
1067 2009-06-14 Aidan Kehoe <kehoea@parhasard.net>
1068
1069 * eval.c (For):
1070 * eval.c (Fand):
1071 * eval.c (Fif):
1072 * eval.c (Fwhen):
1073 * eval.c (Fcond):
1074 * eval.c (Fprogn):
1075 * eval.c (Fprog1):
1076 * eval.c (Fprog2):
1077 * eval.c (FletX):
1078 * eval.c (Flet):
1079 * eval.c (Fwhile):
1080 * eval.c (Fdefvar):
1081 * eval.c (Fdefconst):
1082 * eval.c (Frun_hooks):
1083 * eval.c (Frun_hooks_with_args):
1084 * eval.c (Frun_hooks_with_args_until_success):
1085 * eval.c (Frun_hooks_with_args_until_failure):
1086 Add arguments information, understood by #'function-arglist, to
1087 all these special forms, functions and macros. Remove the
1088 argument information that was already there that was not
1089 understood by #'function-arglist.
1090
1091 2009-06-02 Ron Isaacson <Ron.Isaacson@morganstanley.com>
1092
1093 * nt.c (mswindows_link): Fix off-by-one bug in mswindows_link:
1094 need to include trailing NUL in length of file name.
1095
1096 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org>
1097
1098 * XEmacs 21.5.29 "garbanzo" is released.
1099
1100 2009-03-08 Ville Skyttä <scop@xemacs.org>
1101
1102 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap): Apply the
1103 2008-03-05 change from Dominique Quatravaux here as well even
1104 though the code is not enabled at the moment.
1105
1106 2009-02-04 Stephen J. Turnbull <stephen@xemacs.org>
1107
1108 * eval.c (skip_debugger): Fix typo in preceding comment.
1109
1110 2009-02-11 Jerry James <james@xemacs.org>
1111
1112 * number-gmp.c (bigfloat_to_string): Fix broken string conversion.
1113
1114 2009-02-10 Aidan Kehoe <kehoea@parhasard.net>
1115
1116 * lread.c (Fload_internal):
1117 Make load-file-name-internal readonly for Lisp code; make
1118 load-file-name a modifiable copy.
1119 (init_lread):
1120 Initialised Vload_file_name_internal, Vload_file_name to nil on
1121 each post-dump start.
1122
1123 2009-02-02 Stephen J. Turnbull <stephen@xemacs.org>
1124
1125 * frame-x.c (x_init_frame_2): Update comment per new info from HT.
1126
1127 2009-02-02 Stephen J. Turnbull <stephen@xemacs.org>
1128
1129 * frame-x.c (x_init_frame_2): Placate openbox by calling
1130 update_frame_icon. Suggested by Henry S. Thompson
1131 <ht@inf.ed.ac.uk> in <f5btz7ghm5k@hildegard.inf.ed.ac.uk>.
1132
1133 2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
1134
1135 * unicode.c (unicode_convert):
1136 Correct little-endian UTF-16 surrogate handling.
1137
1138 2009-01-16 Aidan Kehoe <kehoea@parhasard.net>
1139
1140 * chartab.c (print_table_entry):
1141 Print char table values correctly, eliminating some confusion
1142 between symbols and strings.
1143
1144 2009-01-10 Aidan Kehoe <kehoea@parhasard.net>
1145
1146 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2):
1147 Accept msprinter as well as mswindows devices here.
1148
1149 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
1150
1151 * device-x.c (Fx_get_font_path):
1152 Free the font path once we're finished with it.
1153
1154 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
1155
1156 * file-coding.c (Fmake_coding_system):
1157 Document our use of the safe-chars and safe-charsets properties,
1158 and the differences compared to GNU.
1159 (make_coding_system_1): Don't drop the safe-chars and
1160 safe-charsets properties.
1161 (Fcoding_system_property): Return the safe-chars and safe-charsets
1162 properties when asked for them.
1163 * file-coding.h (CODING_SYSTEM_SAFE_CHARSETS):
1164 * coding-system-slots.h:
1165 Make the safe-chars and safe-charsets slots available in these
1166 headers.
1167
1168 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
1169
1170 * doc.c (Fbuilt_in_symbol_file):
1171 Return a subr's filename immediately if we've found it. Check for
1172 compiled function and compiled macro docstrings in DOC too, and
1173 return them if they exist.
1174 The branch of the if statement focused on functions may have
1175 executed, but we may still want to check variable bindings; an
1176 else clause isn't appropriate.
1177
1178 2008-12-27 Vin Shelton <acs@xemacs.org>
1179
1180 * syswindows.h: Don't define wide character interfaces for Cygwin
1181 1.7 and up.
1182
1183 2008-12-22 Aidan Kehoe <kehoea@parhasard.net>
1184
1185 * symbols.c (Fdefine_function):
1186 * eval.c (define_function):
1187 Record explicitly that we're defining a function in the load
1188 history, in both these files.
1189
1190 2008-12-22 Aidan Kehoe <kehoea@parhasard.net>
1191
1192 * faces.c (Fbuilt_in_face_specifiers):
1193 Document that we're returning a copy.
1194
1195 2008-12-21 Aidan Kehoe <kehoea@parhasard.net>
1196
1197 * faces.c (Fbuilt_in_face_specifiers):
1198 Don't simply warn the user not to modify
1199 Vbuilt_in_face_specifiers, enforce this by returning a copy of the
1200 list.
1201
1202 2008-11-02 Stephen J. Turnbull <stephen@xemacs.org>
1203
1204 G++ 4.3 complains a lot about implicit conversions of string
1205 literals (const char *) to char *. Shut it up.
1206
1207 * console-x.h:
1208 * EmacsFrame.c:
1209 * EmacsManager.c:
1210 * EmacsShell-sub.c:
1211 #include ../lwlib/xt-wrappers.h.
1212 Cast class name to String.
1213 Cast action names to String.
1214 Rewrite resources to use Xt_RESOURCE.
1215
1216 * console-x.h:
1217 Move Xt_SET_VALUE and Xt_GET_VALUE to ../lwlib/xt-wrappers.h.
1218
1219 * console-x.h (describe_XRectangle):
1220 * input-method-xlib.c (describe_XRectangle):
1221 * emacs.c (argmatch):
1222 * emacs.c (check_compatible_window_system):
1223 * emodules.c (Fload_module):
1224 * emodules.c (Funload_module):
1225 * event-stream.c (external_debugging_print_event):
1226 * file-coding.h (struct subsidiary_type):
1227 * file-coding.c (struct subsidiary_type):
1228 * file-coding.c (setup_eol_coding_systems):
1229 * file-coding.c (make_coding_system_1):
1230 * file-coding.c (make_internal_coding_system):
1231 * gif_io.c (GifErrorString:
1232 * gif_io.c (GetGifError):
1233 * input-method-xlib.c (XIM_init_frame):
1234 * mule-coding.c (ccl_putprop):
1235 * print.c (printing_major_badness):
1236 * redisplay.c (generate_fstring_runes):
1237 Declare String or char * argument or variable as const.
1238
1239 * EmacsFrame.c (EmacsFrameSetCharSize):
1240 * EmacsShell-sub.c (update_size_hints_internal):
1241 * EmacsShell-sub.c (SuperClassRootGeometryManager):
1242 * device-x.c (emacs_options):
1243 * device-x.c (compute_x_app_name):
1244 * device-x.c (have_xemacs_resources_in_xrdb):
1245 * device-x.c (x_init_device):
1246 * event-Xt.c (x_fallback_resources):
1247 * event-Xt.c (widgetActionsList):
1248 * event-Xt.c (emacs_Xt_event_add_widget_actions):
1249 * frame-x.c (x_wm_set_cell_size):
1250 * frame-x.c (x_wm_set_variable_size):
1251 * frame-x.c (x_set_frame_text_value):
1252 * frame-x.c (x_initialize_frame_size):
1253 * frame-x.c (x_create_widgets):
1254 * frame-x.c (x_set_frame_icon):
1255 * frame-x.c (x_set_frame_position):
1256 * frame-x.c (x_update_frame_external_traits):
1257 * glyphs-x.c (x_redisplay_widget):
1258 * glyphs-x.c (update_tab_widget_face):
1259 * glyphs-x.c (x_widget_instantiate):
1260 * glyphs-x.c (x_button_instantiate):
1261 * glyphs-x.c (x_progress_gauge_redisplay):
1262 * glyphs-x.c (x_tab_control_redisplay):
1263 * menubar-x.c (make_dummy_xbutton_event):
1264 Use Xt_SET_ARG, Xt_SET_VALUE, and Xt_GET_VALUE instead of raw Xt
1265 equivalents.
1266 Declare String or char * argument or local variable as const.
1267 Cast string literals to char* (or equivalent).
1268
1269 * input-method-xlib.c:
1270 Use Xt_RESOURCE.
1271
1272 2008-11-25 Stephen J. Turnbull <stephen@xemacs.org>
1273
1274 * elhash.c (hash_table_data_validate):
1275 * elhash.c (decode_hash_table_rehash_size):
1276 * elhash.c (decode_hash_table_rehash_threshold):
1277 Document side effects used in these functions.
1278
1279 2008-11-20 Stephen J. Turnbull <stephen@xemacs.org>
1280
1281 * console-x-impl.h (struct x_frame): Clarify comment.
1282
1283 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
1284
1285 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
1286 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
1287
1288 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
1289
1290 * mule-ccl.c (ccl_driver): Fix off-by-one error.
1291 By Julian Bradfield in <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
1292
1293 2008-10-25 Stephen J. Turnbull <stephen@xemacs.org>
1294
1295 * lisp.h (static_pro): Cast out a warning.
1296 g++ 4.3 complains about the conversion of const char to char.
1297 These end up in a dynarray, so we would need to define a whole new
1298 class of dynarray just to handle the const char stuff.
1299
1300 2008-08-27 Aidan Kehoe <kehoea@parhasard.net>
1301
1302 * symbols.c (Fuser_variable_p):
1303 (map_varalias_chain):
1304 Use EQ() and !EQ(), don't compare two Lisp_Objects using == and
1305 !=. Fixes the union build, thank you Robert Delius Royar.
1306
1307 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
1308
1309 * eval.c (Fuser_variable_p): Moved to symbols.c
1310 * symbols.c (Fcustom_variable_p): Moved here from custom.el.
1311 (user_variable_alias_check_fun): Mapper function used in
1312 `user-variable-p'.
1313 (Fuser_variable_p): Moved here from eval.c, to allow it to examine
1314 the variable alias chain. Expanded to check each entry in the
1315 variable alias chain for signs of being a user variable;
1316 documentation updated, noting the differences between GNU's
1317 behaviour and ours (ours is a little more sensible)
1318 (map_varalias_chain): New.
1319 Given a C function, call it at least once for each symbol in a
1320 symbol's varalias chain, signalling an error if there's a cycle,
1321 and returning immediately if the function returns something other
1322 than Qzero.
1323 (Fdefvaralias): Correct the use of the word "alias" in the
1324 docstring and in the argument name. Motivate this in a
1325 comment. Add support for a DOCSTRING argument, something GNU has
1326 too, and document this
1327 * gc.c (vars_of_gc): Start the docstring of
1328 `garbage-collection-messages' with an asterisk, to indicate that
1329 it's a user variable.
1330
1331 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
1332
1333 Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change,
1334 which can allow much better performace with some stupid
1335 filesystems:
1336 * fileio.c (write_region_inhibit_fsync): New variable.
1337 (Fwrite_region): Use it to skip call to fsync.
1338 (syms_of_fileio): Initialize it.
1339
1340 2008-08-10 Aidan Kehoe <kehoea@parhasard.net>
1341
1342 * objects-xlike-inc.c (charset_table): Remove the entry for
1343 Vcharset_arabic_iso8859_7, thank you Robert Delius Royar.
1344
1345 2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
1346
1347 * mule-charset.c (complex_vars_of_mule_charset):
1348 Remove Vcharset_arabic_iso8859_7.
1349 * lisp.h: Remove Vcharset_arabic_iso8859_7.
1350 See commentary in lisp/mule/iso-with-esc.el for motivation.
1351
1352 2008-08-03 Mats Lidell <matsl@xemacs.org>
1353
1354 * config.h.in: Renamed USE_XFT_GAUGE to USE_XFT_GAUGES in sync
1355 with configure.ac.
1356
1357 2008-07-20 John Paul Wallington <jpw@pobox.com>
1358
1359 * nt.c (Fmswindows_short_file_name, Fmswindows_long_file_name):
1360 Remove their interactive specs; they shouldn't be called interactively.
1361
1362 2008-07-17 Aidan Kehoe <kehoea@parhasard.net>
1363
1364 * redisplay.c (init_redisplay):
1365 Don't set window-system to 'stream if running noninteractively,
1366 revert to the documented behaviour.
1367
1368 2008-07-16 Aidan Kehoe <kehoea@parhasard.net>
1369
1370 * lread.c (read_escape):
1371 Error if we're handed an over-long hex character escape, something
1372 which arises reasonably frequently in code written for GNU.
1373
1374 2008-07-07 Aidan Kehoe <kehoea@parhasard.net>
1375
1376 Patch to make it up to the device-specific code whether
1377 various Lisp functions should be called during device creation,
1378 not relying on the startup code to decide this. Also, rename
1379 initial-window-system to initial-device-type (which makes more
1380 sense in this scheme), always set it.
1381
1382 * redisplay.c (Vinitial_device_type): New.
1383 (Vinitial_window_system): Removed.
1384 Rename initial-window-system to initial-device type, making it
1385 a stream if we're noninteractive. Update its docstring.
1386
1387 * device-x.c (Qmake_device_early_x_entry_point,
1388 Qmake_device_late_x_entry_point): New.
1389 Rename Qinit_pre_x_win, Qinit_post_x_win.
1390 (x_init_device): Call #'make-device-early-x-entry-point earlier,
1391 now we rely on it to find the application class and the
1392 app-defaults directory.
1393 (x_finish_init_device): Call #'make-device-late-x-entry-point with
1394 the created device.
1395 (Vx_app_defaults_directory): Always make this available, to
1396 simplify code in x-init.el.
1397
1398 * device-tty.c (Qmake_device_early_tty_entry_point): New.
1399 Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to
1400 frame-tty.c as Qmake_frame_after_init_entry_point.
1401 (tty_init_device): Call #'make-device-early-tty-entry-point before
1402 doing anything.
1403 * frame-tty.c (Qmake_frame_after_init_entry_point): New.
1404 * frame-tty.c (tty_after_init_frame): Have it call the
1405 better-named #'make-frame-after-init-entry-point function
1406 instead of #'init-post-tty-win (since it's called after frame, not
1407 device, creation).
1408
1409 * device-msw.c (Qmake_device_early_mswindows_entry_point,
1410 Qmake_device_late_mswindows_entry_point): New.
1411 Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win.
1412 (mswindows_init_device): Call
1413 #'make-device-early-mswindows-entry-point here, instead of having
1414 its predecessor call us.
1415 (mswindows_finish_init_device): Call
1416 #'make-device-early-mswindows-entry-point, for symmetry with the
1417 other device types (though it's an empty function).
1418
1419 * device-gtk.c (Qmake_device_early_gtk_entry_point,
1420 Qmake_device_late_gtk_entry_point): New.
1421 Rename Qinit_pre_gtk_win, Qinit_post_gtk_win.
1422 (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't
1423 load ~/.xemacs/gtk-options.el ourselves, leave that to lisp.
1424 (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point
1425 with the created device as an argument.
1426
1427 2008-07-10 Aidan Kehoe <kehoea@parhasard.net>
1428
1429 * redisplay-msw.c (mswindows_text_width_single_run):
1430 Explicitly check for the null font instance, and return zero if
1431 so. Avoids the crash documented in
1432 http://mid.gmane.org/18473.32468.712317.149457@parhasard.net .
1433
1434 2008-05-27 Aidan Kehoe <kehoea@parhasard.net>
1435
1436 * editfns.c (Ftranslate_region):
1437 Correct a thinko in the last commit; I meant #'get-char-table, not
1438 #'put-char-table.
1439
1440 2008-05-25 Aidan Kehoe <kehoea@parhasard.net>
1441
1442 * chartab.c (Fmake_char_table):
1443 Document the default return values for the various char table
1444 types.
1445 * editfns.c (Ftranslate_region): Document why `generic' char tables
1446 are preferable to `char' char tables for this function.
1447
1448 2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
1449
1450 * fileio.c (Fmake_symbolic_link):
1451 Document behaviour when the underlying OS doesn't support symbolic
1452 links.
1453
1454 2008-05-13 Aidan Kehoe <kehoea@parhasard.net>
1455
1456 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
1457 Use WEXTSTRING separately on the two concatenated strings,
1458 avoiding an error on Win32.
1459
1460 2008-05-13 Aidan Kehoe <kehoea@parhasard.net>
1461
1462 * config.h.in (_CRT_NONSTDC_NO_DEPRECATE):
1463 Define this, to avoid warnings about using standard POSIX and C9X
1464 functions on Win32; fixes part of Matthew Persico's problems of
1465 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com .
1466
1467 2008-01-20 Aidan Kehoe <kehoea@parhasard.net>
1468
1469 * config.h.in: Add SHEBANG_PROGNAME.
1470 * emacs.c (main_1):
1471 If we've been called using SHEBANG_PROGNAME, rewrite our arguments
1472 to add a --script argument.
1473 Also, handle the --script argument by setting noninteractive and
1474 vanilla.
1475 * lread.c (Fload_internal):
1476 If the first two characters of a file are #!, replace them with ;!
1477 before they get to the Lisp reader.
1478
1479 2008-04-26 Mike Sperber <mike@xemacs.org>
1480
1481 * window.c (set_window_pixsize): Round up when we're shrinking,
1482 down when we're growing * to make sure that pairs of grow / shrink
1483 meant to * cancel out actually do cancel out. This fixes a
1484 problem with `resize-minibuffer-mode' where successive grow/shrink
1485 actions are meant to cancel out, but previously didn't.
1486
1487 2008-04-05 Aidan Kehoe <kehoea@parhasard.net>
1488
1489 * depend:
1490 Regenerate with LF line endings, not CRLF.
1491
1492 2008-03-15 Michael Sperber <mike@xemacs.org>
1493
1494 * lread.c (read1): Signal an error on ?\<newline>, thus preventing
1495 an assertion failure higher up.
1496
1497 2008-03-11 Stephen J. Turnbull <stephen@xemacs.org>
1498
1499 * specifier.c (CHECK_INSTANCE_ENTRY): Fix typo in comment.
1500
1501 2008-03-05 Dominique Quatravaux <domq@cpan.org>
1502
1503 * glyphs-gtk.c (init_image_instance_from_gdk_image):
1504 (gtk_colorize_image_instance):
1505 Use IMAGE_INSTANCE_PIXMAP_MASK (an lvalue), not
1506 IMAGE_INSTANCE_GTK_MASK (an rvalue).
1507
1508 2008-03-05 Dominique Quatravaux <domq@cpan.org>
1509
1510 * console-gtk.c (gtk_perhaps_init_unseen_key_defaults): Fix typo.
1511
1512 2008-02-28 Didier Verna <didier@xemacs.org>
1513
1514 * specifier.h (struct specifier_methods): Fix instantiate_method
1515 prototype to match the changes below.
1516
1517 2008-02-26 Didier Verna <didier@xemacs.org>
1518
1519 * specifier.c (CHECK_INSTANCE_ENTRY): See below.
1520 * specifier.c (specifier_instance_1): Propagate the no_fallback
1521 flag to ...
1522 * specifier.c (specifier_instance_from_inst_list): ... here, and
1523 in turn propagate it to the <specifier>_instantiate methods.
1524 * glyphs.c (image_instantiate): Handle the no_fallback flag.
1525 * objects.c (color_instantiate): Ditto.
1526 * objects.c (font_instantiate): Ditto.
1527 * objects.c (face_boolean_instantiate): Ditto.
1528 * specifier.c (specifier_matching_foo_from_inst_list): Update call
1529 to specifier_instance_from_inst_list accordingly.
1530
1531 2008-02-11 Aidan Kehoe <kehoea@parhasard.net>
1532
1533 * search.c (search_buffer):
1534 In the event that a character is not representable in the buffer,
1535 fail immediately. Prevents an assertion failure in the code to
1536 deal with whether Boyer-Moore search can be used for such
1537 characters.
1538
1539 2008-02-03 Jerry James <james@xemacs.org>
1540
1541 * redisplay.c (generate_displayable_area): If a line has been
1542 generated in place in the dynarray, use Dynarr_increment instead
1543 of Dynarr_add.
1544 * redisplay.c (regenerate_window): Ditto.
1545
1546 2008-02-01 Jerry James <james@xemacs.org>
1547
1548 * event-Xt.c (emacs_Xt_event_handler): Remove unnecessary call to
1549 SET_EVENT_MAGIC_X_EVENT. See xemacs-beta message
1550 <870180fe080131201011b191ae5g1d70cbd2136f570c@mail.gmail.com>.
1551
1552 2008-01-30 Aidan Kehoe <kehoea@parhasard.net>
1553
1554 * search.c (debug-xemacs-searches):
1555 New variable, available on debug builds. Used in
1556 tests/automated/case-tests.el.
1557 (search_buffer): Only store the charset_base for characters with
1558 translations. Correct some comments, correct some checks. If
1559 debug_xemacs_searches is non-zero, record which search was used.
1560 (boyer_moore): Remove an assertion that was incorrect. Remove its
1561 documentation. Correct an assertion dealing with equivalence
1562 tables; we may end up looking through the equivalence table if a
1563 non-ASCII non-case character was searched for.
1564
1565 2008-01-25 Michael Sperber <mike@xemacs.org>
1566
1567 * emacs.c (vars_of_emacs): Zap mention of CVS.
1568
1569 2008-01-24 Mike Sperber <mike@xemacs.org>
1570
1571 * make-src-depend (PrintDeps): Fix Perl code that no longer works
1572 with Perl 5.10.
1573
1574 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
1575
1576 * elhash.c (Fputhash): Document the return value.
1577 (Fclrhash): Ditto.
1578
1579 2007-12-26 Aidan Kehoe <kehoea@parhasard.net>
1580
1581 * casetab.c:
1582 Extend and correct some case table documentation.
1583 * search.c (search_buffer):
1584 Correct a bug where only the first entry for a character in the
1585 case equivalence table was examined in determining if the
1586 Boyer-Moore search algorithm is appropriate.
1587
1588 If there are case mappings outside of the charset and row of the
1589 characters specified in the search string, those case mappings can
1590 be safely ignored (and Boyer-Moore search can be used) if we know
1591 from the buffer statistics that the corresponding characters cannot
1592 occur.
1593
1594 * search.c (boyer_moore):
1595 Assert that we haven't been passed a string with varying
1596 characters sets or rows within character sets. That's what
1597 simple_search is for.
1598
1599 In the very rare event that a character in the search string has a
1600 canonical case mapping that is not in the same character set and
1601 row, don't try to search for the canonical character, search for
1602 some other character that is in the the desired character set and
1603 row. Assert that the case table isn't corrupt.
1604
1605 Do not search for any character case mappings that cannot possibly
1606 occur in the buffer, given the buffer metadata about its
1607 contents.
1608
1609 2008-01-19 Aidan Kehoe <kehoea@parhasard.net>
1610
1611 * dired.c (Ffile_attributes): If bignums are available, use them
1612 for the file size when necessary. If they are not, be clearer
1613 about the check for whether the file size can fit in a Lisp
1614 integer.
1615
1616 2008-01-18 Jerry James <james@xemacs.org>
1617
1618 * device-x.c (x_init_device): Don't write to path or read from
1619 format when neither has been initialized.
1620
1621 2008-01-16 Aidan Kehoe <kehoea@parhasard.net>
1622
1623 * elhash.c (internal_hash):
1624 Make short lists with the same contents in a different order hash
1625 distinctly. Gives better performance for things like three-element
1626 lists describing colours. Thank you Sebastian Freundt!
1627
1628 2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
1629
1630 * print.c (prin1_to_string): New.
1631 The guts of Fprin1_to_string, without resetting
1632 Vprint_gensym_alist.
1633 (Fprin1_to_string):
1634 Call prin1_to_string, wrapped with RESET_PRINT_GENSYM calls.
1635 * doprnt.c (emacs_doprnt_1):
1636 Call prin1_to_string, not Fprin1_to_string (dos veces). Avoids an
1637 inappropriate reset of print-gensym-alist.
1638
1639 2008-01-12 Aidan Kehoe <kehoea@parhasard.net>
1640
1641 * rangetab.c (Fmap_range_table):
1642 Clarify docstring. (If FUNCTION doesn't touch any range-table
1643 entry, things will also be correct.)
1644
1645 2008-01-09 Aidan Kehoe <kehoea@parhasard.net>
1646
1647 * config.h.in:
1648 Check that __STDC_VERSION__ is defined before examining its
1649 value. Eliminates a Cygwin warning.
1650
1651 2008-01-08 Aidan Kehoe <kehoea@parhasard.net>
1652
1653 * text.h (MAX_XETCHAR_SIZE): Remove, eliminating a redefinition
1654 warning on Win32.
1655 * dumper.c (pdump_load):
1656 Don't use PATH_MAX_EXTERNAL, instead allocate enough for the path
1657 + DUMP_SLACK (space for .dmp and version information), already
1658 used on Win32 and #defined to be 100.
1659
1660 2008-01-08 Jerry James <james@xemacs.org>
1661
1662 * config.h.in (INLINE_HEADER): adapt to C99 inline semantics.
1663
1664 2008-01-07 Jerry James <james@xemacs.org>
1665
1666 * xemacs.def.in.in: Clarify the copyright and license.
1667
1668 2008-01-03 Aidan Kehoe <kehoea@parhasard.net>
1669
1670 * fileio.c (Fmake_temp_name): Correct the comment to cross
1671 reference to make-temp-file, and not to this function.
1672
1673 2008-01-03 Stephen J. Turnbull <stephen@xemacs.org>
1674
1675 * doc.c (Fbuilt_in_symbol_file): Improve style.
1676
1677 2008-01-02 Aidan Kehoe <kehoea@parhasard.net>
1678
1679 * emacs.c (main_1):
1680 Call the new vars_of_console_gtk function.
1681 * console-gtk.c (vars_of_console_gtk): New.
1682 * console-gtk.c (gtk_perhaps_init_unseen_key_defaults):
1683 Correct the initialisation of the hash table, on the model of the
1684 MSW and TTY builds.
1685
1686 2008-01-02 Aidan Kehoe <kehoea@parhasard.net>
1687
1688 * doc.c (Fbuilt_in_symbol_file):
1689 Don't check is fun zero in the condition, check that it's not
1690 nil. Fixes the union build; thank you Stephen.
1691
1692 2008-01-02 Mike Sperber <mike@xemacs.org>
1693
1694 * window.c (set_window_pixsize): Factor in the modeline when
1695 looking at window_min_width. Remove obsolete comment about
1696 incorrect use of `default_face_height_and_width'.
1697 (change_window_height): Remove obsolete comment about
1698 incorrect use of `default_face_height_and_width'.
1699
1700 2007-12-30 Aidan Kehoe <kehoea@parhasard.net>
1701
1702 * doc.c (Fbuilt_in_symbol_file):
1703 Take a new TYPE argument, specifying whether the function or
1704 variable definition of the symbol should be searched for.
1705 Handle built-in macros correctly.
1706
1707 2007-12-24 Aidan Kehoe <kehoea@parhasard.net>
1708
1709 * event-xlike-inc.c (x_keysym_to_character):
1710 * event-xlike-inc.c (gtk_keysym_to_character):
1711 Unify the typed character if possible, following the current value
1712 for the unicode precedence list.
1713
1714 2007-12-24 Aidan Kehoe <kehoea@parhasard.net>
1715
1716 * symbols.c (Fintern_soft):
1717 Provide a new optional third argument, DEFAULT, for those who want
1718 to check if "nil" is a symbol or not. (More realistically, general
1719 code that may get handed "nil" should probably use this argument.)
1720
1721 2007-12-23 Aidan Kehoe <kehoea@parhasard.net>
1722
1723 * objects-tty.c (tty_find_charset_font):
1724 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2):
1725 * objects-msw.c (mswindows_font_spec_matches_charset_stage_1):
1726 * objects-xlike-inc.c (x_font_spec_matches_charset):
1727 * objects-xlike-inc.c (gtk_font_spec_matches_charset):
1728 If the charset is not specified when calling the
1729 font_spec_matches_charset device method, its value is Qnil, not
1730 Qunbound. See
1731 http://mid.gmane.org/E1EfbmW-00029r-5G@iwi191.iwi.uni-sb.de and
1732 Ben Wing's patch of
1733 http://mid.gmane.org/439FA06B.3090007@xemacs.org.
1734
1735 2007-12-22 Aidan Kehoe <kehoea@parhasard.net>
1736
1737 * database.c (Fopen_database):
1738 Actually respect the CODESYS argument; don't require EOL
1739 autodetection from the coding system, because autodetection mostly
1740 fails with reads of small amounts of data. It might be possible
1741 with an implicit #'map-database on open, though I don't think
1742 that's a great idea.
1743 * database.c (print_database):
1744 Give the coding system used for text conversion when printing a
1745 database object.
1746
1747 2007-12-20 Jerry James <james@xemacs.org>
1748
1749 * sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND.
1750
1751 2007-12-18 Kenny Chien <Kenny.Chien@morganstanley.com>
1752
1753 * extw-Xt.c (extw_wait_for_response): Don't use undocumented
1754 internal Xt functions, avoiding inconsistent behavior between
1755 different Solaris versions.
1756
1757 2007-12-18 Aidan Kehoe <kehoea@parhasard.net>
1758
1759 * symbols.c (Fspecial_form_p):
1760 Following commentary from Jerry James, don't error if not passed a
1761 subr.
1762
1763 Flesh out the docstring; give details of what a subr is, what a
1764 special form is, and why one should probably not write special
1765 forms oneself.
1766
1767 2007-12-18 Aidan Kehoe <kehoea@parhasard.net>
1768
1769 * symbols.c (Fspecial_form_p): New.
1770 For the use of advice.el, and perhaps other files; is SUBR a
1771 special form?
1772
1773 2007-12-17 Aidan Kehoe <kehoea@parhasard.net>
1774
1775 * doprnt.c (emacs_doprnt_1):
1776 Add support for formatted printing of both longs and bignums as
1777 base 2.
1778 * editfns.c (Fformat):
1779 Document the new %b escape for #'format.
1780 * lisp.h:
1781 Make ulong_to_bit_string available beside long_to_string.
1782 * lread.c:
1783 Fix a bug where the integer base was being ignored in certain
1784 contexts; thank you Sebastian Freundt. This is necessary for
1785 correct behaviour of #'integer-to-bit-vector and
1786 #'bit-vector-to-integer, just added to subr.el
1787 * print.c (ulong_to_bit_string): New.
1788 Analagous to long_to_string, but used all the time when %b is
1789 encountered, since we can't pass that to sprintf.
1790
1791 2007-12-12 Aidan Kehoe <kehoea@parhasard.net>
1792
1793 * config.h.in:
1794 Make the results of the checks for
1795 FcConfigGetRescanInterval, FcConfigSetRescanInterval
1796 available.
1797 * font-mgr.h:
1798 If FcConfigSetRescanInterval and FcConfigGetRescanInterval are not
1799 available as functions, #define them to map to their old
1800 misspelled names.
1801 * font-mgr.c (Ffc_config_get_rescan_interval):
1802 * font-mgr.c (Ffc_config_set_rescan_interval):
1803 Use the correct spelling in
1804 FcConfigGetRescanInterval, FcConfigSetRescanInterval
1805
1806 2007-12-11 Aidan Kehoe <kehoea@parhasard.net>
1807
1808 * glyphs-eimage.c:
1809 Merge Ron Isaacson's patch of
1810 3ggprxj7ifh.wl_Ron.Isaacson@morganstanley.com , originally from
1811 Gennady Khokhorin. Prevents library incompatibilities on Win32.
1812
1813 2007-12-11 Aidan Kehoe <kehoea@parhasard.net>
1814
1815 * fileio.c (Fsubstitute_in_file_name):
1816 On encountering non-existent environment variables or incorrect
1817 syntax for specifying environment variables (as is routine on
1818 Windows) don't error, instead pass the original strings through.
1819
1820 2007-12-05 Stephen J. Turnbull <stephen@xemacs.org>
1821
1822 * search.c (simple_search): Fix underrun in reverse search.
1823 (search_buffer): Clarify decision to use boyer_moore or not.
1824
1825 2007-12-06 Aidan Kehoe <kehoea@parhasard.net>
1826
1827 * tests.c (Ftest_data_format_conversion):
1828 Move those tests that expect that iso-8859-2 is ISO
1829 2022-compatible to testing iso-latin-2-with-esc instead.
1830
1831 2007-12-02 Ron Isaacson <ron.isaacson@morganstanley.com>
1832
1833 * frame.c (change_frame_size):
1834 (change_frame_size_1):
1835 Must reset pending flag per-frame, so do it in the latter.
1836
1837 2007-12-04 Aidan Kehoe <kehoea@parhasard.net>
1838
1839 * file-coding.c:
1840 * file-coding.c (find_coding_system):
1841 C-accessible version of #'find-coding-system that doesn't
1842 necessarily call the autoload code, for use in
1843 #'autoload-coding-system (which we allow to overwrite autoloaded
1844 coding systems) and make_coding_system_1 (which has to).
1845 * file-coding.c (Ffind_coding_system):
1846 Move the implementation to find_coding_system; call that function
1847 with a do_autoloads argument of 1.
1848 * file-coding.c (Fautoload_coding_system):
1849 New.
1850 * file-coding.c (add_coding_system_to_list_mapper):
1851 When returning a list of coding systems, don't call the autoload
1852 code.
1853 * file-coding.c (make_coding_system_1):
1854 * file-coding.c (Fcopy_coding_system):
1855 * file-coding.c (syms_of_file_coding):
1856
1857 Implement autoloaded coding systems. The form to be evaluated to
1858 load a given coding system is stored as the value in
1859 Vcoding_system_hash_table; this form is evaluated if
1860 find-coding-system is called with the symbol name of the coding
1861 system as its argument.
1862
1863 This is also tied in with the POSIX locale infrastructure by means
1864 of posix-charset-to-coding-system-hash.
1865
1866 2007-11-29 Aidan Kehoe <kehoea@parhasard.net>
1867
1868 * mule-ccl.c (ccl_driver):
1869 Take out a static variable I was using for debugging.
1870
1871 2007-11-26 Aidan Kehoe <kehoea@parhasard.net>
1872
1873 * doprnt.c:
1874 Default to a buffer size of 350 for the sprintf call, but increase
1875 it if the precision and minwidth indicate that it should be
1876 bigger. Issue reported by Hans de Graaff; bug originally fixed by
1877 Sebastian Freundt in SXEmacs following the change I merged on
1878 2006-11-28. Forks have their disadvantages.
1879
1880 2007-11-11 Mats Lidell <matsl@xemacs.org>
1881
1882 * events.h: Based on SXEmacs patch. Support for mouse button 6 to
1883 26.
1884 * keymap.h: Ditto.
1885 * keymap.c: Ditto.
1886
1887 2007-11-15 Aidan Kehoe <kehoea@parhasard.net>
1888
1889 * unicode.c (coding_system_type_create_unicode):
1890 * unicode.c (vars_of_unicode):
1891 Move the initialisation of Vnumber_of_jit_charsets,
1892 Vlast_jit_charset_final, Vcharset_descr to an #ifdef MULE block in
1893 vars_of_unicode. Fixes a build failure reported by Vin
1894 Shelton--thank you Vin!
1895
1896 2007-11-14 Aidan Kehoe <kehoea@parhasard.net>
1897
1898 * lread.c (read_unicode_escape):
1899 Correct the range check for Unicode characters specified with
1900 source-level escapes.
1901 * unicode.c:
1902 * unicode.c (unicode_to_ichar):
1903 * unicode.c (coding_system_type_create_unicode):
1904 Correct the dump behaviour for just-in-time Unicode code
1905 points. Update the docstring for #'unicode-to-char to indicate
1906 that code points will run out above around 400,000 in a session.
1907
1908 2007-11-14 Aidan Kehoe <kehoea@parhasard.net>
1909
1910 * editfns.c (vars_of_editfns):
1911 Correct the docstring of user-full-name.
1912 * fileio.c:
1913 * fileio.c (Fmake_temp_name):
1914 Document that make-temp-file is available and the best approach to
1915 this.
1916 * fileio.c (Fwrite_region_internal):
1917 Take a new arg, MUSTBENEW, to error if the file to be written
1918 already exists.
1919 * fileio.c (auto_save_1):
1920 Update a call to Fwrite_region_internal to pass the new argument.
1921 * fileio.c (syms_of_fileio):
1922 Provide 'excl as a symbol, for the calls to
1923 write-region-internal.
1924
1925 2007-11-05 Didier Verna <didier@xemacs.org>
1926
1927 * glyphs.c (potential_pixmap_file_instanciator): Fix comment
1928 describing its behavior.
1929 * glyphs.c (xbm_mask_file_munging): Update semantics of file and
1930 mask_file arguments to reflect recent changes in
1931 potential_pixmap_file_instanciator (see patch below).
1932 * glyphs-x.c (autodetect_normalize): Update call to
1933 xbm_mask_file_munging to reflect the above change.
1934 * glyphs-gtk.c (autodetect_normalize): Ditto.
1935
1936 2007-10-10 Didier Verna <didier@xemacs.org>
1937
1938 * glyphs.c (potential_pixmap_file_instantiator): Make a difference
1939 between not being able to locate a pixmap file, and not having a
1940 console method to do so.
1941 * glyphs.c (simple_image_type_normalize): Notice that difference,
1942 and don't err when the method is unavailable.
1943 * glyphs.c (xbm_normalize): Ditto.
1944 * glyphs.c (xface_normalize): Ditto.
1945 * glyphs.c (xpm_normalize): Ditto.
1946 * glyphs-shared.c (shared_resource_normalize): Ditto.
1947 * glyphs-x.c (x_locate_pixmap_file): Recognize ~ pathnames as
1948 fully qualified.
1949
1950 2007-10-03 Didier Verna <didier@xemacs.org>
1951
1952 * faces.c (reset_face_cachels): Check for noninteractive mode in
1953 the assertions below, in which case the cache is unused.
1954
1955 2007-10-03 Didier Verna <didier@xemacs.org>
1956
1957 * faces.c (reset_face_cachels): Assert correct order of built-in
1958 faces additions to the face cache, as per suggestion from Aidan.
1959
1960 2007-10-03 Didier Verna <didier@xemacs.org>
1961
1962 Again, fix some DEFAULT_INDEX == 0 assumptions. Actually, properly
1963 initialize display_line structures.
1964
1965 * redisplay.h (DISPLAY_LINE_INIT): New macro. Properly initialize
1966 the default_index field to DEFAULT_INDEX.
1967 * frame.c (init_frame): Use it.
1968 * redisplay.c (ensure_modeline_generated): Ditto.
1969 * redisplay.c (generate_displayable_area): Ditto.
1970 * redisplay.c (regenerate_window): Ditto.
1971 * redisplay-output.c (sync_display_line_structs): Ditto.
1972 * redisplay-output.c (redisplay_output_layout): Ditto.
1973
1974 2004-12-08 Shyamal Prasad <shyamal@member.fsf.org>
1975
1976 * editfns.c:
1977 * editfns.c (Fformat_time_string):
1978 Added documentation for %z, %g, %G and %V specifiers. This synchs
1979 up the set of % specifiers for format-time-string with Emacs
1980 21.3.1. Make copy of static buffer returned by localtime().
1981
1982 * strftime.c:
1983 * strftime.c (strftime):
1984 Implemented %z, %g, %G and %V in a style similar to existing
1985 implementation of other specifiers.
1986
1987 2007-09-30 Stephen J. Turnbull <stephen@xemacs.org>
1988
1989 * search.c (Freplace_match): Improve range-checking on STRBUFFER.
1990
1991 2007-09-22 Stephen J. Turnbull <stephen@xemacs.org>
1992
1993 * search.c (Freplace_match): Allow STRBUFFER to specify a
1994 subexpression when the source is a string.
1995
1996 2007-09-30 Aidan Kehoe <kehoea@parhasard.net>
1997
1998 * mule-ccl.c:
1999 * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION):
2000 * mule-ccl.c (ccl_driver):
2001 Merge Kenichi Handa's 2004-06-12 GNU bugfix, handling EOF in
2002 ccl_driver correctly.
2003
2004 2007-09-26 Didier Verna <didier@xemacs.org>
2005
2006 More fixes similar to previous patch:
2007
2008 * faces.c (reset_face_cachels): Add informative comment about the
2009 order of faces cache addition.
2010 * redisplay.h: Ditto.
2011 * redisplay-output.c (output_display_line): Don't rely on
2012 DEFAULT_INDEX being 0.
2013 * redisplay.c (create_string_text_block): Ditto.
2014
2015 2007-09-26 Didier Verna <didier@xemacs.org>
2016
2017 * gutter.c (calculate_gutter_size): Don't hardwire face index to
2018 0: use DEFAULT_INDEX instead.
2019
2020 2006-11-26 Aidan Kehoe <kehoea@parhasard.net>
2021
2022 * eval.c (Fcommand_execute):
2023 * eval.c (Feval):
2024 * eval.c (Ffuncall):
2025 Use the PROFILE_DECLARE macro instead of declaring `struct
2026 backtrace backtrace' by hand.
2027 * profile.h:
2028 * profile.h (PROFILE_EXIT_FUNCTION):
2029 * profile.h (PROFILE_ENTER_FUNCTION):
2030 Check do_backtrace before passing the backtrace structure to
2031 profile_record_about_to_call, profile_record_just_called.
2032
2033 2007-08-28 Aidan Kehoe <kehoea@parhasard.net>
2034
2035 * mule-ccl.c (ccl_driver):
2036 Revert the last change to mule-ccl.c, on objection from SL
2037 Baur. The change to lisp.h in the same commit sufficed.
2038
2039 2007-08-17 Marcus Crestani <crestani@xemacs.org>
2040
2041 * buffer.c (Fkill_buffer):
2042 * objects-tty.c (tty_finalize_color_instance):
2043 * objects-tty.c (tty_finalize_font_instance):
2044 * objects-tty.c (console_type_create_objects_tty):
2045 * syntax.c (uninit_buffer_syntax_cache): Keep functions that do
2046 nothing for NEW_GC instead of removing them.
2047
2048 2007-08-18 Vin Shelton <acs@xemacs.org>
2049
2050 * frame-msw.c (mswindows_init_frame_3): Restore extra call to
2051 ShowWindow so that cygwin's run command can be used to open an
2052 XEmacs session. Without this, no frame appears when the XEmacs
2053 process starts up.
2054
2055 2006-10-26 Nix <nix@esperi.org.uk>
2056
2057 * dumper.c (pdump_load): Statically allocate a large enough
2058 exe_path for all conceivable uses. Fixes a buffer overrun.
2059 * text.h (MAX_XETCHAR_SIZE): Define, for PATH_MAX_EXTERNAL.
2060
2061 2007-08-21 Aidan Kehoe <kehoea@parhasard.net>
2062
2063 * mule-ccl.c (ccl_driver):
2064 Don't pass XCHAR_OR_INT an argument of which the evaluation has
2065 side effects; thank you Mike Fabian.
2066 * lisp.h:
2067 Redundantly, don't multiply evaluate the argument to XCHAR_OR_INT;
2068 this should prevent the same error in the future.
2069
2070 2007-08-17 Marcus Crestani <crestani@xemacs.org>
2071
2072 * mc-alloc.c (L1_INDEX):
2073 * mc-alloc.c (PAGE_SIZE_ALIGNMENT):
2074 * mc-alloc.c (set_bit):
2075 * mc-alloc.c (init_mc_allocator): Use EMACS_UINT with bit
2076 shifting.
2077
2078 2007-08-15 Marcus Crestani <crestani@xemacs.org>
2079
2080 * database.c (dbm_map): Add typecast.
2081 * database.c (dbm_get): Add typecast.
2082 * gc.c (gc_state_type): Declare type.
2083 * objects-tty.c (tty_find_charset_font): Add typecast.
2084 * objects-xlike-inc.c (count_hyphens): Add typecast.
2085 * objects-xlike-inc.c (endif): Add typecast.
2086
2087 2007-08-15 Marcus Crestani <crestani@xemacs.org>
2088
2089 * input-method-xlib.c (EmacsFreeXIMStyles):
2090 * lisp.h:
2091 * process-unix.c (connect_to_file_descriptor):
2092 * process-unix.c (create_bidirectional_pipe):
2093 * process-unix.c (unix_create_process):
2094 * process-unix.c (unix_open_network_stream):
2095 * process-unix.c (unix_open_multicast_group): Convert pointers to
2096 EMACS_INTs instead of ints.
2097 * vdb.c (Ftest_vdb): Print adresses as pointers.
2098
2099 2007-08-14 Marcus Crestani <crestani@xemacs.org>
2100
2101 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
2102
2103 2007-08-15 Marcus Crestani <crestani@xemacs.org>
2104
2105 * buffer.c (Fkill_buffer):
2106 * console-tty.c (free_tty_console_struct):
2107 * device-gtk.c (free_gtk_device_struct):
2108 * device-msw.c (mswindows_delete_device):
2109 * device-msw.c (msprinter_delete_device):
2110 * device-x.c (free_x_device_struct):
2111 * device-x.c (x_delete_device):
2112 * dynarr.c (Dynarr_lisp_realloc):
2113 * dynarr.c (Dynarr_free):
2114 * elhash.c:
2115 * elhash.c (finalize_hash_table):
2116 * elhash.c (resize_hash_table):
2117 * elhash.c (pdump_reorganize_hash_table):
2118 * extents.c (gap_array_delete_marker):
2119 * frame-gtk.c (gtk_delete_frame):
2120 * frame-msw.c (mswindows_delete_frame):
2121 * frame-x.c (x_delete_frame):
2122 * glyphs.c (check_for_ignored_expose):
2123 * mc-alloc.c (mc_realloc_1):
2124 * mc-alloc.h:
2125 * objects-tty.c (tty_finalize_color_instance):
2126 * objects-tty.c (tty_finalize_font_instance):
2127 * objects-tty.c (console_type_create_objects_tty):
2128 * syntax.c:
2129 * syntax.c (uninit_buffer_syntax_cache):
2130 * vdb.c (Ftest_vdb): Remove all calls to mc_free.
2131
2132 2006-12-29 Nix <nix@esperi.org.uk>
2133
2134 * gc.c (recompute_need_to_garbage_collect): Avoid numeric
2135 overflow in percentage calculation.
2136
2137 2007-08-04 Stephen J. Turnbull <stephen@xemacs.org>
2138
2139 * sunpro.c (Fut_log_text): Fix mismatched parentheses, reorganize.
2140 Thanks to Paul Keusemann (for a suggested patch) and Rob McMahon
2141 for reporting the issue.
2142
2143 2007-08-08 Aidan Kehoe <kehoea@parhasard.net>
2144
2145 * eval.c (Feval): Fix, stick with original error messages instead
2146 of referring to the indirected function.
2147
2148 From Sebastian Freundt's mail
2149 nhtfy9sitjf.fsf@muck.math.tu-berlin.de , Tue Jan 30 12:30:07 UTC
2150 2007; complements 18005.16378.980760.860724@parhasard.net .
2151
2152 This reverts the error message when M-: (no-such-function t) RET
2153 is called to the old "Symbol's function definition is void: ..."
2154 rather than the recent "Invalid function: #<INTERNAL OBJECT ..."
2155
2156 2007-07-31 Mike Sperber <mike@xemacs.org>
2157
2158 * file-coding.c (undecided_convert): Kludge to prevent infinite
2159 recursion.
2160 * file-coding.c (detected_coding_system): Change default from
2161 raw-text to binary.
2162
2163 2007-08-04 Aidan Kehoe <kehoea@parhasard.net>
2164
2165 * charset.h:
2166 * charset.h (enum unicode_type):
2167 Add UNICODE_UTF_32.
2168 * lisp.h:
2169 Add Qutf_32.
2170 * lread.c (read_unicode_escape):
2171 Error on an invalid Unicode escape; error on no mapping, as GNU does.
2172
2173 * mule-coding.c:
2174 * mule-coding.c (dynarr_add_2022_one_dimension):
2175 * mule-coding.c (dynarr_add_2022_two_dimensions):
2176 * mule-coding.c (struct iso2022_coding_stream):
2177 * mule-coding.c (decode_unicode_char):
2178 * mule-coding.c (indicate_invalid_utf_8):
2179 * mule-coding.c (iso2022_decode):
2180 * unicode.c:
2181 * unicode.c (struct unicode_coding_stream):
2182 * unicode.c (decode_unicode_char):
2183 * unicode.c (DECODE_ERROR_OCTET):
2184 * unicode.c (indicate_invalid_utf_8):
2185 * unicode.c (encode_unicode_char_1):
2186 * unicode.c (encode_unicode_char):
2187 * unicode.c (unicode_convert):
2188 * unicode.c (unicode_putprop):
2189 * unicode.c (unicode_getprop):
2190 * unicode.c (syms_of_unicode):
2191 Make UTF-8 and UTF-16 handling more robust; indicate error
2192 sequences when decoding, passing the octets as distinct from the
2193 corresponding ISO8859-1 characters, and (by default) writing them
2194 to disk on encoding. Don't accept over-long UTF-8 sequences, codes
2195 >= #x110000, or UTF-16 surrogates on reading in the utf-8 coding
2196 system; represent them as error sequences.
2197
2198 Do accept code points above #x110000 in the ISO IR 196 handling,
2199 since we decode Unicode error sequences to "Unicode" code points
2200 starting at 0x200000, and will need to save them as such in
2201 escape-quoted. Do not accept over-long UTF-8 sequences or UTF-16
2202 surrogates in escape-quoted.
2203
2204 This change means that when a non-UTF-8 file is opened as UTF-8,
2205 one change made, and immediately saved, the non-ASCII characters
2206 are not corrupted. In Europe, this is a distinct win.
2207
2208 Add UCS-4, UTF-32 as coding systems.
2209
2210 2007-07-26 Aidan Kehoe <kehoea@parhasard.net>
2211
2212 * mule-ccl.c (ccl_driver):
2213 op is an integer, not a Lisp_Object; don't use it to temporarily
2214 store a Lisp_Object. This change fixes the union build; thank you
2215 for the report, Robert Delius Royar.
2216
2217 2007-07-23 Aidan Kehoe <kehoea@parhasard.net>
2218
2219 * text.c:
2220 Backslash a parenthesis at the start of a line, for the sake of
2221 our font lock engine.
2222
2223 2007-07-21 Aidan Kehoe <kehoea@parhasard.net>
2224
2225 * elhash.c (struct Lisp_Hash_Table):
2226 * elhash.c (HTENTRY_CLEAR_P):
2227 * elhash.c (find_htentry):
2228 * elhash.h:
2229 * elhash.h (htentry):
2230 Move struct Lisp_Hash_Table, HTENTRY_CLEAR_P, struct htentry to
2231 elhash.h, since mule-ccl.c needs to use them. Ditto adding a
2232 declaration for find_htentry to elhash.h, and removing the static
2233 from its declaration in elhash.c
2234
2235 * file-coding.c:
2236 Add a backslash at the beginning of a line starting with a
2237 parenthesis, for the sake of our font lock engine.
2238
2239 * mule-ccl.c:
2240 * mule-ccl.c (CCL_LookupIntConstTbl):
2241 * mule-ccl.c (CCL_WRITE_STRING):
2242 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P):
2243 Fix a bug where the charset ID of ASCII was not recognised as
2244 being a possible leading byte.
2245 * mule-ccl.c (CCL_MAKE_CHAR):
2246 Take Mule character arguments in the same format as GNU.
2247 * mule-ccl.c (CCL_DEBUG):
2248 * mule-ccl.c (ccl_driver):
2249 * mule-ccl.c (resolve_symbol_ccl_program):
2250 * mule-ccl.c (Fccl_execute):
2251 * mule-ccl.c (vars_of_mule_ccl):
2252 Add Dave Love's hash table lookup CCL code, which has been in GNU
2253 for years.
2254
2255 Move mule-to-unicode to accept its argument in the same format as
2256 write-multibyte-character.
2257
2258 Move to accepting characters as well as integers in lots of
2259 places; with XEmacs (and even with GNU Emacs), where the
2260 character-integer map is not constant from one invocation to the
2261 next, it makes sense for CCL programs with character literals to
2262 accept those literals as characters, not integers.
2263
2264 If we're a debug build, allow access to ccl-program-table from
2265 Lisp, which can make debugging things easier.
2266
2267 Take out font-ccl-encoder-alist, since it was never implemented,
2268 and was not ever a stellar idea.
2269
2270 Provide translation-hash-table-vector, as in GNU.
2271
2272 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
2273
2274 * event-unixoid.c (event_stream_unixoid_create_io_streams):
2275 * process-unix.c (unix_init_process_io_handles):
2276 Cast out bogus warnings about 64-bit value truncation.
2277
2278 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
2279
2280 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
2281 a typo fix.
2282
2283 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
2284
2285 * sysdep.h (environ): Needs to be in C_DECLS for C++ build.
2286
2287 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
2288
2289 * compiler.h: Try to use USED with more compilers. Thanks, Jerry!
2290
2291 2007-06-22 Aidan Kehoe <kehoea@parhasard.net>
2292
2293 * eval.c (restore_int):
2294 * eval.c (record_unwind_protect_restoring_int):
2295 Conditionalise the munging of a C integer into a void pointer on
2296 whether it's necessary at compile time, using INT_VALBITS (which
2297 describes how many value bits a Lisp integer has) and INTBITS
2298 (describing how many value bits a C integer has).
2299
2300 2007-05-24 Aidan Kehoe <kehoea@parhasard.net>
2301
2302 * eval.c (Feval):
2303 Small optimisations from Sebastian Freundt's SXEmacs work; don't
2304 do the unnecessary book-keeping in the trivial cases, only look
2305 for an indirect function if the stored function is a bound
2306 symbol.
2307
2308 2007-05-24 Aidan Kehoe <kehoea@parhasard.net>
2309
2310 * free-hook.c (check_free):
2311 * lisp.h:
2312 * lisp.h (xfree):
2313 Inspired by some of Sebastian Freundt's SXEmacs work, use a 64-bit
2314 constant on 64-bit platforms when making sure pointers haven't
2315 been freed twice.
2316
2317 2007-05-22 Ville Skyttä <scop@xemacs.org>
2318
2319 * Makefile.in.in ($(LISP)/finder-inf.el): Set lisp-directory
2320 to $(LISP) to ensure we're working with the correct finder*.
2321
2322 2007-05-21 Stephen J. Turnbull <stephen@xemacs.org>
2323
2324 * XEmacs 21.5.28 "fuki" is released.
2325
2326 2007-05-13 Adrian Aichner <adrian@xemacs.org>
2327
2328 * abbrev.c: Sort abbreviations by name, similar to GNU Emacs.
2329 * abbrev.c (write_abbrev): Losely ported from GNU Emacs.
2330 * abbrev.c (describe_abbrev): Ditto.
2331 * abbrev.c (Finsert_abbrev_table_description): Ditto.
2332
2333 2007-05-03 Vin Shelton <acs@xemacs.org>
2334
2335 * dumper.c (pdump): Don't close an already-closed file
2336 descriptor. Patch from Steve Higham.
2337
2338 2007-05-17 Vin Shelton <acs@xemacs.org>
2339
2340 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
2341 64-bit linux. Pathc from Hans de Graaff.
2342
2343 2007-05-18 Stephen J. Turnbull <stephen@xemacs.org>
2344
2345 * config.h.in (ERROR_CHECK_BYTE_CODE): Alphabetize ERROR_CHECK_*.
2346
2347 2007-04-30 Aidan Kehoe <kehoea@parhasard.net>
2348
2349 * unicode.c:
2350 * unicode.c (encode_unicode_char_1):
2351 * unicode.c (unicode_convert):
2352 Support non-BMP characters in UTF-16.
2353
2354 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
2355
2356 * event-Xt.c (x_reset_modifier_mapping):
2357 * event-gtk.c (gtk_reset_modifier_mapping):
2358 Zero out the device's modifier map once we've freed it, to prevent
2359 a double free on a re-entrant call.
2360
2361 2007-05-01 Stephen J. Turnbull <stephen@xemacs.org>
2362
2363 * font-mgr.c (Qfontsetp): Remove unused declaration.
2364
2365 * font-mgr.c (xft-version): Make it a DEFVAR_CONST_INT.
2366
2367 * font-mgr.c (fc-version): New: fontconfig.h version.
2368
2369 2007-01-02 Aidan Kehoe <kehoea@parhasard.net>
2370
2371 * faces.c:
2372 * faces.c (syms_of_faces):
2373 * faces.c (complex_vars_of_faces):
2374 New symbol and corresponding specifier tag,
2375 x-coverage-instantiator, used to group those fonts used for their
2376 extensive coverage for obscure characters in x-faces.el.
2377
2378 2007-04-16 Stephen J. Turnbull <stephen@xemacs.org>
2379
2380 * redisplay-x.c (separate_textual_runs_nomule): Oops. We agreed
2381 that memcpy didn't work, and used it anyway. Fix it.
2382
2383 2007-04-15 Stephen J. Turnbull <stephen@xemacs.org>
2384
2385 * font-mgr.c (DestroyFontsetP): New enum.
2386 * font-mgr.c (fontset_to_list): Add destroyp argument of that type.
2387 * font-mgr.c (Ffc_font_list): Add argument.
2388 * font-mgr.c (Ffc_font_sort): Add argument.
2389
2390 * font-mgr.h (fc_config): Declare new Lisp object type.
2391 * font-mgr.c (print_fc_config):
2392 * font-mgr.c (finalize_fc_config):
2393 * font-mgr.c (fc_config_p):
2394 * font-mgr.c (Qfc_configp):
2395 Implement it.
2396 * font-mgr.c (syms_of_font_mgr):
2397 * font-mgr.c (complex_vars_of_font_mgr):
2398 * lrecord.h (lrecord_type_fc_config):
2399 Initialize it.
2400
2401 * font-mgr.c (fc_config_create_using): New helper function.
2402 * font-mgr.c (FCSTRLIST_TO_LISP_USING): New helper macro.
2403 * font-mgr.c (Vfc_config_weak_list): Manage references to FcConfigs.
2404
2405 * font-mgr.c (Ffc_get_version):
2406 * font-mgr.c (Ffc_config_create):
2407 * font-mgr.c (Ffc_config_get_current):
2408 * font-mgr.c (Ffc_config_set_current):
2409 * font-mgr.c (Ffc_config_up_to_date):
2410 * font-mgr.c (Ffc_config_build_fonts):
2411 * font-mgr.c (Ffc_config_get_config_dirs):
2412 * font-mgr.c (Ffc_config_get_font_dirs):
2413 * font-mgr.c (Ffc_config_get_config_files):
2414 * font-mgr.c (Ffc_config_get_cache):
2415 * font-mgr.c (Ffc_config_get_rescan_interval):
2416 * font-mgr.c (Ffc_config_set_rescan_interval):
2417 * font-mgr.c (Ffc_config_app_font_add_file):
2418 * font-mgr.c (Ffc_config_app_font_add_dir):
2419 * font-mgr.c (Ffc_config_app_font_clear):
2420 * font-mgr.c (Ffc_config_filename):
2421 * font-mgr.c (Ffc_init_load_config):
2422 * font-mgr.c (Ffc_init_load_config_and_fonts):
2423 * font-mgr.c (Ffc_init):
2424 * font-mgr.c (Ffc_init_reinitialize):
2425 Implemented operations.
2426
2427 * font-mgr.c (Ffc_config_destroy):
2428 * font-mgr.c (Ffc_config_get_blanks):
2429 Stub operations.
2430
2431 2007-04-15 Stephen J. Turnbull <stephen@xemacs.org>
2432
2433 * font-mgr.c: Update FSF copyrights.
2434
2435 * font-mgr.c (print_fc_pattern): New facility for fc-pattern
2436 objects. Comment on need/implementation for equal/hash.
2437
2438 * font-mgr.c (build_fcapi_string): New convenience macro.
2439 * font-mgr.c (Ffc_name_unparse):
2440 * font-mgr.c (Ffc_pattern_get):
2441 Use it.
2442
2443 * font-mgr.c (Ffc_name_parse):
2444 * font-mgr.c (Ffc_font_match):
2445 Remove incorrect comments about memory leaks.
2446
2447 2007-04-01 Stephen J. Turnbull <stephen@xemacs.org>
2448
2449 Thanks to OG for review and Aidan Kehoe for useful comments.
2450
2451 * redisplay-x.c (separate_textual_runs_mule): Reorganize and document.
2452
2453 (separate_textual_runs):
2454 (separate_textual_runs_mule):
2455 (separate_textual_runs_xft_nomule):
2456 Update or add "theory of operation" header comments.
2457
2458 (separate_textual_runs_xft_mule): Trailing whitespace removal.
2459
2460 2007-03-30 Olivier Galibert <galibert@pobox.com>
2461
2462 * redisplay-x.c (separate_textual_runs_xft_mule): Create.
2463 (separate_textual_runs_xft_nomule): Create.
2464 (separate_textual_runs_mule): Create.
2465 (separate_textual_runs_nomule): Create.
2466 (separate_textual_runs): Split the ifdef mess into 4 separate
2467 functions and simplify each.
2468
2469 2007-03-26 Stephen J. Turnbull <stephen@xemacs.org>
2470
2471 * chartab.c (Fcopy_char_table): Use EQ, not ==.
2472
2473 2007-03-24 Olivier Galibert <galibert@pobox.com>
2474
2475 * chartab.c (Fcopy_char_table): Simplify the mirror table
2476 handling: never copy a mirror table, just make a new one and mark
2477 it dirty. Fixes http://article.gmane.org/gmane.emacs.xemacs.beta/17353
2478
2479 2007-01-22 Stephen J. Turnbull <stephen@xemacs.org>
2480
2481 * eval.c (quote):
2482 (function):
2483 * fns.c (Frequire):
2484 Improve docstrings.
2485
2486 2007-02-21 Stephen J. Turnbull <stephen@xemacs.org>
2487
2488 * objects-tty.c (tty_font_spec_matches_charset): Use Aidan's enum.
2489
2490 * objects-xlike-inc.c (xft_find_charset_font): FC_WIDTH is obsolete
2491 and may be undefined.
2492
2493 * sysdll.c (image_for_address): const cleanliness for Darwin.
2494
2495 * fileio.c (Finsert_file_contents_internal): Remove unused gcpro5.
2496
2497 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
2498
2499 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
2500 (png_instantiate): Initialize setjmp_buffer early, and avoid
2501 recursive entry to error handler.
2502
2503 2007-02-19 Stephen J. Turnbull <stephen@xemacs.org>
2504
2505 * specifier.c (Fdevice_matching_specifier_tag_list):
2506 Don't take XCDR of possible non-cons. Avoids crash in VM introduced
2507 or unmasked by Aidan's 2007-02-06 patch.
2508
2509 (setup_device_initial_specifier_tags): Nuke unused variable.
2510
2511 2007-02-18 Stephen J. Turnbull <stephen@xemacs.org>
2512
2513 Code by Mike FABIAN <mfabian@suse.de>, Takashi Iwai <tiwai@suse.de>.
2514 See xemacs-beta <s3thctmf46c.fsf@magellan.suse.de>. Thanks!
2515 Documentation marshalled by me.
2516
2517 * select-x.c (x_get_window_property):
2518 The buffer for property data in 32-bit format is an array of longs,
2519 which need not be 32-bit. Compute residual from partial reads and
2520 buffer sizes correctly for sizeof(long) == 8.
2521
2522 * select-common.h: Refer to documentation in select-x.c.
2523
2524 2007-02-16 Stephen J. Turnbull <stephen@xemacs.org>
2525
2526 * config.h.in: Move CANNA_NEW_WCHAR_AWARE here from canna_api.c.
2527 Remove crufty CANNA2 define, we can't support CANNA1 (IROHA).
2528
2529 2007-02-06 Aidan Kehoe <kehoea@parhasard.net>
2530
2531 * specifier.c (setup_device_initial_specifier_tags):
2532 Fix a bug where the mswindows specifier tag was matching X11
2533 devices, because the format of the DEVICE_USER_SPECIFIED_TAGS list
2534 wasn't being respected correctly.
2535
2536 2007-02-06 Aidan Kehoe <kehoea@parhasard.net>
2537
2538 * mule-charset.c (complex_vars_of_mule_charset):
2539 iso8859-2 is not the X11 charset registry for the iso8859-4
2540 charset, my mistake.
2541
2542 2007-02-05 Mike Sperber <mike@xemacs.org>
2543
2544 * fileio.c (Finsert_file_contents_internal): Clean up dead
2545 `handler' variable.
2546
2547 2007-01-27 Mike Sperber <mike@xemacs.org>
2548
2549 * faces.c (complex_vars_of_faces): Move declarations of fontptr
2550 and fonts out of #ifdef MULE, unbreaking the non-MULE Xft build.
2551
2552 2007-01-20 Aidan Kehoe <kehoea@parhasard.net>
2553
2554 * eval.c:
2555 Document in more detail what happens with byte-compilation,
2556 `function', and `quote'.
2557 * fns.c:
2558 Mention that `require' is evaluated both at byte-compile time and
2559 at runtime.
2560
2561 2007-01-06 Vin Shelton <acs@xemacs.org>
2562
2563 * fileio.c (check_writable): Check old-style readonly bit first.
2564
2565 2006-12-21 Aidan Kehoe <kehoea@parhasard.net>
2566
2567 * file-coding.c:
2568 Update the make-coding-system docstring to reflect unicode-type
2569 * general-slots.h:
2570 New symbol, unicode-type, since 'type was being overridden when
2571 accessing a coding system's Unicode subtype.
2572 * intl-win32.c:
2573 Backslash a few parentheses, to help fontification along.
2574 * intl-win32.c (complex_vars_of_intl_win32):
2575 Use the 'unicode-type symbol, not 'type, when creating the
2576 Microsoft Unicode coding system.
2577 * unicode.c (unicode_putprop):
2578 * unicode.c (unicode_getprop):
2579 * unicode.c (unicode_print):
2580 Using 'type as the property name when working out what Unicode
2581 subtype a given coding system is was broken, since there's a
2582 general coding system property called 'type. Change the former to
2583 use 'unicode-type instead.
2584
2585 2006-12-27 Malcolm Purvis <malcolmp@xemacs.org>
2586
2587 * s/linux.h: Enable SYSTEM_MALLOC on ppc64, alpha and ia64
2588 systems.
2589
2590 2006-12-17 Aidan Kehoe <kehoea@parhasard.net>
2591
2592 * faces.c (complex_vars_of_faces):
2593 Don't use server-side fallbacks when building with XFT support.
2594
2595 2006-12-06 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
2596
2597 * config.h.in: New HAVE_U_INT*_T defines.
2598 * database.c: Only use u_int*_t typedefs if not already
2599 defined.
2600
2601 2006-12-08 Aidan Kehoe <kehoea@parhasard.net>
2602
2603 * specifier.c (charset_matches_specifier_tag_set_p):
2604 A charset's entry in Vcharset_tag_lists may be nil, if, when that
2605 charset was created, no tags with associated charset predicates
2606 existed. Accept this possibility, treat it as the tag not matching
2607 that charset.
2608
2609 2006-12-11 Aidan Kehoe <kehoea@parhasard.net>
2610
2611 * event-tty.c:
2612 * event-tty.c (emacs_tty_event_pending_p):
2613 * event-tty.c (reinit_vars_of_event_tty):
2614 Pay attention to the dispatch event queue, and input pending
2615 signals in emacs_tty_event_pending_p. Makes pure TTY builds more
2616 responsive.
2617
2618 2006-12-11 Aidan Kehoe <kehoea@parhasard.net>
2619
2620 * glyphs-eimage.c (png_warning_func):
2621 * glyphs-eimage.c (png_instantiate):
2622 * glyphs-eimage.c (tiff_warning_func):
2623 Decode external binary data as such before passing it to
2624 warn_when_safe().
2625
2626 2006-12-09 Vin Shelton <acs@xemacs.org>
2627
2628 * sound.c (init_native_sound): Fix typo in call to GTK_DEVICE
2629 macro.
2630
2631 2006-12-07 Vin Shelton <acs@xemacs.org>
2632
2633 * fileio.c: Added cast to qxeGetNamedSecurityInfofix call to fix
2634 VC6 build.
2635
2636 2006-11-24 Benson Margulies <benson@dchbk.us>
2637
2638 * fileio.c: Change check_writable to use the full Win32 mechanism
2639 to check access.
2640 * intl-auto-encap-win32.c: Add GetNamedSecurityInfo
2641 * intl-auto-encap-win32.h: Add GetNamedSecurityInfo
2642 * intl-auto-encap-win32.h Add qxeGetNamedSecurityInfo.
2643 * intl-encap-win32.c: Add aclapi.h : GetNamedSecurityInfo
2644 * syswindows.h: Add aclapi.h
2645
2646 2006-12-06 Aidan Kehoe <kehoea@parhasard.net>
2647
2648 * text.c (Fsplit_char):
2649 Make split-char available on non-Mule builds, taking out a
2650 superfluous call to get-charset to make that possible.
2651
2652 2006-11-30 Mike Sperber <mike@xemacs.org>
2653
2654 * fileio.c (Finsert_file_contents_internal): Don't call the
2655 file-name handler for `insert-file-contents' from here, which is
2656 too late. Instead, do it from Lisp.SSper
2657
2658 2006-11-29 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
2659
2660 * sysdir.h: Revert workaround missing d_ino field from 'struct
2661 dirent' for Cygwin as it's back in again.
2662
2663 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
2664
2665 * mule-charset.c (Fset_charset_registries):
2666 Add an optional argument FORCE, to allow specifying badly-formed
2667 CHARSET_REGISTRY-CHARSET_ENCODING combinations. Re-enables the
2668 sort of hacks described in 96wt67fa3f.fsf@mo.msk.ru from Ilya
2669 Golubev.
2670
2671 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
2672
2673 * sound.c (init_native_sound):
2674 Only X11 and GTK devices can possibly not be on the console of the
2675 associated machine. Fixes a crash when init_native_sound is called
2676 on a msprinter device.
2677
2678 2006-11-28 Aidan Kehoe <kehoea@parhasard.net>
2679
2680 * device-x.c:
2681 * device-x.c (coding_system_of_xrm_database):
2682 Cache the last db argument and resulting coding system, and return
2683 them--instead of calling Lisp--if the DB is the same pointer
2684 arument as last time.
2685 * faces.c (default_face_font_info):
2686 * window.c (window_displayed_height):
2687 Behave more gracefully if called when we have no information about
2688 the dimensions of the default face and window.
2689
2690 2006-11-28 Aidan Kehoe <kehoea@parhasard.net>
2691
2692 * doprnt.c (emacs_doprnt_1):
2693 Ibyte -> Ascbyte, for the sake of the MSVC build. Thank you Vin.
2694
2695 2006-11-28 Aidan Kehoe <kehoea@parhasard.net>
2696
2697 * doprnt.c (emacs_doprnt_1):
2698 Integrate Sebastian Freundt's SXEmacs bug fix for cases where a
2699 format specifier overflows the allocated buffer with a float
2700 format string.
2701
2702 2006-11-23 Robert Pluim <rpluim@gmail.com>
2703
2704 * sysdep.c (strlwr): Don't intermix declarations and code.
2705 (wcslen): ditto
2706
2707 2006-11-23 Aidan Kehoe <kehoea@parhasard.net>
2708
2709 * mule-coding.c (iso2022_decode):
2710 Only take the lower seven bits of any eight-bit character that
2711 would be illegal in UTF-8, when handling ISO/IR 196 escapes.
2712
2713 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
2714
2715 * buffer.c (buffer-file-name): Document invariant.
2716 (buffer-file-truename): Sync wording to buffer-file-name.
2717 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
2718 and discussion.
2719
2720 2006-11-20 Aidan Kehoe <kehoea@parhasard.net>
2721
2722 * mule-ccl.c (CCL_MAKE_CHAR):
2723 * mule-ccl.c (ccl_driver):
2724 Eliminate a CCL bug with control-1 chars and
2725 write-multibyte-character--thank you for the report, Ilya--and
2726 eliminate a crash when a non-existent charset ID is specified for
2727 a mule-to-unicode call.
2728
2729 2006-11-18 Mike Sperber <mike@xemacs.org>
2730
2731 * redisplay-x.c (separate_textual_runs): Don't try to call
2732 ichar_to_unicode on non-MULE.
2733
2734 2006-11-18 Mike Sperber <mike@xemacs.org>
2735
2736 * window.c (window_pixel_height_to_char_height): Cater to the
2737 possibility that defheight may be 0.
2738
2739 2006-11-15 Aidan Kehoe <kehoea@parhasard.net>
2740
2741 * mule-charset.c:
2742 * mule-charset.c (Fcharsets_in_region):
2743 Added a charsets-in-region implementation in C.
2744
2745 2006-11-14 Aidan Kehoe <kehoea@parhasard.net>
2746
2747 * objects-xlike-inc.c (x_find_charset_font):
2748 Move the warn_when_safe call to where GCing is irrelevant; as
2749 things are it doesn't GC, but I'm more comfortable without that
2750 being relevant.
2751 * specifier.c (define_specifier_tag):
2752 Remove a couple of lines added for the sake of debugging; add a
2753 GCPRO1 for the allocated vector, since the call_trapping_problems
2754 can GC.
2755
2756 2006-11-12 Aidan Kehoe <kehoea@parhasard.net>
2757
2758 * charset.h:
2759 * mule-charset.c (set_charset_registries):
2760 Provide a C-accessible version of set-charset-registries that
2761 doesn't error. Called from x_find_charset_font.
2762
2763 * faces.c (ensure_face_cachel_contains_charset):
2764 Correct my spelling.
2765
2766 * faces.c (update_EmacsFrame):
2767 Don't update the frame if it isn't live.
2768
2769 * faces.h:
2770 Add some documentation on FACE_FONT.
2771
2772 * frame-gtk.c (gtk_update_frame_external_traits):
2773 * frame-x.c (x_update_frame_external_traits):
2774 In the event that FACE_FONT has deleted the frame, don't
2775 manipulate it further in update_frame_external_traits.
2776
2777 * mule-charset.c:
2778
2779 * mule-charset.c (Fset_charset_registries):
2780 Don't allow XLFD wildcards in charset registries. Call the
2781 factored-out C-callable version instead of implementing the guts
2782 of the function here.
2783
2784 * objects-gtk.c:
2785 #include "charset.h"
2786
2787 * objects-xlike-inc.c (x_find_charset_font,
2788 gtk_find_charset_font): In the event that the charset is ASCII and
2789 we haven't matched anything up to now, even with a pattern of "*",
2790 add "iso8859-1" to the charset's registry and try again.
2791
2792 * window.c (window_pixel_width_to_char_width):
2793 The default width of a face may be zero; only divide by it if it's
2794 nonzero.
2795
2796 2006-11-11 Aidan Kehoe <kehoea@parhasard.net>
2797
2798 * specifier.c:
2799 Update the specifier-matching-instance documentation to reflect
2800 the new format of font-specifier MATCHSPECs.
2801
2802 2006-11-11 Aidan Kehoe <kehoea@parhasard.net>
2803
2804 * specifier.c:
2805 VM calls device-matching-specifier-tag-list; my taking it out of
2806 non-debug builds was misjudged, this change puts it back in. I've
2807 also reverted a couple of incidental and wrong whitespace changes.
2808
2809 2006-11-09 Aidan Kehoe <kehoea@parhasard.net>
2810
2811 * specifier.c (specifier_instance_from_inst_list):
2812 Accept symbols as well as charset objects as the cons of a
2813 font-related specifier matchspec. Thank you Ilya.
2814
2815 2006-11-07 Aidan Kehoe <kehoea@parhasard.net>
2816
2817 * mule-charset.c:
2818 Take the Qfinal declaration out of mule-charset.c; fixes the MSVC
2819 build. Sorry Vin!
2820
2821 2006-11-06 Aidan Kehoe <kehoea@parhasard.net>
2822
2823 * mule-charset.c (Fmake_charset):
2824 * objects-msw.c (mswindows_font_spec_matches_charset):
2825 * specifier.c (syms_of_specifier):
2826 Three changes to prevent the build dying with MSVC and with
2827 DEBUG_XEMACS turned off--thank you Vin.
2828
2829 2006-11-05 Aidan Kehoe <kehoea@parhasard.net>
2830
2831 * charset.h:
2832 Prefer the charset-registries property to the charset-registry
2833 property; accept the latter for compatibility, warning when its
2834 regexp functionality is used.
2835
2836 * charset.h (XCHARSET_CCL_PROGRAM):
2837 * charset.h (XCHARSET_NAME):
2838 Make dummy versions of these available in non-Mule.
2839
2840 * console-impl.h:
2841 * console-impl.h (struct console_methods):
2842 Rename the last parameter to a couple of methods; reformat their
2843 declarations.
2844
2845 * faces.c:
2846 * faces.c (face_property_matching_instance):
2847 * faces.c (ensure_face_cachel_contains_charset):
2848 * faces.c (merge_face_cachel_data):
2849 * faces.c (reset_face_cachel):
2850 * faces.c (mark_face_cachels_as_not_updated):
2851 * faces.c (syms_of_faces):
2852 * faces.c (vars_of_faces):
2853 * faces.c (complex_vars_of_faces):
2854 Provide a DEBUG_FACES macro; use it to make debugging output
2855 available in debug builds.
2856 Implement multi-stage font lookup, assigning the stages names, not
2857 numbers.
2858 Re-implement the cachel->font_specified cache using the
2859 infrastructure for Lisp bit vectors.
2860
2861 * faces.h:
2862 * faces.h (struct face_cachel):
2863 * faces.h (FACE_CACHEL_FONT_UPDATED):
2864 * faces.h (FACE_FONT):
2865 Re-implement the cachel->font_specified cache using the
2866 infrastructure for Lisp bit vectors.
2867
2868 * font-mgr.h:
2869 Move some XFT debug macros here from objects-x.c.
2870
2871 * general-slots.h:
2872 Provide a few new symbols for the multi-stage font resolution
2873 process.
2874
2875 * intl.c (init_intl):
2876 Correct a comment.
2877
2878 * lisp.h:
2879 Provide a macro to declare an inline lisp bit vector where the
2880 size is fixed.
2881 Make Qregistries available all over, not Qregistry.
2882
2883 * mule-charset.c:
2884 * mule-charset.c (mark_charset):
2885 * mule-charset.c (print_charset):
2886 * mule-charset.c (make_charset):
2887 * mule-charset.c (Fmake_charset):
2888 * mule-charset.c (Fcharset_property):
2889 * mule-charset.c (Fset_charset_ccl_program):
2890 * mule-charset.c (syms_of_mule_charset):
2891 * mule-charset.c (complex_vars_of_mule_charset):
2892 * mule-charset.c (CHINESE_CNS_PLANE):
2893 Prefer the charset-registries property to the charset-registry
2894 property; accept the latter for compatibility, warning when its
2895 regexp functionality is used.
2896
2897 * objects-gtk.c:
2898 * objects-gtk.c (gtk_font_spec_matches_charset):
2899 * objects-gtk.c (gtk_find_charset_font):
2900 * objects-msw.c (mswindows_find_charset_font):
2901 * objects-tty.c (tty_find_charset_font):
2902 Redeclare various functions to work with the multi-stage lookup
2903 process. Include objects-xlike-inc.
2904
2905 * objects-x.c:
2906 Provide a DEBUG_OBJECTS macro; use it to make debugging output
2907 available in debug builds.
2908
2909 * objects-x.c (x_initialize_font_instance):
2910 * objects-x.c (x_print_font_instance):
2911 * objects-x.c (xlistfonts_checking_charset):
2912 * objects-x.c (vars_of_objects_x):
2913 Don't regex match on the output of XListFonts; instead, use the
2914 fixed strings of the charset-registries to comparatively limit the
2915 IPC that will happen. Include objects-xlike-inc.c
2916
2917 * objects-xlike-inc.c:
2918 * objects-xlike-inc.c (count_hyphens):
2919 New. How many ASCII minus characters in a string?
2920
2921 * objects-xlike-inc.c (xlistfonts_checking_charset):
2922 * objects-xlike-inc.c (mule_to_fc_charset):
2923 * objects-xlike-inc.c (xft_find_charset_font):
2924 * objects-x.c (x_find_charset_font):
2925 Move some methods here to share them with GTK.
2926
2927 * objects.c (print_font_instance):
2928 * objects.c (font_spec_matches_charset):
2929 * objects.c (font_validate_matchspec):
2930 * objects.c (font_instantiate):
2931 Redeclare some methods to take enums rather than numeric stages.
2932
2933 * objects.h (EXFUN):
2934 Make Fregexp_quote available to mule-charset.c
2935
2936 * redisplay-x.c:
2937 * redisplay-x.c (separate_textual_runs):
2938 Make this slightly faster, cleaner. Make it accept a face cachel
2939 pointer argument, and check it as to whether a given charset
2940 should be translated to UCS-2 before redisplay.
2941
2942 * specifier.c:
2943 * specifier.c (charset_matches_specifier_tag_set_p):
2944 * specifier.c (define_specifier_tag):
2945 * specifier.c (Fdefine_specifier_tag):
2946 * specifier.c (setup_device_initial_specifier_tags):
2947 * specifier.c (setup_charset_initial_specifier_tags):
2948 * specifier.c (specifier_instance_from_inst_list):
2949 * specifier.c (syms_of_specifier):
2950 * specifier.c (vars_of_specifier):
2951 * specifier.h:
2952 Extend specifiers to allow limiting their applicability by using
2953 charset predicates. Document this.
2954 Run indent-region on the file, at Stephen's suggestion.
2955
2956 * unicode.c (unicode_to_ichar):
2957 * unicode.c (syms_of_unicode):
2958 * unicode.c (vars_of_unicode):
2959 Use unicode-registries, a dumped vector, as the charset-registries
2960 of the on-the-fly JIT charsets.
2961
2962 2006-11-01 Adrian Aichner <adrian@xemacs.org>
2963
2964 * sysdep.c (wcslen): Check for NULL pointer.
2965 * sysdep.c (strlwr): Ditto.
2966 * nt.c (mswindows_getdcwd): Ditto (actual cause of reported
2967 crash).
2968 * intl-win32.c (wcscmp): Ditto.
2969 * intl-win32.c (wcslen): Ditto.
2970 * intl-win32.c (wcsncpy): Ditto.
2971 * intl-win32.c (wcscpy): Ditto.
2972 * intl-win32.c (wcsdup): Ditto.
2973 * fileio.c (Ffile_name_directory): Return Qnil when
2974 mswindows_getdcwd returns NULL working directory.
2975
2976 2006-10-30 Malcolm Purvis <malcolmp@xemacs.org>
2977
2978 * device-x.c (x_init_device): Look in more directories when
2979 searching for the locale specific app-defaults files.
2980
2981 2006-10-28 Aidan Kehoe <kehoea@parhasard.net>
2982
2983 * event-xlike-inc.c:
2984 Rework the X11 keysym support to allow the use of Cyrillic keysyms
2985 that are not in ISO-8859-5.
2986
2987 2006-10-27 Aidan Kehoe <kehoea@parhasard.net>
2988
2989 * fileio.c (Finsert_file_contents_internal) : Clarify that we
2990 follow a more correct but more expensive design for buffers where
2991 the on-disk representation doesn't correspond directly to the
2992 XEmacs internal representation.
2993
2994 2006-08-29 Stephen J. Turnbull <stephen@xemacs.org>
2995
2996 * eval.c (Fcatch): Correct syntax of `throw' in docstring.
2997
2998 * cmds.c (Fforward_line): Document that return can be negative.
2999
3000 2006-08-11 Stephen J. Turnbull <stephen@xemacs.org>
3001
3002 * frame.c (mouse-motion-handler): Document relation to hooks.
3003
3004 2006-08-24 Aidan Kehoe <kehoea@parhasard.net>
3005
3006 * console-tty-impl.h (struct tty_console):
3007 New flag; multiple_width, specifying whether East Asian characters
3008 take up two columns on this terminal. The macro to access it
3009 expands to a constant under non-Mule, so anything conditionalising
3010 on it will be optimised away.
3011
3012 * console-tty.c:
3013 * console-tty.c (tty_init_console):
3014 Initialise tty_con->multiple_width; zero on non-Mule, one on Mule.
3015
3016 * console-tty.c (Fconsole_tty_multiple_width): New.
3017 * console-tty.c (Fset_console_tty_multiple_width): New.
3018 * console-tty.c (syms_of_console_tty): Make them available outside
3019 console-tty.c.
3020
3021 * redisplay-tty.c (tty_text_width):
3022 * redisplay-tty.c (tty_output_ibyte_string):
3023 Check that the relevant console has multiple-width characters
3024 before using something other than the number of characters in a
3025 string for the text width of that string.
3026
3027 * text.c:
3028 * text.c (ibyte_string_displayed_columns):
3029 * text.c (ichar_string_displayed_columns):
3030 Remove some Mule conditionals; add some sanity-checking.
3031
3032 2006-08-23 Aidan Kehoe <kehoea@parhasard.net>
3033
3034 * syntax.c (complex_vars_of_syntax):
3035 Guillemets are now punctuation, not parentheses. AucTeX does this,
3036 and it's infinitely less annoying if you're dealing with German
3037 text or mixed German and French.
3038
3039 2006-08-03 Jerry James <james@xemacs.org>
3040
3041 * keymap.c (where_is_recursive_mapper): Use the freshly allocated
3042 storage instead of leaking it.
3043
3044 2006-08-06 Aidan Kehoe <kehoea@parhasard.net>
3045
3046 * doc.c (Fsnarf_documentation):
3047 Add an assertion and a comment, rather than crashing in the
3048 76584th call of hash_string when someone's using a DOC file that
3049 doesn't conform to format.
3050
3051 2006-08-05 Aidan Kehoe <kehoea@parhasard.net>
3052
3053 * syntax.c (complex_vars_of_syntax):
3054 String literals are char[], not unsigned char[]. Cast them when
3055 passing to a function that takes UExtbyte *.
3056
3057 2006-08-05 Aidan Kehoe <kehoea@parhasard.net>
3058
3059 * lread.c (read_unicode_escape):
3060 Refactor this code out from read_escape, since it's now called
3061 from read_string as well.
3062 * lread.c (read_escape):
3063 Call read_unicode_escape instead of using inline code,
3064 * lread.c (read_string):
3065 Refactor out from read1, provide raw and honor_unicode options.
3066 * lread.c (read_raw_string):
3067 Added, a function that calls read_string with the correct
3068 arguments for a raw string.
3069 * lread.c (read1):
3070 Pass raw strings to read_raw_string; pass strings to read_string.
3071
3072 2006-08-04 Aidan Kehoe <kehoea@parhasard.net>
3073
3074 * event-tty.c (emacs_tty_next_event):
3075 Check dispatch_event_queue for pending events, since we add to
3076 that in drain_tty_devices(). Fixes dropped key sequences on TTY
3077 builds.
3078
3079 2006-08-04 Aidan Kehoe <kehoea@parhasard.net>
3080
3081 * syntax.c (Fsyntax_table_p):
3082 Make the docstring better reflect the code.
3083 * syntax.c (define_standard_syntax):
3084 Take a const UExtbyte * as the first argument, not a const char *
3085
3086 * syntax.c (complex_vars_of_syntax):
3087 Use a macro instead of repeating code; don't redundantly set the
3088 syntax of the alphanumeric characters to ?w; define syntax for
3089 Latin 1 characters here instead of in Lisp; guillemets are string
3090 delimiters, not parentheses.
3091
3092
3093 2006-07-18 Marcus Crestani <crestani@xemacs.org>
3094
3095 * .cvsignore: Add .dbxrc.in and .gdbinit.in.
3096
3097 2006-07-18 Marcus Crestani <crestani@xemacs.org>
3098
3099 * gc.c (kkcc_backtrace): Print adresses as pointers.
3100 * vdb-posix.c (vdb_fault_handler): Print adresses as pointers.
3101
3102 2006-07-18 Marcus Crestani <crestani@xemacs.org>
3103
3104 * alloc.c: Fix typo in string_direct_data_description.
3105
3106 2006-07-07 Jerry James <james@xemacs.org>
3107
3108 * sound.c (init_native_sound): Make the target of a strcpy be
3109 exactly the right size to hold the copied string.
3110
3111 2006-07-08 Aidan Kehoe <kehoea@parhasard.net>
3112
3113 * lisp.h:
3114 * redisplay.c (add_octal_runes):
3115 * syntax.h:
3116 * text.c
3117 Change some comments to reflect a 21-bit character space.
3118 * text.c (non_ascii_valid_ichar_p):
3119 Check that no character value is greater than 2^^21, not
3120 2^^19. This fixes the Mule build when error-checking is turned on.
3121
3122 2006-07-08 Aidan Kehoe <kehoea@parhasard.net>
3123
3124 * symbols.c (Fsubr_name):
3125 Use the CHECK_SUBR macro instead of the GNU code's explicit if
3126 statement.
3127
3128 2006-07-08 Aidan Kehoe <kehoea@parhasard.net>
3129
3130 * charset.h:
3131 Move to 7 bits instead of 5 for the first field of a character.
3132
3133 2006-07-07 Aidan Kehoe <kehoea@parhasard.net>
3134
3135 * config.h.in:
3136 Don't declare inline macros as `extern' if we're building a
3137 standalone program, because their extern definitions in inline.c
3138 are unlikely to be included.
3139
3140 2006-06-24 Stephen J. Turnbull <stephen@xemacs.org>
3141
3142 * gc.c (gc_mark_root_set): Quiet GCC 4 whining about unused values.
3143
3144 2006-06-29 Jerry James <james@xemacs.org>
3145
3146 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Compare
3147 instance->scrollbar_data against NULL before using it.
3148 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Compare
3149 sb->scrollbar_data against NULL before using it.
3150
3151 2006-06-22 Jerry James <james@xemacs.org>
3152
3153 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
3154 Don't create the buffer if there is nothing to do.
3155 * redisplay-msw.c (mswindows_output_display_block): Ditto.
3156 * redisplay-output.c (redisplay_output_layout): Ditto.
3157 * redisplay-tty.c (tty_output_display_block): Ditto.
3158 * redisplay-x.c (x_output_display_block): Ditto.
3159
3160 2006-06-23 Stephen J. Turnbull <stephen@xemacs.org>
3161
3162 * font-mgr.c (extract_fcapi_string):
3163 (fc_intern):
3164 (Ffc_name_parse):
3165 (Ffc_name_unparse):
3166 (Ffc_pattern_add):
3167 (Ffc_pattern_del):
3168 (Ffc_pattern_get):
3169 (string_list_to_fcobjectset):
3170 fc_intern and extract_fcapi_string should return
3171 [const] Extbyte *. Make it so, update callers.
3172
3173 2006-05-26 Stephen J. Turnbull <stephen@xemacs.org>
3174
3175 * objects-x.c (x_initialize_font_instance):
3176 (x_font_instance_truename):
3177 (charset_table):
3178 (x_find_charset_font):
3179 Pander to GCC4 signed character paranoia.
3180
3181 2006-06-19 Jerry James <james@xemacs.org>
3182
3183 * device-x.c (x_IO_error_handler): Do not dereference d if it is
3184 NULL.
3185 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
3186 dereference it, not the other way around.
3187 * emacs.c (main_1): restart is always 0 here.
3188 * extents.c (detach_all_extents): Call extent_list_delete_all with
3189 a non-NULL parameter only.
3190 * glyphs-widget.c (widget_query_geometry): Guard against possibly
3191 NULL width and height.
3192 * window.c (change_window_height): Restore use of CURCHARSIZE
3193 removed by 2006-06-16 change, to preserve the abstraction.
3194
3195 2006-06-19 Jerry James <james@xemacs.org>
3196
3197 * frame-x.c (x_set_frame_properties): Remove casts to silence GCC
3198 warnings about a missing sentinel.
3199
3200 2006-06-16 Jerry James <james@xemacs.org>
3201
3202 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
3203 checking if it is NULL. Also fix a memory leak.
3204 * fileio.c (Finsert_file_contents_internal): Remove dead code.
3205 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
3206 xic before checking if they are NULL.
3207 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
3208 * nas.c (Err): Fix a memory leak.
3209 * scrollbar-x.c (x_free_scrollbar_instance): Do not dereference
3210 instance->scrollbar_data before checking if it is NULL.
3211 * text.c (eicmp_1): Move assertions to before the point where they
3212 must be true for correctness.
3213 * vdb-posix.c (vdb_fault_handler): Guard against a return from
3214 ABORT().
3215 * window.c (change_window_height): Skip always true comparison in
3216 the expansion of CURCHARSIZE.
3217
3218 2006-06-16 Jerry James <james@xemacs.org>
3219
3220 * alloc.c: Don't add MODULE_DEFINABLE_TYPE_COUNT to
3221 countof (lrecord_implementations_table); the latter is already big
3222 enough.
3223
3224 2006-06-18 Aidan Kehoe <kehoea@parhasard.net>
3225
3226 * event-xlike-inc.c:
3227 Add support for three publishing keysyms with clear Unicode
3228 mappings. They would have been included in my commit of 2005-06-26
3229 had Markus Kuhn known about them.
3230
3231 2006-06-13 Jerry James <james@xemacs.org>
3232
3233 * lisp-union.h: Cast away bit restrictions on values retrieved
3234 from the Lisp_Object union.
3235
3236 2006-06-14 Aidan Kehoe <kehoea@parhasard.net>
3237
3238 * mule-ccl.c:
3239 Don't declare ccl-program as a symbol here, leave that to
3240 general-slots.h.
3241 * unicode.c (unicode_to_ichar):
3242 Use qxesprintf, not snprintf, change some types to allow
3243 complilation on Win32.
3244
3245 2006-06-03 Aidan Kehoe <kehoea@parhasard.net>
3246
3247 * charset.h:
3248 * charset.h (struct Lisp_Charset):
3249 * charset.h (CHARSET_ENCODE_AS_UTF_8):
3250 * charset.h (XCHARSET_ENCODE_AS_UTF_8):
3251 Add a flag `encode-as-utf-8' to the Mule charset structure; if
3252 set, it's an indication to ISO 2022-oriented coding systems that
3253 the characters of that charset should be encoded using the ISO-IR
3254 196 UTF-8 escape syntax, since they're not members of any other
3255 well-known character set we're aware of.
3256
3257 Make enum unicode_type, encode_unicode_char and Funicode_to_char
3258 available outside of unicode.c
3259
3260 * lread.c:
3261 * event-xlike-inc.c:
3262 Use the charset.h declaration of Funicode_to_char, don't declare
3263 it ourselves.
3264
3265 My XFree86 installation has taken to passing me ASCII characters
3266 using the Unicode keysyms; accept them too.
3267
3268 * general-slots.h:
3269 Make `ccl-program' and `encode-as-utf-8' available as symbols
3270 generally.
3271
3272 * mule-ccl.c:
3273 Add CCL_MuleToUnicode, CCL_UnicodeToMule, implement them, enable
3274 and debug CCL_MAKE_CHAR, have CCL_WriteMultibyteChar2 segfault
3275 less, fix some grammar.
3276
3277 * mule-charset.c (make_charset):
3278 * mule-charset.c (Fmake_charset):
3279 * mule-charset.c (Fcharset_property):
3280 * mule-charset.c (complex_vars_of_mule_charset):
3281 Require the encode_as_utf_8 property when calling make_charset ();
3282 accept it when creating a charset from Lisp in Fmake_charset.
3283
3284 * mule-coding.c:
3285 * mule-coding.c (dynarr_add_2022_one_dimension):
3286 * mule-coding.c (dynarr_add_2022_two_dimensions):
3287 Add two convenience functions for iso2022_decode, to abstract out
3288 writing UTF-8 a little.
3289
3290 * mule-coding.c (enum iso_esc_flag):
3291 Add one more state to reflect the existence of the UTF-8 escape.
3292
3293 * mule-coding.c (struct iso2022_coding_stream):
3294 Add a counter variable to the state to permit handling
3295 variable-length UTF-8.
3296
3297 * mule-coding.c (parse_iso2022_esc):
3298 Update the function to work with ISO_STATE_UTF_8; only the ESC % @
3299 escape is processed in that state, everything else is ignored and
3300 passed through by the error handler.
3301
3302 * mule-coding.c (iso2022_decode):
3303 * mule-coding.c (iso2022_designate):
3304 * mule-coding.c (iso2022_encode):
3305 Handle the UTF-8 escape sequences in reading and in writing ISO
3306 2022.
3307
3308 * redisplay-x.c (separate_textual_runs):
3309 Add a comment to the effect that the dimension stuff breaks when
3310 using CCL programs and registries to map to a bigger charset.
3311
3312 * unicode.c:
3313 Add support for creating new characters on the fly as unknown
3314 Unicode code points are encountered.
3315
3316 * unicode.c (get_free_codepoint): New.
3317 * unicode.c (unicode_to_ichar): Reworked to create new code points
3318 on the fly.
3319 * unicode.c (Funicode_to_char): Update the docstring.
3320 * unicode.c (struct unicode_coding_system):
3321 Move enum unicode_type into charset.h.
3322
3323 * unicode.c (encode_unicode_char):
3324 encode_unicode_char isn't static any longer, mule-coding.c uses
3325 it.
3326 * unicode.c (syms_of_unicode):
3327 Make a couple of symbols available to unicode.c
3328 * unicode.c (vars_of_unicode):
3329 Tell the garbage collector about current_jit_charset, initialise
3330 it.
3331
3332 2006-05-25 Stephen J. Turnbull <stephen@xemacs.org>
3333
3334 * objects-x.c (x_find_charset_font): Keep local names local; wrap
3335 the spurious declaration in a block, don't move it.
3336
3337 2006-05-25 Aidan Kehoe <kehoea@parhasard.net>
3338
3339 * file-coding.c (output_bytes_in_ascii_and_hex):
3340 I installed GCC 4.0 (which may not even have been necesssary,
3341 -pedantic might have done it) and it showed me that the problem my
3342 last commit intended to address was in eistr_ext rather than
3343 stderr_out.
3344
3345 2006-05-16 Andrey Slusar <anrays@gmail.com>
3346
3347 * objects-x.c (x_find_charset_font): Fix build with gcc 2.95.
3348
3349 2006-05-23 Aidan Kehoe <kehoea@parhasard.net>
3350
3351 * file-coding.c (output_bytes_in_ascii_and_hex):
3352 Fix a Win32 build failure introduced by my last commit.
3353
3354 2006-05-23 Stephen J. Turnbull <stephen@xemacs.org>
3355
3356 * .gdbinit.in: Moved to etc.
3357 * .dbxrc.in: Moved to etc.
3358
3359 2006-05-20 Stephen J. Turnbull <stephen@xemacs.org>
3360
3361 * tests.c (Ftest_data_format_conversion): Fix no-mule autodetect
3362 bugs. Update FSF copyright.
3363
3364 2006-05-23 Aidan Kehoe <kehoea@parhasard.net>
3365
3366 * frame-x.c (x_set_frame_properties):
3367 Check that the frame is live and that the device is not being
3368 deleted before attempting anything. Avoids calling X code if
3369 x_IO_error_handler has seen a broken pipe.
3370
3371 2006-05-22 Aidan Kehoe <kehoea@parhasard.net>
3372
3373 * file-coding.c (output_bytes_in_ascii_and_hex):
3374 Pass stderr_out internally-formatted data, don't use an external
3375 format.
3376
3377 2006-05-21 Aidan Kehoe <kehoea@parhasard.net>
3378
3379 * doc.c (extract_object_file_name):
3380 * doc.c (unparesseuxify_doc_string):
3381 Leave sufficient space for the '\0' sentinel when reading into the
3382 buffer. The bug in unparesseuxify_doc_string had been there for
3383 ten years at least, but it was Fabrice Popineau's investigation of
3384 the code on the same model in extract_object_file_name that
3385 provoked its discovery. Thank you Fabrice!
3386
3387 2006-05-16 Stephen J. Turnbull <stephen@xemacs.org>
3388
3389 * XEmacs 21.5.27 "fiddleheads" is released.
3390
3391 2006-02-27 Joachim Schrod <jschrod@acm.org>
3392
3393 * mule-coding.c (iso2022_detect): Handle Latin-1 encoded files
3394 that have several high-byte chars in a row.
3395
3396 2006-05-08 Jerry James <james@xemacs.org>
3397
3398 * number.c (Fcanonicalize_number): Use EMACS_INT instead of int,
3399 which fixes bignum arithmetic on 64-bit platforms.
3400 * number.h (bignum_fits_emacs_int_p): New macro.
3401 * number.h (bignum_to_emacs_int): New macro.
3402
3403 2006-03-30 Stephen J. Turnbull <stephen@xemacs.org>
3404
3405 * objects-x.c (x_initialize_font_instance):
3406 Ensure that duplicative X font gets freed if we have an Xft font.
3407 Remove some redundant debug output.
3408 Comment on frequency of calls to this function.
3409
3410 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
3411
3412 * EmacsShell-sub.c (RootGeometryManager):
3413 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
3414 Based on a suggestion by Francois L'Archeveque.
3415
3416 2006-05-02 Stephen J. Turnbull <stephen@xemacs.org>
3417
3418 * doc.c (extract_object_file_name): Fix buffer overrun.
3419
3420 2006-04-30 Stephen J. Turnbull <stephen@xemacs.org>
3421
3422 Move geometry management from EmacsFrameResize to x_set_frame_size.
3423 Should fix "metacity maximization" bug.
3424 Provide (deprecated, temporary) backward compatibility option.
3425
3426 * EmacsFrame.c (EmacsFrameResize):
3427 * frame-x.c (x_set_frame_size):
3428 Move call of EmacsManagerChangeSize.
3429 Don't bogusly notify WM about size changes the WM asked for.
3430
3431 * console-x.c (wedge-metacity): New builtin Boolean Lisp variable.
3432 * console-x-impl.h (wedge_metacity): Declare C variable.
3433 * console-x.c (vars_of_console_x): New function to initialize it.
3434 * symsinit.h (vars_of_console_x): declare it.
3435 * emacs.c (main_1): Call vars_of_console_x.
3436
3437 * EmacsFrameP.h (struct EmacsFrame):
3438 * EmacsManager.c (EmacsManagerChangeSize):
3439 * EmacsShell-sub.c (SuperClassRootGeometryManager):
3440 * console-x-impl.h (wedge_metacity):
3441 Various comments, some improved documentation, mostly sad comments
3442 on the state of the art of Xt programming.
3443
3444 * frame-x.c (defi): #undef it. (Random code cleanliness.)
3445
3446 2006-05-06 Aidan Kehoe <kehoea@parhasard.net>
3447
3448 * lisp.h (struct Lisp_Subr):
3449 Document that prompt, doc, and name should not be char *.
3450 * symbols.c (Fsubr_name):
3451 Cast name to const Ibyte * before returning it.
3452 * sysfile.h:
3453 Make versions of DIRECTORY_SEP, IS_DIRECTORY_SEP and IS_ANY_SEP
3454 available to make-docfile and other non-emacs processes on win32.
3455
3456 2006-04-30 Stephen J. Turnbull <stephen@xemacs.org>
3457
3458 * font-mgr.c (string_list_to_fcobjectset): Remove debugging output.
3459
3460 2006-04-29 Aidan Kehoe <kehoea@parhasard.net>
3461
3462 * symbols.c (Fsubr_name): New.
3463 Taken from the FSF. Needed to find the real name of a possibly
3464 aliased subr, in order to get its docstring.
3465 * sysfile.h:
3466 Make various file name primitives available to make-docfile and
3467 other non-emacs environments; define a constant that says how long
3468 a source filename can be in lib-src/DOC.
3469
3470 2006-04-29 Aidan Kehoe <kehoea@parhasard.net>
3471
3472 * doc.c:
3473 * doc.c (extract_object_file_name):
3474 * doc.c (get_object_file_name):
3475 * doc.c (Fbuilt_in_symbol_file):
3476 Support saving and recovering the source file name of a built-in
3477 symbol (that is, one created in C.)
3478
3479 2006-04-29 Aidan Kehoe <kehoea@parhasard.net>
3480
3481 * lread.c:
3482 * lread.c (read_escape):
3483 Support \uABCD and \U00ABCDEF for specifying characters by their
3484 Unicode code point.
3485
3486 2006-04-25 Stephen J. Turnbull <stephen@xemacs.org>
3487
3488 Repair busted commit, plus some gratuitous doc improvements.
3489
3490 * emacs.c (main_1): Initialize display_use to NULL for clarity.
3491
3492 * objects-x.c (x_color_list):
3493 (x_initialize_font_instance):
3494 (x_font_instance_truename):
3495 (x_find_charset_font):
3496 * font-mgr.h (Qfc_font_name_encoding):
3497 Qxft_font_name_encoding -> Qfc_font_name_encoding.
3498
3499 * console.h (header comment):
3500 * font-mgr.c (vars_of_font_mgr):
3501 * redisplay.c (Vwindow_system):
3502 Improve comments.
3503
3504 2006-04-22 Jerry James <james@xemacs.org>
3505
3506 * event-stream.c (copy_command_builder): Also copy the console.
3507
3508 2006-04-23 Aidan Kehoe <kehoea@parhasard.net>
3509 >>>>>>> other
2 3510
3 * alloc.c: 3511 * alloc.c:
3512 <<<<<<< local
4 * alloc.c (assert_proper_sizing): 3513 * alloc.c (assert_proper_sizing):
5 * alloc.c (alloc_sized_lrecord_1): 3514 * alloc.c (alloc_sized_lrecord_1):
6 * alloc.c (alloc_sized_lrecord): 3515 * alloc.c (alloc_sized_lrecord):
7 * alloc.c (noseeum_alloc_sized_lrecord): 3516 * alloc.c (noseeum_alloc_sized_lrecord):
8 * alloc.c (alloc_lrecord): 3517 * alloc.c (alloc_lrecord):
12 * alloc.c (alloc_automanaged_sized_lcrecord): 3521 * alloc.c (alloc_automanaged_sized_lcrecord):
13 * buffer.c (allocate_buffer): 3522 * buffer.c (allocate_buffer):
14 * buffer.c (DEFVAR_BUFFER_LOCAL_1): 3523 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15 * buffer.c (common_init_complex_vars_of_buffer): 3524 * buffer.c (common_init_complex_vars_of_buffer):
16 * casetab.c (allocate_case_table): 3525 * casetab.c (allocate_case_table):
3526 =======
3527 * data.c:
3528 * data.c (Fconsp):
3529 * data.c (Flistp):
3530 Take on board feedback from Stephen on my last change; move the
3531 explanation of what a cons is to the cons docstring, add cross
3532 references to that from the consp and atomp docstrings.
3533
3534 2006-04-23 Stephen J. Turnbull <stephen@xemacs.org>
3535
3536 * Makefile.in.in (x_objs): Change xft-fonts.o to font-mgr.o.
3537
3538 2006-04-17 Stephen J. Turnbull <stephen@xemacs.org>
3539
3540 * config.h.in: New symbol HAVE_FONTCONFIG.
3541
3542 2006-04-22 Stephen J. Turnbull <stephen@xemacs.org>
3543
3544 Rename xft-fonts.{c,h} to font-mgr.{c,h}.
3545
3546 * font-mgr.c:
3547 * emacs.c:
3548 * symsinit.h:
3549 (syms_of_font_mgr):
3550 (vars_of_font_mgr):
3551 (reinit_vars_of_font_mgr):
3552 (complex_vars_of_font_mgr):
3553 Renamed from *_xft_fonts versions.
3554
3555 * font-mgr.c:
3556 * inline.c:
3557 * objects-x.c:
3558 Update #includes and comments to refer to font-mgr.h.
3559 N.B. The feature provided by objects-x.c is still "xft-fonts",
3560 which is separate from the font management by fontconfig (from
3561 font-mgr.*).
3562
3563 2006-04-15 Stephen J. Turnbull <stephen@xemacs.org>
3564
3565 * console-x.h (<X11/Xft/Xft.h>): Don't cater to Xft v.1.
3566
3567 2006-04-17 Stephen J. Turnbull <stephen@xemacs.org>
3568
3569 * unicode.c: Improve comment on to/from_unicode table design.
3570
3571 2006-04-18 Jerry James <james@xemacs.org>
3572
3573 * alsaplay.c: Explicitly include ALSA's version.h for older
3574 versions of the library. Thanks to Ilya Golubev.
3575
3576 2006-04-16 Aidan Kehoe <kehoea@parhasard.net>
3577
3578 * data.c (Fconsp):
3579 * data.c (Fsymbolp):
3580 * data.c (Fcar):
3581 * data.c (Flistp):
3582 * data.c (Fsetcar):
3583 * data.c (Fsetcdr):
3584 * data.c (Flss):
3585 * data.c (Fgtr):
3586 Short docstring clarifications to make life easier for people who
3587 are learning Lisp; explain what a cons is in the consp docstring,
3588 what a symbol is in the symbolp docstring, and so forth. Thank you
3589 Alan Mackenzie on emacs-devel.
3590 Expand on "monotonically increasing" and "monotonically
3591 decreasing" in the Flss and Fgtr docstrings.
3592
3593 2006-04-10 Jerry James <james@xemacs.org>
3594
3595 * alsaplay.c: Support pre-1.0.10 versions of the ALSA library.
3596
3597 2006-03-23 Tony Bennett <tbennett@nvidia.com>
3598
3599 * process-unix.c (unix_send_process): Reduce timeout for
3600 Faccept_process_output to 10ms. This dramatically speeds up many
3601 functions that read from processes, eg, inferior interpreter
3602 processes as in ilisp or python-mode.
3603
3604 2006-03-31 Stephen J. Turnbull <stephen@xemacs.org>
3605
3606 * XEmacs 21.5.26 "endive" is released.
3607
3608 2006-03-30 Adrian Aichner <adrian@xemacs.org>
3609
3610 * lisp.h (Dynarr_add): Add local variable imp to avoid VC6
3611 internal compiler error.
3612
3613 2006-03-26 Marcus Crestani <crestani@xemacs.org>
3614
3615 * gc.c: Remove functions for explicitly-freed statistics
3616 (the need to explicitly free went away with the asynchronous
3617 finalization patch).
3618 * gc.c (struct gc_state): EMACS_INT -> double, remove
3619 explicitly-freed statistics.
3620 * gc.c (Fgc_stats): Remove explicitly-freed statistics.
3621 * gc.c (PL): Use make_float.
3622 * gc.h: Remove prototypes and macros for explicitly-freed
3623 statistics.
3624
3625 2006-03-24 Jerry James <james@xemacs.org>
3626
3627 * alsaplay.c: New file providing support for sound with ALSA.
3628 * config.h.in: New symbol HAVE_ALSA_SOUND
3629 * sound.c: Add ALSA support.
3630
3631 2006-03-27 Mike Fabian <mfabian@suse.de>
3632
3633 * vdb-posix.c (vdb_install_signal_handler): Correct memset.
3634
3635 2006-03-26 Marcus Crestani <crestani@xemacs.org>
3636
3637 * alloc.c (malloc_warning): Move function into scope of
3638 MALLOC_END, add MALLOC_END.
3639 * alloc.c (memory_full): Add memory shortage indication, adjust
3640 error messages.
3641 * mc-alloc.c: Add memory_shortage.
3642 * mc-alloc.c (expand_heap): If memory is short, allocate only the
3643 needed pages, not more.
3644 * mc-alloc.h: Add memory_shortage.
3645
3646 2006-03-26 Marcus Crestani <crestani@xemacs.org>
3647
3648 * alloc.c (make_uninit_string): Use set_lispstringp_direct.
3649 * lisp.h (set_lispstringp_direct): New.
3650
3651 2006-03-21 Marcus Crestani <crestani@xemacs.org>
3652
3653 * mc-alloc.c (visit_all_used_page_headers):
3654 * mc-alloc.c (finalize_page_for_disksave):
3655 * mc-alloc.c (mc_finalize_for_disksave):
3656 * mc-alloc.c (sweep_page):
3657 * mc-alloc.c (mc_sweep):
3658 * mc-alloc.c (protect_heap_page):
3659 * mc-alloc.c (protect_heap_pages):
3660 * mc-alloc.c (unprotect_heap_page):
3661 * mc-alloc.c (unprotect_heap_pages):
3662 * mc-alloc.h: Return number of pages processed.
3663 * vdb.c (vdb_start_dirty_bits_recording): Adjust size of
3664 page_fault_table to its upper bound (= number of pages that
3665 contain BLACK objects) in advance, to avoid malloc in the signal
3666 handler.
3667
3668 2006-03-24 Stephen J. Turnbull <stephen@xemacs.org>
3669
3670 * file-coding.c (decode-coding-region, encode-coding-region):
3671 Convert to interactive commands, and adjust docstrings.
3672
3673 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
3674
3675 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
3676 current values found in GNU Emacs.
3677
3678 2006-03-20 Marcus Crestani <crestani@xemacs.org>
3679
3680 * dynarr.c (Dynarr_realloc): Malloc correct size.
3681 * lisp.h: Dynamic array cleanup, remove duplicate code.
3682
3683 2006-03-17 Stephen J. Turnbull <stephen@xemacs.org>
3684
3685 * objects-x.c (x_font_instance_truename):
3686 Eliminate bogus pointer to nowhere.
3687
3688 2006-03-09 Jerry James <james@xemacs.org>
3689
3690 * profile.h (RETURN_UNGCPRO_EXIT_PROFILING): Add missing do.
3691
3692 2006-03-02 Marcus Crestani <crestani@xemacs.org>
3693
3694 * gc.c (show_gc_cursor_and_message): New.
3695 * gc.c (remove_gc_cursor_and_message): New.
3696 * gc.c (gc_prepare): Move mouse pointer code to
3697 show_gc_cursor_and_message.
3698 * gc.c (gc_finish): Move mouse pointer code to
3699 remove_gc_cursor_and_message.
3700 * gc.c (gc): Call show/remove_gc_cursor_and_message.
3701 * gc.c (garbage_collect_1): Call
3702 show/remove_gc_cursor_and_message.
3703
3704 2006-02-22 Marcus Crestani <crestani@xemacs.org>
3705
3706 Asynchronous finalization:
3707
3708 * Makefile.in.in: Remove mc-alloc, replace with newgc.
3709 * alloc.c (alloc_lrecord): Add object that has a finalizer
3710 to Vall_finalizable_objs.
3711 * alloc.c (noseeum_alloc_lrecord): Add object that has a finalizer
3712 to Vall_finalizable_objs.
3713 * alloc.c (alloc_lrecord_array): Add object that has a finalizer
3714 to Vall_finalizable_objs.
3715 * alloc.c (free_lrecord): Disable manual free.
3716 * dumper.c (pdump_register_object): Objects with finalizers cannot
3717 be dumped.
3718 * eval.c (Ffuncall): Add call to run_finalizers.
3719 * gc.c (finalize_elem): New.
3720 * gc.c (add_finalizable_object): New.
3721 * gc.c (register_for_finalization): New.
3722 * gc.c (gc_finalize): Call register_for_finalization.
3723 * gc.c (gc_1): Move kkcc_gc_stack_free after finalization.
3724 * gc.c (common_init_gc_early): Add asynchronous finalization
3725 variables.
3726 * gc.c (init_gc_early): Add asynchronous finalization variables.
3727 * gc.c (vars_of_gc): Add asynchronous finalization variables.
3728 * gc.h: Add asynchronous finalization prototypes.
3729 * mc-alloc.c (finalize_heap): Remove.
3730 * mc-alloc.c (mc_free): Disable manual free.
3731
3732 * elhash.c (finalize_hash_table): Remove unneeded finalizer for
3733 NEW_GC
3734 * extents.c (finalize_extent_info): Remove unneeded finalizer for
3735 NEW_GC.
3736 * file-coding.c (finalize_coding_system): Remove unneeded
3737 finalizer for NEW_GC.
3738 * gui.c (finalize_gui_item): Remove unneeded finalizer.
3739 * specifier.c (finalize_specifier): Remove unneeded finalizer for
3740 NEW_GC.
3741
3742 Merge #ifdef MC_ALLOC into #ifdef NEW_GC, remove no longer needed
3743 MC_ALLOC specific code in all files:
3744 * alloc.c:
3745 * buffer.c:
3746 * bytecode.c:
3747 * bytecode.h:
3748 * config.h.in:
3749 * console-stream.c:
3750 * console.c:
3751 * dumper.c:
3752 * dumper.h:
3753 * elhash.c:
3754 * emacs.c:
3755 * event-msw.c:
3756 * event-stream.c:
3757 * extents.c:
3758 * extents.c:
3759 * faces.h:
3760 * file-coding.c:
3761 * gc.c:
3762 * glyphs.h:
3763 * lisp.h:
3764 * lrecord.h:
3765 * lstream.c:
3766 * marker.c:
3767 * mc-alloc.c:
3768 * mc-alloc.h:
3769 * opaque.c:
3770 * print.c:
3771 * ralloc.c:
3772 * specifier.c:
3773 * symbols.c:
3774 * symeval.h:
3775 * symsinit.h:
3776 * tests.c:
3777 * xemacs.def.in.in:
3778
3779 2006-02-26 Stephen J. Turnbull <stephen@xemacs.org>
3780
3781 * XEmacs 21.5.25 "eggplant" is released.
3782
3783 2006-02-22 Stephen J. Turnbull <stephen@xemacs.org>
3784
3785 * syntax.c: Move static functions in syntax_cache page to top.
3786
3787 2006-02-19 Stephen J. Turnbull <stephen@xemacs.org>
3788
3789 Fix crash (cf. Holger Schauer <yxz7j7xzk97.fsf@gimli.holgi.priv>).
3790 Improve nomenclature (some identifiers were misnamed with
3791 "syntax_table" although they are purely related to syntax cache).
3792 Add lots of comments explaining logic and use of arguments.
3793
3794 * syntax.c (setup_syntax_cache): Fix broken logic that
3795 initialized prev_change and next_change members to Qnil for syntax
3796 caches associated with buffers, triggering an assertion because
3797 the update functions expect those members to markers.
3798
3799 * syntax.c (signal_syntax_cache_extent_changed):
3800 * syntax.c (reset_buffer_syntax_cache_range):
3801 Rename reset_buffer_cache_range to reset_buffer_syntax_cache_range.
3802
3803 * lisp.h (signal_syntax_cache_extent_changed):
3804 * syntax.c (signal_syntax_cache_extent_changed)
3805 * syntax.c (update_syntax_cache):
3806 * extents.c (signal_single_extent_changed):
3807 Rename signal_syntax_table_extent_changed to
3808 signal_syntax_cache_extent_changed.
3809
3810 * lisp.h (signal_syntax_cache_extent_adjust):
3811 * syntax.c (signal_syntax_cache_extent_adjust):
3812 * insdel.c (buffer_delete_range, buffer_insert_string_1):
3813 Rename signal_syntax_table_extent_adjust to
3814 signal_syntax_cache_extent_adjust.
3815
3816 * syntax.h (update_syntax_cache): Fix typo in comment.
3817
3818 2006-02-16 Marcus Crestani <crestani@xemacs.org>
3819
3820 * xgccache.c (gc_cache_lookup): Remove "Cache full" warning.
3821
3822 2006-01-21 Marcus Crestani <crestani@xemacs.org>
3823
3824 * mc-alloc.c (init_mc_allocator): Cygwin claims to have a 64k
3825 page size, add it.
3826
3827 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
3828
3829 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
3830
3831 2006-01-19 Marcus Crestani <crestani@xemacs.org>
3832
3833 * dynarr.c (Dynarr_realloc): Determine size of memory region to
3834 copy correctly, fix types.
3835 * dynarr.c (Dynarr_lisp_realloc): Determine size of memory region
3836 to copy correctly.
3837 * dynarr.c (Dynarr_resize): Call Dynarr_realloc with number of
3838 elements instead of memory region size.
3839
3840 2006-01-19 Marcus Crestani <crestani@xemacs.org>
3841
3842 * objects-x.c (x_find_charset_font): Add cast to fix C++ build.
3843
3844 2005-11-25 Mike Sperber <mike@xemacs.org>
3845
3846 * nt.c (init_mswindows_environment): Add EMACSEARLYPACKAGES,
3847 EMACSLATEPACKAGES, EMACSLASTPACKAGES.
3848
3849 * config.h.in:
3850 (PATH_EARLY_PACKAGE_DIRECTORIES, PATH_LATE_PACKAGE_DIRECTORIES)
3851 (PATH_LAST_PACKAGE_DIRECTORIES): Add.
3852
3853 * paths.h.in:
3854 (PATH_EARLY_PACKAGE_DIRECTORIES, PATH_LATE_PACKAGE_DIRECTORIES)
3855 (PATH_LAST_PACKAGE_DIRECTORIES): Add.
3856
3857 * emacs.c: Add Vconfigure_early_package_directories,
3858 Vconfigure_late_package_directories,
3859 Vconfigure_last_package_directories.
3860 (complex_vars_of_emacs): Set them.
3861
3862 2005-12-25 Aidan Kehoe <kehoea@parhasard.net>
3863
3864 * alloc.c:
3865 * alloc.c (malloc_warning):
3866 * alloc.c (MALLOC_BEGIN):
3867 * alloc.c (FREE_OR_REALLOC_BEGIN):
3868 Revert the alloc warning bugfix, in response to Stephen's mail
3869 87acepzl6e.fsf@tleepslib.sk.tsukuba.ac.jp .
3870
3871 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
3872
3873 * objects-x.c (x_font_instance_truename):
3874 * objects-x.c (x_find_charset_font):
3875 Reintroduce my change of 2005-12-20 and Stephen's of 2005-12-23,
3876 which my last commit overrode.
3877
3878 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
3879
3880 * event-Xt.c:
3881 Add two new lisp variables, x-us-keymap-description and
3882 x-us-keymap-first-keycode to better provide a fallback to the US
3883 layout with keyboards where typing the Roman alphabet and those
3884 punctuation symbols that have command bindings associated with
3885 them is difficult.
3886 * event-Xt.c (x_event_to_emacs_event):
3887 Use those two Lisp variables to improve Russian C-x processing.
3888 * event-stream.c (command_builder_find_leaf):
3889 Make a comment more readable.
3890
3891 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
3892
3893 * alloc.c (MALLOC_BEGIN):
3894 Assert that we're either not in malloc, or warning about memory
3895 being low.
3896 * alloc.c (MALLOC_WARNING_BEGIN, MALLOC_WARNING_END):
3897 Add two clauses to set and clear a flag that we're in a low-memory
3898 warning situation.
3899 * alloc.c (malloc_warning):
3900 Move it after the definition of MALLOC_WARNING_BEGIN,
3901 MALLOC_WARNING_END
3902
3903 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
3904
3905 * objects-gtk.c (MAX_FONT_COUNT):
3906 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
3907 to INT_MAX. Applies to both the X and GTK platforms.
3908
3909 2005-12-23 Stephen J. Turnbull <stephen@xemacs.org>
3910
3911 * objects-x.c (x_find_charset_font): More mule-ization.
3912
3913 2005-12-23 Stephen J. Turnbull <stephen@xemacs.org>
3914
3915 * objects-x.c (x_font_instance_truename): Mule-ize handling of
3916 font name (Xft names are UTF-8). Fixes crash.
3917
3918 2005-12-20 Aidan Kehoe <kehoea@parhasard.net>
3919
3920 * objects-x.c (x_find_charset_font):
3921 Return Qnil on no match, not Qunbound. Fixes performance issues
3922 based on the use of this return value in
3923 objects.c:font_instantiate
3924
3925 2005-12-18 Aidan Kehoe <kehoea@parhasard.net>
3926
3927 * syntax.c (charset_syntax):
3928 * syntax.c (update_just_this_syntax_table):
3929 * syntax.c (complex_vars_of_syntax):
3930 To my embarrassment, my previous change didn't actually work. This
3931 change makes
3932 (char-syntax (make-char 'chinese-cns11643-1 50 50))
3933 give ?w, the expected result after the last change.
3934
3935 2005-12-18 Stephen J. Turnbull <stephen@xemacs.org>
3936
3937 * XEmacs 21.5.24 "dandelion" is released.
3938
3939 2005-12-14 Malcolm Purvis <malcolmp@xemacs.org>
3940
3941 * console.c (stuff_buffered_input): Compile body only if
3942 HAVE_TTY.
3943
3944 2005-12-18 Aidan Kehoe <kehoea@parhasard.net>
3945
3946 >>>>>>> other
17 * chartab.c (Fmake_char_table): 3947 * chartab.c (Fmake_char_table):
3948 <<<<<<< local
18 * chartab.c (make_char_table_entry): 3949 * chartab.c (make_char_table_entry):
19 * chartab.c (copy_char_table_entry): 3950 * chartab.c (copy_char_table_entry):
20 * chartab.c (Fcopy_char_table): 3951 * chartab.c (Fcopy_char_table):
21 * console.c (allocate_console): 3952 * console.c (allocate_console):
22 * console.c (DEFVAR_CONSOLE_LOCAL_1): 3953 * console.c (DEFVAR_CONSOLE_LOCAL_1):
26 * data.c (make_ephemeron): 3957 * data.c (make_ephemeron):
27 * database.c (allocate_database): 3958 * database.c (allocate_database):
28 * device-msw.c (allocate_devmode): 3959 * device-msw.c (allocate_devmode):
29 * device.c (allocate_device): 3960 * device.c (allocate_device):
30 * dialog-msw.c (handle_question_dialog_box): 3961 * dialog-msw.c (handle_question_dialog_box):
3962 =======
3963 Set the default character class to word, not whitespace.
3964
3965 2005-12-17 Aidan Kehoe <kehoea@parhasard.net>
3966
3967 * buffer.c:
3968 standard-syntax-table and standard-category-table are not
3969 available from Lisp any more, don't mention as Lisp variables.
3970
3971 2005-12-17 Aidan Kehoe <kehoea@parhasard.net>
3972
3973 * console-x.c (x_perhaps_init_unseen_key_defaults):
3974 If the key name is a single character, and the keysym is NoSymbol,
3975 give it a default binding, if that is possible. This addresses the
3976 problem Zhang Wei points out in <871x118lc4.fsf@gmail.com>
3977 * event-Xt.c (x_to_emacs_keysym):
3978 Print the characters of a keysym's name directly if it's printable
3979 ASCII, or as an octal escape if it's not.
3980
3981 Use keyboard-coding-system rather than undecided for decoding the
3982 keysym name passed to us by an input method.
3983 * file-coding.c (vars_of_file_coding):
3984 Document that keyboard-coding-system is also used for X11.
3985
3986 2005-11-29 Marcus Crestani <crestani@xemacs.org>
3987
3988 * xemacs.def.in.in: Condition error_check_* symbols on
3989 ERROR_CHECK_TYPES.
3990
3991 2005-11-29 Stephen J. Turnbull <stephen@xemacs.org>
3992
3993 * xemacs.def.in.in (error_check_cons, error_check_ldap):
3994 (error_check_opaque_ptr, error_check_pgconn, error_check_pgresult):
3995 (error_check_string, wrap_record_1, XINT_1): Add. Patch by Rick
3996 Rankin <20051129041305.35172.qmail@web61022.mail.yahoo.com>.
3997
3998 2005-11-29 Stephen J. Turnbull <stephen@xemacs.org>
3999
4000 * xemacs.def.in.in (lrecord_uid_counter): Add it. Patch by Rick
4001 Rankin <20051120054349.52906.qmail@web61019.mail.yahoo.com>.
4002
4003 2005-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4004
4005 * dumper.c: Move comment to where it apparently belongs.
4006
4007 2005-11-27 Marcus Crestani <crestani@xemacs.org>
4008
4009 * lrecord.h: Remove NEWGC junk.
4010
4011 2005-11-27 Stephen J. Turnbull <stephen@xemacs.org>
4012
4013 Build fixes and dead code removal.
4014
4015 * xft-fonts.c (Ffc_pattern_destroy): Delete.
4016 (syms_of_xft_fonts): Delete Ffc_pattern_destroy and comment out
4017 Fxft_name_unparse.
4018
4019 * objects-x.c (DECLARE_DEBUG_FONTNAME): Renamed improved
4020 SET_DEBUG_FONTNAME. Remove redundant debug level checks.
4021
4022 2004-12-19 Stephen J. Turnbull <stephen@xemacs.org>
4023
4024 * keymap.c (Fwhere_is_internal): Rewrite docstring.
4025
4026 2005-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4027
4028 Merge Xft.
4029
4030 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org>
4031
4032 * objects-x.c: Improve comments.
4033
4034 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org>
4035
4036 * xft-fonts.h:
4037 * xft-fonts.c:
4038 * redisplay-x.c:
4039 Remove or comment out dead code.
4040
4041 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org>
4042
4043 * objects-x.c (x_find_charset_font): Encapsulate debug print in macro.
4044
4045 2005-11-25 Stephen J. Turnbull <stephen@xemacs.org>
4046
4047 * xft-fonts.h:
4048 * xft-fonts.c:
4049 * objects-x.c:
4050 Xft font names are encoded in UTF-8 (Qxft_font_name_encoding).
4051
4052 2005-11-06 Stephen J. Turnbull <stephen@xemacs.org>
4053
4054 * xft-fonts.h:
4055 * xft-fonts.c:
4056 Substitute new *LCRECORD* macros for #ifdef MC_ALLOC.
4057
4058 2005-09-10 Clemens Fruhwirth <clemens@endorphin.org>
4059
4060 * glyphs-x.c (update_widget_face): Wrap error checking of rf in an
4061 #ifdef USE_XFT.
4062
4063 2005-09-25 Stephen J. Turnbull <stephen@xemacs.org>
4064
4065 * objects-x.c (x_initialize_font_instance): Must encode extname
4066 twice, Qxft_font_name_encoding != Qx_font_name_encoding.
4067
4068 2005-09-25 Stephen J. Turnbull <stephen@xemacs.org>
4069
4070 * objects-x.c (x_finalize_font_instance): Add newline to message.
4071
4072 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org>
4073
4074 * objects-x.c (x_find_charset_font): Give user more control of
4075 debug verbosity. Reduce verbosity at debug_xft=1. Reduce
4076 verbosity of truename by removing properties that are rarely
4077 specified from fontconfig font name.
4078
4079 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org>
4080
4081 * objects-x.c (x_find_charset_font): Work around buggy return
4082 value in FcInit().
4083
4084 2005-09-24 Stephen J. Turnbull <stephen@xemacs.org>
4085
4086 * objects-x.c: Improve various header comments.
4087 (x_font_instance_truename): Remove obsolete #ifdef 0 code.
4088
4089 2005-09-06 Stephen J. Turnbull <stephen@xemacs.org>
4090
4091 * console-x-impl.h (struct x_frame): Rewrite comment.
4092
4093 * redisplay-x.c (x_output_string):
4094 * frame-x.c (x_delete_frame):
4095 Improve style, let compiler optimize.
4096
4097 2005-09-05 Daniel Pittman <daniel@rimspace.net>
4098
4099 * console-x-impl.h (struct x_frame): New member xftDraw.
4100 (FRAME_X_XFTDRAW): Accessor for xftDraw member.
4101
4102 * redisplay-x.c (x_output_string): Lazily initialize frame's
4103 xftDraw member, and don't destroy it here.
4104
4105 * frame-x.c (x_delete_frame): Destroy xftDraw here.
4106
4107 2005-08-17 Stephen J. Turnbull <stephen@xemacs.org>
4108
4109 * xft-fonts.c (Ffc_pattern_create): Improve docstring, remove todo.
4110 (fc_intern): Add todo.
4111
4112 2005-08-04 Stephen J. Turnbull <stephen@xemacs.org>
4113
4114 * xft-fonts.c (finalize_fc_pattern): New static function.
4115 Add it to lcrecord implementation of fc_pattern.
4116
4117 * xft-fonts.c (Ffc_pattern_destroy): Disable with #if 0.
4118
4119 2005-08-03 Stephen J. Turnbull <stephen@xemacs.org>
4120
4121 -- Minor cleanups. --
4122
4123 * xft-fonts.c (Ffc_font_real_pattern):
4124 Update FIXME at top.
4125 (Ffc_font_sort):
4126 (Ffc_font_match):
4127 Improve docstrings.
4128
4129 * xft-fonts.c (Ffc_pattern_destroy):
4130 Partially protect against double frees.
4131
4132 -- Eliminate Lisp fc_fontset objects. --
4133
4134 * xft-fonts.c (fontset_to_list): New helper function.
4135 (Ffc_list_fonts_pattern_objects):
4136 (Ffc_font_sort):
4137 Made to use `fontset_to_list' and return list. Updated docstrings.
4138
4139 * xft-fonts.h (struct fc_pattern): Removed fc_fontset member.
4140 (fc_fontset): Removed struct and lrecord declarations and typedef.
4141 (XFCFONTSET):
4142 (wrap_fcfontset):
4143 (FCFONTSETP):
4144 (CHECK_FCFONTSET):
4145 (CONCHECK_FCFONTSET):
4146 (XFCFONTSET_PTR):
4147 Removed macros.
4148
4149 * xft-fonts.c (fcfontset_description):
4150 (fc_fontset):
4151 (Ffc_fontset_p):
4152 (Ffc_fontset_count):
4153 (Ffc_fontset_destroy):
4154 (Ffc_fontset_ref):
4155 Removed unused functions.
4156 (fcpattern_description): Removed fc_fontset member.
4157 (Ffc_pattern_create):
4158 (Ffc_name_parse):
4159 (Ffc_pattern_duplicate):
4160 (Ffc_pattern_destroy):
4161 (Ffc_font_match):
4162 (Ffc_font_real_pattern):
4163 Removed reference to fc_fontset member.
4164 (syms_of_xft_fonts): Removed DEFSYMBOLs, DEFSUBRs for fc_fontset.
4165
4166 * lrecord.h (enum lrecord_type): Removed lrecord_fc_fontset.
4167 Removed indicies, which depended on #ifdefs so can't be accurate.
4168
4169 2005-07-31 Daniel Pittman <daniel@rimspace.net>
4170
4171 * xft-fonts.c: Update Ffc_list_fonts_pattern_objects to use the
4172 FontConfig API nicely, preventing it from rebuilding the list of
4173 available fonts on *every* access.
4174
4175 2005-06-16 Stephen J. Turnbull <stephen@xemacs.org>
4176
4177 * xft-fonts.c: MC_ALLOC-ify.
4178 * xft-fonts.h: MC_ALLOC-ify.
4179
4180 2005-04-16 Stephen J. Turnbull <stephen@xemacs.org>
4181
4182 * xft-fonts.c: Improve comment on property name hash table.
4183
4184 (Ffc_list_fonts_pattern_objects):
4185 (Ffc_font_sort):
4186 (reinit_vars_of_xft_fonts):
4187 Call FcInit only once in reinit_vars_of_xft_fonts.
4188
4189 (Ffc_list_fonts_pattern_objects):
4190 (Ffc_font_sort):
4191 Signal error if returned FcFontSet object is NULL.
4192
4193 (string_list_to_fcobjectset): Use fc_intern.
4194
4195 * objects-x.c (): Move declaration of `name' out of #ifdef.
4196
4197 2005-04-14 Stephen J. Turnbull <stephen@xemacs.org>
4198
4199 * xft-fonts.c (fc_intern): val is const.
4200 (xft_get_color): Use dead_wrong_type_argument.
4201
4202 * objects-x.c (Qxft_font_name_encoding): New documentary #define.
4203 (truename_via_XListFonts): Improve comments.
4204
4205 Followup on Aidan's partial cleanup/Mulization.
4206
4207 * objects-x.c (DEBUG_XFT0):
4208 (DEBUG_XFT1):
4209 (DEBUG_XFT2):
4210 (PRINT_XFT_PATTERN):
4211 (CHECKING_LANG):
4212 Move to top of font object block.
4213 (DEBUG_XFT3):
4214 (DEBUG_XFT4):
4215 New.
4216 (x_initialize_font_instance):
4217 (x_finalize_font_instance):
4218 Use them.
4219
4220 (x_font_instance_truename): Comment complaint about structure.
4221 Clarify variable usage by moving declaration inside block.
4222
4223 (x_find_charset_font): Clarify block structure by eliminating
4224 early returns. Remove bogus "must free" comments. Free FcPattern
4225 objects that were leaking. Use block structure to indicate
4226 lifetimes of FcPattern objects. Use "font" rather than "pattern"
4227 in names of FcPatterns that name fonts rather than search
4228 criteria. Use shortnames more consistently in debug messages.
4229 #ifdef shortname vs longname return values. Correct comment to
4230 note that FcCharSets are Unparsed to ASCII. Don't ever fall
4231 through to X core fonts if we had an Xft font (it should be NULL
4232 anyway). Use Qxft_font_name_encoding; this means we have to parse
4233 FONT separately for Qx_font_name_encoding.
4234
4235 2005-04-10 Stephen J. Turnbull <stephen@xemacs.org>
4236
4237 Xft/fontconfig assumes that strings used as object names are
4238 statically allocated. Implement a hash table to keep track of
4239 them:
4240
4241 * xft-fonts.c (reinit_vars_of_xft_fonts): Initialize hash table.
4242 (fc_intern):
4243 New static functions.
4244
4245 (fc_property_name_hash_table):
4246 (fc_standard_properties):
4247 New static variables.
4248
4249 * symsinit.h (reinit_vars_of_xft_fonts): Declare it.
4250
4251 * emacs.c (main_1): Call it. Reorder complex_vars_of_xft_fonts.
4252
4253 Renaming and reorganization:
4254
4255 * xft-fonts.c: Group FcPattern stuff separately from FcFontSet in
4256 preparation for removing latter from LISP visibility. Use
4257 "pattern" for Lisp_Objects, reserve "fcpat" for FcPatterns.
4258 Similarly change "object" to "property".
4259
4260 (Ffc_pattern_destroy):
4261 (Ffc_fontset_destroy):
4262 Deprecate these; they should not be LISP-visible.
4263
4264 (Ffc_pattern_print): Removed.
4265
4266 (extract_fcapi_string): Make this a macro, because
4267 in C "inline" is a hint. But this _must_ be a macro because it
4268 implicitly uses alloca.
4269
4270 2005-04-09 Stephen J. Turnbull <stephen@xemacs.org>
4271
4272 * xft-fonts.c (fc-pattern-get-antialias):
4273 (fc-pattern-get-dpi):
4274 (fc-pattern-get-family):
4275 (fc-pattern-get-file):
4276 (fc-pattern-get-foundry):
4277 (fc-pattern-get-minspace):
4278 (fc-pattern-get-outline):
4279 (fc-pattern-get-pixelsize):
4280 (fc-pattern-get-rasterizer):
4281 (fc-pattern-get-scalable):
4282 (fc-pattern-get-scale):
4283 (fc-pattern-get-size):
4284 (fc-pattern-get-style):
4285 (fc-pattern-get-xlfd):
4286 (xft-pattern-get-core):
4287 (xft-pattern-get-encoding):
4288 (xft-pattern-get-render):
4289 (fc_get_pattern_bool):
4290 (fc_get_pattern_double):
4291 (fc_get_pattern_integer):
4292 (fc_get_pattern_string):
4293 (xft_font_open_name):
4294 Delete definitions of long-unused functions.
4295
4296 (syms_of_xft_fonts):
4297 Delete references.
4298
4299 * xft-fonts.h (fc_get_pattern_bool):
4300 (fc_get_pattern_double):
4301 (fc_get_pattern_integer):
4302 (fc_get_pattern_string):
4303 Delete declarations of long-unused helper functions.
4304
4305 * xft-fonts.c (Ffc_font_match): s/poosible/possible/ in docstring.
4306
4307 2005-04-01 Aidan Kehoe <kehoea@parhasard.net>
4308
4309 * objects-x.c:
4310 * objects-x.c (x_initialize_font_instance):
4311 * objects-x.c (CHECKING_LANG):
4312 General mule-sanity cleanup for the debug messages, to eliminate
4313 the issue Giacomo Boffi saw in
4314 16970.44359.621213.994821@boffi95.stru.polimi.it.
4315
4316 * objects-x.c (x_find_charset_font):
4317 Font names are also treated as UTF-8; relatedly, when passing back
4318 the font's full name, the character coverage bitmap isn't included
4319 any more, because that would make it an invalid UTF-8 string.
4320
4321 2005-03-10 Stephen J. Turnbull <stephen@xemacs.org>
4322
4323 * objects-x.c (charset_table): Fix ISO 639 code for Greek. Reported
4324 by Stefan Holst <holst@mathematik.uni-mainz.de>.
4325 (charset_table): Add information for Hebrew, whine about ISO prices.
4326
4327 2005-03-09 Stephen J. Turnbull <stephen@xemacs.org>
4328
4329 * objects-x.c (x_font_instance_truename): Try to fix XListFonts
4330 crash by not handing random Xft results to core Xlib functions.
4331 Replace bizarre gymnastics with simple FcNameUnparse.
4332
4333 2005-03-07 Stephen J. Turnbull <stephen@xemacs.org>
4334
4335 * objects-x-impl.h: Include lwlib-fonts.h
4336
4337 * objects-x.c (x_font_instance_truename):
4338 * glyphs-x.c (update_widget_face):
4339 * frame-x.c (x_update_frame_external_traits):
4340 Use the correct variant of FONT_INSTANCE_{X,XFT}_FONT.
4341 Protect against access of uninitialized objects.
4342
4343 * redisplay-x.c (x_get_gc): Fix typo.
4344 * (x_output_string): Add comments, clarify logic slightly.
4345
4346 2005-03-05 Stephen J. Turnbull <stephen@xemacs.org>
4347
4348 Refactor language/charset checking in Xft.
4349
4350 * objects-x.c (struct charset_reporter): New type.
4351 (charset_table): New internal table.
4352 (DEBUG_XFT0):
4353 (DEBUG_XFT1):
4354 (DEBUG_XFT2):
4355 (PRINT_XFT_PATTERN):
4356 (CHECKING_LANG):
4357 New debugging macros.
4358 (mule_to_fc_charset): New function.
4359 (x_find_charset_font): Completely rewrite Xft part using the above.
4360
4361 Cache knowledge of charset in font instances.
4362
4363 * objects-impl.h (struct Lisp_Font_Instance): New member charset.
4364 Update comment on use of truename.
4365 * objects.c (syms_of_objects): DEFSUBR Ffont_instance_charset.
4366 (Ffont_instance_charset): New accessor.
4367 (Fmake_font_instance): New argument CHARSET, update charset member.
4368 (font_instantiate): Update call to Fmake_font_instance.
4369 (font_instance_description): Add charset member.
4370 * objects.h (Fmake_font_instance): Update EXFUN.
4371 (Ffont_instance_charset): New EXFUN.
4372
4373 Make Xft debug level adjustable from Lisp.
4374
4375 * xft-fonts.c (vars_of_xft_fonts): New DEFVAR_INT
4376 xft-debug-level (from debug_xft), adjust style of xft-version.
4377 * xft-fonts.h (debug_xft): Now Lisp-visible, change declaration.
4378
4379 Miscellaneous.
4380
4381 * lisp.h (Vcharset_iso8859_15): Export it.
4382 * faces.h (struct face_cachel): Update comment on space usage.
4383 * faces.c: Comment proposed changes to improve font handling.
4384 * frame-x.c:
4385 * EmacsShell-sub.c:
4386 Disable geometry debugging.
4387
4388 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org>
4389
4390 * xft-fonts.h:
4391 * xft-fonts.c:
4392 Update copyright notices.
4393
4394 * xft.fonts.h (string_list_to_fcobjectset):
4395 (extract_fcapi_string):
4396 Delete; static function declarations don't belong in headers.
4397
4398 * xft.fonts.c (string_list_to_fcobjectset):
4399 (extract_fcapi_string):
4400 Declare.
4401
4402 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org>
4403
4404 * objects-x.c (x_find_charset_font): ConfigSubstitute in the
4405 _pattern_ before matching.
4406
4407 2005-02-24 Stephen J. Turnbull <stephen@xemacs.org>
4408
4409 * faces.c (complex_vars_of_faces): Default to monospace-12 for
4410 Xft. (Suggestion by Aidan Kehoe.)
4411
4412 2005-02-24 Hrvoje Niksic <hniksic@xemacs.org>
4413
4414 * xgccache.h (XE_GCONTEXT): Move out of DEBUG_XEMACS block.
4415
4416 2005-02-22 Stephen J. Turnbull <stephen@xemacs.org>
4417
4418 * xft-fonts.c (debug_xft): Suppress all debug output for now.
4419
4420 2005-02-21 Stephen J. Turnbull <stephen@xemacs.org>
4421
4422 * emacs.c (xemacs-release-date): New version info variable.
4423 * config.h.in (XEMACS_RELEASE_DATE): New config.h macro.
4424
4425 * emacs.c (inhibit-early-packages):
4426 (inhibit-all-packages):
4427 (xemacs-extra-name): Improve docstrings.
4428
4429 2005-02-21 Stephen J. Turnbull <stephen@xemacs.org>
4430
4431 * objects-x.c (x_finalize_font_instance): Improve debug message.
4432
4433 2005-02-20 Stephen J. Turnbull <stephen@xemacs.org>
4434
4435 * objects-x.c (x_initialize_font_instance): Estimate average cell
4436 width based on dimensions of "representative" string. Suppress
4437 some excessive debug output. Get rid of spurious tests.
4438
4439 2005-02-11 Eric Knauel <eric@xemacs.org>
4440
4441 * xft-fonts.c: throw away old code that was wrapped inside
4442 comments
4443
4444 2005-02-11 Eric Knauel <eric@xemacs.org>
4445
4446 * xft-fonts.h: New prototype
4447
4448 * xft-fonts.c (Ffc_name_parse, Ffc_pattern_add, Ffc_pattern_del)
4449 (Ffc_pattern_get, fc_font_real_pattern)
4450 (string_list_to_fcobjectset): Use extract_fcapi_string()
4451 (extract_fcapi_string): New function
4452
4453 2005-02-09 Eric Knauel <eric@xemacs.org>
4454
4455 * xft-fonts.c (string_list_to_fcobjectset): Use loop macro instead
4456 of for.
4457
4458 2005-02-03 Eric Knauel <eric@xemacs.org>
4459
4460 * lrecord.h (enum lrecord_type): remove lrecord for FcObjectSets
4461
4462 * xft-fonts.h (struct fc_fontset): remove lrecord for FcObjectSets
4463
4464 * xft-fonts.c (DEFINE_LRECORD_IMPLEMENTATION):
4465 (Ffc_objectset_create, Ffc_objectset_p, Ffc_objectset_add)
4466 (Ffc_objectset_destroy): remove lrecord for FcObjectSets
4467 (Ffc_list_fonts_pattern_objects): adapt for new representation of
4468 FcObjectSets
4469 (string_list_to_fcobjectset): New utility function
4470
4471 2005-02-01 Stephen J. Turnbull <stephen@xemacs.org>
4472
4473 * redisplay-x.c (separate_textual_runs): Check for MULE properly.
4474
4475 2005-01-28 Stephen J. Turnbull <stephen@xemacs.org>
4476
4477 * glyphs-widget.c (Fwidget_logical_to_character_height):
4478 (Fwidget_logical_to_character_width):
4479 (layout_query_geometry):
4480 (widget_update):
4481 Fix typos in docstrings and preceding comments.
4482
4483 2005-01-26 Stephen J. Turnbull <stephen@xemacs.org>
4484
4485 * redisplay-x.c (x_output_string): Position strikethru by dl
4486 geometry. Kludge to fix remnants from antialiased underscores.
4487
4488 2004-12-19 Stephen J. Turnbull <stephen@xemacs.org>
4489
4490 * compiler.h (UNUSED): Document make-docfile.c hack.
4491
4492 2004-12-19 Stephen J. Turnbull <stephen@xemacs.org>
4493
4494 * glyphs-x.c,objects-x.c: Deemphasize warnings (to debug or alert).
4495
4496 * redisplay-x.c: Don't abort() when ichar_to_unicode returns error.
4497
4498 2004-12-17 Stephen J. Turnbull <stephen@xemacs.org>
4499
4500 * regex.c (re_match_2_internal): DEBUG_PRINT "can match null".
4501
4502 2004-12-10 Stephen J. Turnbull <stephen@xemacs.org>
4503
4504 * redisplay-x.c (x_text_width_single_run): Whitespace improvement.
4505
4506 2004-12-09 Stephen J. Turnbull <stephen@xemacs.org>
4507
4508 * glyphs-widget.c (image_instantiator_progress_gauge):
4509 (image_instantiator_format_create_glyphs_widget):
4510 Fix typo guage->gauge.
4511
4512 * emacs.c (main_1): Casting out devils (size_t).
4513
4514 * compiler.h (USED_IF_XFT): New variant.
4515 * objects-x.c (x_font_spec_matches_charset):
4516 * redisplay-x.c (x_text_width_single_run):
4517 Use it.
4518
4519 * config.h.in: Support USE_XFT_TABS and USE_XFT_GAUGE.
4520
4521 2004-11-28 Stephen J. Turnbull <stephen@xemacs.org>
4522
4523 * objects-x.c (x_initialize_font_instance): Make sure
4524 FONT_INSTANCE_X_FONT is cleared for Xft fonts. Add comments.
4525 Fiddle whitespace.
4526 (x_print_font_instance): Clarify printed font instance.
4527
4528 2004-11-27 Stephen J. Turnbull <stephen@xemacs.org>
4529
4530 * xft-fonts.h: Declare debug_xft.
4531
4532 * objects-x.c (x_font_instance_truename):
4533 Convert Xft* identifiers to Fc* versions.
4534
4535 (x_initialize_font_instance):
4536 (x_find_charset_font):
4537 Condition debugging on debug_xft. Get rid of unneeded "####
4538 debug" markers. Change fprintf to stderr_out.
4539
4540 (x_find_charset_font): Restore missing argument to
4541 DebugFcTypeOfValue. Remove nonworking debug cruft.
4542
4543 (FcResultToString):
4544 (FcTypeOfValueToString):
4545 (x_find_charset_font):
4546 Change DebugFc* to Fc*ToString.
4547
4548 2004-11-20 Stephen J. Turnbull <stephen@xemacs.org>
4549
4550 Xft branch based on "Xft reloaded #3" patch by Eric Knauel and
4551 Mathias Neuebaur, and other contributors.
4552
4553 * xft-fonts.h: New file. Declares new Lisp objects wrapping
4554 FcPattern, FcFontSet, and FcObjectSet.
4555 * xft-fonts.c: New file. Implements new Lisp objects wrapping
4556 FcPattern, FcFontSet, and FcObjectSet.
4557 * objects-x-impl.h: Declare XftFont component of font instance.
4558 * objects-x.c: Implement XftFont component of font instance.
4559 * redisplay-x.c: Implement drawing via Xft.
4560
4561 2005-11-21 Marcus Crestani <crestani@xemacs.org>
4562
4563 Incremental Garbage Collector
4564
4565 * .cvsignore: Add .dbxrc and .gdbinit.
4566
4567 * .dbxrc: Remove.
4568 * .dbxrc.in: New, used to generate .dbxrc: If newgc is enabled, do
4569 not break on SIGBUS and SIGSEGV.
4570 * .gdbinit: Remove.
4571 * .gdbinit: New, used to generate .gdbinit: If newgc is enabled,
4572 do not break on SIGBUS and SIGSEGV.
4573
4574 * Makefile.in.in: Add gc.c, newgc_objs and vdb_objs.
4575
4576 * alloc.c: Move the GC related code to gc.c: marking, gc hooks,
4577 garbage_collect_1, GC related Lisp functions and variables. Left
4578 in alloc.c are the allocation functions, the definition of
4579 lrecords, the sweep functions of the old garbage collector, and
4580 root-set code like staticpro and mcpro. Remove
4581 lrecord_string_data_stats.
4582 * alloc.c (DECREMENT_CONS_COUNTER): Remove call to
4583 recompute_need_to_garbage_collect.
4584 * alloc.c (init_lrecord_stats): Remove additionally allocated
4585 memory statistics, i.e. statistics for string data.
4586 * alloc.c (alloc_lrecord_array): New.
4587 * alloc.c (free_lrecord): Do not explicitly free during gc. Add
4588 recompute_need_to_garbage_collect.
4589 * alloc.c (make_compiled_function): Field arguments is now a Lisp
4590 object, thus init it to Qnil rather than NULL.
4591 * alloc.c (struct string_chars_block):
4592 * alloc.c (finalize_string):
4593 * alloc.c (struct string_chars):
4594 * alloc.c (make_uninit_string):
4595 * alloc.c (resize_string):
4596 * alloc.c (make_string_nocopy):
4597 String data is now a Lisp object. Remove code that handled string
4598 data specially.
4599 * alloc.c (init_lrecord_stats): Remove lrecord_string_data_stats.
4600 * alloc.c (common_init_alloc_early):
4601 * alloc.c (init_alloc_once_early):
4602 * alloc.c (syms_of_alloc):
4603 * alloc.c (vars_of_alloc):
4604 * alloc.c (complex_vars_of_alloc):
4605 Move init code to gc.c's inizializers.
4606
4607 * buffer.c:
4608 * buffer.c (syms_of_buffer):
4609 * buffer.h:
4610 * buffer.h (struct buffer_text): Add new Lisp object: buffer_text.
4611
4612 * bytecode.c:
4613 * bytecode.c (make_compiled_function_args):
4614 * bytecode.c (optimize_compiled_function):
4615 * bytecode.c (mark_compiled_function):
4616 * bytecode.c (finalize_compiled_function):
4617 * bytecode.c (syms_of_bytecode):
4618 * bytecode.h:
4619 * bytecode.h (struct compiled_function_args):
4620 * bytecode.h (struct Lisp_Compiled_Function): Add new Lisp object:
4621 compiled_function_args.
4622
4623 * config.h.in: Add NEW_GC symbol, add VDB_* symbols, and symbols
4624 for functions and structs checked for vdb.
4625
4626 * console-gtk-impl.h:
4627 * console-gtk-impl.h (struct gtk_device):
4628 * console-gtk-impl.h (struct gtk_frame):
4629 * console-msw-impl.h:
4630 * console-msw-impl.h (struct mswindows_device):
4631 * console-msw-impl.h (struct msprinter_device):
4632 * console-msw-impl.h (struct mswindows_frame):
4633 * console-stream-impl.h:
4634 * console-stream-impl.h (struct stream_console):
4635 * console-stream.c:
4636 * console-stream.c (stream_init_console):
4637 * console-stream.c (stream_delete_console):
4638 * console-stream.h:
4639 * console-tty-impl.h:
4640 * console-tty-impl.h (struct tty_console):
4641 * console-tty-impl.h (struct tty_device):
4642 * console-tty.c:
4643 * console-tty.c (allocate_tty_console_struct):
4644 * console-tty.c (free_tty_console_struct):
4645 * console-x-impl.h:
4646 * console-x-impl.h (struct x_device):
4647 * console-x-impl.h (struct x_frame):
4648 * console.c:
4649 * console.c (syms_of_console): Add new Lisp objects: tty_console,
4650 stream_consle.
4651
4652 * device-gtk.c:
4653 * device-gtk.c (allocate_gtk_device_struct):
4654 * device-gtk.c (free_gtk_device_struct):
4655 * device-gtk.c (syms_of_device_gtk):
4656 * device-msw.c:
4657 * device-msw.c (mswindows_init_device):
4658 * device-msw.c (mswindows_delete_device):
4659 * device-msw.c (msprinter_init_device):
4660 * device-msw.c (msprinter_delete_device):
4661 * device-msw.c (syms_of_device_mswindows):
4662 * device-tty.c:
4663 * device-tty.c (free_tty_device_struct):
4664 * device-tty.c (syms_of_device_tty):
4665 * device-x.c:
4666 * device-x.c (allocate_x_device_struct):
4667 * device-x.c (free_x_device_struct):
4668 * device-x.c (syms_of_device_x):
4669 * device.c: Add new Lisp objects: x_device, gtk_device,
4670 tty_device, mswindows_device, msprinter_device.
4671
4672 * dumper.c:
4673 * dumper.c (pdump_register_sub): Add XD_LISP_OBJECT_PTR.
4674 * dumper.c (pdump_register_object_array): New.
4675 * dumper.c (pdump_store_new_pointer_offsets): Add XD_LISP_OBJECT_PTR.
4676 * dumper.c (pdump_scan_lisp_objects_by_alignment): Remove assert,
4677 XD_LISP_OBJECT_PTR may occur as arrays.
4678 * dumper.c (pdump_reloc_one_mc): Add XD_LISP_OBJECT_PTR.
4679 * dumper.c (pdump_dump_rtables): Dump arrays.
4680 * dumper.c (pdump_load_finish): Store and restore state of
4681 allow_incremental_gc. Remove lrecord_string_data_stats.
4682
4683 * dynarr.c:
4684 * dynarr.c (Dynarr_lisp_newf): Special case dynamic Lisp array.
4685 * dynarr.c (Dynarr_resize): Special case dynamic Lisp array.
4686 * dynarr.c (Dynarr_free): Add dynamic Lisp array.
4687
4688 * elhash.c:
4689 * elhash.c (htentry):
4690 >>>>>>> other
31 * elhash.c (make_general_lisp_hash_table): 4691 * elhash.c (make_general_lisp_hash_table):
32 * elhash.c (Fcopy_hash_table): 4692 * elhash.c (Fcopy_hash_table):
4693 <<<<<<< local
33 * emacs.c (main_1): 4694 * emacs.c (main_1):
34 * event-stream.c: 4695 * event-stream.c:
35 * event-stream.c (allocate_command_builder): 4696 * event-stream.c (allocate_command_builder):
36 * event-stream.c (free_command_builder): 4697 * event-stream.c (free_command_builder):
37 * event-stream.c (mark_timeout): 4698 * event-stream.c (mark_timeout):
73 * tooltalk.c (make_tooltalk_message): 4734 * tooltalk.c (make_tooltalk_message):
74 * tooltalk.c (make_tooltalk_pattern): 4735 * tooltalk.c (make_tooltalk_pattern):
75 * ui-gtk.c (allocate_ffi_data): 4736 * ui-gtk.c (allocate_ffi_data):
76 * ui-gtk.c (allocate_emacs_gtk_object_data): 4737 * ui-gtk.c (allocate_emacs_gtk_object_data):
77 * ui-gtk.c (allocate_emacs_gtk_boxed_data): 4738 * ui-gtk.c (allocate_emacs_gtk_boxed_data):
4739 =======
4740 * elhash.c (resize_hash_table):
4741 * elhash.c (pdump_reorganize_hash_table):
4742 * elhash.c (init_elhash_once_early):
4743 * elhash.h: Add new Lisp object: hash_table_entry. Make
4744 hash_table_entries Lisp objects.
4745
4746 * emacs.c (main_1): Install platform's vdb signal handler, add GC
4747 init, add syms of GC and vdb, .
4748 * emacs.c: Replace garbage_collect_1 calls with gc_full calls.
4749 * emacs.c (fatal_error_signal): With vdb enabled, convert SIGSEGV
4750 and SIGBUS to SIGABRT.
4751
4752 * eval.c (Fsignal): Incremental GC may always run, changes are
4753 caught by the write barrier.
4754 * eval.c (handle_compiled_function_with_and_rest):
4755 * eval.c (funcall_compiled_function):
4756 * eval.c (Feval): Invoke incremental GC if need to GC.
4757 * eval.c (Ffuncall): Invoke incremental GC if need to GC.
4758 * eval.c (run_hook_with_args_in_buffer): Add new Lisp object:
4759 compiled_function_args.
4760
4761 * event-msw.c (mswindows_wnd_proc): Incremental GC may always run,
4762 changes are caught by the write barrier.
4763 * events.c (reinit_vars_of_events): Vevent_resource now
4764 collectible, staticpro it.
4765
4766 * extents.c:
4767 * extents.c (gap_array_marker):
4768 * extents.c (gap_array):
4769 * extents.c (extent_list_marker):
4770 * extents.c (extent_list):
4771 * extents.c (stack_of_extents):
4772 * extents.c (gap_array_make_gap):
4773 * extents.c (gap_array_make_marker):
4774 * extents.c (gap_array_delete_marker):
4775 * extents.c (gap_array_delete_all_markers):
4776 * extents.c (make_gap_array):
4777 * extents.c (free_gap_array):
4778 * extents.c (extent_list_insert):
4779 * extents.c (extent_list_make_marker):
4780 * extents.c (extent_list_delete_marker):
4781 * extents.c (allocate_extent_list):
4782 * extents.c (free_extent_list):
4783 * extents.c (finalize_extent_info):
4784 * extents.c (flush_cached_extent_info):
4785 * extents.c (uninit_buffer_extents):
4786 * extents.c (allocate_soe):
4787 * extents.c (free_soe):
4788 * extents.c (syms_of_extents):
4789 * extents.h: Add new Lisp object: gap_array_marker, gap_array,
4790 extent_list_marker, extent_list, and stack_of_extents.
4791
4792 * faces.h:
4793 * faces.h (struct face_cachel): Add new Lisp object: face cachel.
4794
4795 * frame-gtk.c:
4796 * frame-gtk.c (allocate_gtk_frame_struct):
4797 * frame-gtk.c (gtk_delete_frame):
4798 * frame-gtk.c (syms_of_frame_gtk):
4799 * frame-msw.c:
4800 * frame-msw.c (mswindows_init_frame_1):
4801 * frame-msw.c (mswindows_delete_frame):
4802 * frame-msw.c (syms_of_frame_mswindows):
4803 * frame-x.c:
4804 * frame-x.c (allocate_x_frame_struct):
4805 * frame-x.c (x_delete_frame):
4806 * frame-x.c (syms_of_frame_x):
4807 * frame.c:
4808 * frame.c (change_frame_size):
4809 * frame.c (syms_of_frame): Add new Lisp object: gtk_console,
4810 mswindows_console, and x_console.
4811
4812 * glyphs.c (struct expose_ignore_blocktype):
4813 * glyphs.c (check_for_ignored_expose):
4814 * glyphs.c (register_ignored_expose):
4815 * glyphs.c (reinit_vars_of_glyphs):
4816 * glyphs.h:
4817 * glyphs.h (struct glyph_cachel):
4818 * glyphs.h (struct expose_ignore): Add new Lisp object:
4819 glyph_cachel and expose_ignore.
4820
4821 * lisp.h: Move dynamic array definition down after lrecord
4822 inclusion. Add dynamic lisp array macros. Add direct and
4823 indirect string data. Add string accessors. Remove
4824 lrecord_string_data_stats.
4825 * lisp.h (struct Lisp_String_Direct_Data): New.
4826 * lisp.h (struct Lisp_String_Indirect_Data): New.
4827 * lisp.h (struct Lisp_String): Add indirect flag and Lisp object
4828 data.
4829
4830 * lrecord.h: Remove lrecord_type numbering.
4831 * lrecord.h (enum lrecord_type): Add new Lisp objects.
4832 * lrecord.h (MC_ALLOC_CALL_FINALIZER): Add GC statistics.
4833 * lrecord.h (enum memory_description_type): Add
4834 XD_LISP_OBJECT_BLOCK_PTR.
4835 * lrecord.h (XD_LISP_DYNARR_DESC): New.
4836 * lrecord.h (alloc_lrecord_array): New.
4837
4838 * mc-alloc.c:
4839 * mc-alloc.c (MIN_HEAP_INCREASE):
4840 * mc-alloc.c (free_link):
4841 * mc-alloc.c (page_header):
4842 * mc-alloc.c (FREE_HEAP_PAGES):
4843 * mc-alloc.c (PH_BLACK_BIT):
4844 * mc-alloc.c (get_mark_bit_index):
4845 * mc-alloc.c (add_pages_to_lookup_table):
4846 * mc-alloc.c (alloc_bit_array):
4847 * mc-alloc.c (get_bit):
4848 * mc-alloc.c (set_bit):
4849 * mc-alloc.c (USE_PNTR_MARK_BITS):
4850 * mc-alloc.c (GET_BIT_WORD):
4851 * mc-alloc.c (SET_BIT_WORD):
4852 * mc-alloc.c (ZERO_MARK_BITS_PNTR):
4853 * mc-alloc.c (alloc_mark_bits):
4854 * mc-alloc.c (free_mark_bits):
4855 * mc-alloc.c (set_mark_bit):
4856 * mc-alloc.c (alloc_page_header):
4857 * mc-alloc.c (free_page_header):
4858 * mc-alloc.c (get_used_list_index):
4859 * mc-alloc.c (get_free_list_index):
4860 * mc-alloc.c (install_cell_free_list):
4861 * mc-alloc.c (install_page_in_used_list):
4862 * mc-alloc.c (remove_page_from_used_list):
4863 * mc-alloc.c (allocate_new_page):
4864 * mc-alloc.c (mc_alloc_1):
4865 * mc-alloc.c (mc_alloc_array):
4866 * mc-alloc.c (mc_alloc):
4867 * mc-alloc.c (mark_free_list):
4868 * mc-alloc.c (finalize_page):
4869 * mc-alloc.c (finalize_page_for_disksave):
4870 * mc-alloc.c (sweep_page):
4871 * mc-alloc.c (mc_free):
4872 * mc-alloc.c (mc_realloc_1):
4873 * mc-alloc.c (mc_realloc_array):
4874 * mc-alloc.c (init_mc_allocator):
4875 * mc-alloc.c (Fmc_alloc_memory_usage):
4876 * mc-alloc.c (maybe_mark_black):
4877 * mc-alloc.h: Add incremental garbage collector support, various
4878 cleanups.
4879
4880 * objects-tty-impl.h:
4881 * objects-tty-impl.h (struct tty_color_instance_data):
4882 * objects-tty-impl.h (struct tty_font_instance_data):
4883 * objects-tty.c:
4884 * objects-tty.c (tty_initialize_color_instance):
4885 * objects-tty.c (tty_finalize_color_instance):
4886 * objects-tty.c (tty_initialize_font_instance):
4887 * objects-tty.c (tty_finalize_font_instance):
4888 * objects-tty.c (syms_of_objects_tty):
4889 * objects.c: New Lisp objects: color_instance_data and
4890 font_instance_data.
4891
4892 * print.c (print_internal): New Lisp object: string_data.
4893
4894 * specifier.c:
4895 * specifier.c (finalize_specifier):
4896 * specifier.c (set_specifier_caching):
4897 * specifier.c (syms_of_specifier):
4898 * specifier.h:
4899 * specifier.h (struct specifier_caching): New Lisp object:
4900 specifier caching.
4901
4902 * syntax.c:
4903 * syntax.c (init_buffer_syntax_cache):
4904 * syntax.c (uninit_buffer_syntax_cache):
4905 * syntax.c (syms_of_syntax):
4906 * syntax.h:
4907 * syntax.h (struct syntax_cache): New Lisp object: syntax_cache.
4908
4909 * window.c:
4910 >>>>>>> other
78 * window.c (allocate_window): 4911 * window.c (allocate_window):
4912 <<<<<<< local
79 * window.c (new_window_mirror): 4913 * window.c (new_window_mirror):
4914 =======
4915 >>>>>>> other
80 * window.c (make_dummy_parent): 4916 * window.c (make_dummy_parent):
4917 <<<<<<< local
81 Create a simpler interface (ALLOC_LCRECORD) for allocating 4918 Create a simpler interface (ALLOC_LCRECORD) for allocating
82 4919
4920 =======
4921 * window.c (syms_of_window): New Lisp objects: face_cachel,
4922 fache_cachel_dynarr, glyph_cachel, and glyph_cachel_dynarr.
4923
4924
4925 New files:
4926 * gc.c: Moved code from alloc.c. Split up garbage_collect_1 in a
4927 couple of smaller functions.
4928 * gc.h: Incremental Garbage Collector
4929
4930 * vdb-fake.c: Virtual dirty bit fake implementation.
4931 * vdb-mach.c: Virtual dirty bit implementation for Mach systems.
4932 * vdb-posix.c: Virtual dirty bit implementation for POSIX systems.
4933 * vdb-win32.c: Virtual dirty bit implementation for Win32 systems.
4934
4935 * vdb.c:
4936 * vdb.h: Platform independent virtual dirty bit implementation.
4937
4938
4939 Remove files:
4940 * .dbxrc:
4941 * .gdbinit: Now generated by configure script.
4942
4943 2005-11-22 Malcolm Purvis <malcolmp@xemacs.org>
4944
4945 * frame-gtk.c (gtk_internal_frame_property_p):
4946 * glyphs-gtk.c (image_instance_convert_to_pointer):
4947 * glyphs-gtk.c (gtk_xpm_instantiate):
4948 * glyphs-gtk.h (IMAGE_INSTANCE_GTK_MASK):
4949 * gtk-xemacs.c (gtk_xemacs_expose):
4950 * redisplay-gtk.c (gtk_output_vertical_divider):
4951 Fix compilation errors and warnings that have appeared over the
4952 last few months.
4953
4954 2005-11-22 Stephen J. Turnbull <stephen@xemacs.org>
4955
4956 * keymap.c (Fdefine_key): More focused docstring.
4957
4958 2005-11-20 Marcus Crestani <crestani@xemacs.org>
4959
4960 * lisp.h: Add default_object_printer prototype.
4961 * print.c (default_object_printer): Remove static.
4962 * print.c (print_internal): Use internal_object_printer if a
4963 object has no print method.
4964 * toolbar.c: Use default_object_printer for toolbar-button.
4965
4966 >>>>>>> other
83 2005-11-22 Ben Wing <ben@xemacs.org> 4967 2005-11-22 Ben Wing <ben@xemacs.org>
84 4968
85 * mule-coding.c (FROB): 4969 * mule-coding.c (FROB):
86 Fix crashes printing ISO2022 coding systems. 4970 Fix crashes printing ISO2022 coding systems.
87 4971
92 4976
93 2005-11-18 Aidan Kehoe <kehoea@parhasard.net> 4977 2005-11-18 Aidan Kehoe <kehoea@parhasard.net>
94 4978
95 * window.c (change_window_height): Have change_window_height 4979 * window.c (change_window_height): Have change_window_height
96 change the window width when requested to do so; fixes bugs and 4980 change the window width when requested to do so; fixes bugs and
97 error messages with VM, BBDB. 4981 error messages with VM, BBDB.
98 4982
99 2005-11-16 Stephen J. Turnbull <stephen@xemacs.org> 4983 2005-11-16 Stephen J. Turnbull <stephen@xemacs.org>
100 4984
101 * sound.c (USED_IF_HAVE_NATIVE_OR_NAS, USED_IF_HAVE_ANY): 4985 * sound.c (USED_IF_HAVE_NATIVE_OR_NAS, USED_IF_HAVE_ANY):
102 New conditional UNUSED macros. 4986 New conditional UNUSED macros.
124 * lrecord.h (set_lheader_implementation): 5008 * lrecord.h (set_lheader_implementation):
125 Move around the handling of setting of lheader->uid so it's in 5009 Move around the handling of setting of lheader->uid so it's in
126 set_lheader_implementation() -- that way, even non-MC-ALLOC builds 5010 set_lheader_implementation() -- that way, even non-MC-ALLOC builds
127 get useful uid's in their bare lrecords. Redo related code for 5011 get useful uid's in their bare lrecords. Redo related code for
128 strings so the non-ascii count that is stored in the uid isn't hosed. 5012 strings so the non-ascii count that is stored in the uid isn't hosed.
129 5013
130 * events.c: 5014 * events.c:
131 * events.c (deinitialize_event): 5015 * events.c (deinitialize_event):
132 * events.c (zero_event): 5016 * events.c (zero_event):
133 Save and restore the uid around event zeroing/deadbeefing. 5017 Save and restore the uid around event zeroing/deadbeefing.
134 5018
135 * lisp.h: 5019 * lisp.h:
136 Set the correct value of MAX_STRING_ASCII_BEGIN under MC_ALLOC. 5020 Set the correct value of MAX_STRING_ASCII_BEGIN under MC_ALLOC.
137 5021
138 * lisp.h (ZEROP): 5022 * lisp.h (ZEROP):
139 * lisp.h (XINT): 5023 * lisp.h (XINT):
140 * lisp.h (CHECK_INT): 5024 * lisp.h (CHECK_INT):
141 * lisp.h (CONCHECK_INT): 5025 * lisp.h (CONCHECK_INT):
142 * lisp.h (NATNUMP): 5026 * lisp.h (NATNUMP):
151 become inline functions. 5035 become inline functions.
152 5036
153 XCHAR and CHARP have additional error-checking in that they check to make 5037 XCHAR and CHARP have additional error-checking in that they check to make
154 sure that the value in question is not just a character but a valid 5038 sure that the value in question is not just a character but a valid
155 character (i.e. its numeric value is valid). 5039 character (i.e. its numeric value is valid).
156 5040
157 * print.c: 5041 * print.c:
158 * print.c (debug_p4): 5042 * print.c (debug_p4):
159 debug_p4 now has a useful UID in all cases and uses it; but it also prints 5043 debug_p4 now has a useful UID in all cases and uses it; but it also prints
160 the raw header address (previously, you just got one of them). 5044 the raw header address (previously, you just got one of them).
161 * text.h: 5045 * text.h:
400 2005-10-24 Ben Wing <ben@xemacs.org> 5284 2005-10-24 Ben Wing <ben@xemacs.org>
401 5285
402 * frame-msw.c: 5286 * frame-msw.c:
403 * frame-msw.c (decode_mswindows_frame): 5287 * frame-msw.c (decode_mswindows_frame):
404 New function, like decode_x_frame. 5288 New function, like decode_x_frame.
405 5289
406 * frame-msw.c (mswindows_window_id): 5290 * frame-msw.c (mswindows_window_id):
407 * frame-msw.c (mswindows_frame_property): 5291 * frame-msw.c (mswindows_frame_property):
408 * frame-msw.c (mswindows_internal_frame_property_p): 5292 * frame-msw.c (mswindows_internal_frame_property_p):
409 * frame-msw.c (mswindows_frame_properties): 5293 * frame-msw.c (mswindows_frame_properties):
410 * frame-msw.c (vars_of_frame_mswindows): 5294 * frame-msw.c (vars_of_frame_mswindows):
608 warnings in VC8. 5492 warnings in VC8.
609 5493
610 2005-10-10 Andrey Slusar <anrays@gmail.com> 5494 2005-10-10 Andrey Slusar <anrays@gmail.com>
611 5495
612 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and all _LP64 5496 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and all _LP64
613 archs. 5497 archs.
614 From Dejan Lesjak <dejan.lesjak@ijs.si> 5498 From Dejan Lesjak <dejan.lesjak@ijs.si>
615 5499
616 2005-10-04 Stephen J. Turnbull <stephen@xemacs.org> 5500 2005-10-04 Stephen J. Turnbull <stephen@xemacs.org>
617 5501
618 * Makefile.in.in (mule_canna_objs): Use correct name of .o. 5502 * Makefile.in.in (mule_canna_objs): Use correct name of .o.
1113 * symsinit.h: Add syms_of_mc_alloc. 5997 * symsinit.h: Add syms_of_mc_alloc.
1114 5998
1115 New lrecord allocation and free functions: 5999 New lrecord allocation and free functions:
1116 6000
1117 * alloc.c (alloc_lrecord): New. Allocates an lrecord, includes 6001 * alloc.c (alloc_lrecord): New. Allocates an lrecord, includes
1118 type checking and initializing of the lrecord_header. 6002 type checking and initializing of the lrecord_header.
1119 * alloc.c (noseeum_alloc_lrecord): Same as above, but increments 6003 * alloc.c (noseeum_alloc_lrecord): Same as above, but increments
1120 the NOSEEUM cons counter. 6004 the NOSEEUM cons counter.
1121 * alloc.c (free_lrecord): New. Calls the finalizer and frees the 6005 * alloc.c (free_lrecord): New. Calls the finalizer and frees the
1122 lrecord. 6006 lrecord.
1123 * lrecord.h: Add lrecord allocation prototypes and comments. 6007 * lrecord.h: Add lrecord allocation prototypes and comments.
1124 6008
1125 Remove old lrecord FROB block allocation: 6009 Remove old lrecord FROB block allocation:
1145 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): Remove. 6029 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): Remove.
1146 6030
1147 Allocate old lrecords with new allocator: 6031 Allocate old lrecords with new allocator:
1148 6032
1149 * alloc.c: DECLARE_FIXED_TYPE_ALLOC removed for all lrecords 6033 * alloc.c: DECLARE_FIXED_TYPE_ALLOC removed for all lrecords
1150 defined in alloc.c. 6034 defined in alloc.c.
1151 * alloc.c (Fcons): Allocate with new allocator. 6035 * alloc.c (Fcons): Allocate with new allocator.
1152 * alloc.c (noseeum_cons): Allocate with new allocator. 6036 * alloc.c (noseeum_cons): Allocate with new allocator.
1153 * alloc.c (make_float): Allocate with new allocator. 6037 * alloc.c (make_float): Allocate with new allocator.
1154 * alloc.c (make_bignum): Allocate with new allocator. 6038 * alloc.c (make_bignum): Allocate with new allocator.
1155 * alloc.c (make_bignum_bg): Allocate with new allocator. 6039 * alloc.c (make_bignum_bg): Allocate with new allocator.
1212 * alloc.c (free_misc_user_data): Use new allocator to free. 6096 * alloc.c (free_misc_user_data): Use new allocator to free.
1213 * alloc.c (sweep_markers): Remove. 6097 * alloc.c (sweep_markers): Remove.
1214 * alloc.c (free_marker): Use new allocator to free. 6098 * alloc.c (free_marker): Use new allocator to free.
1215 * alloc.c (garbage_collect_1): Remove release_breathing_space. 6099 * alloc.c (garbage_collect_1): Remove release_breathing_space.
1216 * alloc.c (gc_sweep): Remove all the old lcrecord and lrecord 6100 * alloc.c (gc_sweep): Remove all the old lcrecord and lrecord
1217 related stuff. Sweeping now works like this: compact string 6101 related stuff. Sweeping now works like this: compact string
1218 chars, finalize, sweep. 6102 chars, finalize, sweep.
1219 * alloc.c (common_init_alloc_early): Remove old lrecord 6103 * alloc.c (common_init_alloc_early): Remove old lrecord
1220 initializations, remove breathing_space. 6104 initializations, remove breathing_space.
1221 * emacs.c (Fdump_emacs): Remove release_breathing_space. 6105 * emacs.c (Fdump_emacs): Remove release_breathing_space.
1222 * lisp.h: Remove prototype for release_breathing_space. 6106 * lisp.h: Remove prototype for release_breathing_space.
1223 * lisp.h: Adjust the special cons mark makros. 6107 * lisp.h: Adjust the special cons mark makros.
1233 * marker.c (finalize_marker): Add finalizer for marker. 6117 * marker.c (finalize_marker): Add finalizer for marker.
1234 6118
1235 These changes build the interface to mc-alloc: 6119 These changes build the interface to mc-alloc:
1236 6120
1237 * lrecord.h (MC_ALLOC_CALL_FINALIZER): Tell mc-alloc how to 6121 * lrecord.h (MC_ALLOC_CALL_FINALIZER): Tell mc-alloc how to
1238 finalize lrecords. 6122 finalize lrecords.
1239 * lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE): Tell 6123 * lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE): Tell
1240 mc-alloc how to finalize for disksave. 6124 mc-alloc how to finalize for disksave.
1241 6125
1242 Unify lrecords and lcrecords: 6126 Unify lrecords and lcrecords:
1243 6127
1244 * lisp.h (struct Lisp_String): Adjust string union hack to 6128 * lisp.h (struct Lisp_String): Adjust string union hack to
1245 new lrecord header. 6129 new lrecord header.
1246 * lrecord.h: Adjust comments. 6130 * lrecord.h: Adjust comments.
1247 * lrecord.h (struct lrecord_header): The new lrecord header 6131 * lrecord.h (struct lrecord_header): The new lrecord header
1248 includes type, lisp-readonly, free, and uid. 6132 includes type, lisp-readonly, free, and uid.
1249 * lrecord.h (set_lheader_implementation): Adjust to new 6133 * lrecord.h (set_lheader_implementation): Adjust to new
1250 lrecord_header. 6134 lrecord_header.
1251 * lrecord.h (struct lrecord_implementation): The field basic_p 6135 * lrecord.h (struct lrecord_implementation): The field basic_p
1252 for indication of an old lrecord is not needed anymore, remove. 6136 for indication of an old lrecord is not needed anymore, remove.
1253 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): Remove basic_p. 6137 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): Remove basic_p.
1254 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Remove 6138 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Remove
1255 basic_p. 6139 basic_p.
1256 * lrecord.h (copy_sized_lrecord): Remove distinction between 6140 * lrecord.h (copy_sized_lrecord): Remove distinction between
1257 old lrecords and lcrecords. 6141 old lrecords and lcrecords.
1258 * lrecord.h (copy_lrecord): Remove distinction between old 6142 * lrecord.h (copy_lrecord): Remove distinction between old
1259 lrecords and lcrecords. 6143 lrecords and lcrecords.
1260 * lrecord.h (zero_sized_lrecord): Remove distinction between 6144 * lrecord.h (zero_sized_lrecord): Remove distinction between
1261 old lrecords and lcrecords. 6145 old lrecords and lcrecords.
1262 * lrecord.h (zero_lrecord): Remove distinction between old 6146 * lrecord.h (zero_lrecord): Remove distinction between old
1263 lrecords and lcrecords. 6147 lrecords and lcrecords.
1264 6148
1265 Remove lcrecords and lcrecord lists: 6149 Remove lcrecords and lcrecord lists:
1266 6150
1267 * alloc.c (basic_alloc_lcrecord): Not needed anymore, remove. 6151 * alloc.c (basic_alloc_lcrecord): Not needed anymore, remove.
1268 * alloc.c (very_old_free_lcrecord): Not needed anymore, remove. 6152 * alloc.c (very_old_free_lcrecord): Not needed anymore, remove.
1269 * alloc.c (copy_lisp_object): No more distinction between 6153 * alloc.c (copy_lisp_object): No more distinction between
1270 lrecords and lcrecords. 6154 lrecords and lcrecords.
1271 * alloc.c (all_lcrecords): Not needed anymore, remove. 6155 * alloc.c (all_lcrecords): Not needed anymore, remove.
1272 * alloc.c (make_vector_internal): Allocate as lrecord. 6156 * alloc.c (make_vector_internal): Allocate as lrecord.
1273 * alloc.c (make_bit_vector_internal): Allocate as lrecord. 6157 * alloc.c (make_bit_vector_internal): Allocate as lrecord.
1274 * alloc.c: Completely remove `lcrecord lists'. 6158 * alloc.c: Completely remove `lcrecord lists'.
1275 * alloc.c (free_description): Remove. 6159 * alloc.c (free_description): Remove.
1286 mc_finalize_for_disksave. Remove the lcrecord way to visit all 6170 mc_finalize_for_disksave. Remove the lcrecord way to visit all
1287 objects. 6171 objects.
1288 * alloc.c (kkcc_marking): Remove XD_FLAG_FREE_LISP_OBJECT 6172 * alloc.c (kkcc_marking): Remove XD_FLAG_FREE_LISP_OBJECT
1289 * alloc.c (sweep_lcrecords_1): Remove. 6173 * alloc.c (sweep_lcrecords_1): Remove.
1290 * alloc.c (common_init_alloc_early): Remove everything related 6174 * alloc.c (common_init_alloc_early): Remove everything related
1291 to lcrecords, remove old lrecord initializations, 6175 to lcrecords, remove old lrecord initializations,
1292 * alloc.c (init_lcrecord_lists): Not needed anymore, remove. 6176 * alloc.c (init_lcrecord_lists): Not needed anymore, remove.
1293 * alloc.c (reinit_alloc_early): Remove everything related to 6177 * alloc.c (reinit_alloc_early): Remove everything related to
1294 lcrecords. 6178 lcrecords.
1295 * alloc.c (init_alloc_once_early): Remove everything related to 6179 * alloc.c (init_alloc_once_early): Remove everything related to
1296 lcrecords. 6180 lcrecords.
1297 * buffer.c (allocate_buffer): Allocate as lrecord. 6181 * buffer.c (allocate_buffer): Allocate as lrecord.
1298 * buffer.c (nuke_all_buffer_slots): Use lrecord functions. 6182 * buffer.c (nuke_all_buffer_slots): Use lrecord functions.
1299 * buffer.c (common_init_complex_vars_of_buffer): Allocate as 6183 * buffer.c (common_init_complex_vars_of_buffer): Allocate as
1300 lrecord. 6184 lrecord.
1301 * buffer.h (struct buffer): Add lrecord_header. 6185 * buffer.h (struct buffer): Add lrecord_header.
1302 * casetab.c (allocate_case_table): Allocate as lrecord. 6186 * casetab.c (allocate_case_table): Allocate as lrecord.
1334 * event-stream.c: Lcrecord lists Vcommand_builder_free_list and 6218 * event-stream.c: Lcrecord lists Vcommand_builder_free_list and
1335 Vtimeout_free_list are no longer needed. Remove. 6219 Vtimeout_free_list are no longer needed. Remove.
1336 * event-stream.c (allocate_command_builder): Allocate as lrecord. 6220 * event-stream.c (allocate_command_builder): Allocate as lrecord.
1337 * event-stream.c (free_command_builder): Use lrecord functions. 6221 * event-stream.c (free_command_builder): Use lrecord functions.
1338 * event-stream.c (event_stream_generate_wakeup): Allocate as 6222 * event-stream.c (event_stream_generate_wakeup): Allocate as
1339 lrecord. 6223 lrecord.
1340 * event-stream.c (event_stream_resignal_wakeup): Use lrecord 6224 * event-stream.c (event_stream_resignal_wakeup): Use lrecord
1341 functions. 6225 functions.
1342 * event-stream.c (event_stream_disable_wakeup): Use lrecord 6226 * event-stream.c (event_stream_disable_wakeup): Use lrecord
1343 functions. 6227 functions.
1344 * event-stream.c (reinit_vars_of_event_stream): Lcrecord lists 6228 * event-stream.c (reinit_vars_of_event_stream): Lcrecord lists
1386 initialization remove. 6270 initialization remove.
1387 * lstream.h (struct lstream): Add lrecord_header. 6271 * lstream.h (struct lstream): Add lrecord_header.
1388 * emacs.c (main_1): Remove lstream initialization. 6272 * emacs.c (main_1): Remove lstream initialization.
1389 * mule-charset.c (make_charset): Allocate as lrecord. 6273 * mule-charset.c (make_charset): Allocate as lrecord.
1390 * objects-impl.h (struct Lisp_Color_Instance): Add 6274 * objects-impl.h (struct Lisp_Color_Instance): Add
1391 lrecord_header. 6275 lrecord_header.
1392 * objects-impl.h (struct Lisp_Font_Instance): Add lrecord_header. 6276 * objects-impl.h (struct Lisp_Font_Instance): Add lrecord_header.
1393 * objects.c (Fmake_color_instance): Allocate as lrecord. 6277 * objects.c (Fmake_color_instance): Allocate as lrecord.
1394 * objects.c (Fmake_font_instance): Allocate as lrecord. 6278 * objects.c (Fmake_font_instance): Allocate as lrecord.
1395 * objects.c (reinit_vars_of_objects): Allocate as lrecord. 6279 * objects.c (reinit_vars_of_objects): Allocate as lrecord.
1396 * opaque.c: Lcreord list Vopaque_ptr_list remove. 6280 * opaque.c: Lcreord list Vopaque_ptr_list remove.
1449 * scrollbar-gtk.c (gtk_compute_scrollbar_instance_usage): Get 6333 * scrollbar-gtk.c (gtk_compute_scrollbar_instance_usage): Get
1450 storage size from new allocator. 6334 storage size from new allocator.
1451 * scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage): 6335 * scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage):
1452 Get storage size from new allocator. 6336 Get storage size from new allocator.
1453 * scrollbar-x.c (x_compute_scrollbar_instance_usage): Get 6337 * scrollbar-x.c (x_compute_scrollbar_instance_usage): Get
1454 storage size from new allocator. 6338 storage size from new allocator.
1455 * scrollbar.c (compute_scrollbar_instance_usage): Get storage 6339 * scrollbar.c (compute_scrollbar_instance_usage): Get storage
1456 size from new allocator. 6340 size from new allocator.
1457 * unicode.c (compute_from_unicode_table_size_1): Get storage 6341 * unicode.c (compute_from_unicode_table_size_1): Get storage
1458 size from new allocator. 6342 size from new allocator.
1459 * unicode.c (compute_to_unicode_table_size_1): Get storage size 6343 * unicode.c (compute_to_unicode_table_size_1): Get storage size
1460 from new allocator. 6344 from new allocator.
1461 * window.c (compute_window_mirror_usage): Get storage size from 6345 * window.c (compute_window_mirror_usage): Get storage size from
1462 new allocator. 6346 new allocator.
1463 * window.c (compute_window_usage): Get storage size from new 6347 * window.c (compute_window_usage): Get storage size from new
1478 * emacs.c (main_1): Init lrecord statistics. 6362 * emacs.c (main_1): Init lrecord statistics.
1479 * lrecord.h: Add prototypes for *_lrecord_stats. 6363 * lrecord.h: Add prototypes for *_lrecord_stats.
1480 6364
1481 Strings: 6365 Strings:
1482 6366
1483 * alloc.c (Fmake_string): Initialize ascii_begin to zero. 6367 * alloc.c (Fmake_string): Initialize ascii_begin to zero.
1484 * alloc.c (gc_count_num_short_string_in_use): Remove. 6368 * alloc.c (gc_count_num_short_string_in_use): Remove.
1485 * alloc.c (gc_count_string_total_size): Remove. 6369 * alloc.c (gc_count_string_total_size): Remove.
1486 * alloc.c (gc_count_short_string_total_size): Remove. 6370 * alloc.c (gc_count_short_string_total_size): Remove.
1487 * alloc.c (debug_string_purity): Remove. 6371 * alloc.c (debug_string_purity): Remove.
1488 * alloc.c (debug_string_purity_print): Remove. 6372 * alloc.c (debug_string_purity_print): Remove.
1490 6374
1491 Remove static C-readonly Lisp objects: 6375 Remove static C-readonly Lisp objects:
1492 6376
1493 * alloc.c (c_readonly): Not needed anymore, remove. 6377 * alloc.c (c_readonly): Not needed anymore, remove.
1494 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): Remove some obsolete 6378 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): Remove some obsolete
1495 lheader invariants assertions. 6379 lheader invariants assertions.
1496 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Allocate dynamically. 6380 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Allocate dynamically.
1497 * console.c (DEFVAR_CONSOLE_LOCAL_1): Allocate dynamically. 6381 * console.c (DEFVAR_CONSOLE_LOCAL_1): Allocate dynamically.
1498 * gpmevent.c: Indirection via MC_ALLOC_Freceive_gpm_event. 6382 * gpmevent.c: Indirection via MC_ALLOC_Freceive_gpm_event.
1499 * gpmevent.c (Fgpm_enable): Allocate dynamically. 6383 * gpmevent.c (Fgpm_enable): Allocate dynamically.
1500 * gpmevent.c (syms_of_gpmevent): Allocate dynamically. 6384 * gpmevent.c (syms_of_gpmevent): Allocate dynamically.
1501 * lisp.h (C_READONLY): Not needed anymore, remove. 6385 * lisp.h (C_READONLY): Not needed anymore, remove.
1502 * lisp.h (DEFUN): Allocate dynamically. 6386 * lisp.h (DEFUN): Allocate dynamically.
1503 * lrecord.h (C_READONLY_RECORD_HEADER_P): Not needed anymore, 6387 * lrecord.h (C_READONLY_RECORD_HEADER_P): Not needed anymore,
1504 remove. 6388 remove.
1505 * lrecord.h (SET_C_READONLY_RECORD_HEADER): Not needed anymore, 6389 * lrecord.h (SET_C_READONLY_RECORD_HEADER): Not needed anymore,
1506 remove. 6390 remove.
1507 * symbols.c (guts_of_unbound_marker): 6391 * symbols.c (guts_of_unbound_marker):
1508 * symeval.h (defsubr): Allocate dynamically. 6392 * symeval.h (defsubr): Allocate dynamically.
1509 * symeval.h (DEFSUBR_MACRO): Allocate dynamically. 6393 * symeval.h (DEFSUBR_MACRO): Allocate dynamically.
1510 * symeval.h (DEFVAR_ SYMVAL_FWD): Allocate dynamically. 6394 * symeval.h (DEFVAR_ SYMVAL_FWD): Allocate dynamically.
1511 * tests.c (TESTS_DEFSUBR): Allocate dynamically. 6395 * tests.c (TESTS_DEFSUBR): Allocate dynamically.
1512 6396
1513 Definition of mcpro: 6397 Definition of mcpro:
1514 6398
1515 * lisp.h: Add mcpro prototypes. 6399 * lisp.h: Add mcpro prototypes.
1516 * alloc.c (common_init_alloc_early): Add initialization for 6400 * alloc.c (common_init_alloc_early): Add initialization for
1517 mcpros. 6401 mcpros.
1518 * alloc.c (mcpro_description_1): New. 6402 * alloc.c (mcpro_description_1): New.
1519 * alloc.c (mcpro_description): New. 6403 * alloc.c (mcpro_description): New.
1520 * alloc.c (mcpros_description_1): New. 6404 * alloc.c (mcpros_description_1): New.
1521 * alloc.c (mcpros_description): New. 6405 * alloc.c (mcpros_description): New.
1522 * alloc.c (mcpro_one_name_description_1): New. 6406 * alloc.c (mcpro_one_name_description_1): New.
1574 * Makefile.in.in: Linking for and with dump in executable only if 6458 * Makefile.in.in: Linking for and with dump in executable only if
1575 DUMP_IN_EXEC is defined. 6459 DUMP_IN_EXEC is defined.
1576 * config.h.in: Add new flag `DUMP_IN_EXEC' 6460 * config.h.in: Add new flag `DUMP_IN_EXEC'
1577 * emacs.c: Condition dump-data.h on DUMP_IN_EXEC. 6461 * emacs.c: Condition dump-data.h on DUMP_IN_EXEC.
1578 * emacs.c (main_1): Flag `-si' only works if dump image is 6462 * emacs.c (main_1): Flag `-si' only works if dump image is
1579 written into executable. 6463 written into executable.
1580 6464
1581 Miscellanious 6465 Miscellanious
1582 6466
1583 * lrecord.h (enum lrecord_type): Added numbers to all types, 6467 * lrecord.h (enum lrecord_type): Added numbers to all types,
1584 very handy for debugging. 6468 very handy for debugging.
1585 * xemacs.def.in.in: Add mc-alloc functions to make them visible 6469 * xemacs.def.in.in: Add mc-alloc functions to make them visible
1586 to the modules. 6470 to the modules.
1587 6471
1588 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org> 6472 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
1589 6473
1590 * chartab.c (Fchar_table_p): 6474 * chartab.c (Fchar_table_p):
1591 (Fget_range_char_table): 6475 (Fget_range_char_table):
1622 * dumper.c (pdump_bump_depth): Use it, and avoid buffer overflow 6506 * dumper.c (pdump_bump_depth): Use it, and avoid buffer overflow
1623 by fixing comparison. 6507 by fixing comparison.
1624 6508
1625 2005-02-24 Andrey Slusar <anrays@gmail.com> 6509 2005-02-24 Andrey Slusar <anrays@gmail.com>
1626 6510
1627 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64. 6511 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
1628 6512
1629 2005-03-25 Marcus Crestani <crestani@xemacs.org> 6513 2005-03-25 Marcus Crestani <crestani@xemacs.org>
1630 6514
1631 * device-x.c: Include process.h for egetenv. 6515 * device-x.c: Include process.h for egetenv.
1632 6516
1717 * Makefile.in.in (obj_src): Fix a typo in the PDUMP section 6601 * Makefile.in.in (obj_src): Fix a typo in the PDUMP section
1718 6602
1719 2005-03-02 Marcus Crestani <crestani@informatik.uni-tuebingen.de> 6603 2005-03-02 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
1720 6604
1721 * redisplay.h (struct rune): make type field an int, to fix 6605 * redisplay.h (struct rune): make type field an int, to fix
1722 KKCC marking of unions. 6606 KKCC marking of unions.
1723 6607
1724 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org> 6608 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
1725 6609
1726 * regex.c (re_match_2_internal): 6610 * regex.c (re_match_2_internal):
1727 * regex.h (struct re_pattern_buffer): 6611 * regex.h (struct re_pattern_buffer):
1784 Make get_selection_raw_time available. 6668 Make get_selection_raw_time available.
1785 6669
1786 2005-02-26 Aidan Kehoe <kehoea@parhasard.net> 6670 2005-02-26 Aidan Kehoe <kehoea@parhasard.net>
1787 6671
1788 * select-x.c (x_reply_selection_request): Use XtRegisterDrawable 6672 * select-x.c (x_reply_selection_request): Use XtRegisterDrawable
1789 to tell Xt not to drop PropertyChange events destined for the 6673 to tell Xt not to drop PropertyChange events destined for the
1790 selection request target window. This makes incremental selection 6674 selection request target window. This makes incremental selection
1791 transfer work, instead of looping until interrupted. 6675 transfer work, instead of looping until interrupted.
1792 6676
1793 2005-01-06 Andrey Slusar <anrays@gmail.com> 6677 2005-01-06 Andrey Slusar <anrays@gmail.com>
1794 6678
1795 * s/freebsd.h: fix build on the FreeBSD 6 6679 * s/freebsd.h: fix build on the FreeBSD 6
1796 6680
2537 Only call device method compute_scrollbar_instance_usage() if it 7421 Only call device method compute_scrollbar_instance_usage() if it
2538 is defined. 7422 is defined.
2539 7423
2540 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org> 7424 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
2541 7425
2542 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo. 7426 * EmacsManager.c (EmacsManagerChangeSize):
7427 Respect XtGeometryNo, and exit immediately if geometry change
7428 refused. Fixes notorious metacity maximize bug.
2543 7429
2544 2004-12-07 Malcolm Purvis <malcolmp@xemacs.org> 7430 2004-12-07 Malcolm Purvis <malcolmp@xemacs.org>
2545 7431
2546 * Makefile.in.in: Always refer to make as $(MAKE) and use 7432 * Makefile.in.in: Always refer to make as $(MAKE) and use
2547 $(RECURSIVE_MAKE_ARGS) for other parameters. This allows -j to 7433 $(RECURSIVE_MAKE_ARGS) for other parameters. This allows -j to
2679 Fix compile error. 7565 Fix compile error.
2680 7566
2681 2004-10-27 Ben Wing <ben@xemacs.org> 7567 2004-10-27 Ben Wing <ben@xemacs.org>
2682 7568
2683 --------------------------------------------------------------- 7569 ---------------------------------------------------------------
2684 MULE-RELATED WORK: 7570 MULE-RELATED WORK:
2685 --------------------------------------------------------------- 7571 ---------------------------------------------------------------
2686 7572
2687 --------------------------- 7573 ---------------------------
2688 byte-char conversion 7574 byte-char conversion
2689 --------------------------- 7575 ---------------------------
2690 7576
2691 * buffer.c: 7577 * buffer.c:
2692 * buffer.h (BUFFER_TEXT_LOOP): 7578 * buffer.h (BUFFER_TEXT_LOOP):
2693 * buffer.h (BYTE_BUF_CEILING_OF_IGNORE_ACCESSIBLE): 7579 * buffer.h (BYTE_BUF_CEILING_OF_IGNORE_ACCESSIBLE):
2978 * dynarr.c (Dynarr_realloc): 7864 * dynarr.c (Dynarr_realloc):
2979 * dynarr.c (Dynarr_resize): 7865 * dynarr.c (Dynarr_resize):
2980 int -> Bytecount. 7866 int -> Bytecount.
2981 7867
2982 --------------------------- 7868 ---------------------------
2983 Mule-izing 7869 Mule-izing
2984 --------------------------- 7870 ---------------------------
2985 7871
2986 * device-x.c: 7872 * device-x.c:
2987 * device-x.c (Fx_server_vendor): 7873 * device-x.c (Fx_server_vendor):
2988 * device-x.c (Fx_valid_keysym_name_p): 7874 * device-x.c (Fx_valid_keysym_name_p):
3079 * text.h: 7965 * text.h:
3080 Add some more stand-in defines for particular kinds of conversion; 7966 Add some more stand-in defines for particular kinds of conversion;
3081 use in Mule-ization work in frame-x.c etc. 7967 use in Mule-ization work in frame-x.c etc.
3082 7968
3083 --------------------------- 7969 ---------------------------
3084 Freshening 7970 Freshening
3085 --------------------------- 7971 ---------------------------
3086 7972
3087 * intl-auto-encap-win32.c: 7973 * intl-auto-encap-win32.c:
3088 * intl-auto-encap-win32.c (qxePeekConsoleInput): 7974 * intl-auto-encap-win32.c (qxePeekConsoleInput):
3089 * intl-auto-encap-win32.c (qxeReadConsoleInput): 7975 * intl-auto-encap-win32.c (qxeReadConsoleInput):
3489 * intl-auto-encap-win32.h (OpenJobObject): 8375 * intl-auto-encap-win32.h (OpenJobObject):
3490 * intl-auto-encap-win32.h (qxemciGetErrorString): 8376 * intl-auto-encap-win32.h (qxemciGetErrorString):
3491 Regenerate. 8377 Regenerate.
3492 8378
3493 --------------------------- 8379 ---------------------------
3494 Unicode-work 8380 Unicode-work
3495 --------------------------- 8381 ---------------------------
3496 8382
3497 * intl-win32.c (convert_multibyte_to_unicode_malloc): 8383 * intl-win32.c (convert_multibyte_to_unicode_malloc):
3498 * intl-win32.c (convert_unicode_to_multibyte_malloc): 8384 * intl-win32.c (convert_unicode_to_multibyte_malloc):
3499 * intl-win32.c (unicode_multibyte_convert_now_damn_it): 8385 * intl-win32.c (unicode_multibyte_convert_now_damn_it):
3522 * unicode.c (init_charset_unicode_tables): 8408 * unicode.c (init_charset_unicode_tables):
3523 * unicode.c (vars_of_unicode): 8409 * unicode.c (vars_of_unicode):
3524 Dump the blank tables as well. 8410 Dump the blank tables as well.
3525 8411
3526 --------------------------------------------------------------- 8412 ---------------------------------------------------------------
3527 DOCUMENTATION, MOSTLY MULE-RELATED: 8413 DOCUMENTATION, MOSTLY MULE-RELATED:
3528 --------------------------------------------------------------- 8414 ---------------------------------------------------------------
3529 8415
3530 * EmacsFrame.c (Xt_StringToScrollBarPlacement): 8416 * EmacsFrame.c (Xt_StringToScrollBarPlacement):
3531 * emodules.c: 8417 * emodules.c:
3532 * event-Xt.c (x_to_emacs_keysym): 8418 * event-Xt.c (x_to_emacs_keysym):
3623 * device-msw.c (msprinter_init_device): 8509 * device-msw.c (msprinter_init_device):
3624 * redisplay-msw.c (mswindows_text_width_single_run): 8510 * redisplay-msw.c (mswindows_text_width_single_run):
3625 @@#### comments are out-of-date. 8511 @@#### comments are out-of-date.
3626 8512
3627 --------------------------------------------------------------- 8513 ---------------------------------------------------------------
3628 PDUMP WORK (MOTIVATED BY UNICODE CHANGES) 8514 PDUMP WORK (MOTIVATED BY UNICODE CHANGES)
3629 --------------------------------------------------------------- 8515 ---------------------------------------------------------------
3630 8516
3631 * alloc.c (lispdesc_block_size_1): 8517 * alloc.c (lispdesc_block_size_1):
3632 * alloc.c (lispdesc_one_description_line_size): 8518 * alloc.c (lispdesc_one_description_line_size):
3633 * alloc.c (mark_struct_contents): 8519 * alloc.c (mark_struct_contents):
3701 8587
3702 * extents.c: 8588 * extents.c:
3703 remove incorrect comment about pdump problems with gap array. 8589 remove incorrect comment about pdump problems with gap array.
3704 8590
3705 --------------------------------------------------------------- 8591 ---------------------------------------------------------------
3706 ALLOCATION 8592 ALLOCATION
3707 --------------------------------------------------------------- 8593 ---------------------------------------------------------------
3708 8594
3709 * abbrev.c (abbrev_oblookup): 8595 * abbrev.c (abbrev_oblookup):
3710 * alloc.c (MALLOC_BEGIN): 8596 * alloc.c (MALLOC_BEGIN):
3711 * bytecode.c (compiled_function_instructions): 8597 * bytecode.c (compiled_function_instructions):
3835 * text.h (C_STRING_TO_SIZED_EXTERNAL_MALLOC): 8721 * text.h (C_STRING_TO_SIZED_EXTERNAL_MALLOC):
3836 Fill out the convenience functions so the _MALLOC() kinds match 8722 Fill out the convenience functions so the _MALLOC() kinds match
3837 the alloca() kinds. 8723 the alloca() kinds.
3838 8724
3839 --------------------------------------------------------------- 8725 ---------------------------------------------------------------
3840 ERROR-CHECKING 8726 ERROR-CHECKING
3841 --------------------------------------------------------------- 8727 ---------------------------------------------------------------
3842 8728
3843 * text.h (eicpy_c): 8729 * text.h (eicpy_c):
3844 * text.h (eicpy_c_len): 8730 * text.h (eicpy_c_len):
3845 * text.h (eicat_c): 8731 * text.h (eicat_c):
3848 from similar Eistring checkers and change the Eistring checkers to 8734 from similar Eistring checkers and change the Eistring checkers to
3849 use them instead. 8735 use them instead.
3850 8736
3851 8737
3852 --------------------------------------------------------------- 8738 ---------------------------------------------------------------
3853 MACROS IN LISP.H 8739 MACROS IN LISP.H
3854 --------------------------------------------------------------- 8740 ---------------------------------------------------------------
3855 8741
3856 * lisp.h (GCDECL1): 8742 * lisp.h (GCDECL1):
3857 * lisp.h (NNUNGCPRO): 8743 * lisp.h (NNUNGCPRO):
3858 * lisp.h (XGCDECL1): 8744 * lisp.h (XGCDECL1):
3907 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2 8793 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2
3908 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP. 8794 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP.
3909 8795
3910 8796
3911 --------------------------------------------------------------- 8797 ---------------------------------------------------------------
3912 SPACING FIXES 8798 SPACING FIXES
3913 --------------------------------------------------------------- 8799 ---------------------------------------------------------------
3914 8800
3915 * callint.c (Fcall_interactively): 8801 * callint.c (Fcall_interactively):
3916 * hftctl.c (WR_REQ): 8802 * hftctl.c (WR_REQ):
3917 * number-gmp.c (init_number_gmp): 8803 * number-gmp.c (init_number_gmp):
3918 * process-unix.c (unix_deactivate_process): 8804 * process-unix.c (unix_deactivate_process):
3919 Spacing fixes. 8805 Spacing fixes.
3920 8806
3921 8807
3922 --------------------------------------------------------------- 8808 ---------------------------------------------------------------
3923 FIX FOR GEOMETRY PROBLEM IN FIRST FRAME 8809 FIX FOR GEOMETRY PROBLEM IN FIRST FRAME
3924 --------------------------------------------------------------- 8810 ---------------------------------------------------------------
3925 8811
3926 * unicode.c (init_charset_unicode_tables): 8812 * unicode.c (init_charset_unicode_tables):
3927 Add workaround for newlib bug in sscanf() [should be fixed by 8813 Add workaround for newlib bug in sscanf() [should be fixed by
3928 release 1.5.12 of Cygwin]. 8814 release 1.5.12 of Cygwin].
3929 * toolbar.c (update_frame_toolbars_geometry): 8815 * toolbar.c (update_frame_toolbars_geometry):
3930 bug fix for problem of initial frame being 77 chars wide on Windows. 8816 bug fix for problem of initial frame being 77 chars wide on Windows.
3931 will be overridden by my other ws. 8817 will be overridden by my other ws.
3932 8818
3933 --------------------------------------------------------------- 8819 ---------------------------------------------------------------
3934 FIX FOR LEAKING PROCESS HANDLES: 8820 FIX FOR LEAKING PROCESS HANDLES:
3935 --------------------------------------------------------------- 8821 ---------------------------------------------------------------
3936 8822
3937 8823
3938 * process-nt.c (free_process_memory): 8824 * process-nt.c (free_process_memory):
3939 * process-nt.c (alloc_process_memory): 8825 * process-nt.c (alloc_process_memory):
3945 * process-nt.c (process_type_create_nt): 8831 * process-nt.c (process_type_create_nt):
3946 Fixes for leaking handles. Inspired by work done by Adrian Aichner 8832 Fixes for leaking handles. Inspired by work done by Adrian Aichner
3947 <adrian@xemacs.org>. 8833 <adrian@xemacs.org>.
3948 8834
3949 --------------------------------------------------------------- 8835 ---------------------------------------------------------------
3950 FIX FOR CYGWIN BUG (Unicode-related): 8836 FIX FOR CYGWIN BUG (Unicode-related):
3951 --------------------------------------------------------------- 8837 ---------------------------------------------------------------
3952 8838
3953 * unicode.c (init_charset_unicode_tables): 8839 * unicode.c (init_charset_unicode_tables):
3954 Add workaround for newlib bug in sscanf() [should be fixed by 8840 Add workaround for newlib bug in sscanf() [should be fixed by
3955 release 1.5.12 of Cygwin]. 8841 release 1.5.12 of Cygwin].
3956 8842
3957 --------------------------------------------------------------- 8843 ---------------------------------------------------------------
3958 WARNING FIXES: 8844 WARNING FIXES:
3959 --------------------------------------------------------------- 8845 ---------------------------------------------------------------
3960 8846
3961 * console-stream.c (init_console_stream): 8847 * console-stream.c (init_console_stream):
3962 `reinit' is unused. 8848 `reinit' is unused.
3963 8849
3972 * regex.c: 8858 * regex.c:
3973 * regex.c (itext_ichar): 8859 * regex.c (itext_ichar):
3974 Gather includes together to avoid warning. 8860 Gather includes together to avoid warning.
3975 8861
3976 --------------------------------------------------------------- 8862 ---------------------------------------------------------------
3977 CHANGES TO INITIALIZATION ROUTINES: 8863 CHANGES TO INITIALIZATION ROUTINES:
3978 --------------------------------------------------------------- 8864 ---------------------------------------------------------------
3979 8865
3980 * buffer.c (vars_of_buffer): 8866 * buffer.c (vars_of_buffer):
3981 * emacs.c (main_1): 8867 * emacs.c (main_1):
3982 * console.c (vars_of_console): 8868 * console.c (vars_of_console):
4028 Call init_eval_semi_early() from eval.c not in the middle of 8914 Call init_eval_semi_early() from eval.c not in the middle of
4029 vars_of_() in emacs.c since there should be no order dependency 8915 vars_of_() in emacs.c since there should be no order dependency
4030 in the latter calls. 8916 in the latter calls.
4031 8917
4032 --------------------------------------------------------------- 8918 ---------------------------------------------------------------
4033 ARMAGEDDON: 8919 ARMAGEDDON:
4034 --------------------------------------------------------------- 8920 ---------------------------------------------------------------
4035 8921
4036 * alloc.c: 8922 * alloc.c:
4037 * emacs.c: 8923 * emacs.c:
4038 * lisp.h: 8924 * lisp.h:
4062 Don't do conversion in SetConsoleTitle or FindWindow to avoid 8948 Don't do conversion in SetConsoleTitle or FindWindow to avoid
4063 problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT 8949 problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT
4064 in places where problems would arise. 8950 in places where problems would arise.
4065 8951
4066 --------------------------------------------------------------- 8952 ---------------------------------------------------------------
4067 CHANGES TO THE BUILD PROCEDURE: 8953 CHANGES TO THE BUILD PROCEDURE:
4068 --------------------------------------------------------------- 8954 ---------------------------------------------------------------
4069 8955
4070 * config.h.in: 8956 * config.h.in:
4071 * s/cxux.h: 8957 * s/cxux.h:
4072 * s/usg5-4-2.h: 8958 * s/usg5-4-2.h:
4775 2004-05-15 Malcolm Purvis <malcolmp@xemacs.org> 9661 2004-05-15 Malcolm Purvis <malcolmp@xemacs.org>
4776 9662
4777 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to 9663 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
4778 replace symbolic color entries with the real colors specified in 9664 replace symbolic color entries with the real colors specified in
4779 xpm-color-symbols, before passing the XPM to gtk. 9665 xpm-color-symbols, before passing the XPM to gtk.
4780 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks, 9666 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
4781 instead of a GTK specific field, so that it is used in by generic 9667 instead of a GTK specific field, so that it is used in by generic
4782 code. 9668 code.
4783 9669
4784 2004-05-15 Malcolm Purvis <malcolmp@xemacs.org> 9670 2004-05-15 Malcolm Purvis <malcolmp@xemacs.org>
4785 9671
4786 * event-gtk.c: 9672 * event-gtk.c:
4787 * event-gtk.c (gtk_event_to_emacs_event): 9673 * event-gtk.c (gtk_event_to_emacs_event):
6018 10904
6019 * XEmacs 21.5.12 "carrot" is released. 10905 * XEmacs 21.5.12 "carrot" is released.
6020 10906
6021 2003-04-24 Matthew O. Persico <persicom@acedsl.com> 10907 2003-04-24 Matthew O. Persico <persicom@acedsl.com>
6022 10908
6023 * unicode.c: Removed trailing commas in some enums; older 10909 * unicode.c: Removed trailing commas in some enums; older
6024 (Solaris 2.7 cc) compiler produced volumous warnings. 10910 (Solaris 2.7 cc) compiler produced volumous warnings.
6025 10911
6026 * text.c: Replaced char initialization of static Ibyte 10912 * text.c: Replaced char initialization of static Ibyte
6027 strcasecmp_charmap[] with octal numeric init. Apparently older 10913 strcasecmp_charmap[] with octal numeric init. Apparently older
6028 (Solaris 2.7 cc) compiler treats quoted octals as signed, 10914 (Solaris 2.7 cc) compiler treats quoted octals as signed,
6029 causing 256 signed-assigned-to-unsigned warnings. 10915 causing 256 signed-assigned-to-unsigned warnings.
6030 10916
6031 * lrecord.h: Removed trailing commas in some enums; older 10917 * lrecord.h: Removed trailing commas in some enums; older
6032 (Solaris 2.7 cc) compiler produced volumous warnings. 10918 (Solaris 2.7 cc) compiler produced volumous warnings.
6033 10919
6034 * lisp.h: Removed trailing commas in some enums; older 10920 * lisp.h: Removed trailing commas in some enums; older
6035 (Solaris 2.7 cc) compiler produced volumous warnings. 10921 (Solaris 2.7 cc) compiler produced volumous warnings.
6036 10922
6037 * frame.c: Removed trailing commas in some enums; older 10923 * frame.c: Removed trailing commas in some enums; older
6038 (Solaris 2.7 cc) compiler produced volumous warnings. 10924 (Solaris 2.7 cc) compiler produced volumous warnings.
6039 10925
6040 * file-coding.h: Removed trailing commas in some enums; older 10926 * file-coding.h: Removed trailing commas in some enums; older
6041 (Solaris 2.7 cc) compiler produced volumous warnings. 10927 (Solaris 2.7 cc) compiler produced volumous warnings.
6042 10928
6043 2003-04-17 Stephen J. Turnbull <stephen@xemacs.org> 10929 2003-04-17 Stephen J. Turnbull <stephen@xemacs.org>
6044 10930
6045 Fix stale match data after failed search bug. 10931 Fix stale match data after failed search bug.
6046 10932
7375 Eliminate printing `done' messages noninteractively since it's now 12261 Eliminate printing `done' messages noninteractively since it's now
7376 obvious which files are loaded by which others. 12262 obvious which files are loaded by which others.
7377 12263
7378 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU> 12264 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7379 12265
7380 * sysdll.c: Included lisp.h to define needed alloca_array. 12266 * sysdll.c: Included lisp.h to define needed alloca_array.
7381 12267
7382 2003-02-07 Jerry James <james@xemacs.org> 12268 2003-02-07 Jerry James <james@xemacs.org>
7383 12269
7384 * sysdep.c (strlwr): Return the parameter. 12270 * sysdep.c (strlwr): Return the parameter.
7385 * sysdep.c (strupr): Ditto. Depend on !HAVE_STRUPR. 12271 * sysdep.c (strupr): Ditto. Depend on !HAVE_STRUPR.
7455 * event-stream.c (event_stream_select_console): 12341 * event-stream.c (event_stream_select_console):
7456 * event-stream.c (event_stream_unselect_console): 12342 * event-stream.c (event_stream_unselect_console):
7457 * event-stream.c (event_stream_select_process): 12343 * event-stream.c (event_stream_select_process):
7458 * event-stream.c (event_stream_unselect_process): 12344 * event-stream.c (event_stream_unselect_process):
7459 * event-stream.c (event_stream_create_io_streams): 12345 * event-stream.c (event_stream_create_io_streams):
7460 * event-stream.c (event_stream_delete_io_streams): 12346 * event-stream.c (event_stream_delete_io_streams):
7461 * event-stream.c (event_stream_current_event_timestamp): 12347 * event-stream.c (event_stream_current_event_timestamp):
7462 * event-stream.c (event_stream_next_event): 12348 * event-stream.c (event_stream_next_event):
7463 Remove unused parameter to check_event_stream_ok() and change 12349 Remove unused parameter to check_event_stream_ok() and change
7464 all callers. 12350 all callers.
7465 12351
9099 (enqueue_focus_event): Properly initialize event type for USE_KKCC 13985 (enqueue_focus_event): Properly initialize event type for USE_KKCC
9100 (due to suggestions from David Bush <David.Bush@intel.com>). 13986 (due to suggestions from David Bush <David.Bush@intel.com>).
9101 13987
9102 2002-08-06 Jerry James <james@xemacs.org> 13988 2002-08-06 Jerry James <james@xemacs.org>
9103 13989
9104 * window.c (Fsplit_window): Count only half of the divider width 13990 * window.c (Fsplit_window): Count only half of the divider width
9105 against the left window when splitting horizontally. 13991 against the left window when splitting horizontally.
9106 13992
9107 2002-07-29 Jerry James <james@xemacs.org> 13993 2002-07-29 Jerry James <james@xemacs.org>
9108 13994
9109 * lread.c (locate_file): Any nonnegative return value indicates 13995 * lread.c (locate_file): Any nonnegative return value indicates
9110 success if MODE is nonnegative. 13996 success if MODE is nonnegative.
9205 * postgresql.c: pgconn_description 14091 * postgresql.c: pgconn_description
9206 pgresult_description 14092 pgresult_description
9207 * tooltalk.c: tooltalk_message_description 14093 * tooltalk.c: tooltalk_message_description
9208 tooltalk_pattern_description 14094 tooltalk_pattern_description
9209 * ui-gtk.c: emacs_ffi_description 14095 * ui-gtk.c: emacs_ffi_description
9210 emacs_gtk_object_description 14096 emacs_gtk_object_description
9211 14097
9212 * events.c: 14098 * events.c:
9213 * events.h: 14099 * events.h:
9214 * event-stream.c: 14100 * event-stream.c:
9215 * event-Xt.c: 14101 * event-Xt.c:
9241 * device.c: device_description 14127 * device.c: device_description
9242 (Fmake_device): added variant initialization 14128 (Fmake_device): added variant initialization
9243 * device-impl.h (struct device): added enum console_variant devtype 14129 * device-impl.h (struct device): added enum console_variant devtype
9244 14130
9245 * objects.c: image_instance_description 14131 * objects.c: image_instance_description
9246 font_instance_description 14132 font_instance_description
9247 (Fmake_color_instance): added variant initialization 14133 (Fmake_color_instance): added variant initialization
9248 (Fmake_font_instance): added variant initialization 14134 (Fmake_font_instance): added variant initialization
9249 * objects-impl.h (struct Lisp_Color_Instance): added color_instance_type 14135 * objects-impl.h (struct Lisp_Color_Instance): added color_instance_type
9250 * objects-impl.h (struct Lisp_Font_Instance): added font_instance_type 14136 * objects-impl.h (struct Lisp_Font_Instance): added font_instance_type
9251 14137
9477 14363
9478 2002-06-23 Martin Köbele <martin@mkoebele.de> 14364 2002-06-23 Martin Köbele <martin@mkoebele.de>
9479 Jens Müller <jmueller@informatik.uni-tuebingen.de> 14365 Jens Müller <jmueller@informatik.uni-tuebingen.de>
9480 Mike Sperber <mike@xemacs.org> 14366 Mike Sperber <mike@xemacs.org>
9481 14367
9482 * lrecord.h (lrecord_type): add lrecord_type_ephemeron 14368 * lrecord.h (lrecord_type): add lrecord_type_ephemeron
9483 to lrecord_type enumeration. 14369 to lrecord_type enumeration.
9484 14370
9485 * lisp.h (XEPHEMERON): 14371 * lisp.h (XEPHEMERON):
9486 (XEPHEMERON_REF): 14372 (XEPHEMERON_REF):
9487 (XEPHEMERON_NEXT): 14373 (XEPHEMERON_NEXT):
9491 (XSET_EPHEMERON_KEY): 14377 (XSET_EPHEMERON_KEY):
9492 (wrap_ephemeron): 14378 (wrap_ephemeron):
9493 (EPHEMERONP): 14379 (EPHEMERONP):
9494 (CHECK_EPHEMERON): 14380 (CHECK_EPHEMERON):
9495 (CONCHECK_EPHEMERON): 14381 (CONCHECK_EPHEMERON):
9496 (struct ephemeron): Add representation of ephemerons. 14382 (struct ephemeron): Add representation of ephemerons.
9497 14383
9498 * alloc.c (garbage_collect_1): 14384 * alloc.c (garbage_collect_1):
9499 (finish_marking_ephemerons): 14385 (finish_marking_ephemerons):
9500 (prune_ephemerons): Call. 14386 (prune_ephemerons): Call.
9501 14387
9502 * data.c: 14388 * data.c:
9503 (finish_marking_ephemerons): 14389 (finish_marking_ephemerons):
9504 (prune_ephemerons): 14390 (prune_ephemerons):
9505 (mark_ephemeron): 14391 (mark_ephemeron):
9506 (print_ephemeron): 14392 (print_ephemeron):
9507 (ephemeron_equal) 14393 (ephemeron_equal)
9508 (ephemeron_hash):: 14394 (ephemeron_hash)::
9509 (make_ephemeron): 14395 (make_ephemeron):
9510 (Fmake_ephemeron): 14396 (Fmake_ephemeron):
9511 (Fephemeronp): 14397 (Fephemeronp):
9512 (Fephemeron_ref): 14398 (Fephemeron_ref):
9513 (syms_of_data): 14399 (syms_of_data):
9514 (vars_of_data): Add implementation of ephemerons 14400 (vars_of_data): Add implementation of ephemerons
9515 14401
9516 2002-06-28 Steve Youngs <youngs@xemacs.org> 14402 2002-06-28 Steve Youngs <youngs@xemacs.org>
9517 14403
9518 * inline.c: Include device-impl.h, extents-impl.h, frame-impl.h, 14404 * inline.c: Include device-impl.h, extents-impl.h, frame-impl.h,
9519 and objects-impl.h to pick up some error_check_* functions. 14405 and objects-impl.h to pick up some error_check_* functions.
11049 * win32.c: ditto. 15935 * win32.c: ditto.
11050 15936
11051 2002-05-28 Ben Wing <ben@xemacs.org> 15937 2002-05-28 Ben Wing <ben@xemacs.org>
11052 15938
11053 ================================================================ 15939 ================================================================
11054 ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES 15940 ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES
11055 ================================================================ 15941 ================================================================
11056 15942
11057 Standard output and standard error can be processed separately in 15943 Standard output and standard error can be processed separately in
11058 a process. Each can have its own buffer, its own mark in that buffer, 15944 a process. Each can have its own buffer, its own mark in that buffer,
11059 and its filter function. You can specify a separate buffer for stderr 15945 and its filter function. You can specify a separate buffer for stderr
11060 in `start-process' to get things started, or use the new primitives: 15946 in `start-process' to get things started, or use the new primitives:
11061 15947
11062 set-process-stderr-buffer 15948 set-process-stderr-buffer
11063 process-stderr-buffer 15949 process-stderr-buffer
11064 process-stderr-mark 15950 process-stderr-mark
11065 set-process-stderr-filter 15951 set-process-stderr-filter
11066 process-stderr-filter 15952 process-stderr-filter
11067 15953
11068 Also, process-send-region takes a 4th optional arg, a buffer. 15954 Also, process-send-region takes a 4th optional arg, a buffer.
11069 15955
11070 Currently always uses a pipe() under Unix to read the error output. 15956 Currently always uses a pipe() under Unix to read the error output.
11071 (#### Would a PTY be better?) 15957 (#### Would a PTY be better?)
11072 15958
11073 * sysdep.h: 15959 * sysdep.h:
11184 16070
11185 * gpmevent.c (get_process_infd): 16071 * gpmevent.c (get_process_infd):
11186 * gpmevent.c (Fgpm_enable): 16072 * gpmevent.c (Fgpm_enable):
11187 * tooltalk.c: 16073 * tooltalk.c:
11188 * tooltalk.c (init_tooltalk): 16074 * tooltalk.c (init_tooltalk):
11189 set_process_filter takes an argument for stderr. 16075 set_process_filter takes an argument for stderr.
11190 16076
11191 ================================================================ 16077 ================================================================
11192 NEW ERROR-TRAPPING MECHANISM 16078 NEW ERROR-TRAPPING MECHANISM
11193 ================================================================ 16079 ================================================================
11194 16080
11195 Totally rewrite error trapping code to be unified and support more 16081 Totally rewrite error trapping code to be unified and support more
11196 features. Basic function is call_trapping_problems(), which lets 16082 features. Basic function is call_trapping_problems(), which lets
11197 you specify, by means of flags, what sorts of problems you want 16083 you specify, by means of flags, what sorts of problems you want
11198 trapped. these can include 16084 trapped. these can include
11199 16085
11200 -- quit 16086 -- quit
11201 -- errors 16087 -- errors
11243 * cmdloop.c (Frecursive_edit): 16129 * cmdloop.c (Frecursive_edit):
11244 * cmdloop.c (call_command_loop): 16130 * cmdloop.c (call_command_loop):
11245 internal_catch takes another arg. 16131 internal_catch takes another arg.
11246 16132
11247 * eval.c: 16133 * eval.c:
11248 Add long comments describing the "five lists" used to maintain 16134 Add long comments describing the "five lists" used to maintain
11249 state (backtrace, gcpro, specbind, etc.) in the Lisp engine. 16135 state (backtrace, gcpro, specbind, etc.) in the Lisp engine.
11250 16136
11251 * backtrace.h: 16137 * backtrace.h:
11252 * eval.c (current_warning_level): 16138 * eval.c (current_warning_level):
11253 * eval.c (call_debugger): 16139 * eval.c (call_debugger):
11358 old mechanisms. 16244 old mechanisms.
11359 16245
11360 * glyphs-widget.c (widget_query_geometry): 16246 * glyphs-widget.c (widget_query_geometry):
11361 * glyphs-widget.c (layout_query_geometry): 16247 * glyphs-widget.c (layout_query_geometry):
11362 * redisplay.h: 16248 * redisplay.h:
11363 Protect calling Lisp in redisplay. 16249 Protect calling Lisp in redisplay.
11364 16250
11365 * insdel.c (signal_first_change): 16251 * insdel.c (signal_first_change):
11366 * insdel.c (signal_before_change): 16252 * insdel.c (signal_before_change):
11367 * insdel.c (signal_after_change): 16253 * insdel.c (signal_after_change):
11368 Protect hooks against deleting existing buffers. 16254 Protect hooks against deleting existing buffers.
11369 16255
11370 * frame-msw.c (mswindows_init_frame_1): 16256 * frame-msw.c (mswindows_init_frame_1):
11371 Use EQ, not EQUAL in hash tables whose keys are just numbers. 16257 Use EQ, not EQUAL in hash tables whose keys are just numbers.
11372 Otherwise we run into stickiness in redisplay because 16258 Otherwise we run into stickiness in redisplay because
11373 internal_equal() can QUIT. 16259 internal_equal() can QUIT.
11374 16260
11375 ================================================================ 16261 ================================================================
11376 SIGNAL, C-G CHANGES 16262 SIGNAL, C-G CHANGES
11377 ================================================================ 16263 ================================================================
11378 16264
11379 Here we change the way that C-g interacts with event reading. The 16265 Here we change the way that C-g interacts with event reading. The
11380 idea is that a C-g occurring while we're reading a user event 16266 idea is that a C-g occurring while we're reading a user event
11381 should be read as C-g, but elsewhere should be a QUIT. The former 16267 should be read as C-g, but elsewhere should be a QUIT. The former
11383 anywhere in event-reading code (impossible to enforce given the 16269 anywhere in event-reading code (impossible to enforce given the
11384 stuff called or Lisp code invoked), and having some weird system 16270 stuff called or Lisp code invoked), and having some weird system
11385 involving enqueue/dequeue of a C-g and interaction with Vquit_flag 16271 involving enqueue/dequeue of a C-g and interaction with Vquit_flag
11386 -- and it didn't work. 16272 -- and it didn't work.
11387 16273
11388 Now, we simply enclose all code where we want C-g read as an event 16274 Now, we simply enclose all code where we want C-g read as an event
11389 with {begin/end}_dont_check_for_quit(). This completely turns off 16275 with {begin/end}_dont_check_for_quit(). This completely turns off
11390 the mechanism that checks (and may remove or alter) C-g in the 16276 the mechanism that checks (and may remove or alter) C-g in the
11391 read-ahead queues, so we just get the C-g normal. 16277 read-ahead queues, so we just get the C-g normal.
11392 16278
11393 Signal.c documents this very carefully. 16279 Signal.c documents this very carefully.
11394 16280
11395 * cmdloop.c (Fcommand_loop_1): 16281 * cmdloop.c (Fcommand_loop_1):
11396 Correct use of dont_check_for_quit to new scheme, remove old 16282 Correct use of dont_check_for_quit to new scheme, remove old
11397 out-of-date comments. 16283 out-of-date comments.
11398 16284
11399 * event-stream.c (maybe_echo_keys): 16285 * event-stream.c (maybe_echo_keys):
11400 * event-stream.c (enqueue_command_event_1): 16286 * event-stream.c (enqueue_command_event_1):
11401 * event-stream.c (next_event_internal): 16287 * event-stream.c (next_event_internal):
11402 * event-stream.c (Fnext_event): 16288 * event-stream.c (Fnext_event):
11421 * signal.c: 16307 * signal.c:
11422 * signal.c (handle_async_timeout_signal): 16308 * signal.c (handle_async_timeout_signal):
11423 * signal.c (check_what_happened): 16309 * signal.c (check_what_happened):
11424 * signal.c (begin_dont_check_for_quit): 16310 * signal.c (begin_dont_check_for_quit):
11425 * signal.c (check_quit): 16311 * signal.c (check_quit):
11426 Cleanup. Add large descriptive comment. 16312 Cleanup. Add large descriptive comment.
11427 16313
11428 * process-unix.c (unix_open_network_stream): 16314 * process-unix.c (unix_open_network_stream):
11429 * process-unix.c (unix_open_multicast_group): 16315 * process-unix.c (unix_open_multicast_group):
11430 * process-nt.c (nt_open_network_stream): 16316 * process-nt.c (nt_open_network_stream):
11431 * sysdep.c (retry_read_1): 16317 * sysdep.c (retry_read_1):
11432 * sysdep.c (retry_write_1): 16318 * sysdep.c (retry_write_1):
11433 Use QUIT instead of REALLY_QUIT. 16319 Use QUIT instead of REALLY_QUIT.
11434 It's not necessary to use REALLY_QUIT and just confuses the issue. 16320 It's not necessary to use REALLY_QUIT and just confuses the issue.
11435 16321
11436 * lisp.h (INTERNAL_QUITP): Comment quit handlers. 16322 * lisp.h (INTERNAL_QUITP): Comment quit handlers.
11437 16323
11438 ================================================================ 16324 ================================================================
11439 CONS CHANGES 16325 CONS CHANGES
11440 ================================================================ 16326 ================================================================
11441 16327
11442 free_cons() now takes a Lisp_Object not the result of XCONS(). 16328 free_cons() now takes a Lisp_Object not the result of XCONS().
11443 car and cdr have been renamed so that they don't get used directly; 16329 car and cdr have been renamed so that they don't get used directly;
11444 go through XCAR(), XCDR() instead. 16330 go through XCAR(), XCDR() instead.
11466 * search.c (free_created_dynarrs): 16352 * search.c (free_created_dynarrs):
11467 * eval.c (specbind_unwind_local): 16353 * eval.c (specbind_unwind_local):
11468 * lread.c (various): 16354 * lread.c (various):
11469 * lisp.h (struct Lisp_Cons): 16355 * lisp.h (struct Lisp_Cons):
11470 * lisp.h (cons_car): 16356 * lisp.h (cons_car):
11471 Correct free_cons calling convention: now takes Lisp_Object, 16357 Correct free_cons calling convention: now takes Lisp_Object,
11472 not Lisp_Cons 16358 not Lisp_Cons
11473 16359
11474 * chartab.c (word_boundary_p): 16360 * chartab.c (word_boundary_p):
11475 Eliminate direct use of ->car, ->cdr, should be black box. 16361 Eliminate direct use of ->car, ->cdr, should be black box.
11476 16362
11477 16363
11478 * callint.c (quotify_args): 16364 * callint.c (quotify_args):
11479 Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons. 16365 Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons.
11480 16366
11481 ================================================================ 16367 ================================================================
11482 USE INTERNAL-BIND-* 16368 USE INTERNAL-BIND-*
11483 ================================================================ 16369 ================================================================
11484 16370
11485 * eval.c (restore_lisp_object): 16371 * eval.c (restore_lisp_object):
11486 * eval.c (restore_int): 16372 * eval.c (restore_int):
11487 Cleanups of these funs. 16373 Cleanups of these funs.
11513 * redisplay.c (Note): New. 16399 * redisplay.c (Note): New.
11514 * redisplay.c (Fredisplay_device): 16400 * redisplay.c (Fredisplay_device):
11515 * redisplay.c (redisplay_without_hooks): 16401 * redisplay.c (redisplay_without_hooks):
11516 * menubar-x.c (pre_activate_callback): 16402 * menubar-x.c (pre_activate_callback):
11517 * macros.c (Fexecute_kbd_macro): 16403 * macros.c (Fexecute_kbd_macro):
11518 Rewrote to use internal_bind_int() and internal_bind_lisp_object() 16404 Rewrote to use internal_bind_int() and internal_bind_lisp_object()
11519 in place of whatever varied and cumbersome mechanisms were 16405 in place of whatever varied and cumbersome mechanisms were
11520 formerly there. 16406 formerly there.
11521 16407
11522 16408
11523 ================================================================ 16409 ================================================================
11524 SPECBIND SANITY 16410 SPECBIND SANITY
11525 ================================================================ 16411 ================================================================
11526 16412
11527 * backtrace.h: 16413 * backtrace.h:
11528 - Improved comments 16414 - Improved comments
11529 16415
11530 * backtrace.h (SPECBIND): 16416 * backtrace.h (SPECBIND):
11531 * backtrace.h (SPECBIND_FAST_UNSAFE): 16417 * backtrace.h (SPECBIND_FAST_UNSAFE):
11532 * backtrace.h (UNBIND_TO_GCPRO): 16418 * backtrace.h (UNBIND_TO_GCPRO):
11533 * backtrace.h (UNBIND_TO): 16419 * backtrace.h (UNBIND_TO):
11537 * eval.c (specbind): 16423 * eval.c (specbind):
11538 * eval.c (specbind_magic): 16424 * eval.c (specbind_magic):
11539 * eval.c (record_unwind_protect): 16425 * eval.c (record_unwind_protect):
11540 * eval.c (unbind_to_1): 16426 * eval.c (unbind_to_1):
11541 * eval.c (unbind_to_hairy): 16427 * eval.c (unbind_to_hairy):
11542 Add new mechanism check_specbind_stack_sanity() for sanity 16428 Add new mechanism check_specbind_stack_sanity() for sanity
11543 checking code each time the catchlist or specbind stack change. 16429 checking code each time the catchlist or specbind stack change.
11544 Removed older prototype of same mechanism. 16430 Removed older prototype of same mechanism.
11545 16431
11546 ================================================================ 16432 ================================================================
11547 MISC 16433 MISC
11548 ================================================================ 16434 ================================================================
11549 16435
11550 * lisp.h: 16436 * lisp.h:
11551 * insdel.c: 16437 * insdel.c:
11552 * window.c: 16438 * window.c:
11558 * device-msw.c (mswindows_handle_page_setup_dialog_box): 16444 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11559 Correct bad Unicode-ization. 16445 Correct bad Unicode-ization.
11560 16446
11561 * print.c (debug_print_no_newline): 16447 * print.c (debug_print_no_newline):
11562 * print.c (debug_backtrace): 16448 * print.c (debug_backtrace):
11563 Be more careful when not initialized or in fatal error handling. 16449 Be more careful when not initialized or in fatal error handling.
11564 16450
11565 * search.c (looking_at_1): 16451 * search.c (looking_at_1):
11566 * search.c (string_match_1): 16452 * search.c (string_match_1):
11567 * search.c (search_buffer): 16453 * search.c (search_buffer):
11568 * search.c (Fstore_match_data): 16454 * search.c (Fstore_match_data):
11569 Eliminate running_asynch_code, an FSF holdover. 16455 Eliminate running_asynch_code, an FSF holdover.
11570 16456
11571 * alloc.c (vars_of_alloc): 16457 * alloc.c (vars_of_alloc):
11572 * alloc.c: 16458 * alloc.c:
11573 Added comments about gc-cons-threshold. 16459 Added comments about gc-cons-threshold.
11574 16460
11580 * gui.c (gui_item_id_hash): Use Qunbound not Qnil as the default for 16466 * gui.c (gui_item_id_hash): Use Qunbound not Qnil as the default for
11581 gethash. 16467 gethash.
11582 16468
11583 * lisp-disunion.h: 16469 * lisp-disunion.h:
11584 * lisp-union.h: 16470 * lisp-union.h:
11585 Added warnings on use of VOID_TO_LISP(). 16471 Added warnings on use of VOID_TO_LISP().
11586 16472
11587 * lisp.h: 16473 * lisp.h:
11588 Use ERROR_CHECK_STRUCTURES to turn on 16474 Use ERROR_CHECK_STRUCTURES to turn on
11589 ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK 16475 ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK
11590 16476
11596 * lisp.h (NNGCPRO1_ARRAY): 16482 * lisp.h (NNGCPRO1_ARRAY):
11597 Add macros for gcproing entire arrays. (You could do this before 16483 Add macros for gcproing entire arrays. (You could do this before
11598 but it required manual twiddling the gcpro structure.) 16484 but it required manual twiddling the gcpro structure.)
11599 16485
11600 * lisp.h: 16486 * lisp.h:
11601 Add prototypes for new functions defined elsewhere. 16487 Add prototypes for new functions defined elsewhere.
11602 16488
11603 2002-05-23 Ben Wing <ben@xemacs.org> 16489 2002-05-23 Ben Wing <ben@xemacs.org>
11604 16490
11605 * Makefile.in.in (objs): 16491 * Makefile.in.in (objs):
11606 * Makefile.in.in (Emacs.ad.h): 16492 * Makefile.in.in (Emacs.ad.h):
11868 New make_char() -- verify that the char value is legal. 16754 New make_char() -- verify that the char value is legal.
11869 16755
11870 2002-04-23 Jerry James <james@xemacs.org> 16756 2002-04-23 Jerry James <james@xemacs.org>
11871 16757
11872 * select.c (Fown_selection_internal): Document connection with 16758 * select.c (Fown_selection_internal): Document connection with
11873 interprogram-cut-function. 16759 interprogram-cut-function.
11874 * select.c (Fget_selection_internal): return Qnil if XEmacs owns 16760 * select.c (Fget_selection_internal): return Qnil if XEmacs owns
11875 the selection and it does not need coercion. 16761 the selection and it does not need coercion.
11876 Document connection with interprogram-paste-function. 16762 Document connection with interprogram-paste-function.
11877 16763
11878 2002-05-06 Jonathan Harris <jonathan@xemacs.org> 16764 2002-05-06 Jonathan Harris <jonathan@xemacs.org>
11879 16765
11880 * console-msw.h: 16766 * console-msw.h:
11881 * event-msw.c (mswindows_wnd_proc): 16767 * event-msw.c (mswindows_wnd_proc):
12730 char_to_unicode -> emchar_to_unicode 17616 char_to_unicode -> emchar_to_unicode
12731 valid_char_p -> valid_emchar_p 17617 valid_char_p -> valid_emchar_p
12732 17618
12733 2002-04-30 Charles G. Waldman <cgw@xemacs.org> 17619 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
12734 17620
12735 * sysdep.c (sys_siglist): change "signum" to "signal" 17621 * sysdep.c (sys_siglist): change "signum" to "signal"
12736 17622
12737 2001-04-21 Martin Buchholz <martin@xemacs.org> 17623 2001-04-21 Martin Buchholz <martin@xemacs.org>
12738 17624
12739 * s/darwin.h: New file. 17625 * s/darwin.h: New file.
12740 Thanks to Greg Parker <gparker@cs.stanford.edu>. 17626 Thanks to Greg Parker <gparker@cs.stanford.edu>.
12741 17627
12742 2002-04-23 Andreas Jaeger <aj@suse.de> 17628 2002-04-23 Andreas Jaeger <aj@suse.de>
12743 17629
12744 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x 17630 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
12745 which use lib64 for 64-bit libs. 17631 which use lib64 for 64-bit libs.
12746 (START_FILES): Likewise. 17632 (START_FILES): Likewise.
12747 17633
12748 2002-02-11 Mike Sperber <mike@xemacs.org> 17634 2002-02-11 Mike Sperber <mike@xemacs.org>
12749 17635
12750 * device-x.c: 17636 * device-x.c:
12751 (x_IO_error_handler): 17637 (x_IO_error_handler):
12848 to be in the same place and partially interleaved. (you can't 17734 to be in the same place and partially interleaved. (you can't
12849 create forward references for inline funs) 17735 create forward references for inline funs)
12850 17736
12851 2002-04-30 Charles G. Waldman <cgw@xemacs.org> 17737 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
12852 17738
12853 * sysdep.c (sys_siglist): change "signum" to "signal" 17739 * sysdep.c (sys_siglist): change "signum" to "signal"
12854 17740
12855 2002-04-24 Andy Piper <andy@xemacs.org> 17741 2002-04-24 Andy Piper <andy@xemacs.org>
12856 17742
12857 * redisplay.c (create_text_block): Don't actually add propagation 17743 * redisplay.c (create_text_block): Don't actually add propagation
12858 data if the line ends after we have added a glyph. 17744 data if the line ends after we have added a glyph.
14604 * file-coding.c (detection_result_symbol_to_number): 19490 * file-coding.c (detection_result_symbol_to_number):
14605 fix warnings. 19491 fix warnings.
14606 19492
14607 2002-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org> 19493 2002-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14608 19494
14609 * unicode.c (add_charsets_to_precedence_list): Fix passing wrong 19495 * unicode.c (add_charsets_to_precedence_list): Fix passing wrong
14610 argument to XCHARSET_LEADING_BYTE. 19496 argument to XCHARSET_LEADING_BYTE.
14611 19497
14612 2002-03-15 Jonathan Harris <jhar@tardis.ed.ac.uk> 19498 2002-03-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
14613 19499
14614 * intl-encap-win32.c (copy_shfileinfoa_to_shfileinfow): 19500 * intl-encap-win32.c (copy_shfileinfoa_to_shfileinfow):
14615 Take size parameter and assert it's big enough. 19501 Take size parameter and assert it's big enough.
14616 * intl-encap-win32.c (qxeSHGetFileInfo): 19502 * intl-encap-win32.c (qxeSHGetFileInfo):
14617 Deal with the case where no fileinfo structure is passed in. 19503 Deal with the case where no fileinfo structure is passed in.
14618 19504
14619 2002-03-14 Jonathan Harris <jhar@tardis.ed.ac.uk> 19505 2002-03-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
14620 19506
14621 * intl-encap-win32.c: Remove EncryptFile, DecryptFile & 19507 * intl-encap-win32.c: Remove EncryptFile, DecryptFile &
14622 mciGetDeviceIDFromElementID - APIs are not available on Win98 19508 mciGetDeviceIDFromElementID - APIs are not available on Win98
14623 * intl-auto-encap-win32.c: ditto 19509 * intl-auto-encap-win32.c: ditto
14624 * intl-auto-encap-win32.h: ditto 19510 * intl-auto-encap-win32.h: ditto
14625 * intl-encap-win32.c: Remove 'dir' command. 19511 * intl-encap-win32.c: Remove 'dir' command.
14626 19512
14627 2002-03-13 William M. Perry <wmperry@gnu.org> 19513 2002-03-13 William M. Perry <wmperry@gnu.org>
14628 19514
14629 * ui-gtk.c (__allocate_object_storage): Make static to avoid 19515 * ui-gtk.c (__allocate_object_storage): Make static to avoid
14630 warnings. 19516 warnings.
14631 (type_to_marshaller_type): Ditto. 19517 (type_to_marshaller_type): Ditto.
14632 19518
14633 * symsinit.h: Added some missing *_gtk_* functions to avoid 19519 * symsinit.h: Added some missing *_gtk_* functions to avoid
14634 warnings. 19520 warnings.
14635 19521
14636 * select-gtk.c: Add extern definitions of lisp_to_time and 19522 * select-gtk.c: Add extern definitions of lisp_to_time and
14637 time_to_lisp to avoid warnings. 19523 time_to_lisp to avoid warnings.
14638 19524
14639 * redisplay-gtk.c (gtk_flash): reorder select/poll stuff to avoid 19525 * redisplay-gtk.c (gtk_flash): reorder select/poll stuff to avoid
14640 warning about 'poll' being implicitly defined. Mirrors change 19526 warning about 'poll' being implicitly defined. Mirrors change
14641 made to redisplay-x.c some time ago. 19527 made to redisplay-x.c some time ago.
14642 (gtk_bevel_area): Fix unused variable warning. 19528 (gtk_bevel_area): Fix unused variable warning.
14643 19529
14644 * gtk-xemacs.c (smash_face_fallbacks): ifdef this out to avoid 19530 * gtk-xemacs.c (smash_face_fallbacks): ifdef this out to avoid
14645 warnings. 19531 warnings.
14646 19532
14647 * glyphs-gtk.c (write_lisp_string_to_temp_file): Fix 'grpro3' 19533 * glyphs-gtk.c (write_lisp_string_to_temp_file): Fix 'grpro3'
14648 typo. 19534 typo.
14649 (gtk_locate_pixmap_file): Use split_external_path instead of 19535 (gtk_locate_pixmap_file): Use split_external_path instead of
14650 decode_path. 19536 decode_path.
14651 19537
14652 * gccache-gtk.c (gc_cache_hash): Fix signed/unsigned warning. 19538 * gccache-gtk.c (gc_cache_hash): Fix signed/unsigned warning.
14653 19539
14654 * event-gtk.c: event-mods.h no longer needed. event-gtk.h is. 19540 * event-gtk.c: event-mods.h no longer needed. event-gtk.h is.
14655 19541
14656 * emacs-marshals.c (our_string_hash): Make this function static to 19542 * emacs-marshals.c (our_string_hash): Make this function static to
14657 avoid warnings. 19543 avoid warnings.
14658 19544
14659 * device-gtk.c (gtk_event_name): Fix signed/unsigned warning. 19545 * device-gtk.c (gtk_event_name): Fix signed/unsigned warning.
14660 19546
14661 * event-gtk.h: New header file to hold declarations from 19547 * event-gtk.h: New header file to hold declarations from
14662 event-gtk.c that are used in other files. The quest to remove 19548 event-gtk.c that are used in other files. The quest to remove
14663 compilation warnings from GTK files begins. 19549 compilation warnings from GTK files begins.
14664 19550
14665 2002-03-15 Ben Wing <ben@xemacs.org> 19551 2002-03-15 Ben Wing <ben@xemacs.org>
14666 19552
14667 * config.h.in: 19553 * config.h.in:
14668 * sysdep.c: 19554 * sysdep.c:
14696 add new -no-packages. make sure list of args for sorting is 19582 add new -no-packages. make sure list of args for sorting is
14697 actually correct. clean up arg parsing code. 19583 actually correct. clean up arg parsing code.
14698 19584
14699 2002-03-12 Ben Wing <ben@xemacs.org> 19585 2002-03-12 Ben Wing <ben@xemacs.org>
14700 19586
14701 * The Great Mule Merge: placeholder. 19587 * The Great Mule Merge of March 2002:
19588 see node by that name in the Internals Manual.
14702 19589
14703 2002-01-31 John H. Palmieri <palmieri@math.washington.edu> 19590 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
14704 19591
14705 * dired.c (Ffile_name_all_completions): Change documentation -- 19592 * dired.c (Ffile_name_all_completions): Change documentation --
14706 remove reference to completion-ignored-extensions. 19593 remove reference to completion-ignored-extensions.
16693 deleted window are still accurate. 21580 deleted window are still accurate.
16694 21581
16695 2001-06-17 Ben Wing <ben@xemacs.org> 21582 2001-06-17 Ben Wing <ben@xemacs.org>
16696 21583
16697 --------------------------------------------------------------- 21584 ---------------------------------------------------------------
16698 DOCUMENTATION FIXES: 21585 DOCUMENTATION FIXES:
16699 --------------------------------------------------------------- 21586 ---------------------------------------------------------------
16700 21587
16701 * eval.c (Ffunction_min_args): 21588 * eval.c (Ffunction_min_args):
16702 * eval.c (Ffunction_max_args): 21589 * eval.c (Ffunction_max_args):
16703 Correct documentation. 21590 Correct documentation.
16704 21591
16705 * elhash.c (Fremhash): Doc correction. 21592 * elhash.c (Fremhash): Doc correction.
16706 21593
16707 --------------------------------------------------------------- 21594 ---------------------------------------------------------------
16708 LISP OBJECT CLEANUP: 21595 LISP OBJECT CLEANUP:
16709 --------------------------------------------------------------- 21596 ---------------------------------------------------------------
16710 21597
16711 * bytecode.h (wrap_compiled_function): 21598 * bytecode.h (wrap_compiled_function):
16712 * buffer.h (wrap_buffer): 21599 * buffer.h (wrap_buffer):
16713 * casetab.h (wrap_case_table): 21600 * casetab.h (wrap_case_table):
16857 21744
16858 * dialog-msw.c: 21745 * dialog-msw.c:
16859 Use internal_object_printer, since this object should not escape. 21746 Use internal_object_printer, since this object should not escape.
16860 21747
16861 --------------------------------------------------------------- 21748 ---------------------------------------------------------------
16862 FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR): 21749 FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR):
16863 --------------------------------------------------------------- 21750 ---------------------------------------------------------------
16864 21751
16865 * eval.c (unwind_to_catch): 21752 * eval.c (unwind_to_catch):
16866 * eval.c (condition_bind_unwind): 21753 * eval.c (condition_bind_unwind):
16867 * eval.c (condition_case_unwind): 21754 * eval.c (condition_case_unwind):
16967 21854
16968 * gutter.c: 21855 * gutter.c:
16969 Update comments about correct marking. 21856 Update comments about correct marking.
16970 21857
16971 --------------------------------------------------------------- 21858 ---------------------------------------------------------------
16972 ISSUES BROUGHT UP BY MARTIN: 21859 ISSUES BROUGHT UP BY MARTIN:
16973 --------------------------------------------------------------- 21860 ---------------------------------------------------------------
16974 21861
16975 * buffer.h (DFC_C_STRING_ALLOCA_USE_CONVERTED_DATA): 21862 * buffer.h (DFC_C_STRING_ALLOCA_USE_CONVERTED_DATA):
16976 Put back these macros the way Steve T and I think they ought to be. 21863 Put back these macros the way Steve T and I think they ought to be.
16977 I already explained in a previous changelog entry why I think these 21864 I already explained in a previous changelog entry why I think these
18891 * tparam.c: Likewise. 23778 * tparam.c: Likewise.
18892 * tparam.c: Assume standard C header files. 23779 * tparam.c: Assume standard C header files.
18893 23780
18894 2001-05-12 Craig Lanning <CraigL@Knology.net> 23781 2001-05-12 Craig Lanning <CraigL@Knology.net>
18895 23782
18896 * s\mingw32.h: 23783 * s\mingw32.h:
18897 Properly find MinGW's <process.h> inside Cygwin's restructured 23784 Properly find MinGW's <process.h> inside Cygwin's restructured
18898 include directories. Don't try to include <cygwin/version.h> 23785 include directories. Don't try to include <cygwin/version.h>
18899 since we are dropping support for MinGW in versions of Cygwin 23786 since we are dropping support for MinGW in versions of Cygwin
18900 earlier than b21. 23787 earlier than b21.
18901 23788
18902 2001-05-12 Craig Lanning <CraigL@Knology.net> 23789 2001-05-12 Craig Lanning <CraigL@Knology.net>
18903 23790
18904 * nt.c: 23791 * nt.c:
18905 Drop support for MinGW in versions of Cygwin before b21. 23792 Drop support for MinGW in versions of Cygwin before b21.
18906 * sysdep.c: 23793 * sysdep.c:
18907 Properly find MinGW's <process.h> inside Cygwin's restructured 23794 Properly find MinGW's <process.h> inside Cygwin's restructured
18908 include directories. 23795 include directories.
18909 * syswindows.h: 23796 * syswindows.h:
18910 Drop support for MinGW in versions of Cygwin before b21. 23797 Drop support for MinGW in versions of Cygwin before b21.
18911 * unexcw.c: 23798 * unexcw.c:
18912 Even though a.out.h is no longer detected by configure, allow 23799 Even though a.out.h is no longer detected by configure, allow
18913 MinGW to use it until we figure out how to do the job with Win32. 23800 MinGW to use it until we figure out how to do the job with Win32.
18914 23801
18915 23802
18916 2001-05-19 Ben Wing <ben@xemacs.org> 23803 2001-05-19 Ben Wing <ben@xemacs.org>
18917 23804
18918 * console-msw.h: 23805 * console-msw.h:
22584 * s/sol2.h: Remove HAVE_GETLOADAVG. 27471 * s/sol2.h: Remove HAVE_GETLOADAVG.
22585 * lisp.h: Remove getloadavg() declaration. 27472 * lisp.h: Remove getloadavg() declaration.
22586 * fns.c: 27473 * fns.c:
22587 Include <sys/loadavg.h> if available. 27474 Include <sys/loadavg.h> if available.
22588 Don't declare our own getloadavg() if HAVE_GETLOADAVG. 27475 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
22589 * config.h.in: Group together getloadavg()-related macros. 27476 * config.h.in: Group together getloadavg()-related macros.
22590 Use only configure-time tests to detect getloadavg(). 27477 Use only configure-time tests to detect getloadavg().
22591 27478
22592 2000-07-30 Martin Buchholz <martin@xemacs.org> 27479 2000-07-30 Martin Buchholz <martin@xemacs.org>
22593 27480
22594 * Makefile.in.in (TransientEmacsShell.o): Fix race condition. 27481 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
22807 * *.[ch] (XSETOBJ): remove unused middle argument. 27694 * *.[ch] (XSETOBJ): remove unused middle argument.
22808 lisp-disunion.h: correct wrap_object() to one argument. 27695 lisp-disunion.h: correct wrap_object() to one argument.
22809 27696
22810 2000-07-15 Ben Wing <ben@xemacs.org> 27697 2000-07-15 Ben Wing <ben@xemacs.org>
22811 27698
22812 * s/cygwin32.h: 27699 * s/cygwin32.h:
22813 * s/cygwin32.h (CYGWIN_CONV_PATH): 27700 * s/cygwin32.h (CYGWIN_CONV_PATH):
22814 Add missing logb prototype for v1.1. 27701 Add missing logb prototype for v1.1.
22815 Use post-b20 names and alias to pre-b20 names when pre-b20. 27702 Use post-b20 names and alias to pre-b20 names when pre-b20.
22816 27703
22817 * s/windowsnt.h: [5]. 27704 * s/windowsnt.h: [5].
22818 27705
22819 2000-07-15 Ben Wing <ben@xemacs.org> 27706 2000-07-15 Ben Wing <ben@xemacs.org>
22820 27707
22821 * Makefile.in.in (x_objs): 27708 * Makefile.in.in (x_objs):
22822 * Makefile.in.in (sheap_objs): 27709 * Makefile.in.in (sheap_objs):
22823 * Makefile.in.in (objs): 27710 * Makefile.in.in (objs):
22824 added win32.o, cosmetic cleanups. 27711 added win32.o, cosmetic cleanups.
22825 27712
22826 * alloc.c (Fmake_byte_code): 27713 * alloc.c (Fmake_byte_code):
22827 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, 27714 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
22828 etc. macros which declare their own args now. 27715 etc. macros which declare their own args now.
22829 27716
22830 * alloc.c (syms_of_alloc): 27717 * alloc.c (syms_of_alloc):
22831 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends. 27718 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
22832 27719
22833 * buffer.c: 27720 * buffer.c:
22834 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. 27721 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
22835 27722
22836 * buffer.c (Fget_file_buffer): 27723 * buffer.c (Fget_file_buffer):
22837 Fixed GCPRO problem. 27724 Fixed GCPRO problem.
22838 27725
22839 * glyphs-msw.c (bmp_normalize): 27726 * glyphs-msw.c (bmp_normalize):
22840 (mswindows_resource_normalize): add dest_mask so that it can be 27727 (mswindows_resource_normalize): add dest_mask so that it can be
22841 proprogated by layout_normalize. 27728 proprogated by layout_normalize.
22842 (begin_defer_window_pos): make optional because it may not be the 27729 (begin_defer_window_pos): make optional because it may not be the
23142 * events.c (Fevent_timestamp_lessp): New. New primitive for 28029 * events.c (Fevent_timestamp_lessp): New. New primitive for
23143 comparing timestamps correctly (half-space algorithm). 28030 comparing timestamps correctly (half-space algorithm).
23144 28031
23145 * events.c (Fevent_modifier_bits): Doc fix. 28032 * events.c (Fevent_modifier_bits): Doc fix.
23146 28033
23147 * buffer.c (get_truename_buffer): Fixed comment about GC 28034 * buffer.c (get_truename_buffer): Fixed comment about GC
23148 checking. 28035 checking.
23149 28036
23150 * events.c (Fevent_modifiers): Major doc addition. 28037 * events.c (Fevent_modifiers): Major doc addition.
23151 * events.c (event_x_y_pixel_internal): Typo fix. 28038 * events.c (event_x_y_pixel_internal): Typo fix.
23152 * events.c (syms_of_events): Declare new primitives. 28039 * events.c (syms_of_events): Declare new primitives.
23153 28040
23154 * buffer.c (syms_of_buffer): 28041 * buffer.c (syms_of_buffer):
23155 Undeclared those dedicated frame funs. 28042 Undeclared those dedicated frame funs.
23156 [2]. 28043 [2].
23157 28044
23158 * buffer.h: 28045 * buffer.h:
23159 Define convenience macros for internal/external conversions. 28046 Define convenience macros for internal/external conversions.
23160 [[[3]]]: Define codesys aliases Qcommand_argument_encoding 28047 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
23161 and Qenvironment_variable_encoding for cleaner code. 28048 and Qenvironment_variable_encoding for cleaner code.
23162 28049
23163 * bufslots.h: 28050 * bufslots.h:
23164 Remove dedicated-frame; in lisp. 28051 Remove dedicated-frame; in lisp.
23165 28052
23166 * bytecode.c (funcall_compiled_function): 28053 * bytecode.c (funcall_compiled_function):
23167 [1]. 28054 [1].
23168 28055
23169 * bytecode.c (syms_of_bytecode): 28056 * bytecode.c (syms_of_bytecode):
23170 [2]. 28057 [2].
23171 28058
23172 * console-msw.c: 28059 * console-msw.c:
23173 * console-msw.c (mswindows_show_console): Rewrote. 28060 * console-msw.c (mswindows_show_console): Rewrote.
23174 28061
23175 * console-msw.c (Fmswindows_debugging_output): New. 28062 * console-msw.c (Fmswindows_debugging_output): New.
23176 Sends to OutputDebugString (special MSWin debugger interface). 28063 Sends to OutputDebugString (special MSWin debugger interface).
23177 28064
23178 * console-msw.c (Fmswindows_message_box): 28065 * console-msw.c (Fmswindows_message_box):
23179 Fixed stupid bugs so it works when called from kill-emacs. 28066 Fixed stupid bugs so it works when called from kill-emacs.
23180 28067
23181 * console-msw.c (syms_of_console_mswindows): 28068 * console-msw.c (syms_of_console_mswindows):
23182 Declare Fmswindows_debugging_output. 28069 Declare Fmswindows_debugging_output.
23183 28070
23184 * console-msw.h: 28071 * console-msw.h:
23185 New MSWin prototypes. 28072 New MSWin prototypes.
23186 28073
23187 * console-msw.h (struct mswindows_frame): 28074 * console-msw.h (struct mswindows_frame):
23188 New entry last-click-mods for improved button-modifier support. 28075 New entry last-click-mods for improved button-modifier support.
23189 28076
23190 * console-msw.h (FRAME_MSWINDOWS_POPUP): 28077 * console-msw.h (FRAME_MSWINDOWS_POPUP):
23191 New struct entry `popup' with corresponding accessor. 28078 New struct entry `popup' with corresponding accessor.
23192 28079
23193 * console-x.c: 28080 * console-x.c:
23194 * console-x.c (split_up_display_spec): 28081 * console-x.c (split_up_display_spec):
23195 * console-x.c (get_display_arg_connection): 28082 * console-x.c (get_display_arg_connection):
23196 * console-x.c (x_semi_canonicalize_console_connection): 28083 * console-x.c (x_semi_canonicalize_console_connection):
23197 * console-x.c (x_canonicalize_device_connection): 28084 * console-x.c (x_canonicalize_device_connection):
23198 [[[6]]]: Change char to more specific type. 28085 [[[6]]]: Change char to more specific type.
23199 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4]; 28086 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
23200 28087
23201 * console-x.c (x_semi_canonicalize_console_connection): 28088 * console-x.c (x_semi_canonicalize_console_connection):
23202 * console-x.c (x_canonicalize_device_connection): 28089 * console-x.c (x_canonicalize_device_connection):
23203 [[[9]]]: Fix up error signalling to use new structured error system. 28090 [[[9]]]: Fix up error signalling to use new structured error system.
23204 28091
23205 * console-x.h: 28092 * console-x.h:
23206 [[[4]]]: Define codesys aliases: 28093 [[[4]]]: Define codesys aliases:
23207 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding, 28094 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
23208 Qx_color_name_encoding, Qx_display_name_encoding. 28095 Qx_color_name_encoding, Qx_display_name_encoding.
23209 28096
23210 * console.h (struct console_methods): 28097 * console.h (struct console_methods):
23211 New method make_dialog_box_internal supersedes older 28098 New method make_dialog_box_internal supersedes older
23212 popup_dialog_box method. 28099 popup_dialog_box method.
23213 28100
23214 * data.c: 28101 * data.c:
23215 Define many new errors, part of new structured errors. 28102 Define many new errors, part of new structured errors.
23216 28103
23217 * data.c (init_errors_once_early): 28104 * data.c (init_errors_once_early):
23218 * data.c (syms_of_data): 28105 * data.c (syms_of_data):
23219 [2]. 28106 [2].
23220 28107
23221 * device-msw.c (mswindows_init_device): 28108 * device-msw.c (mswindows_init_device):
23222 [[[5]]]: Cleanup to support NT 3.51. 28109 [[[5]]]: Cleanup to support NT 3.51.
23223 28110
23224 * device-msw.c (decode_devmode): Cleanup. 28111 * device-msw.c (decode_devmode): Cleanup.
23225 28112
23226 * device-msw.c (mswindows_handle_print_setup_dialog_box): 28113 * device-msw.c (mswindows_handle_print_setup_dialog_box):
23227 * device-msw.c (mswindows_handle_print_dialog_box): 28114 * device-msw.c (mswindows_handle_print_dialog_box):
23228 * device-msw.c (mswindows_handle_page_setup_dialog_box): 28115 * device-msw.c (mswindows_handle_page_setup_dialog_box):
23229 * device-msw.c (syms_of_device_mswindows): 28116 * device-msw.c (syms_of_device_mswindows):
23230 Delete the dialog box primitives recently introduced by Kirill and 28117 Delete the dialog box primitives recently introduced by Kirill and
23231 instead interface to general dialog box interface. 28118 instead interface to general dialog box interface.
23232 28119
23233 * device-x.c: 28120 * device-x.c:
23234 * device-x.c (compute_x_app_name): 28121 * device-x.c (compute_x_app_name):
23235 * device-x.c (x_init_device): 28122 * device-x.c (x_init_device):
23236 * device-x.c (Fx_valid_keysym_name_p): 28123 * device-x.c (Fx_valid_keysym_name_p):
23237 * device-x.c (Fx_set_font_path): 28124 * device-x.c (Fx_set_font_path):
23238 [6]. 28125 [6].
23239 [7]. 28126 [7].
23240 28127
23241 First of its kind; meant to replace XSETDEVICE. 28128 First of its kind; meant to replace XSETDEVICE.
23242 28129
23243 * dialog-msw.c: Many file-dialog symbols. 28130 * dialog-msw.c: Many file-dialog symbols.
23244 28131
23245 * dialog-msw.c (mswindows_register_popup_frame): New. 28132 * dialog-msw.c (mswindows_register_popup_frame): New.
23246 * dialog-msw.c (mswindows_is_dialog_msg): New. 28133 * dialog-msw.c (mswindows_is_dialog_msg): New.
23247 For supporting kbd traversal in dialog boxes. 28134 For supporting kbd traversal in dialog boxes.
23248 28135
23249 * dialog-msw.c (dialog_proc): 28136 * dialog-msw.c (dialog_proc):
23250 Support hitting ESC in dialogs. 28137 Support hitting ESC in dialogs.
23251 28138
23252 * dialog-msw.c (struct): 28139 * dialog-msw.c (struct):
23253 Common dialog box errors. 28140 Common dialog box errors.
23254 28141
23255 * dialog-msw.c (handle_file_dialog_box): New. 28142 * dialog-msw.c (handle_file_dialog_box): New.
23256 Add file dialog code. 28143 Add file dialog code.
23257 28144
23258 * dialog-msw.c (handle_question_dialog_box): 28145 * dialog-msw.c (handle_question_dialog_box):
23259 Redo existing code to support new question dialog syntax. 28146 Redo existing code to support new question dialog syntax.
23260 28147
23261 * dialog-msw.c (console_type_create_dialog_mswindows): 28148 * dialog-msw.c (console_type_create_dialog_mswindows):
23262 We support new dialog console method. 28149 We support new dialog console method.
23263 28150
23264 * dialog-msw.c (syms_of_dialog_mswindows): 28151 * dialog-msw.c (syms_of_dialog_mswindows):
23265 * dialog-msw.c (vars_of_dialog_mswindows): 28152 * dialog-msw.c (vars_of_dialog_mswindows):
23266 New file dialog symbols, vars. 28153 New file dialog symbols, vars.
23267 28154
23268 * dialog-x.c: 28155 * dialog-x.c:
23269 * dialog-x.c (maybe_run_dbox_text_callback): 28156 * dialog-x.c (maybe_run_dbox_text_callback):
23270 * dialog-x.c (dbox_descriptor_to_widget_value): 28157 * dialog-x.c (dbox_descriptor_to_widget_value):
23271 * dialog-x.c (x_make_dialog_box_internal): 28158 * dialog-x.c (x_make_dialog_box_internal):
23272 * dialog-x.c (console_type_create_dialog_x): 28159 * dialog-x.c (console_type_create_dialog_x):
23273 Mule-ize entire file. 28160 Mule-ize entire file.
23274 Redo to support question dialog syntax. 28161 Redo to support question dialog syntax.
23275 [6]. 28162 [6].
23276 28163
23277 * dialog.c: 28164 * dialog.c:
23278 * dialog.c (Fmake_dialog_box_internal): 28165 * dialog.c (Fmake_dialog_box_internal):
23279 * dialog.c (syms_of_dialog): 28166 * dialog.c (syms_of_dialog):
23280 Kill old popup-dialog-box, replace with new primitive. 28167 Kill old popup-dialog-box, replace with new primitive.
23281 Just call device method or signal error. 28168 Just call device method or signal error.
23282 28169
23283 * eldap.c (Fldap_open): 28170 * eldap.c (Fldap_open):
23284 * eldap.c (Fldap_search_basic): 28171 * eldap.c (Fldap_search_basic):
23285 * eldap.c (Fldap_add): 28172 * eldap.c (Fldap_add):
23286 * eldap.c (Fldap_modify): 28173 * eldap.c (Fldap_modify):
23287 [1]. 28174 [1].
23288 [7]. 28175 [7].
23289 28176
23290 * emacs.c: 28177 * emacs.c:
23291 * emacs.c (make_arg_list_1): 28178 * emacs.c (make_arg_list_1):
23292 * emacs.c (make_arg_list): 28179 * emacs.c (make_arg_list):
23293 Mule-ize call to dll_init(). 28180 Mule-ize call to dll_init().
23294 [6]. 28181 [6].
23295 [8]. 28182 [8].
23296 28183
23297 * emacs.c (make_argc_argv): 28184 * emacs.c (make_argc_argv):
23298 * emacs.c (free_argc_argv): 28185 * emacs.c (free_argc_argv):
23299 * emacs.c (init_cmdargs): 28186 * emacs.c (init_cmdargs):
23300 * emacs.c (main_1): 28187 * emacs.c (main_1):
23301 * emacs.c (Fkill_emacs): 28188 * emacs.c (Fkill_emacs):
23302 * emacs.c (Fdump_emacs): 28189 * emacs.c (Fdump_emacs):
23303 Update comments about what can be used in syms_* etc. 28190 Update comments about what can be used in syms_* etc.
23304 Call init_win32() when necessary. 28191 Call init_win32() when necessary.
23305 Fix up MS Win dialog box in kill-buffer to actually work right. 28192 Fix up MS Win dialog box in kill-buffer to actually work right.
23306 [7]. 28193 [7].
23307 28194
23308 * eval.c: 28195 * eval.c:
23309 * eval.c (For): 28196 * eval.c (For):
23310 * eval.c (Fand): 28197 * eval.c (Fand):
23311 * eval.c (Fprogn): 28198 * eval.c (Fprogn):
23312 * eval.c (Fprog1): 28199 * eval.c (Fprog1):
23313 * eval.c (Fprog2): 28200 * eval.c (Fprog2):
23314 * eval.c (FletX): 28201 * eval.c (FletX):
23315 * eval.c (Flet): 28202 * eval.c (Flet):
23316 * eval.c (condition_case_3): 28203 * eval.c (condition_case_3):
23317 * eval.c (Feval): 28204 * eval.c (Feval):
23318 * eval.c (function_argcount): 28205 * eval.c (function_argcount):
23319 * eval.c (funcall_lambda): 28206 * eval.c (funcall_lambda):
23320 [1]. 28207 [1].
23321 28208
23322 * eval.c (type_error): New. 28209 * eval.c (type_error): New.
23323 * eval.c (maybe_type_error): New. 28210 * eval.c (maybe_type_error): New.
23324 * eval.c (continuable_type_error): New. 28211 * eval.c (continuable_type_error): New.
23325 * eval.c (maybe_continuable_type_error): New. 28212 * eval.c (maybe_continuable_type_error): New.
23326 * eval.c (type_error_with_frob): New. 28213 * eval.c (type_error_with_frob): New.
23327 * eval.c (maybe_type_error_with_frob): New. 28214 * eval.c (maybe_type_error_with_frob): New.
23328 * eval.c (continuable_type_error_with_frob): New. 28215 * eval.c (continuable_type_error_with_frob): New.
23329 * eval.c (maybe_continuable_type_error_with_frob): New. 28216 * eval.c (maybe_continuable_type_error_with_frob): New.
23330 New functions for use with structured errors. 28217 New functions for use with structured errors.
23331 28218
23332 * event-Xt.c: 28219 * event-Xt.c:
23333 * event-Xt.c (x_event_to_emacs_event): 28220 * event-Xt.c (x_event_to_emacs_event):
23334 Buttons are now modifiers too. 28221 Buttons are now modifiers too.
23335 28222
23336 * event-Xt.c (emacs_Xt_current_event_timestamp): 28223 * event-Xt.c (emacs_Xt_current_event_timestamp):
23337 Implement new event method. 28224 Implement new event method.
23338 * event-Xt.c (reinit_vars_of_event_Xt): Set it. 28225 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
23339 28226
23340 * event-msw.c: 28227 * event-msw.c:
23341 * event-msw.c (ntpipe_shove_writer): [5]. 28228 * event-msw.c (ntpipe_shove_writer): [5].
23342 * event-msw.c (mswindows_enqueue_mouse_button_event): 28229 * event-msw.c (mswindows_enqueue_mouse_button_event):
23343 * event-msw.c (mswindows_drain_windows_queue): 28230 * event-msw.c (mswindows_drain_windows_queue):
23344 * event-msw.c (mswindows_wnd_proc): [7]. 28231 * event-msw.c (mswindows_wnd_proc): [7].
23345 * event-msw.c (mswindows_current_layout_has_AltGr): [5]. 28232 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
23346 * event-msw.c (mswindows_modifier_state): 28233 * event-msw.c (mswindows_modifier_state):
23347 Throughout: support new button modifiers. 28234 Throughout: support new button modifiers.
23348 28235
23349 * event-msw.c (emacs_mswindows_current_event_timestamp): 28236 * event-msw.c (emacs_mswindows_current_event_timestamp):
23350 Implement new event method. 28237 Implement new event method.
23351 * event-msw.c (reinit_vars_of_event_mswindows): Set it. 28238 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
23352 28239
23353 * event-stream.c: 28240 * event-stream.c:
23354 * event-stream.c (event_stream_current_event_timestamp): New. 28241 * event-stream.c (event_stream_current_event_timestamp): New.
23355 * event-stream.c (maybe_kbd_translate): New functionality. 28242 * event-stream.c (maybe_kbd_translate): New functionality.
23356 * event-stream.c (vars_of_event_stream): 28243 * event-stream.c (vars_of_event_stream):
23357 Document new kbd-translate-table functionality. 28244 Document new kbd-translate-table functionality.
23358 28245
23359 * event-stream.c (Fcurrent_event_timestamp): New. 28246 * event-stream.c (Fcurrent_event_timestamp): New.
23360 New primitive for use in fabricated events. 28247 New primitive for use in fabricated events.
23361 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive. 28248 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
23362 28249
23363 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers. 28250 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
23364 28251
23365 * events.c: 28252 * events.c:
23366 * events.c (Fmake_event): 28253 * events.c (Fmake_event):
23367 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): 28254 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
23368 [1]. 28255 [1].
23369 [9]. 28256 [9].
23370 28257
23371 * events.c (format_event_object): fix gcc warnings. 28258 * events.c (format_event_object): fix gcc warnings.
23372 28259
23373 * events.c (Fevent_timestamp): Document new primitives. 28260 * events.c (Fevent_timestamp): Document new primitives.
23374 28261
23375 * events.c (TIMESTAMP_HALFSPACE): New. 28262 * events.c (TIMESTAMP_HALFSPACE): New.
23376 28263
23377 * events.c (Fevent_timestamp_lessp): New. New primitive for 28264 * events.c (Fevent_timestamp_lessp): New. New primitive for
23378 comparing timestamps correctly (half-space algorithm). 28265 comparing timestamps correctly (half-space algorithm).
23379 28266
23380 * events.c (Fevent_modifier_bits): Doc fix. 28267 * events.c (Fevent_modifier_bits): Doc fix.
23381 28268
23382 * events.c (Fevent_modifiers): Major doc addition. 28269 * events.c (Fevent_modifiers): Major doc addition.
23383 * events.c (event_x_y_pixel_internal): Typo fix. 28270 * events.c (event_x_y_pixel_internal): Typo fix.
23384 * events.c (syms_of_events): Declare new primitives. 28271 * events.c (syms_of_events): Declare new primitives.
23385 28272
23386 * events.h: 28273 * events.h:
23387 Update long comment for button modifiers, timestamps. 28274 Update long comment for button modifiers, timestamps.
23388 28275
23389 * events.h (struct event_stream): 28276 * events.h (struct event_stream):
23390 New current_event_timestamp method. 28277 New current_event_timestamp method.
23391 28278
23392 * extents.c: 28279 * extents.c:
23393 * extents.c (extent_in_region_p): 28280 * extents.c (extent_in_region_p):
23394 * extents.c (decode_extent): 28281 * extents.c (decode_extent):
23395 * extents.c (Fset_extent_parent): 28282 * extents.c (Fset_extent_parent):
23396 * extents.c (decode_map_extents_flags): 28283 * extents.c (decode_map_extents_flags):
23397 Fix gcc warnings. 28284 Fix gcc warnings.
23398 [9]. 28285 [9].
23399 28286
23400 * extents.c (struct extent_at_arg): 28287 * extents.c (struct extent_at_arg):
23401 * extents.c (decode_extent_at_flag): 28288 * extents.c (decode_extent_at_flag):
23402 * extents.c (extent_at_mapper): 28289 * extents.c (extent_at_mapper):
23403 * extents.c (extent_at_bytind): 28290 * extents.c (extent_at_bytind):
23404 * extents.c (Fextent_at): Adapt to new lower-level interface. [9]. 28291 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
23405 * extents.c (Fextents_at): New primitive. [9]. 28292 * extents.c (Fextents_at): New primitive. [9].
23406 * extents.c (symbol_to_glyph_layout): [9]. 28293 * extents.c (symbol_to_glyph_layout): [9].
23407 Support new primitive `extents-at'. 28294 Support new primitive `extents-at'.
23408 28295
23409 28296
23410 * extents.c (get_text_property_bytind): 28297 * extents.c (get_text_property_bytind):
23411 extent_at_bytind has another arg. 28298 extent_at_bytind has another arg.
23412 [9]. 28299 [9].
23413 28300
23414 * extents.c (syms_of_extents): New primitive. 28301 * extents.c (syms_of_extents): New primitive.
23415 28302
23416 * file-coding.c (Fmake_coding_system): [1]. 28303 * file-coding.c (Fmake_coding_system): [1].
23417 * file-coding.c (subsidiary_coding_system): fix gcc warning 28304 * file-coding.c (subsidiary_coding_system): fix gcc warning
23418 * file-coding.c (syms_of_file_coding): [2]. 28305 * file-coding.c (syms_of_file_coding): [2].
23419 28306
23420 * fileio.c (Fexpand_file_name): 28307 * fileio.c (Fexpand_file_name):
23421 * fileio.c (Fsysnetunam): 28308 * fileio.c (Fsysnetunam):
23422 * fileio.c (Ffile_exists_p): 28309 * fileio.c (Ffile_exists_p):
23423 * fileio.c (Ffile_executable_p): 28310 * fileio.c (Ffile_executable_p):
23424 * fileio.c (Fverify_visited_file_modtime): 28311 * fileio.c (Fverify_visited_file_modtime):
23425 Clean up GCPROing. 28312 Clean up GCPROing.
23426 28313
23427 * fileio.c (syms_of_fileio): [2]. 28314 * fileio.c (syms_of_fileio): [2].
23428 28315
23429 * filelock.c (lock_file_1): 28316 * filelock.c (lock_file_1):
23430 * filelock.c (current_lock_owner): 28317 * filelock.c (current_lock_owner):
23431 * filelock.c (lock_if_free): 28318 * filelock.c (lock_if_free):
23432 * filelock.c (lock_file): 28319 * filelock.c (lock_file):
23433 * filelock.c (unlock_file): 28320 * filelock.c (unlock_file):
23434 Clean up GCPROing. 28321 Clean up GCPROing.
23435 28322
23436 * fns.c (concat): Fix gcc warning. 28323 * fns.c (concat): Fix gcc warning.
23437 28324
23438 * fns.c (Fmember): 28325 * fns.c (Fmember):
23439 * fns.c (Fold_member): 28326 * fns.c (Fold_member):
23440 * fns.c (Fmemq): 28327 * fns.c (Fmemq):
23441 * fns.c (Fold_memq): 28328 * fns.c (Fold_memq):
23442 * fns.c (memq_no_quit): 28329 * fns.c (memq_no_quit):
23443 * fns.c (Fassoc): 28330 * fns.c (Fassoc):
23444 * fns.c (Fold_assoc): 28331 * fns.c (Fold_assoc):
23445 * fns.c (Fassq): 28332 * fns.c (Fassq):
23446 * fns.c (Fold_assq): 28333 * fns.c (Fold_assq):
23447 * fns.c (assq_no_quit): 28334 * fns.c (assq_no_quit):
23448 * fns.c (Frassoc): 28335 * fns.c (Frassoc):
23449 * fns.c (Fold_rassoc): 28336 * fns.c (Fold_rassoc):
23450 * fns.c (Frassq): 28337 * fns.c (Frassq):
23451 * fns.c (Fold_rassq): 28338 * fns.c (Fold_rassq):
23452 * fns.c (rassq_no_quit): 28339 * fns.c (rassq_no_quit):
23453 * fns.c (Fdelete): 28340 * fns.c (Fdelete):
23454 * fns.c (Fold_delete): 28341 * fns.c (Fold_delete):
23455 * fns.c (Fdelq): 28342 * fns.c (Fdelq):
23456 * fns.c (Fold_delq): 28343 * fns.c (Fold_delq):
23457 * fns.c (delq_no_quit): 28344 * fns.c (delq_no_quit):
23458 * fns.c (Fremassoc): 28345 * fns.c (Fremassoc):
23459 * fns.c (Fremassq): 28346 * fns.c (Fremassq):
23460 * fns.c (remassq_no_quit): 28347 * fns.c (remassq_no_quit):
23461 * fns.c (Fremrassoc): 28348 * fns.c (Fremrassoc):
23462 * fns.c (Fremrassq): 28349 * fns.c (Fremrassq):
23463 * fns.c (remrassq_no_quit): 28350 * fns.c (remrassq_no_quit):
23464 * fns.c (Freverse): 28351 * fns.c (Freverse):
23465 * fns.c (mapcar1): 28352 * fns.c (mapcar1):
23466 [1]. 28353 [1].
23467 28354
23468 * frame-msw.c (mswindows_init_frame_1): 28355 * frame-msw.c (mswindows_init_frame_1):
23469 * frame-msw.c (mswindows_delete_frame): 28356 * frame-msw.c (mswindows_delete_frame):
23470 Register popups with dialog code so keyboard traversing works. 28357 Register popups with dialog code so keyboard traversing works.
23471 28358
23472 * frame-tty.c (tty_raise_frame_no_select): [1]. 28359 * frame-tty.c (tty_raise_frame_no_select): [1].
23473 28360
23474 * frame-x.c: 28361 * frame-x.c:
23475 * frame-x.c (x_set_frame_text_value): 28362 * frame-x.c (x_set_frame_text_value):
23476 * frame-x.c (x_set_frame_properties): 28363 * frame-x.c (x_set_frame_properties):
23477 * frame-x.c (x_create_widgets): 28364 * frame-x.c (x_create_widgets):
23478 [7]. 28365 [7].
23479 28366
23480 * frame.c: 28367 * frame.c:
23481 * frame.c (Fmouse_pixel_position): Minor doc fixes. 28368 * frame.c (Fmouse_pixel_position): Minor doc fixes.
23482 28369
23483 Macro like wrap_device. 28370 Macro like wrap_device.
23484 28371
23485 * general.c: 28372 * general.c:
23486 * general.c (SYMBOL): 28373 * general.c (SYMBOL):
23487 * general.c (syms_of_general): 28374 * general.c (syms_of_general):
23488 Major reorg. This is now just a wrapper and symbols themselves 28375 Major reorg. This is now just a wrapper and symbols themselves
23489 are listed in general-slots.h. 28376 are listed in general-slots.h.
23490 28377
23491 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning. 28378 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
23492 * glyphs-msw.c (mswindows_resource_instantiate): [5]. 28379 * glyphs-msw.c (mswindows_resource_instantiate): [5].
23493 28380
23494 * glyphs-msw.c (mswindows_native_layout_instantiate): 28381 * glyphs-msw.c (mswindows_native_layout_instantiate):
23495 Add DS_CONTROL so keyboard traversal will work. 28382 Add DS_CONTROL so keyboard traversal will work.
23496 28383
23497 * glyphs-widget.c: 28384 * glyphs-widget.c:
23498 * glyphs-widget.c (syms_of_glyphs_widget): 28385 * glyphs-widget.c (syms_of_glyphs_widget):
23499 Move some symbols to general-slots.h. 28386 Move some symbols to general-slots.h.
23500 28387
23501 * glyphs-x.c: 28388 * glyphs-x.c:
23502 * glyphs-x.c (xbm_instantiate_1): 28389 * glyphs-x.c (xbm_instantiate_1):
23503 * glyphs-x.c (x_xbm_instantiate): 28390 * glyphs-x.c (x_xbm_instantiate):
23504 * glyphs-x.c (x_xface_instantiate): 28391 * glyphs-x.c (x_xface_instantiate):
23505 * glyphs-x.c (autodetect_instantiate): 28392 * glyphs-x.c (autodetect_instantiate):
23506 * glyphs-x.c (cursor_font_instantiate): 28393 * glyphs-x.c (cursor_font_instantiate):
23507 * glyphs-x.c (x_update_widget): 28394 * glyphs-x.c (x_update_widget):
23508 * glyphs-x.c (x_widget_instantiate): 28395 * glyphs-x.c (x_widget_instantiate):
23509 * glyphs.c (bitmap_to_lisp_data): 28396 * glyphs.c (bitmap_to_lisp_data):
23510 * glyphs.c (pixmap_to_lisp_data): 28397 * glyphs.c (pixmap_to_lisp_data):
23511 [7]. 28398 [7].
23512 28399
23513 * glyphs.c (syms_of_glyphs): 28400 * glyphs.c (syms_of_glyphs):
23514 [2]. 28401 [2].
23515 28402
23516 * gui-x.c: 28403 * gui-x.c:
23517 * gui-x.c (print_widget_value): 28404 * gui-x.c (print_widget_value):
23518 * gui-x.c (menu_separator_style_and_to_external): 28405 * gui-x.c (menu_separator_style_and_to_external):
23519 * gui-x.c (add_accel_and_to_external): 28406 * gui-x.c (add_accel_and_to_external):
23520 * gui-x.c (button_item_to_widget_value): 28407 * gui-x.c (button_item_to_widget_value):
23521 * gui-x.c (gui_items_to_widget_values_1): 28408 * gui-x.c (gui_items_to_widget_values_1):
23522 * gui-x.c (gui_items_to_widget_values): 28409 * gui-x.c (gui_items_to_widget_values):
23523 * gui-x.c (syms_of_gui_x): 28410 * gui-x.c (syms_of_gui_x):
23524 * gui-x.c (vars_of_gui_x): 28411 * gui-x.c (vars_of_gui_x):
23525 Mule-ize entire file. Move menu-no-selection-hook to gui.c. 28412 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
23526 [9]. 28413 [9].
23527 28414
23528 * gui-x.h: 28415 * gui-x.h:
23529 Muleize, prototype changes matching gui-x.c. 28416 Muleize, prototype changes matching gui-x.c.
23530 28417
23531 * gui.c: 28418 * gui.c:
23532 * gui.c (separator_string_p): 28419 * gui.c (separator_string_p):
23533 * gui.c (gui_item_add_keyval_pair): 28420 * gui.c (gui_item_add_keyval_pair):
23534 * gui.c (make_gui_item_from_keywords_internal): 28421 * gui.c (make_gui_item_from_keywords_internal):
23535 * gui.c (signal_too_long_error): 28422 * gui.c (signal_too_long_error):
23536 * gui.c (parse_gui_item_tree_item): 28423 * gui.c (parse_gui_item_tree_item):
23537 * gui.c (syms_of_gui): 28424 * gui.c (syms_of_gui):
23538 * gui.c (vars_of_gui): 28425 * gui.c (vars_of_gui):
23539 * gui.h: 28426 * gui.h:
23540 menu-no-selection-hook moved here (used by MSWin). 28427 menu-no-selection-hook moved here (used by MSWin).
23541 Move some symbols to general-slots.h. 28428 Move some symbols to general-slots.h.
23542 [6]. 28429 [6].
23543 [9]. 28430 [9].
23544 28431
23545 * insdel.c (get_buffer_pos_char): 28432 * insdel.c (get_buffer_pos_char):
23546 * insdel.c (get_buffer_range_char): 28433 * insdel.c (get_buffer_range_char):
23547 Add GC comments. 28434 Add GC comments.
23548 28435
23549 * keymap.c (keymap_lookup_directly): 28436 * keymap.c (keymap_lookup_directly):
23550 * keymap.c (keymap_store): 28437 * keymap.c (keymap_store):
23551 * keymap.c (ensure_meta_prefix_char_keymapp): 28438 * keymap.c (ensure_meta_prefix_char_keymapp):
23552 * keymap.c (describe_map): 28439 * keymap.c (describe_map):
23553 * keymap.h: 28440 * keymap.h:
23554 Support new button modifiers. 28441 Support new button modifiers.
23555 28442
23556 * lisp-disunion.h (XSETOBJ): 28443 * lisp-disunion.h (XSETOBJ):
23557 Rename make_obj to wrap_object. 28444 Rename make_obj to wrap_object.
23558 28445
23559 * lisp-union.h: 28446 * lisp-union.h:
23560 * lisp-union.h (make_int): 28447 * lisp-union.h (make_int):
23561 * lisp-union.h (make_char): 28448 * lisp-union.h (make_char):
23562 Support wrap_object. 28449 Support wrap_object.
23563 28450
23564 * lisp.h: 28451 * lisp.h:
23565 * lisp.h (LIST_LOOP): 28452 * lisp.h (LIST_LOOP):
23566 * lisp.h (EXTERNAL_LIST_LOOP): 28453 * lisp.h (EXTERNAL_LIST_LOOP):
23567 * lisp.h (LIST_LOOP_2): 28454 * lisp.h (LIST_LOOP_2):
23568 * lisp.h (EXTERNAL_LIST_LOOP_1): 28455 * lisp.h (EXTERNAL_LIST_LOOP_1):
23569 * lisp.h (EXTERNAL_LIST_LOOP_2): 28456 * lisp.h (EXTERNAL_LIST_LOOP_2):
23570 * lisp.h (EXTERNAL_LIST_LOOP_3): 28457 * lisp.h (EXTERNAL_LIST_LOOP_3):
23571 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE): 28458 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
23572 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): 28459 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
23573 * lisp.h (GET_EXTERNAL_LIST_LENGTH): 28460 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
23574 * lisp.h (EXTERNAL_ALIST_LOOP_5): 28461 * lisp.h (EXTERNAL_ALIST_LOOP_5):
23575 * lisp.h (EXTERNAL_ALIST_LOOP_6): 28462 * lisp.h (EXTERNAL_ALIST_LOOP_6):
23576 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE): 28463 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
23577 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE): 28464 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
23578 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7): 28465 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
23579 * lisp.h (struct Lisp_Symbol): 28466 * lisp.h (struct Lisp_Symbol):
23580 * lisp.h (maybe_continuable_error_with_frob): 28467 * lisp.h (maybe_continuable_error_with_frob):
23581 Fix up section comments. 28468 Fix up section comments.
23582 Add new types for char to indicate usage. 28469 Add new types for char to indicate usage.
23583 Delete symbols auto-generated from general-slots.h. 28470 Delete symbols auto-generated from general-slots.h.
23584 Add prototypes for structured error functions. 28471 Add prototypes for structured error functions.
23585 Add long comments describing looping macros and change interface 28472 Add long comments describing looping macros and change interface
23586 so that lvalues are automatically declared. 28473 so that lvalues are automatically declared.
23587 28474
23588 * events.h: 28475 * events.h:
23589 Update long comment for button modifiers, timestamps. 28476 Update long comment for button modifiers, timestamps.
23590 28477
23591 * events.h (struct event_stream): 28478 * events.h (struct event_stream):
26759 * alloc.c (pdump_register_struct): 31646 * alloc.c (pdump_register_struct):
26760 * alloc.c (pdump_dump_data): 31647 * alloc.c (pdump_dump_data):
26761 * alloc.c (pdump_reloc_one): 31648 * alloc.c (pdump_reloc_one):
26762 Minor cleanups. 31649 Minor cleanups.
26763 31650
26764 * console-msw.c: 31651 * console-msw.c:
26765 * console-msw.c (GetConsoleHwnd): 31652 * console-msw.c (GetConsoleHwnd):
26766 * console-msw.c (msw_hide_console): 31653 * console-msw.c (msw_hide_console):
26767 * console-msw.c (msw_show_console): 31654 * console-msw.c (msw_show_console):
26768 * console-msw.c (msw_ensure_console_buffered): 31655 * console-msw.c (msw_ensure_console_buffered):
26769 * console-msw.c (msw_output_console_string): 31656 * console-msw.c (msw_output_console_string):
28786 33673
28787 * unexelfsgi.c (unexec): Change the way we decide which segment 33674 * unexelfsgi.c (unexec): Change the way we decide which segment
28788 should be extended. 33675 should be extended.
28789 33676
28790 Assumption that .bss section should be outside the PT_LOADable 33677 Assumption that .bss section should be outside the PT_LOADable
28791 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if 33678 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
28792 it's present) is inside the 'data' segment. This would fail the 33679 it's present) is inside the 'data' segment. This would fail the
28793 test which was used to find a segment to grow and cover new 33680 test which was used to find a segment to grow and cover new
28794 heap. Instead of this assumption, I created another one - on IRIX 33681 heap. Instead of this assumption, I created another one - on IRIX
28795 the segment to grow should start below .bss and it's address 33682 the segment to grow should start below .bss and it's address
28796 should extent above the end of .bss. Once this segment is 33683 should extent above the end of .bss. Once this segment is
28797 identified, it's grown to accommodate the new heap and new 33684 identified, it's grown to accommodate the new heap and new
28798 zero-length .bss section is added at the end of .data2. 33685 zero-length .bss section is added at the end of .data2.
28799 33686
28800 2000-01-25 Martin Buchholz <martin@xemacs.org> 33687 2000-01-25 Martin Buchholz <martin@xemacs.org>
28801 33688
28802 * eval.c (Feval): Wrong number of arguments should use original 33689 * eval.c (Feval): Wrong number of arguments should use original
28803 function, not the indirect_function version of it. 33690 function, not the indirect_function version of it.
29670 34557
29671 1999-12-12 Daniel Pittman <daniel@danann.net> 34558 1999-12-12 Daniel Pittman <daniel@danann.net>
29672 34559
29673 * configure.in: 34560 * configure.in:
29674 * configure.usage: 34561 * configure.usage:
29675 Clean up Athena widget support: 34562 Clean up Athena widget support:
29676 - Add `with-athena' to select a variant. 34563 - Add `with-athena' to select a variant.
29677 - Remove all `athena3d' options. 34564 - Remove all `athena3d' options.
29678 - Robust detection of Athena libraries and headers. 34565 - Robust detection of Athena libraries and headers.
29679 - Refuse to build with mismatched library and headers. 34566 - Refuse to build with mismatched library and headers.
29680 - Only build a 3d Athena if the user asks for it. 34567 - Only build a 3d Athena if the user asks for it.
29681 34568
29682 1999-12-21 Andy Piper <andy@xemacs.org> 34569 1999-12-21 Andy Piper <andy@xemacs.org>
29683 34570
29684 * redisplay.c (redisplay_frame): check for faces changed when 34571 * redisplay.c (redisplay_frame): check for faces changed when
29685 reseting subwindow caches. 34572 reseting subwindow caches.
30121 The XIC will be cleared by XIM when XIM is closing (at XIM destroy 35008 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
30122 callback). 35009 callback).
30123 35010
30124 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp> 35011 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
30125 35012
30126 * input-method-xlib.c: Added new lisp object Qxim_xlib. 35013 * input-method-xlib.c: Added new lisp object Qxim_xlib.
30127 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str). 35014 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
30128 All the valid stderr_out were changed to those macros. 35015 All the valid stderr_out were changed to those macros.
30129 (IMDestroyCallback): Don't test the XIC if the frame is not X 35016 (IMDestroyCallback): Don't test the XIC if the frame is not X
30130 frame. 35017 frame.
30131 (IMInstantiateCallback): Treat the client_data as "device" not 35018 (IMInstantiateCallback): Treat the client_data as "device" not
30132 "frame" because the caller changed from frame to device. 35019 "frame" because the caller changed from frame to device.
30133 Here initializes XIM and activates XICs for each frame which 35020 Here initializes XIM and activates XICs for each frame which
30134 doesn't have XIC. 35021 doesn't have XIC.
30135 (XIM_init_device): Register the XIM instantiation callback which 35022 (XIM_init_device): Register the XIM instantiation callback which
30136 had been performed by XIM_init_frame() before. 35023 had been performed by XIM_init_frame() before.
30137 (XIM_delete_frame): Added a test for the XIM before clearing XIC. 35024 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
30138 (XIM_init_frame): Placed an actual code for XIC activation which 35025 (XIM_init_frame): Placed an actual code for XIC activation which
30139 was moved from IMInstantiateCallback. 35026 was moved from IMInstantiateCallback.
30140 (syms_of_input_method_xlib): New function which includes a symbol 35027 (syms_of_input_method_xlib): New function which includes a symbol
30141 Qxim_xlib that uses in emacs.c. 35028 Qxim_xlib that uses in emacs.c.
30142 35029
30143 * emacs.c: Added a function entry "syms_of_input_method_xlib" for 35030 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
30144 input_method_xlib. 35031 input_method_xlib.
30145 35032
30146 * symsinit.h: Added a declaration of "syms_of_input_method_xlib". 35033 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
30147 35034
30148 1999-11-05 Robert Pluim <rpluim@bigfoot.com> 35035 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
30149 35036
30150 * emacs.c (shut_down_emacs): Point users to PROBLEMS file 35037 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
30151 35038
30212 35099
30213 1999-11-01 Olivier Galibert <galibert@pobox.com> 35100 1999-11-01 Olivier Galibert <galibert@pobox.com>
30214 35101
30215 * alloc.c (reinit_alloc_once_early): Move purify_flag init... 35102 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
30216 * emacs.c (main_1): ...here, to get the correct value even with 35103 * emacs.c (main_1): ...here, to get the correct value even with
30217 the portable dumper. 35104 the portable dumper.
30218 35105
30219 1999-11-17 Martin Buchholz <martin@xemacs.org> 35106 1999-11-17 Martin Buchholz <martin@xemacs.org>
30220 35107
30221 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro! 35108 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
30222 35109
30287 DOUG_LEA_MALLOC. 35174 DOUG_LEA_MALLOC.
30288 35175
30289 1999-10-30 Olivier Galibert <galibert@pobox.com> 35176 1999-10-30 Olivier Galibert <galibert@pobox.com>
30290 35177
30291 * alloc.c (pdump_dump_rtables): Don't forget to dump the last 35178 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
30292 registered type. 35179 registered type.
30293 (pdump): Ditto. 35180 (pdump): Ditto.
30294 35181
30295 1999-10-25 Olivier Galibert <galibert@pobox.com> 35182 1999-10-25 Olivier Galibert <galibert@pobox.com>
30296 35183
30297 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x. 35184 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
30321 35208
30322 * conslots.h: Add defines with first and last slot names. 35209 * conslots.h: Add defines with first and last slot names.
30323 * bufslots.h: Add defines with first and last slot names. 35210 * bufslots.h: Add defines with first and last slot names.
30324 35211
30325 * buffer.c (common_init_complex_vars_of_buffer): Renamed from 35212 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
30326 reinit_complex_vars_of_buffer 35213 reinit_complex_vars_of_buffer
30327 (reinit_complex_vars_of_buffer): Reset the slots to the dumped 35214 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
30328 value. 35215 value.
30329 (complex_vars_of_buffer): Dump the slots values. 35216 (complex_vars_of_buffer): Dump the slots values.
30330 35217
30331 * console.c (common_init_complex_vars_of_console): Renamed from 35218 * console.c (common_init_complex_vars_of_console): Renamed from
30332 reinit_complex_vars_of_console 35219 reinit_complex_vars_of_console
30333 (reinit_complex_vars_of_console): Reset the slots to the dumped 35220 (reinit_complex_vars_of_console): Reset the slots to the dumped
30334 value. 35221 value.
30335 (complex_vars_of_console): Dump the slots values. 35222 (complex_vars_of_console): Dump the slots values.
30336 35223
30337 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to 35224 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
30338 pdump_rt_list and move them at the beginning of the file. 35225 pdump_rt_list and move them at the beginning of the file.
30339 (gc_sweep): Unmark pdumped objects after the sweep phase. 35226 (gc_sweep): Unmark pdumped objects after the sweep phase.
30340 (pdump_dump_rtables): Change a bare 256 to 35227 (pdump_dump_rtables): Change a bare 256 to
30341 last_lrecord_type_index_assigned. Add a separator between the 35228 last_lrecord_type_index_assigned. Add a separator between the
30342 adresses or lrecords and the ones of C structs in the dump file. 35229 adresses or lrecords and the ones of C structs in the dump file.
30343 (pdump_load): Cope with the new separator and the renamings. Stop 35230 (pdump_load): Cope with the new separator and the renamings. Stop
30344 looking for the hash tables list after it has been found (duh!). 35231 looking for the hash tables list after it has been found (duh!).
30345 35232
30346 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at> 35233 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
30347 35234
30348 * sound.c: support HAVE_ESD_SOUND 35235 * sound.c: support HAVE_ESD_SOUND
30349 35236
30372 35259
30373 * unexelf.c: Merge Martin's c++ fixes back in 35260 * unexelf.c: Merge Martin's c++ fixes back in
30374 35261
30375 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch> 35262 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
30376 35263
30377 * unexelf.c (unexec): Only copy the global offset 35264 * unexelf.c (unexec): Only copy the global offset
30378 table from memory on sgi machines. 35265 table from memory on sgi machines.
30379 35266
30380 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org> 35267 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
30381 35268
30382 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by 35269 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
30383 adding support for an sbss section. Get IRIX 5.2 to build using 35270 adding support for an sbss section. Get IRIX 5.2 to build using
30384 unexelf.c. 35271 unexelf.c.
30385 35272
30386 * m/iris4d.h: Use unexelf.o for unexec. 35273 * m/iris4d.h: Use unexelf.o for unexec.
30387 35274
30388 * m/iris5d.h: Use unexelf.o for unexec. 35275 * m/iris5d.h: Use unexelf.o for unexec.
30389 35276
30390 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch> 35277 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
30391 35278
30392 * unexelf.c: Revert to 21.1 version 35279 * unexelf.c: Revert to 21.1 version
30393 35280
30396 * window.c (Fwindow_truncated_p): New function. 35283 * window.c (Fwindow_truncated_p): New function.
30397 35284
30398 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com> 35285 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
30399 35286
30400 * window.c (window_truncation_on): Always return 0 for minibuffer 35287 * window.c (window_truncation_on): Always return 0 for minibuffer
30401 windows, to enable auto scrolling. 35288 windows, to enable auto scrolling.
30402 35289
30403 1999-10-24 Neal Becker <nbecker@fred.net> 35290 1999-10-24 Neal Becker <nbecker@fred.net>
30404 * process.h: Unix98 PTY support 35291 * process.h: Unix98 PTY support
30405 35292
30406 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch> 35293 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
30409 the argument to xrealpath() 35296 the argument to xrealpath()
30410 35297
30411 1999-08-19 Stephen Tse <stephent@sfu.ca> 35298 1999-08-19 Stephen Tse <stephent@sfu.ca>
30412 35299
30413 * process-unix.c (unix_open_network_stream): Add udp network 35300 * process-unix.c (unix_open_network_stream): Add udp network
30414 support; rename variable Qtcpip to Qtcp, parameter family to 35301 support; rename variable Qtcpip to Qtcp, parameter family to
30415 protocol for consistency with Qudp. 35302 protocol for consistency with Qudp.
30416 35303
30417 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to 35304 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
30418 Qtcp, parameter family to protocol for consistency with Qudp. 35305 Qtcp, parameter family to protocol for consistency with Qudp.
30419 35306
30420 * process.c (global_variables): Add a new variable Qudp for udp 35307 * process.c (global_variables): Add a new variable Qudp for udp
30421 network support; rename variable Qtcpip to Qtcp for consistency 35308 network support; rename variable Qtcpip to Qtcp for consistency
30422 with Qudp. 35309 with Qudp.
30423 (Fopen_network_stream_internal): Rename parameter FAMILY to 35310 (Fopen_network_stream_internal): Rename parameter FAMILY to
30424 PROTOCOL for consistency; fix a minor typo and add an explanation 35311 PROTOCOL for consistency; fix a minor typo and add an explanation
30425 in docstring for udp programming. 35312 in docstring for udp programming.
30426 (Fopen_multicast_group_internal): Fix a minor typo in docstring. 35313 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
30427 (syms_of_process): Add a new variable Qudp for udp network 35314 (syms_of_process): Add a new variable Qudp for udp network
30428 support; rename variable Qtcpip to Qtcp for consistency with Qudp. 35315 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
30429 35316
30430 * process.h (extern_variables): Add a new variable Qudp for udp 35317 * process.h (extern_variables): Add a new variable Qudp for udp
30431 network support; rename variable Qtcpip to Qtcp for consistency 35318 network support; rename variable Qtcpip to Qtcp for consistency
30432 with Qudp. 35319 with Qudp.
30433 35320
30434 * procimpl.h: Add a new variable Qudp for udp network support; 35321 * procimpl.h: Add a new variable Qudp for udp network support;
30435 rename variable Qtcpip to Qtcp for consistency with Qudp. 35322 rename variable Qtcpip to Qtcp for consistency with Qudp.
30436 (struct process_methods): Rename parameter family to protocol. 35323 (struct process_methods): Rename parameter family to protocol.
30437 35324
30438 35325
30439 1999-10-24 Olivier Galibert <galibert@pobox.com> 35326 1999-10-24 Olivier Galibert <galibert@pobox.com>
30440 35327
30449 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr. 35336 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
30450 35337
30451 * alloc.c: Removed hash_next linked list pointer. 35338 * alloc.c: Removed hash_next linked list pointer.
30452 35339
30453 * *.c *.h: Removed markobj and mark_object parameters, removed GC_ 35340 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
30454 and XGC macros. 35341 and XGC macros.
30455 35342
30456 1999-10-14 Andy Piper <andy@xemacs.org> 35343 1999-10-14 Andy Piper <andy@xemacs.org>
30457 35344
30458 * redisplay-x.c (x_output_shadows): fix dodgy maths for border 35345 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
30459 calculations. 35346 calculations.
30460 35347
30461 * gutter.c (output_gutter): be more accurate about the area to be 35348 * gutter.c (output_gutter): be more accurate about the area to be
30462 cleared since X seems to manage to do the clear after drawing the 35349 cleared since X seems to manage to do the clear after drawing the
30463 border. 35350 border.
30464 35351
30465 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting 35352 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
30466 redisplay flags as a group. 35353 redisplay flags as a group.
30467 (RESET_CHANGED_SET_FLAGS): ditto. 35354 (RESET_CHANGED_SET_FLAGS): ditto.
30468 (CLASS_RESET_CHANGED_FLAGS): ditto. 35355 (CLASS_RESET_CHANGED_FLAGS): ditto.
30469 (GLOBAL_RESET_CHANGED_FLAGS): ditto. 35356 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
30470 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags 35357 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
30471 as a group. 35358 as a group.
30472 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto. 35359 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
30473 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto. 35360 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
30474 35361
30475 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS 35362 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
30476 instead of setting flags individually. 35363 instead of setting flags individually.
30477 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP. 35364 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
30478 (redisplay_device): ditto. 35365 (redisplay_device): ditto.
30479 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS. 35366 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
30480 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP. 35367 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
30481 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP. 35368 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
30484 35371
30485 * redisplay-x.c (x_output_string): unmap subwindows in the area. 35372 * redisplay-x.c (x_output_string): unmap subwindows in the area.
30486 (x_output_blank): ditto. 35373 (x_output_blank): ditto.
30487 35374
30488 * redisplay-output.c (redisplay_output_display_block): don't unmap 35375 * redisplay-output.c (redisplay_output_display_block): don't unmap
30489 subwindows in case layout optimization can avoid it. 35376 subwindows in case layout optimization can avoid it.
30490 (redisplay_output_subwindow): unmap subwindows in the area. 35377 (redisplay_output_subwindow): unmap subwindows in the area.
30491 (redisplay_output_layout): optimize the output of layouts - only 35378 (redisplay_output_layout): optimize the output of layouts - only
30492 output glyphs that have changed if nothing else of redisplay 35379 output glyphs that have changed if nothing else of redisplay
30493 significance has occurred. 35380 significance has occurred.
30494 (redisplay_output_pixmap): change args to 35381 (redisplay_output_pixmap): change args to
30495 redisplay_clear_clipped_region. 35382 redisplay_clear_clipped_region.
30496 (redisplay_clear_clipped_region): allow the clipped region to be 35383 (redisplay_clear_clipped_region): allow the clipped region to be
30497 cleared of all subwindows except the one passed in. 35384 cleared of all subwindows except the one passed in.
30498 35385
30499 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in 35386 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
30500 the area. 35387 the area.
30501 (mswindows_output_cursor): ditto. 35388 (mswindows_output_cursor): ditto.
30502 (mswindows_output_string): ditto. 35389 (mswindows_output_string): ditto.
30503 35390
30504 * gutter.c (calculate_gutter_size): if the window buffer is nil 35391 * gutter.c (calculate_gutter_size): if the window buffer is nil
30505 then don't continue. 35392 then don't continue.
30506 (update_frame_gutters): be more lenient about when we actually 35393 (update_frame_gutters): be more lenient about when we actually
30507 update the gutter. Layout optimization makes this 35394 update the gutter. Layout optimization makes this
30508 non-costly. Cache redisplay flags that we want to temporarily 35395 non-costly. Cache redisplay flags that we want to temporarily
30509 ignore. 35396 ignore.
30510 35397
30511 * glyphs.c (Fglyph_animated_timeout_handler): handle image 35398 * glyphs.c (Fglyph_animated_timeout_handler): handle image
30512 specific timeouts rather than iterating over the instance cache. 35399 specific timeouts rather than iterating over the instance cache.
30513 (glyph_animated_timeout_mapper): deleted. 35400 (glyph_animated_timeout_mapper): deleted.
30514 (add_glyph_animated_timeout): use a weak list to hold onto the 35401 (add_glyph_animated_timeout): use a weak list to hold onto the
30515 image so that it can be GC'ed. 35402 image so that it can be GC'ed.
30516 (disable_glyph_animated_timeout): disable a specific timeout. 35403 (disable_glyph_animated_timeout): disable a specific timeout.
30517 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for 35404 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
30518 controlling whether pixmaps are animated or not. 35405 controlling whether pixmaps are animated or not.
30519 35406
30520 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the 35407 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
30521 image timeout gets disabled when the image gets freed. 35408 image timeout gets disabled when the image gets freed.
30522 35409
30523 * glyphs-eimage.c (gif_instantiate): remove meaningless 35410 * glyphs-eimage.c (gif_instantiate): remove meaningless
30524 comment. Cope with timeouts specified in the gif extension block. 35411 comment. Cope with timeouts specified in the gif extension block.
30525 35412
30526 * event-msw.c (vars_of_event_mswindows): new variable 35413 * event-msw.c (vars_of_event_mswindows): new variable
30527 mswindows-meta-activates-menu. 35414 mswindows-meta-activates-menu.
30528 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user 35415 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
30529 wants it. 35416 wants it.
30530 35417
30531 * glyphs-x.c (x_finalize_image_instance): delete mask first so 35418 * glyphs-x.c (x_finalize_image_instance): delete mask first so
30532 that we can compare with image. 35419 that we can compare with image.
30533 35420
30534 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk> 35421 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
30535 35422
30536 * event-msw.c (mswindows_key_to_emacs_keysym): 35423 * event-msw.c (mswindows_key_to_emacs_keysym):
30537 Recognise keypad keys as different from normal keys. 35424 Recognise keypad keys as different from normal keys.
30595 * redisplay.c (init_redisplay): Ensure proper reinitialisation. 35482 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
30596 35483
30597 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it. 35484 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
30598 35485
30599 * glyphs.c: Add the ii_keyword_entry and related descriptions. 35486 * glyphs.c: Add the ii_keyword_entry and related descriptions.
30600 Fix the image_instantiator_methods one. 35487 Fix the image_instantiator_methods one.
30601 35488
30602 * file-coding.c: Plonk all data that needs to be dumped in a 35489 * file-coding.c: Plonk all data that needs to be dumped in a
30603 dynamically allocated structure. 35490 dynamically allocated structure.
30604 35491
30605 * extents.c (reinit_vars_of_extents): Extracted from 35492 * extents.c (reinit_vars_of_extents): Extracted from
30606 vars_of_extents. 35493 vars_of_extents.
30607 35494
30608 * event-stream.c (vars_of_event_stream): Don't staticpro when 35495 * event-stream.c (vars_of_event_stream): Don't staticpro when
30609 pdump_wire is enough. 35496 pdump_wire is enough.
30610 35497
30611 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from 35498 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
30612 vars_of_event_mswindows. 35499 vars_of_event_mswindows.
30613 35500
30614 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from 35501 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
30615 vars_of_event_Xt. 35502 vars_of_event_Xt.
30616 35503
30617 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough. 35504 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
30618 35505
30619 * emacs.c (main_1): Added some reinit calls. 35506 * emacs.c (main_1): Added some reinit calls.
30620 35507
30621 * device-x.c (reinit_console_type_create_device_x): Extracted from 35508 * device-x.c (reinit_console_type_create_device_x): Extracted from
30622 console_type_create_device_x. 35509 console_type_create_device_x.
30623 35510
30624 * console.h: Declare the console_type_entry_dynarr description. 35511 * console.h: Declare the console_type_entry_dynarr description.
30625 35512
30626 * console.c: Unstatic the console_type_entry_dynarr description. 35513 * console.c: Unstatic the console_type_entry_dynarr description.
30627 35514
30630 1999-10-07 Olivier Galibert <galibert@pobox.com> 35517 1999-10-07 Olivier Galibert <galibert@pobox.com>
30631 35518
30632 * symsinit.h: Updated declarations, see other ChangeLog entries. 35519 * symsinit.h: Updated declarations, see other ChangeLog entries.
30633 35520
30634 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from 35521 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
30635 complex_vars_of_minibuf. 35522 complex_vars_of_minibuf.
30636 35523
30637 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and 35524 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
30638 unimplemented), added XD_LO_LINK. 35525 unimplemented), added XD_LO_LINK.
30639 35526
30640 * lisp.h (pdump_wire_list): Add declaration. 35527 * lisp.h (pdump_wire_list): Add declaration.
30641 35528
30642 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy. 35529 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
30643 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug. 35530 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
30644 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the 35531 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
30645 stupid bug fixed. 35532 stupid bug fixed.
30646 35533
30647 * glyphs.c (reinit_image_instantiator_format_create): Remove. 35534 * glyphs.c (reinit_image_instantiator_format_create): Remove.
30648 35535
30649 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): 35536 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
30650 Remove. 35537 Remove.
30651 35538
30652 * glyphs-widget.c 35539 * glyphs-widget.c
30653 (reinit_image_instantiator_format_create_glyphs_widget): Remove. 35540 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
30654 35541
30655 * glyphs-msw.c 35542 * glyphs-msw.c
30656 (reinit_image_instantiator_format_create_glyphs_mswindows): 35543 (reinit_image_instantiator_format_create_glyphs_mswindows):
30657 Remove. 35544 Remove.
30658 35545
30659 * glyphs-eimage.c 35546 * glyphs-eimage.c
30660 (reinit_image_instantiator_format_create_glyphs_eimage): Remove. 35547 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
30661 35548
30662 * frame.c (Fmake_frame): Don't reset the face cache when using the 35549 * frame.c (Fmake_frame): Don't reset the face cache when using the
30663 stream device. 35550 stream device.
30664 35551
30665 * file-coding.c: Dumped the_codesys_prop_dynarr and added all 35552 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
30666 relevant descriptions. 35553 relevant descriptions.
30667 35554
30668 * events.c (reinit_vars_of_events): Extracted from vars_of_events. 35555 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
30669 35556
30670 * eval.c: The subr is _not_ a lcrecord. 35557 * eval.c: The subr is _not_ a lcrecord.
30671 35558
30672 * emacs.c (main_1): Call vars_of_specifier early before any 35559 * emacs.c (main_1): Call vars_of_specifier early before any
30673 specifier creation (e.g in vars_of_glyphs, at least). Remove the 35560 specifier creation (e.g in vars_of_glyphs, at least). Remove the
30674 useless reinit_image_instantiator_format*. Add 35561 useless reinit_image_instantiator_format*. Add
30675 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add 35562 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
30676 calls to lstream_type_create* and process_type_create*. 35563 calls to lstream_type_create* and process_type_create*.
30677 35564
30678 * elhash.c: Dump Vall_weak_hash_tables correctly. 35565 * elhash.c: Dump Vall_weak_hash_tables correctly.
30679 35566
30680 * data.c: Dump Vall_weak_lists correctly. 35567 * data.c: Dump Vall_weak_lists correctly.
30681 35568
30682 * console.c: Fix description. 35569 * console.c: Fix description.
30683 35570
30684 * console-stream.c (init_console_stream): Do initializations 35571 * console-stream.c (init_console_stream): Do initializations
30685 correctly in the pdump case. 35572 correctly in the pdump case.
30686 35573
30687 * chartab.c: Fix description. Dump Vall_syntax_tables correctly. 35574 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
30688 (Fcopy_char_table): Link into Vall_syntax_tables. 35575 (Fcopy_char_table): Link into Vall_syntax_tables.
30689 35576
30690 * alloc.c (pdump_wire_list): Added. 35577 * alloc.c (pdump_wire_list): Added.
30691 (Fgarbage_collect): Fix loop in stats couting missing the last 35578 (Fgarbage_collect): Fix loop in stats couting missing the last
30692 lrecord type. 35579 lrecord type.
30693 (pdump_register_sub): Added XD_LO_LINK. 35580 (pdump_register_sub): Added XD_LO_LINK.
30694 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the 35581 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
30695 counter. 35582 counter.
30696 (pdump_reloc_one): Ditto. 35583 (pdump_reloc_one): Ditto.
30697 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned 35584 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
30698 instead of 256. 35585 instead of 256.
30699 (pdump_dump_wired): Added lists. 35586 (pdump_dump_wired): Added lists.
30700 (pdump): Use last_lrecord_type_index_assigned instead of 256. 35587 (pdump): Use last_lrecord_type_index_assigned instead of 256.
30701 Dump last_lrecord_type_index_assigned value. Fix minor bugs. 35588 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
30702 35589
30703 1999-10-07 Andy Piper <andy@xemacs.org> 35590 1999-10-07 Andy Piper <andy@xemacs.org>
30704 35591
30705 * glyphs-msw.c (mswindows_finalize_image_instance): zero out 35592 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
30706 bitmap slices. 35593 bitmap slices.
30707 35594
30708 * glyphs-x.c (x_finalize_image_instance): fix FMW problem. 35595 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
30709 35596
30710 1999-10-06 Andy Piper <andy@xemacs.org> 35597 1999-10-06 Andy Piper <andy@xemacs.org>
30711 35598
30716 * elhash.h: forward declare Lisp_Hash_Table. 35603 * elhash.h: forward declare Lisp_Hash_Table.
30717 35604
30718 1999-10-06 Andy Piper <andy@xemacs.org> 35605 1999-10-06 Andy Piper <andy@xemacs.org>
30719 35606
30720 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty 35607 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
30721 after setting an image instance property. 35608 after setting an image instance property.
30722 35609
30723 1999-10-05 Andy Piper <andy@xemacs.org> 35610 1999-10-05 Andy Piper <andy@xemacs.org>
30724 35611
30725 * gutter.c (update_frame_gutters): output gutters if 35612 * gutter.c (update_frame_gutters): output gutters if
30726 windows_changed is set. This is the only way of catching changes 35613 windows_changed is set. This is the only way of catching changes
30727 in selected window which obviously can affect the specifiers. 35614 in selected window which obviously can affect the specifiers.
30728 35615
30729 * redisplay.c: new state flags, subwindows_state_changed and 35616 * redisplay.c: new state flags, subwindows_state_changed and
30730 subwindows_state_changed set. 35617 subwindows_state_changed set.
30731 (redisplay_window): use them. 35618 (redisplay_window): use them.
30732 (redisplay_device): ditto. 35619 (redisplay_device): ditto.
30733 (redisplay_without_hooks): ditto. 35620 (redisplay_without_hooks): ditto.
30734 (redisplay_frame): ditto. Reset subwindow cachels if 35621 (redisplay_frame): ditto. Reset subwindow cachels if
30735 subwindows_changed is set. 35622 subwindows_changed is set.
30736 (redisplay_window): call mark_glyph_cachels_as_clean after 35623 (redisplay_window): call mark_glyph_cachels_as_clean after
30737 redisplaying. 35624 redisplaying.
30738 35625
30739 * redisplay-x.c (x_output_x_pixmap): select correct 35626 * redisplay-x.c (x_output_x_pixmap): select correct
30740 pixmap image for display depending on the currently selected 35627 pixmap image for display depending on the currently selected
30741 slice. 35628 slice.
30742 35629
30743 * redisplay-output.c (compare_runes): check dirtiness when 35630 * redisplay-output.c (compare_runes): check dirtiness when
30744 checking RUNE_DGLYPH runes. 35631 checking RUNE_DGLYPH runes.
30745 (compare_display_blocks): relax invalidation of display blocks 35632 (compare_display_blocks): relax invalidation of display blocks
30746 since we can now detect whether individual glyphs have changed or 35633 since we can now detect whether individual glyphs have changed or
30747 not. 35634 not.
30748 35635
30749 * redisplay-msw.c (mswindows_output_dibitmap): select correct 35636 * redisplay-msw.c (mswindows_output_dibitmap): select correct
30750 bitmap image for display depending on the currently selected 35637 bitmap image for display depending on the currently selected
30751 slice. 35638 slice.
30752 35639
30753 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag. 35640 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
30754 (IMAGE_INSTANCE_DIRTYP): new macro. 35641 (IMAGE_INSTANCE_DIRTYP): new macro.
30755 (XIMAGE_INSTANCE_DIRTYP): ditto. 35642 (XIMAGE_INSTANCE_DIRTYP): ditto.
30756 (MARK_IMAGE_INSTANCE_CHANGED): ditto. 35643 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
30759 (MARK_GLYPH_CHANGED): ditto. 35646 (MARK_GLYPH_CHANGED): ditto.
30760 (GLYPH_CACHEL_DIRTYP): ditto. 35647 (GLYPH_CACHEL_DIRTYP): ditto.
30761 (struct glyph_cachel): add a dirty flag. 35648 (struct glyph_cachel): add a dirty flag.
30762 35649
30763 * glyphs.c (update_frame_subwindows): Don't update on 35650 * glyphs.c (update_frame_subwindows): Don't update on
30764 glyphs_changed. 35651 glyphs_changed.
30765 (glyph_animated_timeout_mapper): new function. Map over the 35652 (glyph_animated_timeout_mapper): new function. Map over the
30766 instance cache lookinng for animated images to update. 35653 instance cache lookinng for animated images to update.
30767 (Fglyph_animated_timeout_handler): new function. Lisp callback for 35654 (Fglyph_animated_timeout_handler): new function. Lisp callback for
30768 handling animated image timeout events. 35655 handling animated image timeout events.
30769 (disable_glyph_animated_timeout): new function. Add the animated 35656 (disable_glyph_animated_timeout): new function. Add the animated
30770 image timeout. 35657 image timeout.
30771 (disable_glyph_animated_timeout): new function. Remove the 35658 (disable_glyph_animated_timeout): new function. Remove the
30772 animated image timeout. 35659 animated image timeout.
30773 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and 35660 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
30774 friends. 35661 friends.
30775 (vars_of_glyphs): initialize Vglyph_animated_ticker. 35662 (vars_of_glyphs): initialize Vglyph_animated_ticker.
30776 (image_instance_equal): add the currently displayed slice. 35663 (image_instance_equal): add the currently displayed slice.
30777 (image_instance_hash): ditto. 35664 (image_instance_hash): ditto.
30778 (allocate_glyph): initialize dirty flag. 35665 (allocate_glyph): initialize dirty flag.
30779 (glyph_width): rename glyph -> glyph_or_image. 35666 (glyph_width): rename glyph -> glyph_or_image.
30780 (glyph_height_internal): ditto. 35667 (glyph_height_internal): ditto.
30781 (glyph_dirty_p): new function. Determine whether the image 35668 (glyph_dirty_p): new function. Determine whether the image
30782 instance in the domain and/or glyph is dirty. 35669 instance in the domain and/or glyph is dirty.
30783 (set_glyph_dirty_p): set the dirtiness. 35670 (set_glyph_dirty_p): set the dirtiness.
30784 (update_glyph_cachel_data): take dirtiness into account. Pass the 35671 (update_glyph_cachel_data): take dirtiness into account. Pass the
30785 image instance we are interested in to glyph_width and friends. 35672 image instance we are interested in to glyph_width and friends.
30786 (get_glyph_cachel_index): make non-static. Always call 35673 (get_glyph_cachel_index): make non-static. Always call
30787 update_glyph_cachel_data. 35674 update_glyph_cachel_data.
30788 (mark_glyph_cachels_as_not_updated): meaningless formatting 35675 (mark_glyph_cachels_as_not_updated): meaningless formatting
30789 change. 35676 change.
30790 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from 35677 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
30791 glyph cachels. 35678 glyph cachels.
30792 35679
30793 * glyphs-x.h (struct x_image_instance_data): change 35680 * glyphs-x.h (struct x_image_instance_data): change
30794 pixmap to a list of pixmaps. 35681 pixmap to a list of pixmaps.
30795 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro. 35682 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
30796 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto. 35683 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
30797 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto. 35684 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
30798 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto. 35685 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
30799 35686
30800 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap 35687 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
30801 images get deleted properly. 35688 images get deleted properly.
30802 (init_image_instance_from_x_image): add slices paramater and use 35689 (init_image_instance_from_x_image): add slices paramater and use
30803 it to initialize x_image_instance_data correctly. 35690 it to initialize x_image_instance_data correctly.
30804 (image_instance_add_x_image): new function. Add new pixmaps to our 35691 (image_instance_add_x_image): new function. Add new pixmaps to our
30805 set of instantiated pixmaps for an image. Used by animated images. 35692 set of instantiated pixmaps for an image. Used by animated images.
30806 (x_init_image_instance_from_eimage): add a slices 35693 (x_init_image_instance_from_eimage): add a slices
30807 parameter. Instantiate all images from the eimage. 35694 parameter. Instantiate all images from the eimage.
30808 (x_xpm_instantiate): update use of 35695 (x_xpm_instantiate): update use of
30809 init_image_instance_from_x_image. 35696 init_image_instance_from_x_image.
30810 (init_image_instance_from_xbm_inline): ditto. 35697 (init_image_instance_from_xbm_inline): ditto.
30811 (x_initialize_pixmap_image_instance): add slices paramater and use 35698 (x_initialize_pixmap_image_instance): add slices paramater and use
30812 it to allocate x_image_instance_data correctly. 35699 it to allocate x_image_instance_data correctly.
30813 35700
30814 * glyphs-msw.h (struct mswindows_image_instance_data): change 35701 * glyphs-msw.h (struct mswindows_image_instance_data): change
30815 bitmap to a list of bitmaps. 35702 bitmap to a list of bitmaps.
30816 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro. 35703 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
30817 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. 35704 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
30818 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto. 35705 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
30819 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto. 35706 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
30820 35707
30821 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices 35708 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
30822 paramater and use it to initialize mswindows_image_instance_data 35709 paramater and use it to initialize mswindows_image_instance_data
30823 correctly. 35710 correctly.
30824 (image_instance_add_dibitmap): new function. Add new bitmaps to 35711 (image_instance_add_dibitmap): new function. Add new bitmaps to
30825 our set of instantiated bitmaps for an image. Used by animated 35712 our set of instantiated bitmaps for an image. Used by animated
30826 images. 35713 images.
30827 (mswindows_init_image_instance_from_eimage): add a slices 35714 (mswindows_init_image_instance_from_eimage): add a slices
30828 parameter. Instantiate all images from the eimage. 35715 parameter. Instantiate all images from the eimage.
30829 (mswindows_xpm_instantiate): update use of 35716 (mswindows_xpm_instantiate): update use of
30830 init_image_instance_from_dibitmap. 35717 init_image_instance_from_dibitmap.
30831 (bmp_instantiate): ditto. 35718 (bmp_instantiate): ditto.
30832 (init_image_instance_from_xbm_inline): ditto. 35719 (init_image_instance_from_xbm_inline): ditto.
30833 (mswindows_finalize_image_instance): make sure all the bitmap 35720 (mswindows_finalize_image_instance): make sure all the bitmap
30834 slices get deleted. 35721 slices get deleted.
30835 (mswindows_initialize_dibitmap_image_instance): add slices 35722 (mswindows_initialize_dibitmap_image_instance): add slices
30836 paramater and use it to allocate mswindows_image_instance_data 35723 paramater and use it to allocate mswindows_image_instance_data
30837 correctly. 35724 correctly.
30838 35725
30839 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to 35726 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
30840 init_image_instance_from_eimage. 35727 init_image_instance_from_eimage.
30841 (png_instantiate): ditto. 35728 (png_instantiate): ditto.
30842 (tiff_instantiate): ditto. 35729 (tiff_instantiate): ditto.
30843 (gif_instantiate): allocate bitmaps for all gif slices not just 35730 (gif_instantiate): allocate bitmaps for all gif slices not just
30844 the first one. 35731 the first one.
30845 35732
30846 * device.h (struct device): add subwindows_state_changed flag. 35733 * device.h (struct device): add subwindows_state_changed flag.
30847 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro. 35734 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
30848 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto. 35735 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
30849 35736
30850 * console.h (struct console_methods): add a slice parameter to 35737 * console.h (struct console_methods): add a slice parameter to
30851 init_image_instance_from_eimage_method. 35738 init_image_instance_from_eimage_method.
30852 35739
30853 * redisplay.c (create_string_text_block): Allow buffer to be nil 35740 * redisplay.c (create_string_text_block): Allow buffer to be nil
30854 without crashing. 35741 without crashing.
30855 35742
30856 1999-09-24 Andy Piper <andy@xemacs.org> 35743 1999-09-24 Andy Piper <andy@xemacs.org>
30857 35744
30858 * glyphs-x.c: only include gui-x.h if we are building with 35745 * glyphs-x.c: only include gui-x.h if we are building with
30859 widgets. 35746 widgets.
30860 35747
30861 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups. 35748 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
30862 35749
30863 1999-09-28 Lee Kindness <lkindness@csl.co.uk> 35750 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
30864 35751
30865 * objects-x.c (allocate_nearest_color): will return 0 (failure) 35752 * objects-x.c (allocate_nearest_color): will return 0 (failure)
30866 when the colormap is full and the color it has computed to be the 35753 when the colormap is full and the color it has computed to be the
30867 'nearest' has been allocated read/write. 35754 'nearest' has been allocated read/write.
30868 35755
30869 1999-10-02 Olivier Galibert <galibert@pobox.com> 35756 1999-10-02 Olivier Galibert <galibert@pobox.com>
30870 35757
30871 * search.c (reinit_vars_of_search): Reinit the search cache 35758 * search.c (reinit_vars_of_search): Reinit the search cache
30872 correctly. 35759 correctly.
30873 35760
30874 * elhash.h: Make the description visible. Declare 35761 * elhash.h: Make the description visible. Declare
30875 resize_hash_table. 35762 resize_hash_table.
30876 35763
30877 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table 35764 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
30878 to generalize the hash table reorganization. 35765 to generalize the hash table reorganization.
30879 (reorganize_hash_table): Added. 35766 (reorganize_hash_table): Added.
30880 (enlarge_hash_table): Uses resize_has_table. 35767 (enlarge_hash_table): Uses resize_has_table.
30881 35768
30882 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror 35769 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
30883 tables. 35770 tables.
30884 35771
30885 * alloc.c: Add correct management of blocks of structures. 35772 * alloc.c: Add correct management of blocks of structures.
30886 Reorganize hash tables at reload since the hash values can change 35773 Reorganize hash tables at reload since the hash values can change
30887 with the pointers. 35774 with the pointers.
30888 35775
30889 1999-10-01 Olivier Galibert <galibert@pobox.com> 35776 1999-10-01 Olivier Galibert <galibert@pobox.com>
30890 35777
30891 * lisp.h: Add pdump_wire declaration 35778 * lisp.h: Add pdump_wire declaration
30892 35779
30896 * alloc.c (pdump_wire): Added.. 35783 * alloc.c (pdump_wire): Added..
30897 (pdump_load): Support it. 35784 (pdump_load): Support it.
30898 (pdump): Support it 35785 (pdump): Support it
30899 35786
30900 * glyphs-msw.c 35787 * glyphs-msw.c
30901 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix 35788 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
30902 macro calls. 35789 macro calls.
30903 35790
30904 1999-09-28 Olivier Galibert <galibert@pobox.com> 35791 1999-09-28 Olivier Galibert <galibert@pobox.com>
30905 35792
30906 * symsinit.h: Added lots of prototypes. 35793 * symsinit.h: Added lots of prototypes.
30907 35794
30908 * symeval.h: Added defsymbol_nodump declaration. 35795 * symeval.h: Added defsymbol_nodump declaration.
30909 35796
30910 * symbols.c (find_symbol_value): Lame attempt at making the 35797 * symbols.c (find_symbol_value): Lame attempt at making the
30911 startup go further. 35798 startup go further.
30912 (defsymbol_nodump): Added. 35799 (defsymbol_nodump): Added.
30913 35800
30914 * mule-charset.c: Collapsed global lisp objects arrays in one 35801 * mule-charset.c: Collapsed global lisp objects arrays in one
30915 dumpable structure. 35802 dumpable structure.
30916 35803
30917 * lrecord.h: Added some flags. 35804 * lrecord.h: Added some flags.
30918 35805
30919 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct 35806 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
30920 declaration. 35807 declaration.
30921 35808
30922 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't 35809 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
30923 staticpro dynamic variables. 35810 staticpro dynamic variables.
30924 35811
30925 * glyphs.c (reinit_specifier_type_create_image): Added. 35812 * glyphs.c (reinit_specifier_type_create_image): Added.
30926 (image_instantiator_format_create): Dump image instantiator format 35813 (image_instantiator_format_create): Dump image instantiator format
30927 dynarr. 35814 dynarr.
30928 (reinit_image_instantiator_format_create): Added. 35815 (reinit_image_instantiator_format_create): Added.
30929 35816
30930 * emacs.c (main_1): Added reinits calls. 35817 * emacs.c (main_1): Added reinits calls.
30931 35818
30932 * dynarr.c: Protect dumped dynarrays from going berzek in free or 35819 * dynarr.c: Protect dumped dynarrays from going berzek in free or
30933 realloc. 35820 realloc.
30934 35821
30935 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic 35822 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
30936 variables. 35823 variables.
30937 * specifier.c (specifier_type_create): Dump the specifier type 35824 * specifier.c (specifier_type_create): Dump the specifier type
30938 dynarr. 35825 dynarr.
30939 (reinit_specifier_type_create): Added. 35826 (reinit_specifier_type_create): Added.
30940 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic 35827 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
30941 variables. 35828 variables.
30942 * console.c (console_type_create): Dump the console type dynarr. 35829 * console.c (console_type_create): Dump the console type dynarr.
30943 (reinit_vars_of_console): Extracted from vars_of_console. 35830 (reinit_vars_of_console): Extracted from vars_of_console.
30944 (reinit_complex_vars_of_console): Extracted from 35831 (reinit_complex_vars_of_console): Extracted from
30945 complex_vars_of_console 35832 complex_vars_of_console
30946 * window.c (reinit_vars_of_window): Extracted from vars_of_window. 35833 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
30947 * toolbar.c (reinit_specifier_type_create_toolbar): Added. 35834 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
30948 * search.c (reinit_vars_of_search): Extracted from vars_of_search. 35835 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
30949 * objects.c (reinit_specifier_type_create_objects): Added. 35836 * objects.c (reinit_specifier_type_create_objects): Added.
30950 (reinit_vars_of_objects): Extracted from vars_of_objects. 35837 (reinit_vars_of_objects): Extracted from vars_of_objects.
30951 * lstream.c (reinit_vars_of_lstream): Extracted from 35838 * lstream.c (reinit_vars_of_lstream): Extracted from
30952 vars_of_lstream. 35839 vars_of_lstream.
30953 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread. 35840 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
30954 * gutter.c (reinit_specifier_type_create_gutter): Added. 35841 * gutter.c (reinit_specifier_type_create_gutter): Added.
30955 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x): 35842 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
30956 Added. 35843 Added.
30957 * glyphs-widget.c 35844 * glyphs-widget.c
30958 (reinit_image_instantiator_format_create_glyphs_widget): Added 35845 (reinit_image_instantiator_format_create_glyphs_widget): Added
30959 * glyphs-msw.c 35846 * glyphs-msw.c
30960 (reinit_image_instantiator_format_create_glyphs_mswindows): Added. 35847 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
30961 * glyphs-eimage.c 35848 * glyphs-eimage.c
30962 (reinit_image_instantiator_format_create_glyphs_eimage): Added. 35849 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
30963 * event-stream.c (reinit_vars_of_event_stream): Extracted from 35850 * event-stream.c (reinit_vars_of_event_stream): Extracted from
30964 vars_of_event_stream 35851 vars_of_event_stream
30965 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval. 35852 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
30966 * device.c (reinit_vars_of_device): Extracted from vars_of_device. 35853 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
30967 * console-x.c (reinit_console_type_create_x): Added. 35854 * console-x.c (reinit_console_type_create_x): Added.
30968 * console-tty.c (reinit_console_type_create_tty): Added 35855 * console-tty.c (reinit_console_type_create_tty): Added
30969 * console-stream.c (reinit_console_type_create_stream): Added. 35856 * console-stream.c (reinit_console_type_create_stream): Added.
30970 (init_console_stream): If PDUMP, always reinitialise basic 35857 (init_console_stream): If PDUMP, always reinitialise basic
30971 devices. 35858 devices.
30972 * console-msw.c (reinit_console_type_create_mswindows): Added. 35859 * console-msw.c (reinit_console_type_create_mswindows): Added.
30973 * buffer.c (reinit_vars_of_buffer): Extracted from 35860 * buffer.c (reinit_vars_of_buffer): Extracted from
30974 init_vars_of_buffer. 35861 init_vars_of_buffer.
30975 (reinit_complex_vars_of_buffer): Extracted from 35862 (reinit_complex_vars_of_buffer): Extracted from
30976 complex_vars_of_buffer 35863 complex_vars_of_buffer
30977 35864
30978 * alloc.c: Further with the portable dumping, the revenge. 35865 * alloc.c: Further with the portable dumping, the revenge.
30979 (dumpstruct): Added. 35866 (dumpstruct): Added.
30980 (reinit_alloc_once_early): Extracted from init_alloc_once_early. 35867 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
30981 35868
31095 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg. 35982 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
31096 35983
31097 1999-09-24 Andy Piper <andy@xemacs.org> 35984 1999-09-24 Andy Piper <andy@xemacs.org>
31098 35985
31099 * redisplay-output.c (output_display_line): only clear the borders 35986 * redisplay-output.c (output_display_line): only clear the borders
31100 if we are not displaying the gutter. 35987 if we are not displaying the gutter.
31101 35988
31102 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch> 35989 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
31103 35990
31104 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and 35991 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
31105 then use x_any_widget_or_parent_to_frame(). 35992 then use x_any_widget_or_parent_to_frame().
31106 (x_find_frame_for_window): remove special cases. 35993 (x_find_frame_for_window): remove special cases.
31107 35994
31108 1999-09-24 Andy Piper <andy@xemacs.org> 35995 1999-09-24 Andy Piper <andy@xemacs.org>
31109 35996
31110 * scrollbar-x.c (x_window_is_scrollbar): deleted. 35997 * scrollbar-x.c (x_window_is_scrollbar): deleted.
31239 * dired.c (Fuser_name_all_completions): Ditto. 36126 * dired.c (Fuser_name_all_completions): Ditto.
31240 36127
31241 1999-09-22 Andy Piper <andy@xemacs.org> 36128 1999-09-22 Andy Piper <andy@xemacs.org>
31242 36129
31243 * redisplay.c (redisplay_frame): reset the gutter display lines 36130 * redisplay.c (redisplay_frame): reset the gutter display lines
31244 when we reset the subwindows. 36131 when we reset the subwindows.
31245 36132
31246 * gutter.c (reset_gutter_display_lines): new function. 36133 * gutter.c (reset_gutter_display_lines): new function.
31247 36134
31248 * window.c (Flast_nonminibuf_window): new function equivalent to 36135 * window.c (Flast_nonminibuf_window): new function equivalent to
31249 FRAME_LAST_NONMINIBUF_WINDOW (). 36136 FRAME_LAST_NONMINIBUF_WINDOW ().
31250 (syms_of_window): declare it. 36137 (syms_of_window): declare it.
31251 36138
31252 * redisplay.c (create_string_text_block): don't add bogus eol 36139 * redisplay.c (create_string_text_block): don't add bogus eol
31253 markers to gutter display lines. 36140 markers to gutter display lines.
31254 36141
31255 * glyphs.c (reset_subwindow_cachels): make sure we unmap 36142 * glyphs.c (reset_subwindow_cachels): make sure we unmap
31256 subwindows using unmap_subwindow so that expose events get 36143 subwindows using unmap_subwindow so that expose events get
31257 registered correctly. 36144 registered correctly.
31258 36145
31259 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to 36146 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
31260 determine how much to scroll the window. 36147 determine how much to scroll the window.
31261 (vars_of_window): Vwindow_pixel_scroll_increment is a new 36148 (vars_of_window): Vwindow_pixel_scroll_increment is a new
31262 variable. 36149 variable.
31263 36150
31264 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com> 36151 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
31265 36152
31266 * glyphs-x.c (update_widget_face): Guard fontList declaration for 36153 * glyphs-x.c (update_widget_face): Guard fontList declaration for
31267 non-motif uses. 36154 non-motif uses.
31271 * glyphs-msw.c (mswindows_update_subwindow): update faces. 36158 * glyphs-msw.c (mswindows_update_subwindow): update faces.
31272 36159
31273 1999-09-19 Andy Piper <andy@xemacs.org> 36160 1999-09-19 Andy Piper <andy@xemacs.org>
31274 36161
31275 * glyphs.c (update_frame_subwindows): update if faces have 36162 * glyphs.c (update_frame_subwindows): update if faces have
31276 changed. 36163 changed.
31277 36164
31278 * glyphs-x.c (x_widget_instantiate): create the clip widget using 36165 * glyphs-x.c (x_widget_instantiate): create the clip widget using
31279 lwlib rather than directly. 36166 lwlib rather than directly.
31280 (x_finalize_image_instance): delete the clip widget using lwlib. 36167 (x_finalize_image_instance): delete the clip widget using lwlib.
31281 (x_update_subwindow): update widget faces. 36168 (x_update_subwindow): update widget faces.
31282 (update_widget_face): new function for updating the face 36169 (update_widget_face): new function for updating the face
31283 properties of a widget. 36170 properties of a widget.
31284 (x_widget_set_property): update widget faces. 36171 (x_widget_set_property): update widget faces.
31285 36172
31286 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to 36173 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
31287 manage the clip widgets using lwlib so that we can delete them in 36174 manage the clip widgets using lwlib so that we can delete them in
31288 a safe manner. 36175 a safe manner.
31289 36176
31290 1999-09-16 Martin Buchholz <martin@xemacs.org> 36177 1999-09-16 Martin Buchholz <martin@xemacs.org>
31291 36178
31292 * lisp-union.h: 36179 * lisp-union.h:
31293 * lisp-disunion.h: 36180 * lisp-disunion.h:
31306 DATA_SEG_BITS. 36193 DATA_SEG_BITS.
31307 36194
31308 1999-09-16 Andy Piper <andy@xemacs.org> 36195 1999-09-16 Andy Piper <andy@xemacs.org>
31309 36196
31310 * redisplay-output.c (redisplay_output_subwindow): clip subwindows 36197 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
31311 that don't completely fit on-screen rather than just unmapping 36198 that don't completely fit on-screen rather than just unmapping
31312 them. 36199 them.
31313 36200
31314 * glyphs.h: change signature of map_subwindow. 36201 * glyphs.h: change signature of map_subwindow.
31315 36202
31316 * glyphs.c (map_subwindow): add display_glyph_area to the 36203 * glyphs.c (map_subwindow): add display_glyph_area to the
31317 signature. make sure the mapped area saved in the subwindow_cachel 36204 signature. make sure the mapped area saved in the subwindow_cachel
31318 reflects this. 36205 reflects this.
31319 (Fforce_subwindow_map): make a no-op. I don't think this does 36206 (Fforce_subwindow_map): make a no-op. I don't think this does
31320 anything useful. 36207 anything useful.
31321 36208
31322 * glyphs-x.h (struct x_subwindow_data): save the Display rather 36209 * glyphs-x.h (struct x_subwindow_data): save the Display rather
31323 than the Screen. Add a clipwindow and clipwidget handle. 36210 than the Screen. Add a clipwindow and clipwidget handle.
31324 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor. 36211 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
31325 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto. 36212 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
31326 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto. 36213 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
31327 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto. 36214 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
31328 36215
31329 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget 36216 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
31330 as well as the widget itself. 36217 as well as the widget itself.
31331 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather 36218 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
31332 than the widgets and subwindows themselves. move the widget inside 36219 than the widgets and subwindows themselves. move the widget inside
31333 the clipwidget. 36220 the clipwidget.
31334 (x_subwindow_instantiate): hold onto the Display rather than the 36221 (x_subwindow_instantiate): hold onto the Display rather than the
31335 Screen. allocate a clipwindow to put the subwindow inside. 36222 Screen. allocate a clipwindow to put the subwindow inside.
31336 (x_resize_subwindow): use saved Display directly. 36223 (x_resize_subwindow): use saved Display directly.
31337 (x_widget_instantiate): allocate a clipwidget of type EmacsManager 36224 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
31338 to put widgets inside. 36225 to put widgets inside.
31339 36226
31340 * glyphs-widget.c: remove group stuff. 36227 * glyphs-widget.c: remove group stuff.
31341 36228
31342 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to 36229 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
31343 hold the clipwindow. 36230 hold the clipwindow.
31344 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor. 36231 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
31345 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto. 36232 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
31346 36233
31347 * glyphs-msw.c: remove group stuff. 36234 * glyphs-msw.c: remove group stuff.
31348 (mswindows_finalize_image_instance): destroy clipwindow as well as 36235 (mswindows_finalize_image_instance): destroy clipwindow as well as
31349 the widget itself. 36236 the widget itself.
31350 (mswindows_unmap_subwindow): unmap the clipwindow rather than the 36237 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
31351 widget. 36238 widget.
31352 (mswindows_map_subwindow): ditto. move the widget within the 36239 (mswindows_map_subwindow): ditto. move the widget within the
31353 clipwindow. 36240 clipwindow.
31354 (mswindows_subwindow_instantiate): allocate and initialize 36241 (mswindows_subwindow_instantiate): allocate and initialize
31355 mswindows_subwindow_data. allocate a clipwindow with the subwindow 36242 mswindows_subwindow_data. allocate a clipwindow with the subwindow
31356 as a child. 36243 as a child.
31357 (mswindows_widget_instantiate): ditto. 36244 (mswindows_widget_instantiate): ditto.
31358 (mswindows_control_wnd_proc): new function that allows us to 36245 (mswindows_control_wnd_proc): new function that allows us to
31359 propagate events from the widget to the main windows control loop. 36246 propagate events from the widget to the main windows control loop.
31360 36247
31361 * device-msw.c (mswindows_init_device): register new widget clip window 36248 * device-msw.c (mswindows_init_device): register new widget clip window
31362 class. 36249 class.
31363 36250
31364 * console.h (struct console_methods): add display_glyph_area to 36251 * console.h (struct console_methods): add display_glyph_area to
31365 map_window. 36252 map_window.
31366 36253
31367 * console-msw.h: declare new window class and wnd proc for 36254 * console-msw.h: declare new window class and wnd proc for
31368 widgets. 36255 widgets.
31369 36256
31370 1999-09-14 Martin Buchholz <martin@xemacs.org> 36257 1999-09-14 Martin Buchholz <martin@xemacs.org>
31371 36258
31372 * general.c: 36259 * general.c:
31373 * eldap.c: 36260 * eldap.c:
31430 offset twice if HAVE_WMCOMMAND is defined. 36317 offset twice if HAVE_WMCOMMAND is defined.
31431 36318
31432 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk> 36319 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
31433 36320
31434 * redisplay-x.c (x_output_vertical_divider): make sure 36321 * redisplay-x.c (x_output_vertical_divider): make sure
31435 shadow_thickness is positive. 36322 shadow_thickness is positive.
31436 36323
31437 1999-09-10 Julian Back <jback@rudd.compulink.co.uk> 36324 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
31438 36325
31439 * process-nt.c (nt_create_process): fixup to cope with 36326 * process-nt.c (nt_create_process): fixup to cope with
31440 Vprocess_environment. 36327 Vprocess_environment.
31441 36328
31442 1999-09-02 Andy Piper <andy@xemacs.org> 36329 1999-09-02 Andy Piper <andy@xemacs.org>
31443 36330
31444 * redisplay-output.c (redisplay_output_layout): call output 36331 * redisplay-output.c (redisplay_output_layout): call output
31445 routines with clear_clip false. output layout borders with text 36332 routines with clear_clip false. output layout borders with text
31446 correctly. 36333 correctly.
31447 36334
31448 * redisplay-msw.c (mswindows_output_blank): call output routines 36335 * redisplay-msw.c (mswindows_output_blank): call output routines
31449 with clear_clip true. 36336 with clear_clip true.
31450 (mswindows_output_string): ditto. 36337 (mswindows_output_string): ditto.
31451 (mswindows_output_display_block): ditto. 36338 (mswindows_output_display_block): ditto.
31452 36339
31453 * redisplay-x.c (x_output_display_block): call output routines 36340 * redisplay-x.c (x_output_display_block): call output routines
31454 with clear_clip true. 36341 with clear_clip true.
31455 36342
31456 * redisplay.h: fix output routines for clear_clip parameter. 36343 * redisplay.h: fix output routines for clear_clip parameter.
31457 36344
31458 * redisplay-output.c (redisplay_output_layout): cope with glyphs 36345 * redisplay-output.c (redisplay_output_layout): cope with glyphs
31459 in the border. 36346 in the border.
31460 36347
31461 * glyphs-widget.c (layout_instantiate): deal with border glyphs. 36348 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
31462 (check_valid_glyph_or_instantiator): renamed from 36349 (check_valid_glyph_or_instantiator): renamed from
31463 check_valid_glyph_or_image. 36350 check_valid_glyph_or_image.
31464 (check_valid_border): allow glyphs or their instantiators. 36351 (check_valid_border): allow glyphs or their instantiators.
31465 (check_valid_glyph_or_instantiator_list): renamed from 36352 (check_valid_glyph_or_instantiator_list): renamed from
31466 check_valid_glyph_or_image_list, 36353 check_valid_glyph_or_image_list,
31467 (glyph_instantiator_to_glyph): new function. make sure a glyph is 36354 (glyph_instantiator_to_glyph): new function. make sure a glyph is
31468 a glyph and not an instantiator. 36355 a glyph and not an instantiator.
31469 (substitute_keyword_value): new function. replace a keyword value 36356 (substitute_keyword_value): new function. replace a keyword value
31470 with a new one. 36357 with a new one.
31471 36358
31472 1999-09-01 Andy Piper <andy@xemacs.org> 36359 1999-09-01 Andy Piper <andy@xemacs.org>
31473 36360
31474 * glyphs.c (string_set_property): new function to set the data of 36361 * glyphs.c (string_set_property): new function to set the data of
31475 a string. 36362 a string.
31476 (image_instantiator_format_create): use it. 36363 (image_instantiator_format_create): use it.
31477 36364
31478 1999-09-07 Hrvoje Niksic <hniksic@srce.hr> 36365 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
31479 36366
31480 * fns.c (Fmapc): Rename back to Fmapc_internal. 36367 * fns.c (Fmapc): Rename back to Fmapc_internal.
31481 36368
31482 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu> 36369 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
31483 36370
31484 * ntheap.h: CONST (semantically constant) name field of file_data 36371 * ntheap.h: CONST (semantically constant) name field of file_data
31485 struct 36372 struct
31486 36373
31487 * unexnt.c (open_output_file): match function definition with 36374 * unexnt.c (open_output_file): match function definition with
31488 function declaration 36375 function declaration
31489 36376
31490 * editfns.c: #include "sysfile.h" for getcwd() prototype 36377 * editfns.c: #include "sysfile.h" for getcwd() prototype
31491 36378
31492 * gif_io.c: #include "sysfile.h" for close() prototype 36379 * gif_io.c: #include "sysfile.h" for close() prototype
31493 36380
31561 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list. 36448 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
31562 36449
31563 1999-09-02 Hrvoje Niksic <hniksic@srce.hr> 36450 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
31564 36451
31565 * extents.c (extent_remprop): Get extent's plist address 36452 * extents.c (extent_remprop): Get extent's plist address
31566 correctly. 36453 correctly.
31567 36454
31568 1999-08-31 Andy Piper <andy@xemacs.org> 36455 1999-08-31 Andy Piper <andy@xemacs.org>
31569 36456
31570 * xmu.h: define Xmu/Converters.h things. 36457 * xmu.h: define Xmu/Converters.h things.
31571 36458
31589 (decode_coding_utf8): Likewise. 36476 (decode_coding_utf8): Likewise.
31590 36477
31591 1999-08-31 Andy Piper <andy@xemacs.org> 36478 1999-08-31 Andy Piper <andy@xemacs.org>
31592 36479
31593 * redisplay-output.c (redisplay_normalize_glyph_area): make sure 36480 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
31594 the clip offset doesn't exceed the height we have available to 36481 the clip offset doesn't exceed the height we have available to
31595 show. 36482 show.
31596 36483
31597 * window.h (struct window): add top_yoffset and left_xoffset for 36484 * window.h (struct window): add top_yoffset and left_xoffset for
31598 pixel scrolling. 36485 pixel scrolling.
31599 (WINDOW_TEXT_TOP_CLIP): new macro. 36486 (WINDOW_TEXT_TOP_CLIP): new macro.
31600 36487
31601 * window.c (window_scroll): add behaviour for pixel-scrolling of 36488 * window.c (window_scroll): add behaviour for pixel-scrolling of
31602 tall lines. 36489 tall lines.
31603 36490
31604 * redisplay.h (struct display_line): add top_clip. 36491 * redisplay.h (struct display_line): add top_clip.
31605 (DISPLAY_LINE_HEIGHT): adjust for top_clip. 36492 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
31606 (DISPLAY_LINE_YPOS): ditto. 36493 (DISPLAY_LINE_YPOS): ditto.
31607 36494
31608 * redisplay.c (position_redisplay_data_type): add 36495 * redisplay.c (position_redisplay_data_type): add
31609 start_col_xoffset to prepare for pixel-based h-scrolling. 36496 start_col_xoffset to prepare for pixel-based h-scrolling.
31610 (WINDOW_SCROLLED): new macro. 36497 (WINDOW_SCROLLED): new macro.
31611 (next_tab_position): use it. 36498 (next_tab_position): use it.
31612 (add_glyph_rune): use new hscoll vars. 36499 (add_glyph_rune): use new hscoll vars.
31613 (create_text_block): ditto. 36500 (create_text_block): ditto.
31614 (generate_displayable_area): adjust off-by-one error. 36501 (generate_displayable_area): adjust off-by-one error.
31615 (regenerate_window): take top_clip into account. 36502 (regenerate_window): take top_clip into account.
31616 (regenerate_window_extents_only_changed): ditto. 36503 (regenerate_window_extents_only_changed): ditto.
31617 (regenerate_window_incrementally): ditto. 36504 (regenerate_window_incrementally): ditto.
31618 36505
31619 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS, 36506 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
31620 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. 36507 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
31621 (x_output_string): ditto. 36508 (x_output_string): ditto.
31622 (x_output_blank): ditto. 36509 (x_output_blank): ditto.
31623 (x_output_hline): ditto. 36510 (x_output_hline): ditto.
31624 (x_output_eol_cursor): ditto. 36511 (x_output_eol_cursor): ditto.
31625 36512
31626 * redisplay-output.c (output_display_line): allow for 36513 * redisplay-output.c (output_display_line): allow for
31627 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and 36514 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
31628 DISPLAY_LINE_YEND macros. 36515 DISPLAY_LINE_YEND macros.
31629 (redisplay_output_layout): output strings in layouts correctly. 36516 (redisplay_output_layout): output strings in layouts correctly.
31630 (redisplay_clear_clipped_region): allow for top_clip. 36517 (redisplay_clear_clipped_region): allow for top_clip.
31631 (redisplay_calculate_display_boxes): ditto. 36518 (redisplay_calculate_display_boxes): ditto.
31632 36519
31633 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS, 36520 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
31634 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros. 36521 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
31635 (mswindows_output_cursor): ditto. 36522 (mswindows_output_cursor): ditto.
31636 (mswindows_output_string): ditto. 36523 (mswindows_output_string): ditto.
31637 (mswindows_redraw_exposed_window): ditto. 36524 (mswindows_redraw_exposed_window): ditto.
31638 (mswindows_output_display_block): ditto. 36525 (mswindows_output_display_block): ditto.
31639 36526
31640 * gutter.c: new specifier type gutter-size. 36527 * gutter.c: new specifier type gutter-size.
31641 (gutter_size_validate): validate gutter-size specifier. 36528 (gutter_size_validate): validate gutter-size specifier.
31642 (Fgutter_size_specifier_p): predicate for gutter-size. 36529 (Fgutter_size_specifier_p): predicate for gutter-size.
31643 (Fredisplay_gutter_area): allow the gutter area to be redisplayed 36530 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
31644 under user contol, like Fredisplay_echo_area. 36531 under user contol, like Fredisplay_echo_area.
31645 (syms_of_gutter): add new functions. 36532 (syms_of_gutter): add new functions.
31646 (specifier_type_create_gutter): add new specifier. 36533 (specifier_type_create_gutter): add new specifier.
31647 (specifier_vars_of_gutter): change specifier types of *-height to 36534 (specifier_vars_of_gutter): change specifier types of *-height to
31648 gutter-size. 36535 gutter-size.
31649 36536
31650 * glyphs.c (glyph_width): make work with image instances. 36537 * glyphs.c (glyph_width): make work with image instances.
31651 36538
31652 * console.h (struct console_methods): change api of output_string. 36539 * console.h (struct console_methods): change api of output_string.
31653 36540
31654 * glyphs-x.c (x_map_subwindow): move before mapping as reported by 36541 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
31655 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> 36542 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
31656 36543
31657 1999-08-30 Andy Piper <andy@xemacs.org> 36544 1999-08-30 Andy Piper <andy@xemacs.org>
31658 36545
31659 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK 36546 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
31660 for assignment. 36547 for assignment.
31661 (init_image_instance_from_x_image): ditto. 36548 (init_image_instance_from_x_image): ditto.
31662 (x_xpm_instantiate): ditto. 36549 (x_xpm_instantiate): ditto.
31663 (x_colorize_image_instance): ditto. Reported by Richard Cognot 36550 (x_colorize_image_instance): ditto. Reported by Richard Cognot
31664 <cognot@ensg.u-nancy.fr> 36551 <cognot@ensg.u-nancy.fr>
31665 36552
31666 1999-08-29 Andy Piper <andy@xemacs.org> 36553 1999-08-29 Andy Piper <andy@xemacs.org>
31667 36554
31668 * glyphs-x.c (x_widget_instantiate): move font initialisation so 36555 * glyphs-x.c (x_widget_instantiate): move font initialisation so
31669 that it doesn't get saved in the user defined args. 36556 that it doesn't get saved in the user defined args.
31670 (x_tab_control_instantiate): Set the fg color of the tab's 36557 (x_tab_control_instantiate): Set the fg color of the tab's
31671 children. 36558 children.
31672 (x_tab_control_set_property): ditto. 36559 (x_tab_control_set_property): ditto.
31673 36560
31674 1999-08-27 Damon Lipparelli <lipp@primus.com> 36561 1999-08-27 Damon Lipparelli <lipp@primus.com>
31675 36562
31676 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct'' 36563 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
31740 * console-x.h: declare new pixmap signatures. 36627 * console-x.h: declare new pixmap signatures.
31741 36628
31742 1999-08-23 Andy Piper <andy@xemacs.org> 36629 1999-08-23 Andy Piper <andy@xemacs.org>
31743 36630
31744 * glyphs-x.c (x_update_subwindow): make sure the widget size is 36631 * glyphs-x.c (x_update_subwindow): make sure the widget size is
31745 maintained after an update. 36632 maintained after an update.
31746 36633
31747 * event-Xt.c (emacs_Xt_handle_magic_event): use 36634 * event-Xt.c (emacs_Xt_handle_magic_event): use
31748 find_matching_subwindow to check whether the exposure is totally 36635 find_matching_subwindow to check whether the exposure is totally
31749 inside a subwindow, if it is then ignore it. 36636 inside a subwindow, if it is then ignore it.
31750 36637
31751 * glyphs.c (find_matching_subwindow): new function. 36638 * glyphs.c (find_matching_subwindow): new function.
31752 36639
31753 * toolbar-x.c (x_draw_blank_toolbar_button): use new 36640 * toolbar-x.c (x_draw_blank_toolbar_button): use new
31754 x_output_shadows signature. 36641 x_output_shadows signature.
31755 (x_output_toolbar_button): use new x_output_x_pixmap signature. 36642 (x_output_toolbar_button): use new x_output_x_pixmap signature.
31756 36643
31757 * redisplay.h (struct display_box): new structure. 36644 * redisplay.h (struct display_box): new structure.
31758 (struct display_glyph_area): ditto. 36645 (struct display_glyph_area): ditto.
31759 declare new display_box functions. 36646 declare new display_box functions.
31760 36647
31761 * redisplay-x.c (x_output_pixmap): update for new display 36648 * redisplay-x.c (x_output_pixmap): update for new display
31762 box stuff. 36649 box stuff.
31763 (x_bevel_area): update to allow multiple edge styles and border 36650 (x_bevel_area): update to allow multiple edge styles and border
31764 segments. 36651 segments.
31765 (x_output_display_block): update for new display_box stuff and 36652 (x_output_display_block): update for new display_box stuff and
31766 signatures. 36653 signatures.
31767 (x_clear_region): ditto. 36654 (x_clear_region): ditto.
31768 (x_output_x_pixmap): ditto. adjust offsets rather than clip. 36655 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
31769 (console_type_create_redisplay_x): declare new console methods. 36656 (console_type_create_redisplay_x): declare new console methods.
31770 (x_output_vertical_divider): update for new bevel_area signature. 36657 (x_output_vertical_divider): update for new bevel_area signature.
31771 (x_output_shadows): update to allow selective drawing of edges. 36658 (x_output_shadows): update to allow selective drawing of edges.
31772 36659
31773 * redisplay-tty.c (tty_output_display_block): do nothing for 36660 * redisplay-tty.c (tty_output_display_block): do nothing for
31774 layouts. 36661 layouts.
31775 36662
31776 * redisplay-output.c (redisplay_output_subwindow): convert to use 36663 * redisplay-output.c (redisplay_output_subwindow): convert to use
31777 display_box structure, this allows us to put subwindows anywhere 36664 display_box structure, this allows us to put subwindows anywhere
31778 with any offset, useful for layout glyphs. 36665 with any offset, useful for layout glyphs.
31779 (redisplay_output_layout): new function. output a layout and its 36666 (redisplay_output_layout): new function. output a layout and its
31780 sub-glyphs. 36667 sub-glyphs.
31781 (redisplay_output_pixmap): new modular function combining generic 36668 (redisplay_output_pixmap): new modular function combining generic
31782 parts of the X and mswindows versions. convert to use display_box 36669 parts of the X and mswindows versions. convert to use display_box
31783 structures. 36670 structures.
31784 (redisplay_clear_clipped_region): new function. clear the area a 36671 (redisplay_clear_clipped_region): new function. clear the area a
31785 glyph is going into. 36672 glyph is going into.
31786 (redisplay_normalize_glyph_area): new function. calculate the 36673 (redisplay_normalize_glyph_area): new function. calculate the
31787 bounds of a display_glyph_area given a display_box. 36674 bounds of a display_glyph_area given a display_box.
31788 (redisplay_normalize_display_box): new function. shrink a 36675 (redisplay_normalize_display_box): new function. shrink a
31789 display_box to enclose a display_glyph_area. 36676 display_box to enclose a display_glyph_area.
31790 (redisplay_display_boxes_in_window_p): check whether the input 36677 (redisplay_display_boxes_in_window_p): check whether the input
31791 display_box and display_glyph_area are actually in a window. 36678 display_box and display_glyph_area are actually in a window.
31792 (redisplay_calculate_display_boxes): calculate display boxes based 36679 (redisplay_calculate_display_boxes): calculate display boxes based
31793 on conventional display_line metrics. 36680 on conventional display_line metrics.
31794 (bevel_modeline): update for new bevel_area signature. 36681 (bevel_modeline): update for new bevel_area signature.
31795 36682
31796 * redisplay-msw.c (mswindows_output_blank): update for new 36683 * redisplay-msw.c (mswindows_output_blank): update for new
31797 display_box stuff. 36684 display_box stuff.
31798 (mswindows_output_string): ditto. 36685 (mswindows_output_string): ditto.
31799 (mswindows_output_dibitmap): ditto. 36686 (mswindows_output_dibitmap): ditto.
31800 (mswindows_output_dibitmap_region): ditto. 36687 (mswindows_output_dibitmap_region): ditto.
31801 (mswindows_output_pixmap): ditto. 36688 (mswindows_output_pixmap): ditto.
31802 (mswindows_bevel_area): update to allow multiple edge styles and 36689 (mswindows_bevel_area): update to allow multiple edge styles and
31803 border segments. 36690 border segments.
31804 (mswindows_output_display_block): update for new display_box stuff 36691 (mswindows_output_display_block): update for new display_box stuff
31805 and signatures. 36692 and signatures.
31806 (mswindows_clear_region): ditto. 36693 (mswindows_clear_region): ditto.
31807 (console_type_create_redisplay_mswindows): declare new console methods. 36694 (console_type_create_redisplay_mswindows): declare new console methods.
31808 36695
31809 * lisp.h (edge_style): new enum. 36696 * lisp.h (edge_style): new enum.
31810 declare display_box and display_glyph_area. 36697 declare display_box and display_glyph_area.
31814 * glyphs.h (image_instance_type): add layout. 36701 * glyphs.h (image_instance_type): add layout.
31815 (IMAGE_LAYOUT_MASK): ditto. 36702 (IMAGE_LAYOUT_MASK): ditto.
31816 (LAYOUT_IMAGE_INSTANCEP): new macro. 36703 (LAYOUT_IMAGE_INSTANCEP): new macro.
31817 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto. 36704 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
31818 (struct Lisp_Image_Instance): add offsets for layout and the 36705 (struct Lisp_Image_Instance): add offsets for layout and the
31819 layout type itself. move mask here also. 36706 layout type itself. move mask here also.
31820 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro. 36707 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
31821 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto. 36708 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
31822 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto. 36709 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
31823 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto. 36710 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
31824 36711
31838 36725
31839 * glyphs-x.h (struct x_image_instance_data): remove mask entry. 36726 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
31840 (IMAGE_INSTANCE_X_MASK): update. 36727 (IMAGE_INSTANCE_X_MASK): update.
31841 36728
31842 * glyphs-x.c (x_label_instantiate): new function. instantiate a 36729 * glyphs-x.c (x_label_instantiate): new function. instantiate a
31843 label. 36730 label.
31844 (image_instantiator_format_create_glyphs_x): initialise new layout 36731 (image_instantiator_format_create_glyphs_x): initialise new layout
31845 glyph type. 36732 glyph type.
31846 36733
31847 * glyphs-widget.c: new layout type. 36734 * glyphs-widget.c: new layout type.
31848 (check_valid_orientation): new keyword checker for layouts. 36735 (check_valid_orientation): new keyword checker for layouts.
31849 (check_valid_justification): ditto. 36736 (check_valid_justification): ditto.
31850 (check_valid_border): ditto. 36737 (check_valid_border): ditto.
31852 (layout_possible_dest_types): new function for layout glyph type. 36739 (layout_possible_dest_types): new function for layout glyph type.
31853 (layout_normalize): ditto. 36740 (layout_normalize): ditto.
31854 (layout_instantiate): ditto. 36741 (layout_instantiate): ditto.
31855 (syms_of_glyphs_widget): new keywords for layout. 36742 (syms_of_glyphs_widget): new keywords for layout.
31856 (image_instantiator_format_create_glyphs_widget): initialise the 36743 (image_instantiator_format_create_glyphs_widget): initialise the
31857 layout glyph type. 36744 layout glyph type.
31858 36745
31859 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask 36746 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
31860 argument. 36747 argument.
31861 (IMAGE_INSTANCE_MSWINDOWS_MASK): update. 36748 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
31862 36749
31863 * glyphs-msw.c: declare layout format. 36750 * glyphs-msw.c: declare layout format.
31864 (image_instantiator_format_create_glyphs_mswindows): initialise it. 36751 (image_instantiator_format_create_glyphs_mswindows): initialise it.
31865 36752
31866 * general.c: new symbols for layouts. 36753 * general.c: new symbols for layouts.
31867 36754
31868 * console.h (struct console_methods): new console methods for 36755 * console.h (struct console_methods): new console methods for
31869 outputting pixmaps and strings. 36756 outputting pixmaps and strings.
31870 36757
31871 1999-08-23 Didier Verna <didier@xemacs.org> 36758 1999-08-23 Didier Verna <didier@xemacs.org>
31872 36759
31873 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume' 36760 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
31874 and `bell_inhibit_time' to `Vbell_inhibit_time'. 36761 and `bell_inhibit_time' to `Vbell_inhibit_time'.
31875 36762
31876 1999-08-18 Andy Piper <andy@xemacs.org> 36763 1999-08-18 Andy Piper <andy@xemacs.org>
31877 36764
31878 * redisplay-output.c (redisplay_output_subwindow): disable 36765 * redisplay-output.c (redisplay_output_subwindow): disable
31879 clipping attempt. 36766 clipping attempt.
31880 36767
31881 1999-08-17 Andy Piper <andy@xemacs.org> 36768 1999-08-17 Andy Piper <andy@xemacs.org>
31882 36769
31883 * gutter.c (redraw_exposed_gutter): handle degenerate case of no 36770 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
31884 area to expose or no gutter to display. 36771 area to expose or no gutter to display.
31885 36772
31886 1999-08-16 Charles G Waldman <cgw@fnal.gov> 36773 1999-08-16 Charles G Waldman <cgw@fnal.gov>
31887 36774
31888 * sound.c: rename `bell_volume' to `Vbell_volume' and 36775 * sound.c: rename `bell_volume' to `Vbell_volume' and
31889 `bell_inhibit_time' to `Vbell_inhibit_time'. 36776 `bell_inhibit_time' to `Vbell_inhibit_time'.
31895 (sound-alist): Fix docstring. 36782 (sound-alist): Fix docstring.
31896 36783
31897 1999-08-17 Andy Piper <andy@xemacs.org> 36784 1999-08-17 Andy Piper <andy@xemacs.org>
31898 36785
31899 * gui-x.c (button_item_to_widget_value): xstrdup name so that 36786 * gui-x.c (button_item_to_widget_value): xstrdup name so that
31900 deleting it is ok. 36787 deleting it is ok.
31901 36788
31902 1999-08-16 Jeff Miller <jmiller@smart.net> 36789 1999-08-16 Jeff Miller <jmiller@smart.net>
31903 36790
31904 * syntax.c (scan_words): make compile. 36791 * syntax.c (scan_words): make compile.
31905 36792
31906 1999-08-16 Andy Piper <andy@xemacs.org> 36793 1999-08-16 Andy Piper <andy@xemacs.org>
31907 36794
31908 * redisplay-output.c (redisplay_output_subwindow): try and be more 36795 * redisplay-output.c (redisplay_output_subwindow): try and be more
31909 relaxed about clipping possibilities. 36796 relaxed about clipping possibilities.
31910 36797
31911 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree 36798 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
31912 rather than just the widget_value. 36799 rather than just the widget_value.
31913 (x_update_subwindow): ditto. 36800 (x_update_subwindow): ditto.
31914 (x_widget_instantiate): ditto. 36801 (x_widget_instantiate): ditto.
31915 36802
31916 * gutter.c (output_gutter): shrink current display lines if 36803 * gutter.c (output_gutter): shrink current display lines if
31917 required. 36804 required.
31918 36805
31919 1999-08-15 Andy Piper <andy@xemacs.org> 36806 1999-08-15 Andy Piper <andy@xemacs.org>
31920 36807
31921 * redisplay.h: declare free_display_lines. 36808 * redisplay.h: declare free_display_lines.
31922 36809
31923 * redisplay.c (free_display_lines): make non-static. 36810 * redisplay.c (free_display_lines): make non-static.
31924 36811
31925 * gutter.c (free_frame_gutters): use free_display_lines instead of 36812 * gutter.c (free_frame_gutters): use free_display_lines instead of
31926 Dynarr_free. 36813 Dynarr_free.
31927 (calculate_gutter_size): ditto. 36814 (calculate_gutter_size): ditto.
31928 36815
31929 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch> 36816 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
31930 36817
31931 * eval.c (run_hook_with_args_in_buffer): GCPRO globals. 36818 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
31935 * glyphs.c (update_subwindow_cachel): make it less brittle. 36822 * glyphs.c (update_subwindow_cachel): make it less brittle.
31936 36823
31937 1999-08-04 Mike Woolley <mike@bulsara.com> 36824 1999-08-04 Mike Woolley <mike@bulsara.com>
31938 36825
31939 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed 36826 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
31940 problem in wheelmouse code occurring when the horizontal scrollbar 36827 problem in wheelmouse code occurring when the horizontal scrollbar
31941 is enabled but not visible. 36828 is enabled but not visible.
31942 36829
31943 1999-08-08 Andy Piper <andyp@beasys.com> 36830 1999-08-08 Andy Piper <andyp@beasys.com>
31944 36831
31945 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function. 36832 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
31946 (console_type_create_toolbar_mswindows): use it. 36833 (console_type_create_toolbar_mswindows): use it.
31947 36834
31948 * glyphs.c (Fset_image_instance_property): fiddly reorganisation. 36835 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
31949 36836
31950 * redisplay-output.c (redisplay_output_display_block): unmap 36837 * redisplay-output.c (redisplay_output_display_block): unmap
31951 subwindows in the block area before outputting the block. 36838 subwindows in the block area before outputting the block.
31952 36839
31953 * event-msw.c (mswindows_wnd_proc): check the update rect before 36840 * event-msw.c (mswindows_wnd_proc): check the update rect before
31954 painting and disable expose registration while painting. 36841 painting and disable expose registration while painting.
31955 36842
31956 * glyphs.c (register_ignored_expose): check 36843 * glyphs.c (register_ignored_expose): check
31957 hold_ignored_expose_registration before registering expose events. 36844 hold_ignored_expose_registration before registering expose events.
31958 36845
31959 * redisplay.c (redisplay_frame): reset the subwindow cache before 36846 * redisplay.c (redisplay_frame): reset the subwindow cache before
31960 displaying the gutter. 36847 displaying the gutter.
31961 36848
31962 * glyphs-msw.c (mswindows_map_subwindow): move the window before 36849 * glyphs-msw.c (mswindows_map_subwindow): move the window before
31963 mapping. 36850 mapping.
31964 36851
31965 * gutter.c (update_frame_gutters): check for glyphs_changed as if 36852 * gutter.c (update_frame_gutters): check for glyphs_changed as if
31966 it is the subwindow cache will have been reset. 36853 it is the subwindow cache will have been reset.
31967 36854
31968 1999-08-06 Andy Piper <andyp@beasys.com> 36855 1999-08-06 Andy Piper <andyp@beasys.com>
31969 36856
31970 * gui-x.c (button_item_to_widget_value): cope with strings. 36857 * gui-x.c (button_item_to_widget_value): cope with strings.
31971 36858
31972 * glyphs.h: declare global widget functions. 36859 * glyphs.h: declare global widget functions.
31973 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro. 36860 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
31974 36861
31975 * glyphs-x.c (x_combo_box_instantiate): do generic initialization 36862 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
31976 here. remove dead code. 36863 here. remove dead code.
31977 (image_instantiator_format_create_glyphs_x): enable combo boxes 36864 (image_instantiator_format_create_glyphs_x): enable combo boxes
31978 for Motif 2.0. 36865 for Motif 2.0.
31979 36866
31980 * glyphs-widget.c (widget_instantiate_1): make non-static. 36867 * glyphs-widget.c (widget_instantiate_1): make non-static.
31981 (tree_view_instantiate): renamed from combo_box_instantiate. 36868 (tree_view_instantiate): renamed from combo_box_instantiate.
31982 (image_instantiator_format_create_glyphs_widget): use new/changed methods. 36869 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
31983 36870
31984 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic 36871 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
31985 initialization here. 36872 initialization here.
31986 36873
31987 * lwlib-Xm.c (xm_update_combo_box): new function. 36874 * lwlib-Xm.c (xm_update_combo_box): new function.
31988 (xm_update_one_widget): call it. 36875 (xm_update_one_widget): call it.
31989 (xm_update_one_value): deal with combo boxes as well as lists. 36876 (xm_update_one_value): deal with combo boxes as well as lists.
31990 (xm_create_combo_box): create a drop-down combo box. 36877 (xm_create_combo_box): create a drop-down combo box.
31991 36878
31992 * toolbar-msw.c (mswindows_output_toolbar): call 36879 * toolbar-msw.c (mswindows_output_toolbar): call
31993 mswindows_move_toolbar. 36880 mswindows_move_toolbar.
31994 36881
31995 1999-08-05 Andy Piper <andyp@beasys.com> 36882 1999-08-05 Andy Piper <andyp@beasys.com>
31996 36883
31997 * window.c (Fcurrent_pixel_column): new function. use display 36884 * window.c (Fcurrent_pixel_column): new function. use display
31998 lines to calculate pixel position of point. 36885 lines to calculate pixel position of point.
31999 * window.c (syms_of_window): declare it. 36886 * window.c (syms_of_window): declare it.
32000 36887
32001 1999-08-05 Andy Piper <andy@xemacs.org> 36888 1999-08-05 Andy Piper <andy@xemacs.org>
32002 36889
32003 * glyphs.c (check_for_ignored_expose): ignore exposures wholly 36890 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
32004 contained in our ignore list. 36891 contained in our ignore list.
32005 36892
32006 * buffer.c (Frecord_buffer): add call to record-buffer-hook. 36893 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
32007 (syms_of_buffer): declare record-buffer-hook. 36894 (syms_of_buffer): declare record-buffer-hook.
32008 36895
32009 * s/mingw32.h: define mousewheel things. 36896 * s/mingw32.h: define mousewheel things.
32026 * gui-x.h: unconditionally define since it is used everywhere. 36913 * gui-x.h: unconditionally define since it is used everywhere.
32027 36914
32028 1999-08-04 Andy Piper <andy@xemacs.org> 36915 1999-08-04 Andy Piper <andy@xemacs.org>
32029 36916
32030 * glyphs-x.c (x_finalize_image_instance): only free pixels if we 36917 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
32031 have that type of image. 36918 have that type of image.
32032 36919
32033 1999-07-30 Andy Piper <andy@xemacs.org> 36920 1999-07-30 Andy Piper <andy@xemacs.org>
32034 36921
32035 * redisplay-output.c (redisplay_unmap_subwindows): add comparison 36922 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
32036 subwindow to not unmap if required. 36923 subwindow to not unmap if required.
32037 (redisplay_unmap_subwindows_maybe): comparison is Qnil. 36924 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
32038 (redisplay_unmap_subwindows_except_us): new function. 36925 (redisplay_unmap_subwindows_except_us): new function.
32039 (redisplay_output_subwindow): use it to unmap windows in the area 36926 (redisplay_output_subwindow): use it to unmap windows in the area
32040 we are displaying into. 36927 we are displaying into.
32041 36928
32042 * glyphs.c (update_subwindow_cachel_data): always update as we 36929 * glyphs.c (update_subwindow_cachel_data): always update as we
32043 only ever get called when an update is required. 36930 only ever get called when an update is required.
32044 (update_subwindow_cachel): new function. sync a subwindow with its 36931 (update_subwindow_cachel): new function. sync a subwindow with its
32045 cachel. 36932 cachel.
32046 (Fresize_subwindow): use it. 36933 (Fresize_subwindow): use it.
32047 (register_ignored_expose): make sure we set the tail correctly. 36934 (register_ignored_expose): make sure we set the tail correctly.
32048 36935
32049 1999-07-28 Andy Piper <andy@xemacs.org> 36936 1999-07-28 Andy Piper <andy@xemacs.org>
32050 36937
32051 * redisplay-output.c (redisplay_clear_bottom_of_window): remove 36938 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
32052 unneeded device. 36939 unneeded device.
32053 36940
32054 * gutter.c (redraw_exposed_gutter): unmap subwindows from the 36941 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
32055 whole gutter. 36942 whole gutter.
32056 36943
32057 * gui.h: declare parse_gui_item_tree_list and 36944 * gui.h: declare parse_gui_item_tree_list and
32058 parse_gui_item_tree_children. 36945 parse_gui_item_tree_children.
32059 36946
32060 * gui.c (parse_gui_item_tree_item): new function for parsing item 36947 * gui.c (parse_gui_item_tree_item): new function for parsing item
32061 lists into gui-item trees. 36948 lists into gui-item trees.
32062 (parse_gui_item_tree_children): ditto. 36949 (parse_gui_item_tree_children): ditto.
32063 (parse_gui_item_tree_list): ditto. 36950 (parse_gui_item_tree_list): ditto.
32064 36951
32065 * gui-x.h: declare gui_items_to_widget_values. 36952 * gui-x.h: declare gui_items_to_widget_values.
32066 36953
32067 * gui-x.c (gui_items_to_widget_values_1): new function for 36954 * gui-x.c (gui_items_to_widget_values_1): new function for
32068 recursively parsing gui-items into widget_values. 36955 recursively parsing gui-items into widget_values.
32069 (gui_item_children_to_widget_values): ditto. 36956 (gui_item_children_to_widget_values): ditto.
32070 (gui_items_to_widget_values): ditto. 36957 (gui_items_to_widget_values): ditto.
32071 (sanity_check_lwlib): add widgets macrolets. 36958 (sanity_check_lwlib): add widgets macrolets.
32072 36959
32073 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM. 36960 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
32074 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto. 36961 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
32075 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM. 36962 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
32076 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto. 36963 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
32077 (struct expose_ignore): new structure for storing ignorable expose 36964 (struct expose_ignore): new structure for storing ignorable expose
32078 events. 36965 events.
32079 36966
32080 * glyphs.c (valid_image_instantiator_format_p): fix so that using 36967 * glyphs.c (valid_image_instantiator_format_p): fix so that using
32081 a console-type as a locale works. 36968 a console-type as a locale works.
32082 (mark_image_instance): ITEM->ITEMS. 36969 (mark_image_instance): ITEM->ITEMS.
32083 (image_instance_equal): ditto. 36970 (image_instance_equal): ditto.
32084 (image_instance_hash): ditto. 36971 (image_instance_hash): ditto.
32085 (struct expose_ignore_blocktype): new blocktype. 36972 (struct expose_ignore_blocktype): new blocktype.
32086 (check_for_ignored_expose): new function. checks frame exposure 36973 (check_for_ignored_expose): new function. checks frame exposure
32087 list for events to ignore. 36974 list for events to ignore.
32088 (register_ignored_expose): new function. registers an expose event 36975 (register_ignored_expose): new function. registers an expose event
32089 as ignorable. 36976 as ignorable.
32090 (unmap_subwindow): register the expose event as ignorable. 36977 (unmap_subwindow): register the expose event as ignorable.
32091 (vars_of_glyphs): initialise the exposure blocktype. 36978 (vars_of_glyphs): initialise the exposure blocktype.
32092 36979
32093 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget. 36980 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
32094 (x_update_subwindow): modify all widgets using widget_value tree 36981 (x_update_subwindow): modify all widgets using widget_value tree
32095 rather than just a single widget value. 36982 rather than just a single widget value.
32096 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF. 36983 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
32097 make sure widgets don't resize themselves. 36984 make sure widgets don't resize themselves.
32098 (x_tab_control_instantiate): new function. use lwlib tab functions. 36985 (x_tab_control_instantiate): new function. use lwlib tab functions.
32099 (x_tab_control_set_property): new function. 36986 (x_tab_control_set_property): new function.
32100 (image_instantiator_format_create_glyphs_x): add tab_control. 36987 (image_instantiator_format_create_glyphs_x): add tab_control.
32101 36988
32102 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate 36989 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
32103 slightly more sensibly. 36990 slightly more sensibly.
32104 (initialize_widget_image_instance): ITEM->ITEMS. 36991 (initialize_widget_image_instance): ITEM->ITEMS.
32105 (widget_instantiate_1): parse gui items generically into the ITEMS 36992 (widget_instantiate_1): parse gui items generically into the ITEMS
32106 entry. 36993 entry.
32107 36994
32108 * glyphs-msw.c (mswindows_update_subwindow): replace 36995 * glyphs-msw.c (mswindows_update_subwindow): replace
32109 SINGLE_ITEM->ITEM. 36996 SINGLE_ITEM->ITEM.
32110 (mswindows_register_widget_instance): ditto. 36997 (mswindows_register_widget_instance): ditto.
32111 (add_tree_item): modify to use new pre-initialised gui-item 36998 (add_tree_item): modify to use new pre-initialised gui-item
32112 structure. 36999 structure.
32113 (add_tab_item): ditto. 37000 (add_tab_item): ditto.
32114 (mswindows_tab_control_instantiate): ditto. 37001 (mswindows_tab_control_instantiate): ditto.
32115 (mswindows_tab_control_set_property): ditto. 37002 (mswindows_tab_control_set_property): ditto.
32116 (image_instantiator_format_create_glyphs_mswindows): predicate 37003 (image_instantiator_format_create_glyphs_mswindows): predicate
32117 existence of widgets on HAVE_WIDGETS. 37004 existence of widgets on HAVE_WIDGETS.
32118 37005
32119 * frame.h (struct frame): add subwindow_exposures variables. 37006 * frame.h (struct frame): add subwindow_exposures variables.
32120 37007
32121 * frame.c (allocate_frame_core): reset subwindow_exposures links. 37008 * frame.c (allocate_frame_core): reset subwindow_exposures links.
32122 37009
32123 * event-msw.c (mswindows_wnd_proc): check for ignored 37010 * event-msw.c (mswindows_wnd_proc): check for ignored
32124 expose events before redrawing. 37011 expose events before redrawing.
32125 37012
32126 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored 37013 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
32127 expose events before redrawing. 37014 expose events before redrawing.
32128 37015
32129 1999-07-30 SL Baur <steve@xemacs.org> 37016 1999-07-30 SL Baur <steve@xemacs.org>
32130 37017
32131 * scrollbar-x.c: should include EmacsFrame.h. 37018 * scrollbar-x.c: should include EmacsFrame.h.
32132 From Jeff Miller <jmiller@smart.net> 37019 From Jeff Miller <jmiller@smart.net>
32252 if toolbar support is. 37139 if toolbar support is.
32253 37140
32254 1999-07-19 Andy Piper <andy@xemacs.org> 37141 1999-07-19 Andy Piper <andy@xemacs.org>
32255 37142
32256 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as 37143 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
32257 subwindows. 37144 subwindows.
32258 37145
32259 * gutter.c (gutter_validate): new function for the gutter specifier. 37146 * gutter.c (gutter_validate): new function for the gutter specifier.
32260 (specifier_type_create_gutter): declare specifier validator. 37147 (specifier_type_create_gutter): declare specifier validator.
32261 37148
32262 * buffer.h (INC_CHARBYTIND): add for no error checking version. 37149 * buffer.h (INC_CHARBYTIND): add for no error checking version.
32264 1999-07-18 Andy Piper <andy@xemacs.org> 37151 1999-07-18 Andy Piper <andy@xemacs.org>
32265 37152
32266 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data. 37153 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
32267 37154
32268 * glyphs-msw.c (console_type_create_glyphs_mswindows): add 37155 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
32269 resize_subwindow. 37156 resize_subwindow.
32270 (mswindows_resize_subwindow): new function. 37157 (mswindows_resize_subwindow): new function.
32271 37158
32272 * gutter.c (redraw_exposed_gutter): only reset the 37159 * gutter.c (redraw_exposed_gutter): only reset the
32273 current_display_lines if non-zero. 37160 current_display_lines if non-zero.
32274 (Fgutter_pixel_height): new function. 37161 (Fgutter_pixel_height): new function.
32275 (Fgutter_pixel_width): new function. 37162 (Fgutter_pixel_width): new function.
32276 37163
32277 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter 37164 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
32278 we want to retrive from the tab control. 37165 we want to retrive from the tab control.
32279 37166
32280 1999-07-17 Andy Piper <andy@xemacs.org> 37167 1999-07-17 Andy Piper <andy@xemacs.org>
32281 37168
32282 * window.c (change_window_height): mark gutters changed when we're 37169 * window.c (change_window_height): mark gutters changed when we're
32283 done. 37170 done.
32284 37171
32285 * gutter.c (specifier_vars_of_gutter): make defaults more 37172 * gutter.c (specifier_vars_of_gutter): make defaults more
32286 sensible. 37173 sensible.
32287 37174
32288 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0 37175 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
32289 height gutter. 37176 height gutter.
32290 (DEFAULT_GUTTER_WIDTH): change. 37177 (DEFAULT_GUTTER_WIDTH): change.
32291 (DEFAULT_GUTTER_BORDER_WIDTH): change. 37178 (DEFAULT_GUTTER_BORDER_WIDTH): change.
32292 37179
32293 1999-07-18 Andy Piper <andy@xemacs.org> 37180 1999-07-18 Andy Piper <andy@xemacs.org>
32294 37181
32297 1999-07-16 Andy Piper <andy@xemacs.org> 37184 1999-07-16 Andy Piper <andy@xemacs.org>
32298 37185
32299 * frame.c (Fmake_frame): call init_frame_gutters(). 37186 * frame.c (Fmake_frame): call init_frame_gutters().
32300 37187
32301 * redisplay.c (add_emchar_rune): use string functions if we are 37188 * redisplay.c (add_emchar_rune): use string functions if we are
32302 working with a string. 37189 working with a string.
32303 (position_redisplay_data_type): add string element. 37190 (position_redisplay_data_type): add string element.
32304 37191
32305 1999-07-15 Andy Piper <andy@xemacs.org> 37192 1999-07-15 Andy Piper <andy@xemacs.org>
32306 37193
32307 * winslots.h: add real_gutter_size slots to hold the actual gutter 37194 * winslots.h: add real_gutter_size slots to hold the actual gutter
32308 size. This is important for autodetected sizes. 37195 size. This is important for autodetected sizes.
32309 37196
32310 * gutter.c (calculate_gutter_size): calculate size for gutters 37197 * gutter.c (calculate_gutter_size): calculate size for gutters
32311 that have 'autodetect size. 37198 that have 'autodetect size.
32312 37199
32313 * redisplay-msw.c (mswindows_output_vertical_divider): adjust 37200 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
32314 extent of divider for gutters. 37201 extent of divider for gutters.
32315 37202
32316 * redisplay-x.c (x_output_vertical_divider): adjust extent of 37203 * redisplay-x.c (x_output_vertical_divider): adjust extent of
32317 divider for gutters. 37204 divider for gutters.
32318 37205
32319 * scrollbar.c (update_scrollbar_instance): adjust scrollbar 37206 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
32320 position to take into account the gutters. 37207 position to take into account the gutters.
32321 37208
32322 * redisplay.c (generate_modeline): adjust modeline position to 37209 * redisplay.c (generate_modeline): adjust modeline position to
32323 take into account the gutters. 37210 take into account the gutters.
32324 37211
32325 1999-07-14 Andy Piper <andy@xemacs.org> 37212 1999-07-14 Andy Piper <andy@xemacs.org>
32326 37213
32327 * gutter.c (frame_topmost_window): new function. 37214 * gutter.c (frame_topmost_window): new function.
32328 (frame_bottommost_window): ditto. 37215 (frame_bottommost_window): ditto.
32330 (frame_rightmost_window): ditto. 37217 (frame_rightmost_window): ditto.
32331 37218
32332 1999-07-13 Andy Piper <andy@xemacs.org> 37219 1999-07-13 Andy Piper <andy@xemacs.org>
32333 37220
32334 * redisplay.c (calculate_display_line_boundaries): use text 37221 * redisplay.c (calculate_display_line_boundaries): use text
32335 boundaries so that gutters get handled properly. 37222 boundaries so that gutters get handled properly.
32336 37223
32337 1999-07-12 Andy Piper <andy@xemacs.org> 37224 1999-07-12 Andy Piper <andy@xemacs.org>
32338 37225
32339 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if 37226 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
32340 we're using Motif. 37227 we're using Motif.
32341 37228
32342 * redisplay-output.c (redisplay_clear_to_window_end): generalised 37229 * redisplay-output.c (redisplay_clear_to_window_end): generalised
32343 from redisplay-x.c 37230 from redisplay-x.c
32344 37231
32345 * redisplay-x.c (redisplay_clear_to_window_end): moved to 37232 * redisplay-x.c (redisplay_clear_to_window_end): moved to
32346 redisplay.c 37233 redisplay.c
32347 37234
32348 * redisplay-msw.c (redisplay_clear_to_window_end): deleted. 37235 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
32349 37236
32350 * gutter.c: new file - implements gutters. All new functions are 37237 * gutter.c: new file - implements gutters. All new functions are
32351 semantically equivalent to the toolbar functions. 37238 semantically equivalent to the toolbar functions.
32352 (gutter_was_visible): new function. 37239 (gutter_was_visible): new function.
32353 (get_gutter_coords): ditto. 37240 (get_gutter_coords): ditto.
32354 (output_gutter): ditto. 37241 (output_gutter): ditto.
32355 (clear_gutter): ditto. 37242 (clear_gutter): ditto.
32356 (update_frame_gutters): ditto. 37243 (update_frame_gutters): ditto.
32375 (vars_of_gutter): ditto. 37262 (vars_of_gutter): ditto.
32376 (specifier_type_create_gutter): ditto. 37263 (specifier_type_create_gutter): ditto.
32377 (specifier_vars_of_gutter): ditto. 37264 (specifier_vars_of_gutter): ditto.
32378 37265
32379 * gutter.h: new file. Contains gutter constants and sizing macros 37266 * gutter.h: new file. Contains gutter constants and sizing macros
32380 similar to those for the toolbar. 37267 similar to those for the toolbar.
32381 37268
32382 * winslots.h: add gutter variables. 37269 * winslots.h: add gutter variables.
32383 37270
32384 * window.h: declare window_is_* functions. 37271 * window.h: declare window_is_* functions.
32385 37272
32397 * symsinit.h: declarations for gutters vars etc. 37284 * symsinit.h: declarations for gutters vars etc.
32398 37285
32399 * search.c (bi_find_next_emchar_in_string): new function. 37286 * search.c (bi_find_next_emchar_in_string): new function.
32400 37287
32401 * scrollbar.c (update_scrollbar_instance): remove reference to 37288 * scrollbar.c (update_scrollbar_instance): remove reference to
32402 window_bottom_toolbar_height which did nothing. 37289 window_bottom_toolbar_height which did nothing.
32403 37290
32404 * redisplay.h (struct display_line): add face indices for 37291 * redisplay.h (struct display_line): add face indices for
32405 overriding defaults in output_display_line. 37292 overriding defaults in output_display_line.
32406 Add gutter_changed flags and declarations. 37293 Add gutter_changed flags and declarations.
32407 37294
32408 * redisplay.c (create_string_text_block): new function, similar to 37295 * redisplay.c (create_string_text_block): new function, similar to
32409 create_text_block but for strings. Display tables etc are used 37296 create_text_block but for strings. Display tables etc are used
32410 from the currently selected window. 37297 from the currently selected window.
32411 (generate_string_display_line): ditto. Similar to 37298 (generate_string_display_line): ditto. Similar to
32412 generate_display_line. 37299 generate_display_line.
32413 (generate_displayable_area): generate display lines for a given 37300 (generate_displayable_area): generate display lines for a given
32414 area on a frame. Input is the string, with associated extents, to 37301 area on a frame. Input is the string, with associated extents, to
32415 display. 37302 display.
32416 (redisplay_frame): add gutter_changed check. 37303 (redisplay_frame): add gutter_changed check.
32417 (redisplay_device): ditto. 37304 (redisplay_device): ditto.
32418 (redisplay_without_hooks): ditto. 37305 (redisplay_without_hooks): ditto.
32419 37306
32420 * redisplay-x.c (bevel_modeline): moved to redisplay.c. 37307 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
32423 (x_type_create_redisplay_mswindows): add bevel_area device method. 37310 (x_type_create_redisplay_mswindows): add bevel_area device method.
32424 (x_output_display_block): fiddly Martin-style cleanup. 37311 (x_output_display_block): fiddly Martin-style cleanup.
32425 (x_output_vertical_divider): use bevel_area. 37312 (x_output_vertical_divider): use bevel_area.
32426 37313
32427 * redisplay-output.c (output_display_line): check display_lines 37314 * redisplay-output.c (output_display_line): check display_lines
32428 for face information before using defaults. 37315 for face information before using defaults.
32429 (bevel_modeline): new function, calls bevel_area with appropriate 37316 (bevel_modeline): new function, calls bevel_area with appropriate
32430 values. 37317 values.
32431 37318
32432 * redisplay-msw.c (bevel_modeline): moved to redisplay.c. 37319 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
32433 (mswindows_redraw_exposed_area): redraw exposed gutters. 37320 (mswindows_redraw_exposed_area): redraw exposed gutters.
32434 (mswindows_bevel_area): new redisplay device method. 37321 (mswindows_bevel_area): new redisplay device method.
32435 (console_type_create_redisplay_mswindows): add bevel_area device 37322 (console_type_create_redisplay_mswindows): add bevel_area device
32436 method. 37323 method.
32437 37324
32438 * indent.c (string_column_at_point): add column_at_point but for 37325 * indent.c (string_column_at_point): add column_at_point but for
32439 strings. 37326 strings.
32440 37327
32441 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only 37328 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
32442 instantiate widgets that we have a toolkit for. 37329 instantiate widgets that we have a toolkit for.
32443 37330
32444 * general.c: add Qgutter. 37331 * general.c: add Qgutter.
32445 37332
32446 * frame.h (struct frame): add display lines for gutters and 37333 * frame.h (struct frame): add display lines for gutters and
32447 visibility flags. 37334 visibility flags.
32448 37335
32449 * frame.c (set_frame_selected_window): mark gutters changed. 37336 * frame.c (set_frame_selected_window): mark gutters changed.
32450 37337
32451 * emacs.c (main_1): add gutter initialisation. 37338 * emacs.c (main_1): add gutter initialisation.
32452 37339
32453 * device.h (struct device): add gutter_changed flag and macros to 37340 * device.h (struct device): add gutter_changed flag and macros to
32454 manipulate it. 37341 manipulate it.
32455 37342
32456 * console.h (struct console_methods): new bevel area redisplay 37343 * console.h (struct console_methods): new bevel area redisplay
32457 method. 37344 method.
32458 37345
32459 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as 37346 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
32460 REAL_INC_BYTIND is for buffers. 37347 REAL_INC_BYTIND is for buffers.
32461 (INC_CHARPTR): ditto. 37348 (INC_CHARPTR): ditto.
32462 37349
32463 * Makefile.in.in (objs): add gutter.o 37350 * Makefile.in.in (objs): add gutter.o
32464 37351
32465 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org> 37352 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
32502 * console.c: undo earlier Fprovide changes. 37389 * console.c: undo earlier Fprovide changes.
32503 * fns.c: ditto. 37390 * fns.c: ditto.
32504 * console.h: ditto. 37391 * console.h: ditto.
32505 37392
32506 * console-tty.c (image_instantiator_format_create_glyphs_tty): new 37393 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
32507 function. validate appropriate image formats for tty. 37394 function. validate appropriate image formats for tty.
32508 37395
32509 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): 37396 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
32510 initialize consoles parameter. 37397 initialize consoles parameter.
32511 (struct image_instantiator_methods): add consoles parameter. 37398 (struct image_instantiator_methods): add consoles parameter.
32512 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the 37399 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
32513 console. 37400 console.
32514 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given 37401 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
32515 console. 37402 console.
32516 37403
32517 * glyphs-msw.c: declare instantiators for later use. 37404 * glyphs-msw.c: declare instantiators for later use.
32518 (image_instantiator_format_create_glyphs_mswindows): validate xpm 37405 (image_instantiator_format_create_glyphs_mswindows): validate xpm
32519 and friends on the mswindows console. 37406 and friends on the mswindows console.
32520 * glyphs-x.c: ditto. 37407 * glyphs-x.c: ditto.
32521 37408
32522 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs 37409 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
32523 that have not been registered on the supplied device. 37410 that have not been registered on the supplied device.
32524 (Fvalid_image_instantiator_format_p): add locale argument. 37411 (Fvalid_image_instantiator_format_p): add locale argument.
32525 (instantiate_image_instantiator): valid image instantiator on the 37412 (instantiate_image_instantiator): valid image instantiator on the
32526 device. 37413 device.
32527 37414
32528 * symsinit.h: add image_instantiator_format_create_glyphs_tty() 37415 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
32529 declaration. 37416 declaration.
32530 37417
32531 * emacs.c (main_1): add call to 37418 * emacs.c (main_1): add call to
32532 image_instantiator_format_create_glyphs_tty(). 37419 image_instantiator_format_create_glyphs_tty().
32533 37420
32534 1999-06-29 Olivier Galibert <galibert@pobox.com> 37421 1999-06-29 Olivier Galibert <galibert@pobox.com>
32535 37422
32536 * lisp.h: Add #include <stddef.h>. 37423 * lisp.h: Add #include <stddef.h>.
32537 37424
32560 * event-msw.c: fix definition booboo. 37447 * event-msw.c: fix definition booboo.
32561 37448
32562 1999-06-28 Andy Piper <andy@xemacs.org> 37449 1999-06-28 Andy Piper <andy@xemacs.org>
32563 37450
32564 * glyphs-x.c: change tree -> tree-view, progress -> 37451 * glyphs-x.c: change tree -> tree-view, progress ->
32565 progress_gauge, edit -> edit-field, tab -> tab-control, combo -> 37452 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
32566 combo-box. 37453 combo-box.
32567 (complex_vars_of_glyphs_x): provide-on-console the implemented 37454 (complex_vars_of_glyphs_x): provide-on-console the implemented
32568 widget types. 37455 widget types.
32569 37456
32570 * glyphs-msw.c: ditto. 37457 * glyphs-msw.c: ditto.
32571 (complex_vars_of_glyphs_mswindows): ditto. 37458 (complex_vars_of_glyphs_mswindows): ditto.
32572 37459
32573 * lisp.h: add Fprovide_on_console. 37460 * lisp.h: add Fprovide_on_console.
32574 37461
32575 * fns.c (Ffeaturep): add extra optional console argument. 37462 * fns.c (Ffeaturep): add extra optional console argument.
32576 (Fprovide_on_console): like Fprovide but provides only on the 37463 (Fprovide_on_console): like Fprovide but provides only on the
32577 specified console-type. 37464 specified console-type.
32578 (Frequire): check console-features as well as global features. 37465 (Frequire): check console-features as well as global features.
32579 37466
32580 * console.c (Fconsole_features): new function. return features for 37467 * console.c (Fconsole_features): new function. return features for
32581 this console. 37468 this console.
32582 (syms_of_console): add Fconsole_features. 37469 (syms_of_console): add Fconsole_features.
32583 37470
32584 * console.h (CONMETH_FEATURES): new function for accessing features. 37471 * console.h (CONMETH_FEATURES): new function for accessing features.
32585 (CONSOLE_FEATURES): ditto. 37472 (CONSOLE_FEATURES): ditto.
32586 (struct console_methods): add features slot. 37473 (struct console_methods): add features slot.
32587 (INITIALIZE_CONSOLE_TYPE): initialize features slot. 37474 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
32588 37475
32589 1999-06-28 Andy Piper <andy@xemacs.org> 37476 1999-06-28 Andy Piper <andy@xemacs.org>
32590 37477
32591 * event-Xt.c (handle_focus_event_1): conditionally compile for 37478 * event-Xt.c (handle_focus_event_1): conditionally compile for
32592 X11R5. 37479 X11R5.
32593 37480
32594 * s/cygwin32.h: fix me website address. 37481 * s/cygwin32.h: fix me website address.
32595 37482
32596 * event-msw.c: add NMHDR for pre b20 cygwin builds. 37483 * event-msw.c: add NMHDR for pre b20 cygwin builds.
32597 37484
32598 * gui-x.c (button_item_to_widget_value): only add callback if it 37485 * gui-x.c (button_item_to_widget_value): only add callback if it
32599 is non-nil. 37486 is non-nil.
32600 37487
32601 * glyphs-x.c: add progress, edit and combo instantiators. 37488 * glyphs-x.c: add progress, edit and combo instantiators.
32602 (x_widget_set_property): new function. uses lwlib to set widget 37489 (x_widget_set_property): new function. uses lwlib to set widget
32603 values. 37490 values.
32604 (x_widget_property): new function. uses lwlib to get widget 37491 (x_widget_property): new function. uses lwlib to get widget
32605 values. 37492 values.
32606 (x_button_instantiate): support images in buttons. 37493 (x_button_instantiate): support images in buttons.
32607 (x_button_property): new function. use lwlib to get the selected 37494 (x_button_property): new function. use lwlib to get the selected
32608 state. 37495 state.
32609 (x_progress_instantiate): new function for instantiating progress 37496 (x_progress_instantiate): new function for instantiating progress
32610 gauges. 37497 gauges.
32611 (x_progress_set_property): new function. sets the progress gauge 37498 (x_progress_set_property): new function. sets the progress gauge
32612 position. 37499 position.
32613 (x_edit_instantiate): new function. for instantiating edit fields. 37500 (x_edit_instantiate): new function. for instantiating edit fields.
32614 (x_combo_instantiate): new function. for instantiating combo 37501 (x_combo_instantiate): new function. for instantiating combo
32615 boxes. 37502 boxes.
32616 (image_instantiator_format_create_glyphs_x): add new device ii 37503 (image_instantiator_format_create_glyphs_x): add new device ii
32617 formats. 37504 formats.
32618 37505
32619 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var. 37506 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
32620 37507
32621 * console.h (CONSOLE_FEATURES): new features accesor. 37508 * console.h (CONSOLE_FEATURES): new features accesor.
32622 37509
32623 * conslots.h (MARKED_SLOT): add features entry. 37510 * conslots.h (MARKED_SLOT): add features entry.
32624 37511
32625 1999-06-25 Andy Piper <andy@xemacs.org> 37512 1999-06-25 Andy Piper <andy@xemacs.org>
32626 37513
32627 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new 37514 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
32628 gui functions. 37515 gui functions.
32629 37516
32630 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h 37517 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
32631 37518
32632 * gui.h (struct Lisp_Gui_Item): add accelerator. 37519 * gui.h (struct Lisp_Gui_Item): add accelerator.
32633 37520
32638 (gui_item_hash): ditto. 37525 (gui_item_hash): ditto.
32639 (gui_item_accelerator): new function. 37526 (gui_item_accelerator): new function.
32640 (gui_name_accelerator): new function stolen from gui-x.c 37527 (gui_name_accelerator): new function stolen from gui-x.c
32641 37528
32642 * gui-x.c (popup_selection_callback): always define. mark 37529 * gui-x.c (popup_selection_callback): always define. mark
32643 subwindows changed after calling a callback. 37530 subwindows changed after calling a callback.
32644 (menu_name_to_accelerator): deleted. 37531 (menu_name_to_accelerator): deleted.
32645 (button_item_to_widget_value): forward gui_item things to gui_item 37532 (button_item_to_widget_value): forward gui_item things to gui_item
32646 functions. 37533 functions.
32647 37534
32648 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add 37535 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
32649 appropriate accesors. 37536 appropriate accesors.
32650 37537
32651 * glyphs-x.c: declare new glyph formats. 37538 * glyphs-x.c: declare new glyph formats.
32652 (x_finalize_image_instance): unmanage and destroy widgets if they 37539 (x_finalize_image_instance): unmanage and destroy widgets if they
32653 exist. 37540 exist.
32654 (x_unmap_subwindow): handle widgets specially. 37541 (x_unmap_subwindow): handle widgets specially.
32655 (x_map_subwindow): ditto. offset display of widgets by offset of 37542 (x_map_subwindow): ditto. offset display of widgets by offset of
32656 text widget within container. 37543 text widget within container.
32657 (x_update_subwindow): new function. call lw_modify_all_widgets 37544 (x_update_subwindow): new function. call lw_modify_all_widgets
32658 when we are a widget. 37545 when we are a widget.
32659 (x_widget_instantiate): new function for generically creating 37546 (x_widget_instantiate): new function for generically creating
32660 widgets-glyphs. toolkit specifics forwarded to lwlib. 37547 widgets-glyphs. toolkit specifics forwarded to lwlib.
32661 (x_button_instantiate): new function for instantiating 37548 (x_button_instantiate): new function for instantiating
32662 widgets-glyph buttons. 37549 widgets-glyph buttons.
32663 (console_type_create_glyphs_x): register update_subwindow. 37550 (console_type_create_glyphs_x): register update_subwindow.
32664 (image_instantiator_format_create_glyphs_x): register widget and 37551 (image_instantiator_format_create_glyphs_x): register widget and
32665 button types. 37552 button types.
32666 37553
32667 * event-msw.c (mswindows_wnd_proc): remove redundant variable. 37554 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
32668 37555
32669 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1 37556 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
32670 when we get a button press in case we do not have the focus. 37557 when we get a button press in case we do not have the focus.
32671 (handle_focus_event_1): set the keyboard focus to the text widget 37558 (handle_focus_event_1): set the keyboard focus to the text widget
32672 if we do not have it. 37559 if we do not have it.
32673 37560
32674 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item 37561 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
32675 functions. 37562 functions.
32676 37563
32677 1999-06-24 SL Baur <steve@miho.m17n.org> 37564 1999-06-24 SL Baur <steve@miho.m17n.org>
32678 37565
32679 * syntax.c (scan_words): Restore non-Mule code. 37566 * syntax.c (scan_words): Restore non-Mule code.
32680 (word_constituent_p): Restore. 37567 (word_constituent_p): Restore.
32698 1999-06-22 Olivier Galibert <galibert@pobox.com> 37585 1999-06-22 Olivier Galibert <galibert@pobox.com>
32699 37586
32700 * lrecord.h: Added basic external description system. 37587 * lrecord.h: Added basic external description system.
32701 37588
32702 * symbols.c: Added symbol, symbol-value-buffer-local, 37589 * symbols.c: Added symbol, symbol-value-buffer-local,
32703 symbol-value-lisp-magic and symbol-value-varalias description. 37590 symbol-value-lisp-magic and symbol-value-varalias description.
32704 * mule-charset.c: Added charset description. 37591 * mule-charset.c: Added charset description.
32705 * marker.c: Added marker description. 37592 * marker.c: Added marker description.
32706 * keymap.c: Added keymap description. 37593 * keymap.c: Added keymap description.
32707 * glyphs.c: Added glyph description. 37594 * glyphs.c: Added glyph description.
32708 * floatfns.c: Added float description. 37595 * floatfns.c: Added float description.
32737 `word-combining-categories' and `word-separating-categories'. 37624 `word-combining-categories' and `word-separating-categories'.
32738 37625
32739 1999-06-18 Olivier Galibert <galibert@pobox.com> 37626 1999-06-18 Olivier Galibert <galibert@pobox.com>
32740 37627
32741 * lrecord.h: Added description as a placehold in the lrecord 37628 * lrecord.h: Added description as a placehold in the lrecord
32742 implementation structures. Added the parameter to all constructor 37629 implementation structures. Added the parameter to all constructor
32743 defines. 37630 defines.
32744 37631
32745 * alloc.c: Added placeholders. 37632 * alloc.c: Added placeholders.
32746 * buffer.c: Ditto. 37633 * buffer.c: Ditto.
32747 * bytecode.c: Ditto. 37634 * bytecode.c: Ditto.
32748 * chartab.c: Ditto. 37635 * chartab.c: Ditto.
32849 (image_instance_equal): ditto. 37736 (image_instance_equal): ditto.
32850 (image_instance_hash): ditto. 37737 (image_instance_hash): ditto.
32851 37738
32852 * event-msw.c (mswindows_need_event): assert badly_p status. 37739 * event-msw.c (mswindows_need_event): assert badly_p status.
32853 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with 37740 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
32854 callbacks in tree-view and tab-control widgets. 37741 callbacks in tree-view and tab-control widgets.
32855 (emacs_mswindows_next_event): modify use of 37742 (emacs_mswindows_next_event): modify use of
32856 mswindows_dequeue_dispatch_event. 37743 mswindows_dequeue_dispatch_event.
32857 37744
32858 * dialog-msw.c (mswindows_popup_dialog_box): modify for new 37745 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
32859 lisp-based gui_items. 37746 lisp-based gui_items.
32860 37747
32861 * glyphs-msw.c (mswindows_update_subwindow): update use of 37748 * glyphs-msw.c (mswindows_update_subwindow): update use of
32862 gui_items. 37749 gui_items.
32863 (mswindows_register_gui_item): new function. 37750 (mswindows_register_gui_item): new function.
32864 (mswindows_register_gui_item): fix to use lisp gui_items. 37751 (mswindows_register_gui_item): fix to use lisp gui_items.
32865 (mswindows_widget_instantiate): ditto. 37752 (mswindows_widget_instantiate): ditto.
32866 (mswindows_button_instantiate): ditto. 37753 (mswindows_button_instantiate): ditto.
32867 (add_tree_item): new function to recursively add tree view 37754 (add_tree_item): new function to recursively add tree view
32868 elements. 37755 elements.
32869 (add_tree_item_list): ditto. 37756 (add_tree_item_list): ditto.
32870 (mswindows_tree_instantiate): new function. instantiate tree view 37757 (mswindows_tree_instantiate): new function. instantiate tree view
32871 controls. 37758 controls.
32872 (add_tab_item): new function to add tabs to a tab control. 37759 (add_tab_item): new function to add tabs to a tab control.
32873 (mswindows_tab_instantiate): new function. instantiate tab 37760 (mswindows_tab_instantiate): new function. instantiate tab
32874 controls. 37761 controls.
32875 (image_instantiator_format_create_glyphs_mswindows): add tree view 37762 (image_instantiator_format_create_glyphs_mswindows): add tree view
32876 and tab controls. 37763 and tab controls.
32877 (vars_of_glyphs_mswindows): ditto. 37764 (vars_of_glyphs_mswindows): ditto.
32878 37765
32879 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in 37766 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
32880 item lists. 37767 item lists.
32881 (check_valid_item_list): ditto. 37768 (check_valid_item_list): ditto.
32882 (initialize_widget_image_instance): fix to use new lisp gui_item. 37769 (initialize_widget_image_instance): fix to use new lisp gui_item.
32883 (widget_instantiate_1): allow the setting of default textwidth in 37770 (widget_instantiate_1): allow the setting of default textwidth in
32884 characters. 37771 characters.
32885 (widget_instantiate): change to use new widget_instantiate_1 37772 (widget_instantiate): change to use new widget_instantiate_1
32886 signature. 37773 signature.
32887 (combo_instantiate): ditto. 37774 (combo_instantiate): ditto.
32888 (static_instantiate): ditto. 37775 (static_instantiate): ditto.
32889 (tab_instantiate): new function for tab widgets. 37776 (tab_instantiate): new function for tab widgets.
32890 (image_instantiator_format_create_glyphs_widget): add tab and tree 37777 (image_instantiator_format_create_glyphs_widget): add tab and tree
32891 view widgets. 37778 view widgets.
32892 37779
32893 * menubar-msw.c (displayable_menu_item): convert to use lisp 37780 * menubar-msw.c (displayable_menu_item): convert to use lisp
32894 gui_items. 37781 gui_items.
32895 (populate_menu_add_item): ditto. 37782 (populate_menu_add_item): ditto.
32896 (populate_or_checksum_helper): ditto. 37783 (populate_or_checksum_helper): ditto.
32897 37784
32898 * menubar.c (menu_parse_submenu_keywords): convert to use lisp 37785 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
32899 gui_items. 37786 gui_items.
32900 (Fmenu_find_real_submenu): ditto. 37787 (Fmenu_find_real_submenu): ditto.
32901 37788
32902 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct. 37789 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
32903 37790
32904 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp 37791 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
32905 objects, convert functions that use them accordingly. 37792 objects, convert functions that use them accordingly.
32906 (gui_item_init): ditto. 37793 (gui_item_init): ditto.
32907 (gui_item_active_p): ditto. 37794 (gui_item_active_p): ditto.
32908 (gui_item_selected_p): ditto. 37795 (gui_item_selected_p): ditto.
32909 (gui_item_included_p): ditto. 37796 (gui_item_included_p): ditto.
32910 (gui_item_display_flush_left): ditto. 37797 (gui_item_display_flush_left): ditto.
32911 (gui_item_display_flush_right): ditto. 37798 (gui_item_display_flush_right): ditto.
32912 (mark_gui_item): ditto. 37799 (mark_gui_item): ditto.
32913 (allocate_gui_item): new function to create a gui_item. 37800 (allocate_gui_item): new function to create a gui_item.
32914 (make_gui_item_from_keywords_internal): ditto. create and return a 37801 (make_gui_item_from_keywords_internal): ditto. create and return a
32915 gui_item as well as setting keywords. 37802 gui_item as well as setting keywords.
32916 (gui_parse_item_keywords): ditto. 37803 (gui_parse_item_keywords): ditto.
32917 (gui_parse_item_keywords_no_errors): ditto. 37804 (gui_parse_item_keywords_no_errors): ditto.
32918 (gui_add_item_keywords_to_plist): new function, not yet used. 37805 (gui_add_item_keywords_to_plist): new function, not yet used.
32919 (gui_item_hash): new function. 37806 (gui_item_hash): new function.
32920 (gui_item_id_hash): use gui_item_hash. 37807 (gui_item_id_hash): use gui_item_hash.
32926 * XEmacs 21.2.16 is released 37813 * XEmacs 21.2.16 is released
32927 37814
32928 1999-06-10 Andy Piper <andy@xemacs.org> 37815 1999-06-10 Andy Piper <andy@xemacs.org>
32929 37816
32930 * select-msw.c (mswindows_own_selection): only set the clipboard 37817 * select-msw.c (mswindows_own_selection): only set the clipboard
32931 if asked. 37818 if asked.
32932 (mswindows_get_foreign_selection): only get the clipboard if 37819 (mswindows_get_foreign_selection): only get the clipboard if
32933 asked. 37820 asked.
32934 (mswindows_disown_selection): only disown the clipboard if asked. 37821 (mswindows_disown_selection): only disown the clipboard if asked.
32935 37822
32936 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp> 37823 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
32937 37824
32938 * file-coding.c (coding_system_from_mask): Use `raw-text' instead 37825 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
32955 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC. 37842 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
32956 37843
32957 1999-06-06 Hrvoje Niksic <hniksic@srce.hr> 37844 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
32958 37845
32959 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and 37846 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
32960 base64.el. 37847 base64.el.
32961 (base64_decode_1): Signal errors instead of returning -1. 37848 (base64_decode_1): Signal errors instead of returning -1.
32962 37849
32963 1999-06-07 Hrvoje Niksic <hniksic@srce.hr> 37850 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
32964 37851
32965 * mule-charset.c (Fmake_char): Update docstring. 37852 * mule-charset.c (Fmake_char): Update docstring.
32969 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers. 37856 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
32970 37857
32971 1999-06-05 Hrvoje Niksic <hniksic@srce.hr> 37858 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
32972 37859
32973 * fns.c (base64_decode_1): Allow and ignore any non-base64 37860 * fns.c (base64_decode_1): Allow and ignore any non-base64
32974 characters in input. 37861 characters in input.
32975 37862
32976 1999-05-27 Olivier Galibert <galibert@pobox.com> 37863 1999-05-27 Olivier Galibert <galibert@pobox.com>
32977 37864
32978 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal 37865 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
32979 of report_pure_usage(). 37866 of report_pure_usage().
33026 From Oliver Graf <ograf@rhein-zeitung.de> 37913 From Oliver Graf <ograf@rhein-zeitung.de>
33027 37914
33028 1999-05-27 Hrvoje Niksic <hniksic@srce.hr> 37915 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
33029 37916
33030 * fns.c (Fsubstring): Don't traverse the same region twice with 37917 * fns.c (Fsubstring): Don't traverse the same region twice with
33031 charcount_to_bytecount(). 37918 charcount_to_bytecount().
33032 37919
33033 1999-06-03 SL Baur <steve@steve1.m17n.org> 37920 1999-06-03 SL Baur <steve@steve1.m17n.org>
33034 37921
33035 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive 37922 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
33036 garbage. 37923 garbage.
33081 * fns.c (base64_decode_1): Ignore whitespace. 37968 * fns.c (base64_decode_1): Ignore whitespace.
33082 37969
33083 1999-05-27 Hrvoje Niksic <hniksic@srce.hr> 37970 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
33084 37971
33085 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and 37972 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
33086 ARG2. 37973 ARG2.
33087 37974
33088 1999-05-21 Andy Piper <andy@xemacs.org> 37975 1999-05-21 Andy Piper <andy@xemacs.org>
33089 37976
33090 * xselect.c: deleted. 37977 * xselect.c: deleted.
33091 37978
33092 * symsinit.h: declare select initialisation. 37979 * symsinit.h: declare select initialisation.
33093 37980
33094 * select.h: new file. declare commonly used select functions and 37981 * select.h: new file. declare commonly used select functions and
33095 variables. 37982 variables.
33096 37983
33097 * select.c: new file. generalised from xselect.c. 37984 * select.c: new file. generalised from xselect.c.
33098 (clean_local_selection_data): moved from xselect.c. 37985 (clean_local_selection_data): moved from xselect.c.
33099 (get_local_selection): ditto. device specific pieces called via a 37986 (get_local_selection): ditto. device specific pieces called via a
33100 devmeth. 37987 devmeth.
33101 (handle_selection_clear): ditto. 37988 (handle_selection_clear): ditto.
33102 (Fown_selection_internal): renamed and generalised from 37989 (Fown_selection_internal): renamed and generalised from
33103 Fx_own_selection_internal. moved from xselect.c. 37990 Fx_own_selection_internal. moved from xselect.c.
33104 (Fdisown_selection_internal): ditto. 37991 (Fdisown_selection_internal): ditto.
33105 (Fselection_owner_p): ditto. 37992 (Fselection_owner_p): ditto.
33106 (Fselection_exists_p): ditto. 37993 (Fselection_exists_p): ditto.
33107 (Fget_selection_internal): ditto. 37994 (Fget_selection_internal): ditto.
33108 (syms_of_select): new function. QXXXX values moved from xselect.c 37995 (syms_of_select): new function. QXXXX values moved from xselect.c
33109 (vars_of_select): new function. selection_converter_alist, 37996 (vars_of_select): new function. selection_converter_alist,
33110 lost_selection_hooks moved and renamed from xselect.c 37997 lost_selection_hooks moved and renamed from xselect.c
33111 37998
33112 * select-x.c: renamed from xselect.c. 37999 * select-x.c: renamed from xselect.c.
33113 (x_own_selection): converted to device specific. non-X-specific 38000 (x_own_selection): converted to device specific. non-X-specific
33114 bits moved to select.c. 38001 bits moved to select.c.
33115 (x_get_foreign_selection): ditto. 38002 (x_get_foreign_selection): ditto.
33116 (x_disown_selection): ditto. 38003 (x_disown_selection): ditto.
33117 (x_selection_exists_p): ditto. 38004 (x_selection_exists_p): ditto.
33118 (console_type_create_select_x): new function. 38005 (console_type_create_select_x): new function.
33119 38006
33120 * select-msw.c (mswindows_own_selection): new device method to set 38007 * select-msw.c (mswindows_own_selection): new device method to set
33121 the clipboard when we 'own' the selection. 38008 the clipboard when we 'own' the selection.
33122 (mswindows_get_foreign_selection): new device method to get the 38009 (mswindows_get_foreign_selection): new device method to get the
33123 clipboard. 38010 clipboard.
33124 (mswindows_disown_selection): new device method to delete the 38011 (mswindows_disown_selection): new device method to delete the
33125 selection when we 'disown' it. 38012 selection when we 'disown' it.
33126 (console_type_create_select_mswindows): new function. 38013 (console_type_create_select_mswindows): new function.
33127 38014
33128 * emacs.c (main_1): add select to things to initialise. 38015 * emacs.c (main_1): add select to things to initialise.
33129 38016
33130 * console.h (struct console_methods): new console methods for 38017 * console.h (struct console_methods): new console methods for
33131 selection. 38018 selection.
33132 38019
33133 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c 38020 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
33134 38021
33135 1999-05-20 Hrvoje Niksic <hniksic@srce.hr> 38022 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
33136 38023
33137 * print.c (long_to_string): Install a faster version. 38024 * print.c (long_to_string): Install a faster version.
33138 38025
33139 1999-05-16 Andy Piper <andy@xemacs.org> 38026 1999-05-16 Andy Piper <andy@xemacs.org>
33140 38027
33141 * ntproc.c (syms_of_ntproc): default 38028 * ntproc.c (syms_of_ntproc): default
33142 win32-start-process-share-console to t. 38029 win32-start-process-share-console to t.
33143 38030
33144 1999-05-14 Hrvoje Niksic <hniksic@srce.hr> 38031 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
33145 38032
33146 * config.h.in: Do it here. 38033 * config.h.in: Do it here.
33147 38034
33148 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here. 38035 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
33149 38036
33150 1999-05-14 Andy Piper <andy@xemacs.org> 38037 1999-05-14 Andy Piper <andy@xemacs.org>
33151 38038
33152 * toolbar-msw.c (mswindows_output_toolbar): hash on something 38039 * toolbar-msw.c (mswindows_output_toolbar): hash on something
33153 hashable. 38040 hashable.
33154 38041
33155 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org> 38042 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
33156 38043
33157 * XEmacs 21.2.14 is released 38044 * XEmacs 21.2.14 is released
33158 38045
33191 (Fcurrent_window_configuration): No longer save frame size 38078 (Fcurrent_window_configuration): No longer save frame size
33192 38079
33193 1999-05-11 Andy Piper <andy@xemacs.org> 38080 1999-05-11 Andy Piper <andy@xemacs.org>
33194 38081
33195 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the 38082 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
33196 first character. 38083 first character.
33197 38084
33198 1999-05-10 Hrvoje Niksic <hniksic@srce.hr> 38085 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
33199 38086
33200 * sysdep.c (init_system_name): If gethostname gives a proper 38087 * sysdep.c (init_system_name): If gethostname gives a proper
33201 domain name, don't look further for one. 38088 domain name, don't look further for one.
33253 * objects-msw.c (mswindows_font_instance_truename): new function. 38140 * objects-msw.c (mswindows_font_instance_truename): new function.
33254 38141
33255 * ntproc.c: remove many warnings. 38142 * ntproc.c: remove many warnings.
33256 (_sys_read_ahead): moved from nt.c and made static. 38143 (_sys_read_ahead): moved from nt.c and made static.
33257 (rva_to_section): moved from unexnt.c but not defined under 38144 (rva_to_section): moved from unexnt.c but not defined under
33258 mingw32. 38145 mingw32.
33259 (win32_executable_type): implement what we can for mingw32 38146 (win32_executable_type): implement what we can for mingw32
33260 headers. 38147 headers.
33261 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling. 38148 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
33262 38149
33263 * ntheap.h: remove declarations of functions that are now static. 38150 * ntheap.h: remove declarations of functions that are now static.
33264 38151
33265 * ntheap.c: support static heap. 38152 * ntheap.c: support static heap.
33280 * sysdir.h: ditto. 38167 * sysdir.h: ditto.
33281 * systime.h: ditto. 38168 * systime.h: ditto.
33282 * systty.h: ditto. 38169 * systty.h: ditto.
33283 38170
33284 * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because 38171 * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because
33285 some systems don't have all of the encapsulated system calls. 38172 some systems don't have all of the encapsulated system calls.
33286 38173
33287 * callproc.c: warning elimination. 38174 * callproc.c: warning elimination.
33288 * dired-msw.c: ditto. 38175 * dired-msw.c: ditto.
33289 * process-nt.c: ditto. 38176 * process-nt.c: ditto.
33290 * realpath.c: ditto. 38177 * realpath.c: ditto.
33334 * alloc.c (Fmake_symbol): Don't set ->obarray. 38221 * alloc.c (Fmake_symbol): Don't set ->obarray.
33335 38222
33336 * lisp.h (struct Lisp_Symbol): Removed .obarray field. 38223 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
33337 38224
33338 * symbols.c (init_symbols_once_early): Removed 38225 * symbols.c (init_symbols_once_early): Removed
33339 Vpure_uninterned_symbol_table. 38226 Vpure_uninterned_symbol_table.
33340 (Fintern): Don't store to ->obarray field. 38227 (Fintern): Don't store to ->obarray field.
33341 38228
33342 1999-04-22 Hrvoje Niksic <hniksic@srce.hr> 38229 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
33343 38230
33344 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0. 38231 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
33345 (eq_with_ebola_notice): Remove abracadabra support. 38232 (eq_with_ebola_notice): Remove abracadabra support.
33346 38233
33347 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> 38234 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
33348 38235
33349 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to 38236 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
33350 retrieve the distinguished names of entries 38237 retrieve the distinguished names of entries
33351 38238
33352 1999-03-08 Martin Buchholz <martin@xemacs.org> 38239 1999-03-08 Martin Buchholz <martin@xemacs.org>
33353 38240
33354 * lread.c (read_escape): Make hex escapes read only two hex digits. 38241 * lread.c (read_escape): Make hex escapes read only two hex digits.
33355 38242
33362 38249
33363 * dbxrc: Make gung-ho mandatory. 38250 * dbxrc: Make gung-ho mandatory.
33364 * gdbinit: Ditto. 38251 * gdbinit: Ditto.
33365 38252
33366 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add 38253 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
33367 c_readonly and lisp_readonly. Remove implementation arrays. 38254 c_readonly and lisp_readonly. Remove implementation arrays.
33368 (C_READONLY_RECORD_HEADER_P): Added. 38255 (C_READONLY_RECORD_HEADER_P): Added.
33369 (LISP_READONLY_RECORD_HEADER_P): Added. 38256 (LISP_READONLY_RECORD_HEADER_P): Added.
33370 (SET_C_READONLY_RECORD_HEADER): Added. 38257 (SET_C_READONLY_RECORD_HEADER): Added.
33371 (SET_LISP_READONLY_RECORD_HEADER): Added. 38258 (SET_LISP_READONLY_RECORD_HEADER): Added.
33372 38259
33378 38265
33379 * lisp-union.h: Make gung-ho mandatory. 38266 * lisp-union.h: Make gung-ho mandatory.
33380 * lisp-disunion.h: Ditto. 38267 * lisp-disunion.h: Ditto.
33381 38268
33382 * alloc.c: Kill everything purespace/non gung-ho related. Fix all 38269 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
33383 set_lheader_implementation calls. 38270 set_lheader_implementation calls.
33384 (c_readonly): Added. 38271 (c_readonly): Added.
33385 (lisp_readonly): Added. 38272 (lisp_readonly): Added.
33386 (make_string_nocopy): Added. 38273 (make_string_nocopy): Added.
33387 (Fpurecopy): Changed to do nothing. Kept the old documentation 38274 (Fpurecopy): Changed to do nothing. Kept the old documentation
33388 for reference purposes for the next patches. 38275 for reference purposes for the next patches.
33389 (sweep_lcrecords_1): Don't free C readonly lcrecords. 38276 (sweep_lcrecords_1): Don't free C readonly lcrecords.
33390 (sweep_bit_vectors_1): Don't free C readonly bitvectors. 38277 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
33391 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords. 38278 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
33392 38279
33393 * fns.c: Make gung-ho mandatory. 38280 * fns.c: Make gung-ho mandatory.
33394 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. 38281 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
33395 (Fremprop): Ditto. 38282 (Fremprop): Ditto.
33396 (Ffillarray): Ditto. 38283 (Ffillarray): Ditto.
33397 38284
33398 * data.c: Make gung-ho mandatory. 38285 * data.c: Make gung-ho mandatory.
33399 (pure_write_error): Removed. 38286 (pure_write_error): Removed.
33402 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. 38289 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
33403 (Fsetcdr): Ditto. 38290 (Fsetcdr): Ditto.
33404 (Faset): Ditto. 38291 (Faset): Ditto.
33405 38292
33406 * symbols.c: Make gung-ho mandatory. make_pure_pname -> 38293 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
33407 make_string or make_string_nocopy. Fix various 38294 make_string or make_string_nocopy. Fix various
33408 alloc_lcrecord_type. 38295 alloc_lcrecord_type.
33409 38296
33410 * lread.c: Remove everything purespace related. 38297 * lread.c: Remove everything purespace related.
33411 (Flocate_file_clear_hashing): purified -> c_readonly. 38298 (Flocate_file_clear_hashing): purified -> c_readonly.
33412 (locate_file): Ditto. 38299 (locate_file): Ditto.
33413 (read_atom): make_pure_pname -> make_string. 38300 (read_atom): make_pure_pname -> make_string.
33414 38301
33415 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats 38302 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
33416 reporting. 38303 reporting.
33417 (Fdump_emacs): Ditto. 38304 (Fdump_emacs): Ditto.
33418 38305
33419 * print.c (print_internal): Make gung-ho mandatory. 38306 * print.c (print_internal): Make gung-ho mandatory.
33420 * ntheap.c (sbrk): Ditto. 38307 * ntheap.c (sbrk): Ditto.
33421 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto 38308 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
33422 * symeval.h (symbol_value_forward_lheader_initializer): Ditto. 38309 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
33423 38310
33424 * sheap.c (more_static_core): Remove puresize-adjust.h from 38311 * sheap.c (more_static_core): Remove puresize-adjust.h from
33425 message. 38312 message.
33426 38313
33427 * syntax.c (complex_vars_of_syntax): make_pure_string -> 38314 * syntax.c (complex_vars_of_syntax): make_pure_string ->
33428 make_string_nocopy. 38315 make_string_nocopy.
33429 * keymap.c (make_keymap): Fix alloc_lcrecord_type. 38316 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
33430 (vars_of_keymap): make_pure_string -> make_string_nocopy. 38317 (vars_of_keymap): make_pure_string -> make_string_nocopy.
33431 * events.c (deinitialize_event): Fix set_lheader_implementation. 38318 * events.c (deinitialize_event): Fix set_lheader_implementation.
33432 (zero_event): Ditto. 38319 (zero_event): Ditto.
33433 * specifier.c (make_specifier_internal): Fix alloc_lcrecord. 38320 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
33466 * window.c (allocate_window): Ditto. 38353 * window.c (allocate_window): Ditto.
33467 (make_dummy_parent): Ditto. 38354 (make_dummy_parent): Ditto.
33468 (Fcurrent_window_configuration): Fix alloc_lcrecord. 38355 (Fcurrent_window_configuration): Fix alloc_lcrecord.
33469 (vars_of_window): Fix make_lcrecord_list. 38356 (vars_of_window): Fix make_lcrecord_list.
33470 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list -> 38357 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
33471 Flist. 38358 Flist.
33472 * lstream.c (Lstream_new): Fix make_lcrecord_list. 38359 * lstream.c (Lstream_new): Fix make_lcrecord_list.
33473 * opaque.c (make_opaque): Fix alloc_lrecord. 38360 * opaque.c (make_opaque): Fix alloc_lrecord.
33474 (make_opaque_list): Fix alloc_lrecord_type. 38361 (make_opaque_list): Fix alloc_lrecord_type.
33475 38362
33476 1999-04-19 Hrvoje Niksic <hniksic@srce.hr> 38363 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
33477 38364
33478 * process.c (Fstart_process_internal): Ditto. 38365 * process.c (Fstart_process_internal): Ditto.
33479 38366
33480 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling 38367 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
33481 locate_file(). 38368 locate_file().
33482 38369
33483 * glyphs-x.c (x_locate_pixmap_file): Ditto. 38370 * glyphs-x.c (x_locate_pixmap_file): Ditto.
33484 38371
33485 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to 38372 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
33486 locate_file(). 38373 locate_file().
33487 38374
33488 * emodules.c (vars_of_module): New variable Vmodule_extensions. 38375 * emodules.c (vars_of_module): New variable Vmodule_extensions.
33489 (emodules_load): Use it when calling locate_file(). 38376 (emodules_load): Use it when calling locate_file().
33490 38377
33491 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling 38378 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
33492 locate_file(). 38379 locate_file().
33493 38380
33494 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable. 38381 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
33495 (vars_of_callproc): Initialize it. 38382 (vars_of_callproc): Initialize it.
33496 (Fcall_process_internal): Use it when calling locate_file(). 38383 (Fcall_process_internal): Use it when calling locate_file().
33497 38384
33498 * alloc.c (disksave_object_finalization): Use 38385 * alloc.c (disksave_object_finalization): Use
33499 Flocate_file_clear_hashing(). 38386 Flocate_file_clear_hashing().
33500 38387
33501 * lread.c (Flocate_file_clear_hashing): Clear all hasing when 38388 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
33502 given `t' as argument. 38389 given `t' as argument.
33503 38390
33504 1999-04-18 Hrvoje Niksic <hniksic@srce.hr> 38391 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
33515 (Flocate_file): Use them. 38402 (Flocate_file): Use them.
33516 (Flocate_file): Expand FILENAME. 38403 (Flocate_file): Expand FILENAME.
33517 (locate_file_map_suffixes): New function. 38404 (locate_file_map_suffixes): New function.
33518 (locate_file_in_directory_mapper): New function. 38405 (locate_file_in_directory_mapper): New function.
33519 (locate_file_in_directory): Use locate_file_in_directory_mapper() 38406 (locate_file_in_directory): Use locate_file_in_directory_mapper()
33520 and locate_file_map_suffixes(). 38407 and locate_file_map_suffixes().
33521 (locate_file_construct_suffixed_files): Use 38408 (locate_file_construct_suffixed_files): Use
33522 locate_file_map_suffixes(). 38409 locate_file_map_suffixes().
33523 (locate_file_without_hash): Don't GCPRO path. 38410 (locate_file_without_hash): Don't GCPRO path.
33524 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP. 38411 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
33525 (syms_of_lread): Remove Qlocate_file_hash_table. 38412 (syms_of_lread): Remove Qlocate_file_hash_table.
33526 (locate_file_find_directory_hash_table): Use 38413 (locate_file_find_directory_hash_table): Use
33527 Vlocate_file_hash_table. 38414 Vlocate_file_hash_table.
33528 (locate_file_refresh_hashing): Ditto. 38415 (locate_file_refresh_hashing): Ditto.
33529 38416
33530 * lread.c: Renamed read_objects to Vread_objects. 38417 * lread.c: Renamed read_objects to Vread_objects.
33531 38418
33532 1999-04-16 Olivier Galibert <galibert@pobox.com> 38419 1999-04-16 Olivier Galibert <galibert@pobox.com>
33533 38420
33534 * mule-charset.c: Generally resync with fsf 20.3 charset 38421 * mule-charset.c: Generally resync with fsf 20.3 charset
33535 interface. 38422 interface.
33536 (make_charset): Add long and short name. Use id instead of 38423 (make_charset): Add long and short name. Use id instead of
33537 leading byte. 38424 leading byte.
33538 (Fmake_charset): Ditto. 38425 (Fmake_charset): Ditto.
33539 (Fmake_reverse_direction_charset): Ditto. 38426 (Fmake_reverse_direction_charset): Ditto.
33540 (Fcharset_property): Ditto. 38427 (Fcharset_property): Ditto.
33541 (Fcharset_short_name): Added. 38428 (Fcharset_short_name): Added.
33542 (Fcharset_long_name): Added. 38429 (Fcharset_long_name): Added.
33543 (Fcharset_description): Renamed from charset-doc-string. 38430 (Fcharset_description): Renamed from charset-doc-string.
33544 (syms_of_mule_charset): Synced symbols. 38431 (syms_of_mule_charset): Synced symbols.
33545 (complex_vars_of_mule_charset): Synced charsets. 38432 (complex_vars_of_mule_charset): Synced charsets.
33546 38433
33547 * mule-charset.h: Removed leading byte (uses id instead), added 38434 * mule-charset.h: Removed leading byte (uses id instead), added
33548 short and long name. 38435 short and long name.
33549 38436
33550 1999-04-15 Hrvoje Niksic <hniksic@srce.hr> 38437 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
33551 38438
33552 * file-coding.c (Fdefine_coding_system_alias): New function. 38439 * file-coding.c (Fdefine_coding_system_alias): New function.
33553 38440
33554 1999-04-08 Olivier Galibert <galibert@pobox.com> 38441 1999-04-08 Olivier Galibert <galibert@pobox.com>
33555 38442
33556 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859 38443 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
33557 and -ascii fonts for displaying ascii instead of iso8859-1 only. 38444 and -ascii fonts for displaying ascii instead of iso8859-1 only.
33558 38445
33559 1998-12-14 Hrvoje Niksic <hniksic@srce.hr> 38446 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
33560 38447
33561 * extents.c (set_extent_glyph_1): Make sure that the glyph we 38448 * extents.c (set_extent_glyph_1): Make sure that the glyph we
33562 attach to the extent is valid. 38449 attach to the extent is valid.
33565 38452
33566 * dired.c (user_name_completion): Mule-ize. 38453 * dired.c (user_name_completion): Mule-ize.
33567 (user_name_completion): Use xmalloc/xrealloc/xfree. 38454 (user_name_completion): Use xmalloc/xrealloc/xfree.
33568 (user_name_completion): Use DO_REALLOC. 38455 (user_name_completion): Use DO_REALLOC.
33569 (user_name_completion): Cut down the number of static variables; 38456 (user_name_completion): Cut down the number of static variables;
33570 use a structure. 38457 use a structure.
33571 (user_name_completion): Username completion is always 38458 (user_name_completion): Username completion is always
33572 case-sensitive. 38459 case-sensitive.
33573 38460
33574 1998-12-06 Hrvoje Niksic <hniksic@srce.hr> 38461 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
33575 38462
33576 * fns.c (base64_decode_1): Remove COUNTER. 38463 * fns.c (base64_decode_1): Remove COUNTER.
33577 (base64_decode_1): Accept CRLF in addition to CR. 38464 (base64_decode_1): Accept CRLF in addition to CR.
33586 38473
33587 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity. 38474 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
33588 (Fbase64_encode_region): If buffer is read-only, bail out early. 38475 (Fbase64_encode_region): If buffer is read-only, bail out early.
33589 (Fbase64_decode_region): Ditto. 38476 (Fbase64_decode_region): Ditto.
33590 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the 38477 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
33591 compiler. 38478 compiler.
33592 (Fbase64_encode_string): Ditto. 38479 (Fbase64_encode_string): Ditto.
33593 (Fbase64_decode_region): Ditto. 38480 (Fbase64_decode_region): Ditto.
33594 (Fbase64_decode_string): Ditto. 38481 (Fbase64_decode_string): Ditto.
33595 38482
33596 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> 38483 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
33602 * frame-msw.c Make raise-frame restore minimised windows. 38489 * frame-msw.c Make raise-frame restore minimised windows.
33603 38490
33604 1999-03-05 Philip Aston <philipa@parallax.co.uk> 38491 1999-03-05 Philip Aston <philipa@parallax.co.uk>
33605 38492
33606 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and 38493 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
33607 add magic newline. 38494 add magic newline.
33608 38495
33609 1999-03-05 Philip Aston <philipa@parallax.co.uk> 38496 1999-03-05 Philip Aston <philipa@parallax.co.uk>
33610 38497
33611 * toolbar-msw.c Consider captions when deciding whether to rebuild 38498 * toolbar-msw.c Consider captions when deciding whether to rebuild
33612 toolbar. This fixes the initial toolbar display for those of us 38499 toolbar. This fixes the initial toolbar display for those of us
33613 who don't like captions. These patches applied by Andy Piper. 38500 who don't like captions. These patches applied by Andy Piper.
33614 38501
33615 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org> 38502 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
33616 38503
33617 * XEmacs 21.2.13 is released 38504 * XEmacs 21.2.13 is released
33618 38505
33912 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes 38799 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
33913 38800
33914 1999-03-02 Andy Piper <andy@xemacs.org> 38801 1999-03-02 Andy Piper <andy@xemacs.org>
33915 38802
33916 * event-stream.c (init_event_stream): make sure native mswindows 38803 * event-stream.c (init_event_stream): make sure native mswindows
33917 gets an appropriate event loop. 38804 gets an appropriate event loop.
33918 38805
33919 1999-02-22 Andy Piper <andy@xemacs.org> 38806 1999-02-22 Andy Piper <andy@xemacs.org>
33920 38807
33921 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather 38808 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
33922 than SW_SHOWNORMAL to prevent resizing of maximised frames. 38809 than SW_SHOWNORMAL to prevent resizing of maximised frames.
33964 * XEmacs 21.2.10 is released 38851 * XEmacs 21.2.10 is released
33965 38852
33966 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu> 38853 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
33967 38854
33968 * process-nt.c (nt_send_process): 38855 * process-nt.c (nt_send_process):
33969 Fix for process-send-region/process-send-string breaking when size 38856 Fix for process-send-region/process-send-string breaking when size
33970 of the input > 128 chars: change maximum chunk size for process 38857 of the input > 128 chars: change maximum chunk size for process
33971 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer 38858 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
33972 succeeds. 38859 succeeds.
33973 38860
33974 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org> 38861 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
33990 1999-01-21 Andy Piper <andy@xemacs.org> 38877 1999-01-21 Andy Piper <andy@xemacs.org>
33991 38878
33992 * glyphs-msw.c: add xface support. 38879 * glyphs-msw.c: add xface support.
33993 (mswindows_xface_instantiate): new function copied from glyphs-x.c 38880 (mswindows_xface_instantiate): new function copied from glyphs-x.c
33994 (image_instantiator_format_create_glyphs_mswindows): do device 38881 (image_instantiator_format_create_glyphs_mswindows): do device
33995 specific initialisation for xfaces. 38882 specific initialisation for xfaces.
33996 (xbm_create_bitmap_from_data): line data must be padded to a word 38883 (xbm_create_bitmap_from_data): line data must be padded to a word
33997 boundary. 38884 boundary.
33998 38885
33999 * glyphs-x.c (xface_validate): moved to glyphs.c 38886 * glyphs-x.c (xface_validate): moved to glyphs.c
34000 (xface_normalize): ditto. 38887 (xface_normalize): ditto.
34001 (xface_possible_dest_types): ditto. 38888 (xface_possible_dest_types): ditto.
34002 (image_instantiator_format_create_glyphs_x): do device specific 38889 (image_instantiator_format_create_glyphs_x): do device specific
34003 initialisation for xfaces. 38890 initialisation for xfaces.
34004 38891
34005 * glyphs.h: declare xface symbol. 38892 * glyphs.h: declare xface symbol.
34006 38893
34007 * glyphs.c: move generic xface support here. 38894 * glyphs.c: move generic xface support here.
34008 (xface_validate): moved from glyphs-x.c 38895 (xface_validate): moved from glyphs-x.c
34009 (xface_normalize): ditto. 38896 (xface_normalize): ditto.
34010 (xface_possible_dest_types): ditto. 38897 (xface_possible_dest_types): ditto.
34011 (image_instantiator_format_create): xface declarations moved from 38898 (image_instantiator_format_create): xface declarations moved from
34012 glyphs-x.c. 38899 glyphs-x.c.
34013 38900
34014 1999-01-14 Adrian Aichner <adrian@xemacs.org> 38901 1999-01-14 Adrian Aichner <adrian@xemacs.org>
34015 38902
34016 * event-stream.c (vars_of_event_stream): Fixing documentation. 38903 * event-stream.c (vars_of_event_stream): Fixing documentation.
34017 38904
34032 avoid connection errors. 38919 avoid connection errors.
34033 38920
34034 1999-01-12 Andy Piper <andy@xemacs.org> 38921 1999-01-12 Andy Piper <andy@xemacs.org>
34035 38922
34036 * redisplay-output.c (redisplay_update_line): backout change that 38923 * redisplay-output.c (redisplay_update_line): backout change that
34037 shouldn't have gone ine. 38924 shouldn't have gone ine.
34038 38925
34039 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> 38926 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
34040 38927
34041 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may 38928 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
34042 collide with ldap.el 38929 collide with ldap.el
34043 38930
34044 1999-01-11 Andy Piper <andy@xemacs.org> 38931 1999-01-11 Andy Piper <andy@xemacs.org>
34045 38932
34046 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro. 38933 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
34047 (DISPLAY_LINE_YPOS): new macro. 38934 (DISPLAY_LINE_YPOS): new macro.
34049 * redisplay-msw.c (mswindows_output_string): use it. 38936 * redisplay-msw.c (mswindows_output_string): use it.
34050 (mswindows_output_pixmap): ditto. 38937 (mswindows_output_pixmap): ditto.
34051 (mswindows_output_display_block): ditto. 38938 (mswindows_output_display_block): ditto.
34052 38939
34053 * redisplay-output.c (redisplay_output_display_block): new 38940 * redisplay-output.c (redisplay_output_display_block): new
34054 function. just call the devmeth, maybe insert some generic code 38941 function. just call the devmeth, maybe insert some generic code
34055 here later. 38942 here later.
34056 (compare_display_blocks): use it. 38943 (compare_display_blocks): use it.
34057 (output_display_line): ditto. 38944 (output_display_line): ditto.
34058 (redisplay_unmap_subwindows_maybe): new function. potentially 38945 (redisplay_unmap_subwindows_maybe): new function. potentially
34059 unmap subwindows in the given area. 38946 unmap subwindows in the given area.
34060 38947
34061 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are 38948 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
34062 resetting. 38949 resetting.
34063 38950
34064 1999-01-10 J. Kean Johnston <jkj@sco.com> 38951 1999-01-10 J. Kean Johnston <jkj@sco.com>
34065 38952
34066 * Makefile.in.in: Set value of moduledir 38953 * Makefile.in.in: Set value of moduledir
34067 - Changed DUMPENV to include $(MODULEPATH) 38954 - Changed DUMPENV to include $(MODULEPATH)
34144 Removed compiler warning by removing bss_data variable. 39031 Removed compiler warning by removing bss_data variable.
34145 39032
34146 1998-12-18 Jim Radford <radford@robby.caltech.edu> 39033 1998-12-18 Jim Radford <radford@robby.caltech.edu>
34147 39034
34148 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions 39035 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
34149 so that packages that distribute their own fonts can access them. 39036 so that packages that distribute their own fonts can access them.
34150 39037
34151 1998-12-28 Andy Piper <andy@xemacs.org> 39038 1998-12-28 Andy Piper <andy@xemacs.org>
34152 39039
34153 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons 39040 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
34154 that have an image provided. 39041 that have an image provided.
34155 39042
34156 * glyphs.h: add Q_image decl. 39043 * glyphs.h: add Q_image decl.
34157 39044
34158 * glyphs-widget.c new functionality allowing images in 39045 * glyphs-widget.c new functionality allowing images in
34159 widgets. 39046 widgets.
34160 (check_valid_glyph_or_image): new function to validate 39047 (check_valid_glyph_or_image): new function to validate
34161 glyphs passed in through :image. 39048 glyphs passed in through :image.
34162 (widget_normalize): new function. convert :image parameters into 39049 (widget_normalize): new function. convert :image parameters into
34163 real glyphs if not already so. 39050 real glyphs if not already so.
34164 (widget_instantiate_1): mess with size parameters to be similar to 39051 (widget_instantiate_1): mess with size parameters to be similar to
34165 :image if provided. 39052 :image if provided.
34166 (syms_of_glyphs_widget): new keyword :image. 39053 (syms_of_glyphs_widget): new keyword :image.
34167 (image_instantiator_format_create_glyphs_widget): normalize 39054 (image_instantiator_format_create_glyphs_widget): normalize
34168 buttons and allow :image. 39055 buttons and allow :image.
34169 39056
34170 1998-12-27 Andy Piper <andy@xemacs.org> 39057 1998-12-27 Andy Piper <andy@xemacs.org>
34171 39058
34172 * frame-msw.c (mswindows_init_frame_1): warning elimination. 39059 * frame-msw.c (mswindows_init_frame_1): warning elimination.
34173 39060
34174 * glyphs-widget.c (check_valid_anything): no-op function. 39061 * glyphs-widget.c (check_valid_anything): no-op function.
34175 (check_valid_callback): check callbacks in gui_items. 39062 (check_valid_callback): check callbacks in gui_items.
34176 (check_valid_symbol): as it sounds. 39063 (check_valid_symbol): as it sounds.
34177 (check_valid_string_or_vector): ditto. 39064 (check_valid_string_or_vector): ditto.
34178 (widget_validate): modified for descriptors that are vectors or 39065 (widget_validate): modified for descriptors that are vectors or
34179 sequences of keyword/val pairs. 39066 sequences of keyword/val pairs.
34180 (widget_instantiate_1): ditto. 39067 (widget_instantiate_1): ditto.
34181 (image_instantiator_format_create_glyphs_widget): allow gui_item 39068 (image_instantiator_format_create_glyphs_widget): allow gui_item
34182 keywords in the instantiator. 39069 keywords in the instantiator.
34183 39070
34184 * gui.c (gui_parse_item_keywords_internal): renamed from 39071 * gui.c (gui_parse_item_keywords_internal): renamed from
34185 gui_parse_item_keywords but taking error behaviour. 39072 gui_parse_item_keywords but taking error behaviour.
34186 (gui_parse_item_keywords): use it. 39073 (gui_parse_item_keywords): use it.
34187 (gui_parse_item_keywords_no_errors): ditto. 39074 (gui_parse_item_keywords_no_errors): ditto.
34188 (gui_item_add_keyval_pair): add Error_behavior flag and only 39075 (gui_item_add_keyval_pair): add Error_behavior flag and only
34189 signal invalid keywords if required. 39076 signal invalid keywords if required.
34190 39077
34191 * gui.h: new gui signatures. 39078 * gui.h: new gui signatures.
34192 39079
34193 * menubar.c (menu_parse_submenu_keywords): use new 39080 * menubar.c (menu_parse_submenu_keywords): use new
34194 gui_item_add_keyval_pair signature. 39081 gui_item_add_keyval_pair signature.
34195 39082
34196 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings. 39083 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
34197 39084
34198 1998-12-28 Martin Buchholz <martin@xemacs.org> 39085 1998-12-28 Martin Buchholz <martin@xemacs.org>
34199 39086
34302 Pedantic fiddly little changes. You really don't care. 39189 Pedantic fiddly little changes. You really don't care.
34303 39190
34304 1998-12-22 Andy Piper <andy@xemacs.org> 39191 1998-12-22 Andy Piper <andy@xemacs.org>
34305 39192
34306 * redisplay-output.c (redisplay_clear_region): make sure that 39193 * redisplay-output.c (redisplay_clear_region): make sure that
34307 fg/bg colors get set even when we are in the border area. 39194 fg/bg colors get set even when we are in the border area.
34308 39195
34309 1998-12-13 Martin Buchholz <martin@xemacs.org> 39196 1998-12-13 Martin Buchholz <martin@xemacs.org>
34310 39197
34311 * console-msw.c: Function definitions follow coding standards 39198 * console-msw.c: Function definitions follow coding standards
34312 - This prevents e.g. find-tag on Lisp_Event finding DEVENT 39199 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
34508 (Fimage_instance_property): ditto. 39395 (Fimage_instance_property): ditto.
34509 * glyphs-widget.c (widget_property): ditto. 39396 * glyphs-widget.c (widget_property): ditto.
34510 (widget_set_property): ditto. 39397 (widget_set_property): ditto.
34511 39398
34512 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well 39399 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
34513 as setting the class cursor so that GC actually changes the 39400 as setting the class cursor so that GC actually changes the
34514 cursor. 39401 cursor.
34515 39402
34516 * config.h: don't undef MAIL_USE_POP. 39403 * config.h: don't undef MAIL_USE_POP.
34517 39404
34518 1998-12-13 Andy Piper <andy@xemacs.org> 39405 1998-12-13 Andy Piper <andy@xemacs.org>
34519 39406
34520 * glyphs-msw.c 39407 * glyphs-msw.c
34521 (image_instantiator_format_create_glyphs_mswindows): line -> 39408 (image_instantiator_format_create_glyphs_mswindows): line ->
34522 label. 39409 label.
34523 (mswindows_label_instantiate): ditto. Play with window flags. 39410 (mswindows_label_instantiate): ditto. Play with window flags.
34524 (image_instantiator_format_create_glyphs_mswindows): ditto. 39411 (image_instantiator_format_create_glyphs_mswindows): ditto.
34525 (vars_of_glyphs_mswindows): provide Qlabel as we support it now. 39412 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
34526 39413
34527 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to 39414 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
34528 cope with lines and labels. 39415 cope with lines and labels.
34529 (static_instantiate): use widget_instantiate_1. 39416 (static_instantiate): use widget_instantiate_1.
34530 line -> label. 39417 line -> label.
34531 (image_instantiator_format_create_glyphs_widget): ditto. 39418 (image_instantiator_format_create_glyphs_widget): ditto.
34532 39419
34533 1998-12-10 Andy Piper <andy@xemacs.org> 39420 1998-12-10 Andy Piper <andy@xemacs.org>
34535 * Makefile.in.in (objs): add gui.o 39422 * Makefile.in.in (objs): add gui.o
34536 39423
34537 1998-12-10 Andy Piper <andy@xemacs.org> 39424 1998-12-10 Andy Piper <andy@xemacs.org>
34538 39425
34539 * gui.c: adjust defines of HAVE_POPUPS so that we can build with 39426 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
34540 no window system. 39427 no window system.
34541 39428
34542 1998-12-09 Andy Piper <andy@xemacs.org> 39429 1998-12-09 Andy Piper <andy@xemacs.org>
34543 39430
34544 * glyphs.c (finalize_image_instance): mark glyphs changed when an 39431 * glyphs.c (finalize_image_instance): mark glyphs changed when an
34545 image instance is removed so that the subwindow cache gets reset 39432 image instance is removed so that the subwindow cache gets reset
34546 and thus destroyed images get GC'd. 39433 and thus destroyed images get GC'd.
34547 39434
34548 1998-12-08 Andy Piper <andy@xemacs.org> 39435 1998-12-08 Andy Piper <andy@xemacs.org>
34549 39436
34550 * gui-msw.c (mswindows_handle_gui_wm_command): call 39437 * gui-msw.c (mswindows_handle_gui_wm_command): call
34551 MARK_SUBWINDOWS_CHANGED. 39438 MARK_SUBWINDOWS_CHANGED.
34552 39439
34553 * glyphs-msw.c (mswindows_finalize_image_instance): make sure 39440 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
34554 subwindows really get deleted. 39441 subwindows really get deleted.
34555 39442
34556 * redisplay.c: new variable subwindows_changed[_set]. 39443 * redisplay.c: new variable subwindows_changed[_set].
34557 (redisplay_window): use it. 39444 (redisplay_window): use it.
34558 (redisplay_frame): ditto. 39445 (redisplay_frame): ditto.
34559 (redisplay_device): ditto. 39446 (redisplay_device): ditto.
34560 (redisplay_without_hooks): ditto. 39447 (redisplay_without_hooks): ditto.
34561 39448
34562 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for 39449 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
34563 subwindows redisplay as per glyphs equivalent. 39450 subwindows redisplay as per glyphs equivalent.
34564 * redisplay.h: ditto. 39451 * redisplay.h: ditto.
34565 (MARK_SUBWINDOWS_CHANGED): ditto. 39452 (MARK_SUBWINDOWS_CHANGED): ditto.
34566 (RESET_CHANGED_SET_FLAGS): ditto. 39453 (RESET_CHANGED_SET_FLAGS): ditto.
34567 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto. 39454 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
34568 39455
34569 1998-12-07 Andy Piper <andy@xemacs.org> 39456 1998-12-07 Andy Piper <andy@xemacs.org>
34570 39457
34571 * frame.c (Fmake_frame): reset subwindow cachels on non-stream 39458 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
34572 frames. 39459 frames.
34573 39460
34574 * redisplay.c (redisplay_frame): invalidate subwindow cachels. 39461 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
34575 39462
34576 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* 39463 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
34577 messages and paint widget glyphs as appropriate with their face fg 39464 messages and paint widget glyphs as appropriate with their face fg
34578 & bg. 39465 & bg.
34579 39466
34580 1998-12-06 Andy Piper <andy@xemacs.org> 39467 1998-12-06 Andy Piper <andy@xemacs.org>
34581 39468
34582 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types 39469 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
34583 here rather than in glyphs-widget - do this because we only want 39470 here rather than in glyphs-widget - do this because we only want
34584 to provide what is really available. 39471 to provide what is really available.
34585 39472
34586 * glyphs.c (Fimage_instance_property): new function to get the 39473 * glyphs.c (Fimage_instance_property): new function to get the
34587 properties of image instances. wires through to console specific 39474 properties of image instances. wires through to console specific
34588 methods and then to widget specific methods. 39475 methods and then to widget specific methods.
34589 (Fset_image_instance_property): ditto but for setting widget properties. 39476 (Fset_image_instance_property): ditto but for setting widget properties.
34590 (check_valid_face): make extern so that it can be used elsewhere. 39477 (check_valid_face): make extern so that it can be used elsewhere.
34591 39478
34592 * glyphs-widget.c (widget_property): new function. gets the 39479 * glyphs-widget.c (widget_property): new function. gets the
34593 properties of widgets in general and wires the function through to 39480 properties of widgets in general and wires the function through to
34594 widget specific ones. 39481 widget specific ones.
34595 (widget_set_property): ditto but for setting widget properties. 39482 (widget_set_property): ditto but for setting widget properties.
34596 39483
34597 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to 39484 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
34598 add items to the list. Play with window styles a bit to get the 39485 add items to the list. Play with window styles a bit to get the
34599 desired effect. 39486 desired effect.
34600 (mswindows_widget_property): break out specific widget properties. 39487 (mswindows_widget_property): break out specific widget properties.
34601 (mswindows_button_property): new function. gets the checked state 39488 (mswindows_button_property): new function. gets the checked state
34602 of a button. 39489 of a button.
34603 (mswindows_combo_property): new function. gets the current 39490 (mswindows_combo_property): new function. gets the current
34604 selection in the combo box. 39491 selection in the combo box.
34605 (mswindows_widget_set_property): new function. sets specific 39492 (mswindows_widget_set_property): new function. sets specific
34606 properties of specific widgets. 39493 properties of specific widgets.
34607 39494
34608 * glyphs-widget.c (check_valid_item_list): new function. check 39495 * glyphs-widget.c (check_valid_item_list): new function. check
34609 that items for a combo-box are just a list of strings. 39496 that items for a combo-box are just a list of strings.
34610 (combo_validate): new function. check there is an item list. 39497 (combo_validate): new function. check there is an item list.
34611 (widget_instantiate_1): new function. renamed from 39498 (widget_instantiate_1): new function. renamed from
34612 widget_instantiate so that we can do slightly different things for 39499 widget_instantiate so that we can do slightly different things for
34613 other widgets. 39500 other widgets.
34614 (widget_instantiate): call widget_instantiate_1. 39501 (widget_instantiate): call widget_instantiate_1.
34615 (combo_instantiate): new function to instantiate combo boxes, 39502 (combo_instantiate): new function to instantiate combo boxes,
34616 defaults height to the pixel height of the number of items in the 39503 defaults height to the pixel height of the number of items in the
34617 box. 39504 box.
34618 (syms_of_glyphs_widget): move widget keywords here. 39505 (syms_of_glyphs_widget): move widget keywords here.
34619 (image_instantiator_format_create_glyphs_widget): use new combo 39506 (image_instantiator_format_create_glyphs_widget): use new combo
34620 functions. 39507 functions.
34621 39508
34622 1998-12-04 Andy Piper <andy@xemacs.org> 39509 1998-12-04 Andy Piper <andy@xemacs.org>
34623 39510
34624 * event-msw.c (mswindows_wnd_proc): mule-ize. 39511 * event-msw.c (mswindows_wnd_proc): mule-ize.
34625 39512
34630 (mswindows_resource_instantiate): ditto. 39517 (mswindows_resource_instantiate): ditto.
34631 (mswindows_widget_instantiate): ditto. 39518 (mswindows_widget_instantiate): ditto.
34632 (mswindows_widget_set_property): ditto. 39519 (mswindows_widget_set_property): ditto.
34633 39520
34634 * redisplay-output.c (redisplay_output_subwindow): don't show 39521 * redisplay-output.c (redisplay_output_subwindow): don't show
34635 subwindows if they are obscured at the edge of the frame, emacs 39522 subwindows if they are obscured at the edge of the frame, emacs
34636 gets into some sort of redisplay loop otherwise. 39523 gets into some sort of redisplay loop otherwise.
34637 39524
34638 * gui.h: prototype gui_item_selected_p. 39525 * gui.h: prototype gui_item_selected_p.
34639 39526
34640 * gui.c (gui_item_selected_p): new function to determine the 39527 * gui.c (gui_item_selected_p): new function to determine the
34641 selected state of a gui_item. 39528 selected state of a gui_item.
34642 39529
34643 * frame.h (struct frame): add subwindows_changed flag. 39530 * frame.h (struct frame): add subwindows_changed flag.
34644 39531
34645 * redisplay.c (redisplay_frame): call update_frame_subwindows (). 39532 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
34646 39533
34647 * glyphs.c (update_subwindow): new function to update a 39534 * glyphs.c (update_subwindow): new function to update a
34648 subwindow's state. 39535 subwindow's state.
34649 (update_frame_subwindows): new function to update all the 39536 (update_frame_subwindows): new function to update all the
34650 subwindows on a frame. 39537 subwindows on a frame.
34651 39538
34652 * console.h (struct console_methods): add update_subwindow. 39539 * console.h (struct console_methods): add update_subwindow.
34653 39540
34654 * glyphs-msw.c (mswindows_widget_property): return selected state 39541 * glyphs-msw.c (mswindows_widget_property): return selected state
34655 for selected property. 39542 for selected property.
34656 (mswindows_update_subwindow): new function. updates widget glyphs 39543 (mswindows_update_subwindow): new function. updates widget glyphs
34657 in redisplay as per menubars or toolbars e.g. selected state. 39544 in redisplay as per menubars or toolbars e.g. selected state.
34658 (console_type_create_glyphs_mswindows): add update_subwindow. 39545 (console_type_create_glyphs_mswindows): add update_subwindow.
34659 39546
34660 1998-12-03 Andy Piper <andy@xemacs.org> 39547 1998-12-03 Andy Piper <andy@xemacs.org>
34661 39548
34662 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since 39549 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
34663 tty coding system things are such. 39550 tty coding system things are such.
34664 39551
34665 * glyphs-widget.c (widget_face_font_info): new function for 39552 * glyphs-widget.c (widget_face_font_info): new function for
34666 pulling out height and width metrics for a widget's face. 39553 pulling out height and width metrics for a widget's face.
34667 (widget_text_to_pixel_conversion): calculate pixel sizes of text 39554 (widget_text_to_pixel_conversion): calculate pixel sizes of text
34668 for widgets. 39555 for widgets.
34669 39556
34670 * event-msw.c (mswindows_drain_windows_queue): translate messages 39557 * event-msw.c (mswindows_drain_windows_queue): translate messages
34671 that are destined for subwindows. This makes edit fields interact 39558 that are destined for subwindows. This makes edit fields interact
34672 with the keyboard correctly. 39559 with the keyboard correctly.
34673 nuke warnings by #ifndef'ing out stuff not required by msg select(). 39560 nuke warnings by #ifndef'ing out stuff not required by msg select().
34674 39561
34675 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new 39562 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
34676 macro defining the iiforma without the symbol required by widget. 39563 macro defining the iiforma without the symbol required by widget.
34677 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it. 39564 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
34678 39565
34679 * general.c (syms_of_general): add Qwidget, Qselected. 39566 * general.c (syms_of_general): add Qwidget, Qselected.
34680 39567
34681 * faces.c (complex_vars_of_faces): add widget face inheriting from 39568 * faces.c (complex_vars_of_faces): add widget face inheriting from
34682 gui-element face. 39569 gui-element face.
34683 39570
34684 1998-11-09 Andy Piper <andy@xemacs.org> 39571 1998-11-09 Andy Piper <andy@xemacs.org>
34685 39572
34686 * window.h (struct window): add a cache of subwindows on a 39573 * window.h (struct window): add a cache of subwindows on a
34687 per-window basis. 39574 per-window basis.
34688 39575
34689 * window.c (mark_window): mark the subwindow_instance_cache. 39576 * window.c (mark_window): mark the subwindow_instance_cache.
34690 (allocate_window): initialise the subwindow instance_cache. 39577 (allocate_window): initialise the subwindow instance_cache.
34691 39578
34692 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region 39579 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
34693 instead of the devmeth. 39580 instead of the devmeth.
34694 (x_clear_toolbar): ditto. 39581 (x_clear_toolbar): ditto.
34695 39582
34696 * redisplay-x.c (x_output_display_block): call 39583 * redisplay-x.c (x_output_display_block): call
34697 redisplay_output_subwindow for subwindows and widgets. 39584 redisplay_output_subwindow for subwindows and widgets.
34698 39585
34699 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to 39586 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
34700 types to do nothing for. 39587 types to do nothing for.
34701 39588
34702 * lisp.h: declare new widget/subwindow symbols. 39589 * lisp.h: declare new widget/subwindow symbols.
34703 39590
34704 * glyphs.c (image_instantiate): cache subwindows on a per-window 39591 * glyphs.c (image_instantiate): cache subwindows on a per-window
34705 basis. 39592 basis.
34706 (subwindow_possible_dest_types): new function for subwindow dest 39593 (subwindow_possible_dest_types): new function for subwindow dest
34707 types. 39594 types.
34708 (subwindow_instantiate): generic instantiation of a 39595 (subwindow_instantiate): generic instantiation of a
34709 subwindow. specialised by device multi-methods. 39596 subwindow. specialised by device multi-methods.
34710 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based 39597 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
34711 subwindows. 39598 subwindows.
34712 (Fimage_instance_subwindow_id): ditto. 39599 (Fimage_instance_subwindow_id): ditto.
34713 (Fresize_subwindow): ditto. 39600 (Fresize_subwindow): ditto.
34714 (Fforce_subwindow_map): ditto. 39601 (Fforce_subwindow_map): ditto.
34715 39602
34716 * glyphs-x.c (x_print_image_instance): remove subwindow 39603 * glyphs-x.c (x_print_image_instance): remove subwindow
34717 stuff. Handled genrically in glyphs.c. 39604 stuff. Handled genrically in glyphs.c.
34718 (x_image_instance_equal): ditto. 39605 (x_image_instance_equal): ditto.
34719 (x_image_instance_hash): ditto. 39606 (x_image_instance_hash): ditto.
34720 (x_finalize_image_instance): delete subwindows when required. 39607 (x_finalize_image_instance): delete subwindows when required.
34721 (mark_subwindow) (print_subwindow) (finalize_subwindow) 39608 (mark_subwindow) (print_subwindow) (finalize_subwindow)
34722 (subwindow_hash) (Fmake_subwindow): deleted because of new, 39609 (subwindow_hash) (Fmake_subwindow): deleted because of new,
34723 glyph-based, subwindow implementation. 39610 glyph-based, subwindow implementation.
34724 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased 39611 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
34725 in glyphs.el 39612 in glyphs.el
34726 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to 39613 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
34727 glyphs.c. 39614 glyphs.c.
34728 (x_unmap_subwindow): new function to unmap X subwindows. 39615 (x_unmap_subwindow): new function to unmap X subwindows.
34729 (x_map_subwindow): new function to map X subwindows. 39616 (x_map_subwindow): new function to map X subwindows.
34730 (x_subwindow_instantiate): new function to instantiate X 39617 (x_subwindow_instantiate): new function to instantiate X
34731 subwindows. 39618 subwindows.
34732 (x_resize_subwindow): new function to resize X subwindows. 39619 (x_resize_subwindow): new function to resize X subwindows.
34733 (console_type_create_glyphs_x): add subwindow functions. 39620 (console_type_create_glyphs_x): add subwindow functions.
34734 (image_instantiator_format_create_glyphs_x): add device 39621 (image_instantiator_format_create_glyphs_x): add device
34735 multi-methods for xpm, xbm and subwindow. 39622 multi-methods for xpm, xbm and subwindow.
34736 39623
34737 * glyphs.el (subwindow-xid): old alias for new subwindow functions. 39624 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
34738 (subwindow-width): ditto. 39625 (subwindow-width): ditto.
34739 (subwindow-height): ditto. 39626 (subwindow-height): ditto.
34740 39627
34741 * glyphs-msw.c (mswindows_widget_instantiate): new function for 39628 * glyphs-msw.c (mswindows_widget_instantiate): new function for
34742 generally instantiating ms subwindows. Used by 39629 generally instantiating ms subwindows. Used by
34743 mswindows_*_instantiate. 39630 mswindows_*_instantiate.
34744 (mswindows_edit_instantiate): instantiate an edit field on a 39631 (mswindows_edit_instantiate): instantiate an edit field on a
34745 mswindows frame. 39632 mswindows frame.
34746 39633
34747 1998-11-04 Andy Piper <andy@xemacs.org> 39634 1998-11-04 Andy Piper <andy@xemacs.org>
34748 39635
34749 * symsinit.h: declare new functions. 39636 * symsinit.h: declare new functions.
34750 39637
34751 * redisplay.h: declare new functions. 39638 * redisplay.h: declare new functions.
34752 39639
34753 * redisplay-x.c (x_output_display_block): call 39640 * redisplay-x.c (x_output_display_block): call
34754 redisplay_clear_region rather than x_clear_region. 39641 redisplay_clear_region rather than x_clear_region.
34755 (x_output_string): ditto. 39642 (x_output_string): ditto.
34756 (x_output_pixmap): ditto. 39643 (x_output_pixmap): ditto.
34757 (x_clear_to_window_end): ditto. 39644 (x_clear_to_window_end): ditto.
34758 (x_output_eol_cursor): ditto. 39645 (x_output_eol_cursor): ditto.
34759 (x_clear_region): only do X specific things. other duties handled 39646 (x_clear_region): only do X specific things. other duties handled
34760 in redisplay_clear_region. 39647 in redisplay_clear_region.
34761 39648
34762 * redisplay-tty.c (tty_clear_region): do tty specific things - some 39649 * redisplay-tty.c (tty_clear_region): do tty specific things - some
34763 duties moved to redisplay_clear_region. 39650 duties moved to redisplay_clear_region.
34764 39651
34765 * redisplay-output.c (clear_left_border): use 39652 * redisplay-output.c (clear_left_border): use
34766 redisplay_clear_region instead of device method. 39653 redisplay_clear_region instead of device method.
34767 (clear_right_border): ditto. 39654 (clear_right_border): ditto.
34768 (output_display_line): ditto. 39655 (output_display_line): ditto.
34769 (redisplay_output_subwindow): ditto. 39656 (redisplay_output_subwindow): ditto.
34770 (redisplay_clear_top_of_window): ditto. 39657 (redisplay_clear_top_of_window): ditto.
34771 (redisplay_clear_region): perform duties previously handled by 39658 (redisplay_clear_region): perform duties previously handled by
34772 device methods. call the appropriate device method at the 39659 device methods. call the appropriate device method at the
34773 end. unmap subwindows if necessary. 39660 end. unmap subwindows if necessary.
34774 39661
34775 * redisplay-msw.c (mswindows_output_string): use 39662 * redisplay-msw.c (mswindows_output_string): use
34776 redisplay_clear_region instead of mswindows_clear_region. 39663 redisplay_clear_region instead of mswindows_clear_region.
34777 (mswindows_clear_to_window_end): ditto. 39664 (mswindows_clear_to_window_end): ditto.
34778 (mswindows_output_display_block): output subwindows when required. 39665 (mswindows_output_display_block): output subwindows when required.
34779 (mswindows_clear_region): only do mswindows specific things, 39666 (mswindows_clear_region): only do mswindows specific things,
34780 everything else is now handled in redisplay_clear_region. 39667 everything else is now handled in redisplay_clear_region.
34781 39668
34782 * gui.h: add item id hash defines and declare function prototypes. 39669 * gui.h: add item id hash defines and declare function prototypes.
34783 39670
34784 * gui.c (mark_gui_item): new function for marking gui_items. 39671 * gui.c (mark_gui_item): new function for marking gui_items.
34785 (gui_item_hash): generic hash function for generating command ids 39672 (gui_item_hash): generic hash function for generating command ids
34786 for gui_items. 39673 for gui_items.
34787 39674
34788 * gui-msw.c: new file. 39675 * gui-msw.c: new file.
34789 (mswindows_handle_gui_wm_command): new function to handle widget 39676 (mswindows_handle_gui_wm_command): new function to handle widget
34790 callbacks. 39677 callbacks.
34791 39678
34792 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device 39679 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
34793 multi-methods. 39680 multi-methods.
34794 (IIFORMAT_HAS_SHARED_METHOD): ditto. 39681 (IIFORMAT_HAS_SHARED_METHOD): ditto.
34795 (DEFINE_DEVICE_IIFORMAT): ditto. 39682 (DEFINE_DEVICE_IIFORMAT): ditto.
34796 (INITIALIZE_DEVICE_IIFORMAT): ditto. 39683 (INITIALIZE_DEVICE_IIFORMAT): ditto.
34797 (struct Lisp_Image_Instance): add widget and subwindow data plus 39684 (struct Lisp_Image_Instance): add widget and subwindow data plus
34798 appropriate access functions. 39685 appropriate access functions.
34799 39686
34800 * glyphs.c (decode_device_ii_format): new function for decoding 39687 * glyphs.c (decode_device_ii_format): new function for decoding
34801 image instantiator functions based on a device type as well as an 39688 image instantiator functions based on a device type as well as an
34802 image format. 39689 image format.
34803 (decode_image_instantiator_format): just call 39690 (decode_image_instantiator_format): just call
34804 decode_device_ii_format with nil device. 39691 decode_device_ii_format with nil device.
34805 (add_entry_to_device_ii_format_list): new function for per device 39692 (add_entry_to_device_ii_format_list): new function for per device
34806 method instances. 39693 method instances.
34807 (add_entry_to_image_instantiator_format_list): just call 39694 (add_entry_to_image_instantiator_format_list): just call
34808 add_entry_to_device_ii_format_list with nil device. 39695 add_entry_to_device_ii_format_list with nil device.
34809 (check_valid_vector): new function. 39696 (check_valid_vector): new function.
34810 (instantiate_image_instantiator): instantiate using per-format 39697 (instantiate_image_instantiator): instantiate using per-format
34811 method and then per-format-per-device method (device 39698 method and then per-format-per-device method (device
34812 multi-methods). signal an error if neither is possible. 39699 multi-methods). signal an error if neither is possible.
34813 (mark_image_instance): cope with subwindows and widgets. 39700 (mark_image_instance): cope with subwindows and widgets.
34814 (print_image_instance): ditto. 39701 (print_image_instance): ditto.
34815 (image_instance_equal): ditto. 39702 (image_instance_equal): ditto.
34816 (image_instance_hash): ditto. 39703 (image_instance_hash): ditto.
34817 (allocate_glyph): ditto. 39704 (allocate_glyph): ditto.
34818 (glyph_width): ditto. 39705 (glyph_width): ditto.
34819 (glyph_height_internal): ditto. 39706 (glyph_height_internal): ditto.
34820 (xpm_instantiate): removed because of device multi-methods. 39707 (xpm_instantiate): removed because of device multi-methods.
34821 (mark_subwindow_cachels): new cachel functions for caching 39708 (mark_subwindow_cachels): new cachel functions for caching
34822 instantiated subwindows on a per-frame basis. mostly copied from 39709 instantiated subwindows on a per-frame basis. mostly copied from
34823 glyph cachel functions. 39710 glyph cachel functions.
34824 (update_subwindow_cachel_data): ditto. 39711 (update_subwindow_cachel_data): ditto.
34825 (add_subwindow_cachel): ditto. 39712 (add_subwindow_cachel): ditto.
34826 (get_subwindow_cachel_index): ditto. 39713 (get_subwindow_cachel_index): ditto.
34827 (reset_subwindow_cachels): ditto. 39714 (reset_subwindow_cachels): ditto.
34828 (mark_subwindow_cachels_as_not_updated): ditto. 39715 (mark_subwindow_cachels_as_not_updated): ditto.
34829 (unmap_subwindow): generic unmapping of subwindows based on cachel 39716 (unmap_subwindow): generic unmapping of subwindows based on cachel
34830 data. 39717 data.
34831 (map_subwindow): ditto. 39718 (map_subwindow): ditto.
34832 (initialize_subwindow_image_instance): generic initialisation of 39719 (initialize_subwindow_image_instance): generic initialisation of
34833 subwindow data. 39720 subwindow data.
34834 (syms_of_glyphs): add widget keywords. 39721 (syms_of_glyphs): add widget keywords.
34835 39722
34836 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to 39723 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
34837 x_subwindow_data. 39724 x_subwindow_data.
34838 39725
34839 1998-11-04 Andy Piper <andy@xemacs.org> 39726 1998-11-04 Andy Piper <andy@xemacs.org>
34840 39727
34841 * glyphs-widget.c: new file for instantiating widget type glyphs. 39728 * glyphs-widget.c: new file for instantiating widget type glyphs.
34842 (widget_possible_dest_types): new general dest type function for 39729 (widget_possible_dest_types): new general dest type function for
34843 widgets. 39730 widgets.
34844 (widget_validate): ditto. 39731 (widget_validate): ditto.
34845 (initialize_widget_image_instance): ditto 39732 (initialize_widget_image_instance): ditto
34846 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing 39733 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
34847 before handing on control to device multi-methods. 39734 before handing on control to device multi-methods.
34848 (syms_of_glyphs_widget): new function. 39735 (syms_of_glyphs_widget): new function.
34849 (image_instantiator_format_create_glyphs_widget): new function, 39736 (image_instantiator_format_create_glyphs_widget): new function,
34850 added placeholders for button, edit, combo, scrollbar 39737 added placeholders for button, edit, combo, scrollbar
34851 (vars_of_glyphs_widget): new function. 39738 (vars_of_glyphs_widget): new function.
34852 39739
34853 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for 39740 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
34854 storing window ids of widgets. 39741 storing window ids of widgets.
34855 39742
34856 * glyphs-msw.c (mswindows_finalize_image_instance): cope with 39743 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
34857 deletion of widget and subwindow glyphs. 39744 deletion of widget and subwindow glyphs.
34858 (mswindows_unmap_subwindow): new device function for unmapping 39745 (mswindows_unmap_subwindow): new device function for unmapping
34859 subwindows on a msw frame. 39746 subwindows on a msw frame.
34860 (mswindows_map_subwindow): ditto. 39747 (mswindows_map_subwindow): ditto.
34861 (mswindows_register_image_instance): register instantiated widgets 39748 (mswindows_register_image_instance): register instantiated widgets
34862 with the widget hashtable. 39749 with the widget hashtable.
34863 (mswindows_button_instantiate): instantiate a button type widget 39750 (mswindows_button_instantiate): instantiate a button type widget
34864 on an msw frame. 39751 on an msw frame.
34865 (mswindows_subwindow_instantiate): instanttiate a subwindow on a 39752 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
34866 mswindows frame. 39753 mswindows frame.
34867 (image_instantiator_format_create_glyphs_mswindows): add device 39754 (image_instantiator_format_create_glyphs_mswindows): add device
34868 multi-methods for xbm, xpm, subwindow, edit and button. 39755 multi-methods for xbm, xpm, subwindow, edit and button.
34869 39756
34870 * frame.h (struct frame): add subwindow_cachels dynarr for caching 39757 * frame.h (struct frame): add subwindow_cachels dynarr for caching
34871 information about subwindows visible on the current frame. used by 39758 information about subwindows visible on the current frame. used by
34872 redisplay_clear_region to unmap subwindows as required. 39759 redisplay_clear_region to unmap subwindows as required.
34873 39760
34874 * frame.c (mark_frame): mark subwindow_cachels. 39761 * frame.c (mark_frame): mark subwindow_cachels.
34875 (allocate_frame_core): instantiate subwindow_cachels. 39762 (allocate_frame_core): instantiate subwindow_cachels.
34876 39763
34877 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the 39764 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
34878 widget hashtable. 39765 widget hashtable.
34879 39766
34880 * event-msw.c (mswindows_wnd_proc): add call to 39767 * event-msw.c (mswindows_wnd_proc): add call to
34881 mswindows_handle_gui_wm_command to handle widget callbacks. 39768 mswindows_handle_gui_wm_command to handle widget callbacks.
34882 39769
34883 * emacs.c (main_1): add calls to glyphs-widget initialisation 39770 * emacs.c (main_1): add calls to glyphs-widget initialisation
34884 routines. 39771 routines.
34885 39772
34886 * console.h (struct console_methods): add 39773 * console.h (struct console_methods): add
34887 unmap/map_subwindow_method for use be redisplay_clear_region to 39774 unmap/map_subwindow_method for use be redisplay_clear_region to
34888 map and unmap subwindows. Remove xpm and xbm stuff - now dealt 39775 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
34889 with by image instantiator multi-methods. Add 39776 with by image instantiator multi-methods. Add
34890 resize_subwindow_method. 39777 resize_subwindow_method.
34891 39778
34892 * console-stream.c (stream_clear_region): change signature to 39779 * console-stream.c (stream_clear_region): change signature to
34893 match new generic clear region function. 39780 match new generic clear region function.
34894 39781
34895 * Makefile.in.in: add glyphs-widget.o to list of objects. 39782 * Makefile.in.in: add glyphs-widget.o to list of objects.
34896 39783
34897 * console-msw.h (struct mswindows_frame): add widget hashtable for 39784 * console-msw.h (struct mswindows_frame): add widget hashtable for
34898 wiring command ids to callbacks. 39785 wiring command ids to callbacks.
34899 39786
34900 1998-12-16 Andy Piper <andy@xemacs.org> 39787 1998-12-16 Andy Piper <andy@xemacs.org>
34901 39788
34902 * XEmacs 21.2.6 is released 39789 * XEmacs 21.2.6 is released
34903 39790
34957 * lisp.h: Fix up prototypes to match alloc.c 39844 * lisp.h: Fix up prototypes to match alloc.c
34958 39845
34959 1998-12-09 Andy Piper <andy@xemacs.org> 39846 1998-12-09 Andy Piper <andy@xemacs.org>
34960 39847
34961 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use 39848 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
34962 XSETINT for assigning lisp objects. 39849 XSETINT for assigning lisp objects.
34963 39850
34964 1998-12-07 Martin Buchholz <martin@xemacs.org> 39851 1998-12-07 Martin Buchholz <martin@xemacs.org>
34965 39852
34966 * opaque.h: 39853 * opaque.h:
34967 * console-msw.c (DHEADER): 39854 * console-msw.c (DHEADER):
34987 conditional on F_SETFL being defined. 39874 conditional on F_SETFL being defined.
34988 39875
34989 1998-12-09 Andy Piper <andy@xemacs.org> 39876 1998-12-09 Andy Piper <andy@xemacs.org>
34990 39877
34991 * menubar-msw.c (mswindows_handle_wm_command): add back in checks 39878 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
34992 that got removed in the merge 39879 that got removed in the merge
34993 39880
34994 1998-11-30 Greg Klanderman <greg@alphatech.com> 39881 1998-11-30 Greg Klanderman <greg@alphatech.com>
34995 39882
34996 * dired.c (vars_of_dired): bugfix for previous conditionalization 39883 * dired.c (vars_of_dired): bugfix for previous conditionalization
34997 of user-name-completion on non- Windows NT. 39884 of user-name-completion on non- Windows NT.
35953 1998-09-02 Andy Piper <andyp@parallax.co.uk> 40840 1998-09-02 Andy Piper <andyp@parallax.co.uk>
35954 40841
35955 * config.h.in: ditto. 40842 * config.h.in: ditto.
35956 40843
35957 * s/cygwin32.h: rearrange declarations to cope with cygwin 40844 * s/cygwin32.h: rearrange declarations to cope with cygwin
35958 b20. Include cygwin32/version.h if it exists. 40845 b20. Include cygwin32/version.h if it exists.
35959 40846
35960 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> 40847 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
35961 40848
35962 * device-msw.c (mswindows_init_device): Call new 40849 * device-msw.c (mswindows_init_device): Call new
35963 mswindows_enumerate_fonts() function in objects-msw.c instead 40850 mswindows_enumerate_fonts() function in objects-msw.c instead
36106 WriteFile() to fix a winsock 1.x bug on Win95. 40993 WriteFile() to fix a winsock 1.x bug on Win95.
36107 40994
36108 1998-08-28 Hrvoje Niksic <hniksic@srce.hr> 40995 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
36109 40996
36110 * event-Xt.c (emacs_Xt_mapping_action): Check for device being 40997 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
36111 deleted. 40998 deleted.
36112 (x_event_to_emacs_event): Ditto. 40999 (x_event_to_emacs_event): Ditto.
36113 (emacs_Xt_handle_focus_event): Ditto. 41000 (emacs_Xt_handle_focus_event): Ditto.
36114 (emacs_Xt_handle_magic_event): Ditto. 41001 (emacs_Xt_handle_magic_event): Ditto.
36115 41002
36116 * console-x.h (struct x_device): New flag being_deleted. 41003 * console-x.h (struct x_device): New flag being_deleted.
36160 point in an indirect buffer. 41047 point in an indirect buffer.
36161 41048
36162 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> 41049 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
36163 41050
36164 * undo.c (undo_prelude): Test last-undo-buffer against base 41051 * undo.c (undo_prelude): Test last-undo-buffer against base
36165 buffer. 41052 buffer.
36166 41053
36167 * insdel.c (MAP_INDIRECT_BUFFERS): Use it. 41054 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
36168 41055
36169 * buffer.h (BUFFER_BASE_BUFFER): New macro. 41056 * buffer.h (BUFFER_BASE_BUFFER): New macro.
36170 41057
36281 (vars_of_dired): initialize user name cache vars. 41168 (vars_of_dired): initialize user name cache vars.
36282 41169
36283 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp> 41170 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
36284 41171
36285 * glyphs-eimage.c (png_instantiate): Add proper handling for background 41172 * glyphs-eimage.c (png_instantiate): Add proper handling for background
36286 colors taken from the default face. Also correct a thinko in 41173 colors taken from the default face. Also correct a thinko in
36287 transparency (not alpha) handling. 41174 transparency (not alpha) handling.
36288 41175
36289 1998-07-23 Martin Buchholz <martin@xemacs.org> 41176 1998-07-23 Martin Buchholz <martin@xemacs.org>
36290 41177
36291 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap. 41178 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
36734 * event-stream.c: Fix docstring reference. 41621 * event-stream.c: Fix docstring reference.
36735 41622
36736 1998-06-12 Hrvoje Niksic <hniksic@srce.hr> 41623 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
36737 41624
36738 * alloc.c (make_float): Remove useless initialization of `next' 41625 * alloc.c (make_float): Remove useless initialization of `next'
36739 field. 41626 field.
36740 (make_pure_float): Ditto. 41627 (make_pure_float): Ditto.
36741 41628
36742 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. 41629 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
36743 41630
36744 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru> 41631 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
37090 41977
37091 * indent.c (Fvertical_motion): Add optional third argument PIXELS, 41978 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
37092 to request returning motion in pixels. 41979 to request returning motion in pixels.
37093 (Fvertical_motion_pixels): Remove, functionality merged into 41980 (Fvertical_motion_pixels): Remove, functionality merged into
37094 Fvertical_motion. 41981 Fvertical_motion.
37095 * window.c (window_scroll): call Fvertical_motion with 3 arguments. 41982 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
37096 (Fmove_to_window_line): ditto. 41983 (Fmove_to_window_line): ditto.
37097 * lisp.h: Change declaration for Fvertical_motion. 41984 * lisp.h: Change declaration for Fvertical_motion.
37098 41985
37099 * window.c: rename window-text-pixel-{height,width,edges} to 41986 * window.c: rename window-text-pixel-{height,width,edges} to
37100 window-text-area-pixel-*. 41987 window-text-area-pixel-*.
38477 events. 43364 events.
38478 43365
38479 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> 43366 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
38480 43367
38481 * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind. 43368 * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind.
38482 Delete the stream. 43369 Delete the stream.
38483 (Finsert_file_contents_internal): Delete STREAM after use. 43370 (Finsert_file_contents_internal): Delete STREAM after use.
38484 (Fmake_temp_name): Improve randomness of generated file names. 43371 (Fmake_temp_name): Improve randomness of generated file names.
38485 (Fmake_temp_name): Don't initialize COUNT if in temacs. 43372 (Fmake_temp_name): Don't initialize COUNT if in temacs.
38486 43373
38487 1998-05-02 Olivier Galibert <galibert@pobox.com> 43374 1998-05-02 Olivier Galibert <galibert@pobox.com>
38977 43864
38978 * device-msw.c: init common controls. 43865 * device-msw.c: init common controls.
38979 43866
38980 * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event 43867 * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event
38981 stream tye callbacks and select() on events rather than MWFMO. 43868 stream tye callbacks and select() on events rather than MWFMO.
38982 Added event handling for tooltip messages. If you have this 43869 Added event handling for tooltip messages. If you have this
38983 special select then all process support works under cygwin. 43870 special select then all process support works under cygwin.
38984 43871
38985 * frame-msw.c: add support for four toolbars. 43872 * frame-msw.c: add support for four toolbars.
38986 43873
38987 * redisplay-msw.c: update toolbars when an area is exposed. 43874 * redisplay-msw.c: update toolbars when an area is exposed.
40833 errno when connection fails 45720 errno when connection fails
40834 45721
40835 1998-03-16 Hrvoje Niksic <hniksic@srce.hr> 45722 1998-03-16 Hrvoje Niksic <hniksic@srce.hr>
40836 45723
40837 * lread.c: New macro, to avoid exposing an lstream to Lisp error 45724 * lread.c: New macro, to avoid exposing an lstream to Lisp error
40838 handlers. 45725 handlers.
40839 (reader_nextchar): Use it. 45726 (reader_nextchar): Use it.
40840 (read1): Ditto. 45727 (read1): Ditto.
40841 45728
40842 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com> 45729 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
40843 45730
41004 45891
41005 * sysdll.c: sysdll.h needs to be included with double quotes not 45892 * sysdll.c: sysdll.h needs to be included with double quotes not
41006 angle brackets. 45893 angle brackets.
41007 Use RTLD_GLOBAL as an open flag if it exists. 45894 Use RTLD_GLOBAL as an open flag if it exists.
41008 45895
41009 1998-03-09 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> 45896 1998-03-09 Martin Buchholz <martin@xemacs.org>
41010 45897
41011 * eldap.c (Fldap_search_internal): call garbage_collect_1 instead 45898 * eldap.c (Fldap_search_internal): call garbage_collect_1 instead
41012 of Fgarbage_collect. The two are identical except the latter 45899 of Fgarbage_collect. The two are identical except the latter
41013 generates some `fresh' garbage :) 45900 generates some `fresh' garbage :)
41014 45901
41171 * editfns.c (Ftemp_directory): New function. 46058 * editfns.c (Ftemp_directory): New function.
41172 From Glynn Clements <glynn@sensei.co.uk> 46059 From Glynn Clements <glynn@sensei.co.uk>
41173 46060
41174 * editfns.c (Ftemp_directory): Use build_ext_string. 46061 * editfns.c (Ftemp_directory): Use build_ext_string.
41175 46062
41176 1998-03-02 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> 46063 1998-03-02 Martin Buchholz <martin@xemacs.org>
41177 46064
41178 * symsinit.h: add prototype for syms_of_dlopen 46065 * symsinit.h: add prototype for syms_of_dlopen
41179 46066
41180 1998-03-02 Kyle Jones <kyle_jones@wonderworks.com> 46067 1998-03-02 Kyle Jones <kyle_jones@wonderworks.com>
41181 46068
41412 - Use '(t)' for Mac/Text mode. 46299 - Use '(t)' for Mac/Text mode.
41413 46300
41414 Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk> 46301 Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk>
41415 46302
41416 * Makefile.in.in: make sure clean removes msw executables. This 46303 * Makefile.in.in: make sure clean removes msw executables. This
41417 prevents the build stalling after puresize has been adjusted. Add 46304 prevents the build stalling after puresize has been adjusted. Add
41418 file-coding.o to list of objects. 46305 file-coding.o to list of objects.
41419 46306
41420 * buffer.c: 46307 * buffer.c:
41421 * buffer.h: 46308 * buffer.h:
41422 * bufslots.h: 46309 * bufslots.h:
41423 * callproc.c: 46310 * callproc.c:
41439 * mule-coding.c: #if 0 out functionality until file-coding is 46326 * mule-coding.c: #if 0 out functionality until file-coding is
41440 split up. 46327 split up.
41441 46328
41442 * file-coding.h: 46329 * file-coding.h:
41443 * file-coding.c: new files. copies of mule-coding.h and 46330 * file-coding.c: new files. copies of mule-coding.h and
41444 mule-coding.c. The mule case is unchanged. The non-mule case 46331 mule-coding.c. The mule case is unchanged. The non-mule case
41445 removes coding relating to other charsets - iso2022, big5, sjis, 46332 removes coding relating to other charsets - iso2022, big5, sjis,
41446 ccl. (setup_eol_coding_systems) add the eol type to the subsidiary 46333 ccl. (setup_eol_coding_systems) add the eol type to the subsidiary
41447 coding system mnemonics so that it shows on the modeline, 46334 coding system mnemonics so that it shows on the modeline,
41448 currently (B) for unix style (T) for mac and dos styles. 46335 currently (B) for unix style (T) for mac and dos styles.
41449 46336
41450 * fileio.c: remove #ifdef MULE's from stuff that relates to 46337 * fileio.c: remove #ifdef MULE's from stuff that relates to
41451 file-coding. include file-coding.h rather than mule-coding.h where 46338 file-coding. include file-coding.h rather than mule-coding.h where
41452 applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is 46339 applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is
41453 always on. 46340 always on.
41454 46341
41455 * sheap.c: (more_static_core) remove spurious \n's from error 46342 * sheap.c: (more_static_core) remove spurious \n's from error
41456 message. 46343 message.
41457 46344
41471 From Tore Olsen <toreo@tihlde.hist.no> 46358 From Tore Olsen <toreo@tihlde.hist.no>
41472 46359
41473 1998-02-21 Greg Klanderman <greg@alphatech.com> 46360 1998-02-21 Greg Klanderman <greg@alphatech.com>
41474 46361
41475 * device-x.c (x_init_device): allow `x-emacs-application-class' to 46362 * device-x.c (x_init_device): allow `x-emacs-application-class' to
41476 be nil prior to connecting to the X server. When this is the 46363 be nil prior to connecting to the X server. When this is the
41477 case, the application class is chosen based on whether the user 46364 case, the application class is chosen based on whether the user
41478 has any resources with application class `XEmacs' set in the 46365 has any resources with application class `XEmacs' set in the
41479 resource database. 46366 resource database.
41480 (vars_of_device_x): make x-emacs-application-class nil by default 46367 (vars_of_device_x): make x-emacs-application-class nil by default
41481 and document new behavior in its doc string. 46368 and document new behavior in its doc string.
41589 improved, for instance when the mouse goes out of the modeline. 46476 improved, for instance when the mouse goes out of the modeline.
41590 46477
41591 1998-02-18 Didier Verna <didier@xemacs.org> 46478 1998-02-18 Didier Verna <didier@xemacs.org>
41592 46479
41593 * redisplay.c: 46480 * redisplay.c:
41594 (generate_formatted_string_db): new flag to distinguish a modeline 46481 (generate_formatted_string_db): new flag to distinguish a modeline
41595 string from a title or icon one, plus use a negative first pos to 46482 string from a title or icon one, plus use a negative first pos to
41596 indicate the modeline hscroll amount. 46483 indicate the modeline hscroll amount.
41597 (add_string_to_fstring_db_runes): completely rewrote this function 46484 (add_string_to_fstring_db_runes): completely rewrote this function
41598 to handle the case of scrolled modelines. 46485 to handle the case of scrolled modelines.
41599 (add_glyph_to_fstring_db_runes): handle the case of scrolled 46486 (add_glyph_to_fstring_db_runes): handle the case of scrolled
41947 * console-msw.h: 46834 * console-msw.h:
41948 Deleted the first two and merged them into the last two files. 46835 Deleted the first two and merged them into the last two files.
41949 46836
41950 * device-msw.c: 46837 * device-msw.c:
41951 * event-msw.c: 46838 * event-msw.c:
41952 * frame-msw.c: 46839 * frame-msw.c:
41953 Added file-based drag and drop support. The "System/Open" DDE command 46840 Added file-based drag and drop support. The "System/Open" DDE command
41954 is also implemented as if it were a drag and drop operation. 46841 is also implemented as if it were a drag and drop operation.
41955 46842
41956 * emacsfns.h: 46843 * emacsfns.h:
41957 * event-stream.c: 46844 * event-stream.c:
41995 46882
41996 * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline 46883 * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline
41997 the code. 46884 the code.
41998 46885
41999 * mule-ccl.c (ccl_driver): Set initial values of variables to shut up 46886 * mule-ccl.c (ccl_driver): Set initial values of variables to shut up
42000 the compiler and to give better error message if a quit happens before 46887 the compiler and to give better error message if a quit happens before
42001 any ccl_code is generated. 46888 any ccl_code is generated.
42002 46889
42003 1998-01-28 SL Baur <steve@altair.xemacs.org> 46890 1998-01-28 SL Baur <steve@altair.xemacs.org>
42004 46891
42005 * glyphs.c (allocate_glyph): This function can GC. 46892 * glyphs.c (allocate_glyph): This function can GC.
42213 (elisp_maphash): Ditto. 47100 (elisp_maphash): Ditto.
42214 47101
42215 1998-01-12 Hrvoje Niksic <hniksic@srce.hr> 47102 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
42216 47103
42217 * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a 47104 * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a
42218 Dynarr. 47105 Dynarr.
42219 47106
42220 1998-01-13 Hrvoje Niksic <hniksic@srce.hr> 47107 1998-01-13 Hrvoje Niksic <hniksic@srce.hr>
42221 47108
42222 * profile.c (vars_of_profile): New variable 47109 * profile.c (vars_of_profile): New variable
42223 `call-count-profile-table'. 47110 `call-count-profile-table'.
42224 (Fclear_profiling_info): Clear call-count-profile-table. 47111 (Fclear_profiling_info): Clear call-count-profile-table.
42225 47112
42226 * eval.c (funcall_recording_as): Use it. 47113 * eval.c (funcall_recording_as): Use it.
42227 47114
42228 * profile.c (profile_increase_call_count): New function. 47115 * profile.c (profile_increase_call_count): New function.
42306 (mswindows_flash): Flash frame by inverting client area. 47193 (mswindows_flash): Flash frame by inverting client area.
42307 47194
42308 1998-01-08 Andy Piper <andyp@parallax.co.uk> 47195 1998-01-08 Andy Piper <andyp@parallax.co.uk>
42309 47196
42310 * lread.c: guess load path if its not set just like the dumped 47197 * lread.c: guess load path if its not set just like the dumped
42311 version does. 47198 version does.
42312 47199
42313 * doc.c: guess doc path if its not set just like the dumped 47200 * doc.c: guess doc path if its not set just like the dumped
42314 version does 47201 version does
42315 47202
42316 Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk> 47203 Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk>
42317 47204
42318 * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this 47205 * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this
42319 is almost never right on XEmacs. 47206 is almost never right on XEmacs.
42626 * callint.c (Fcall_interactively): Ditto. 47513 * callint.c (Fcall_interactively): Ditto.
42627 47514
42628 * abbrev.c (Fexpand_abbrev): Ditto. 47515 * abbrev.c (Fexpand_abbrev): Ditto.
42629 47516
42630 * dired.c (file_name_completion): Use Qzero instead of 47517 * dired.c (file_name_completion): Use Qzero instead of
42631 make_int(0). 47518 make_int(0).
42632 47519
42633 * fileio.c (Finsert_file_contents_internal): Use 47520 * fileio.c (Finsert_file_contents_internal): Use
42634 report_file_error() to report reading error. 47521 report_file_error() to report reading error.
42635 47522
42636 * cmds.c (internal_self_insert): Don't self-insert if the expanded 47523 * cmds.c (internal_self_insert): Don't self-insert if the expanded
42637 symbol's hook has a non-nil `no-self-insert' property; synch with 47524 symbol's hook has a non-nil `no-self-insert' property; synch with
42638 FSF 20.2. 47525 FSF 20.2.
42639 47526
42640 * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF 47527 * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF
42641 20.2. 47528 20.2.
42642 47529
42643 1997-12-16 Hrvoje Niksic <hniksic@srce.hr> 47530 1997-12-16 Hrvoje Niksic <hniksic@srce.hr>
42644 47531
42645 * abbrev.c (abbrev_match): User map_obarray() instead of 47532 * abbrev.c (abbrev_match): User map_obarray() instead of
42646 crockishly copying it. 47533 crockishly copying it.
42659 (set_bi_marker_position): Ditto. 47546 (set_bi_marker_position): Ditto.
42660 47547
42661 1997-12-15 Hrvoje Niksic <hniksic@srce.hr> 47548 1997-12-15 Hrvoje Niksic <hniksic@srce.hr>
42662 47549
42663 * fileio.c (Finsert_file_contents_internal): Use make_int when 47550 * fileio.c (Finsert_file_contents_internal): Use make_int when
42664 checking for overflow. 47551 checking for overflow.
42665 (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP. 47552 (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP.
42666 (Ffind_file_name_handler): Ditto. 47553 (Ffind_file_name_handler): Ditto.
42667 47554
42668 * dired.c (file_name_completion): Use noseeum_cons. 47555 * dired.c (file_name_completion): Use noseeum_cons.
42669 (file_name_completion_unwind): Free the cons. 47556 (file_name_completion_unwind): Free the cons.
42740 1997-12-13 Kirill M. Katsnelson <kkm@kis.ru> 47627 1997-12-13 Kirill M. Katsnelson <kkm@kis.ru>
42741 47628
42742 * msw-proc.c: added emulation for middle mouse button by chording 47629 * msw-proc.c: added emulation for middle mouse button by chording
42743 left and right buttons 47630 left and right buttons
42744 * event-msw.c: added lisp variables for resize behavior and middle 47631 * event-msw.c: added lisp variables for resize behavior and middle
42745 button emulation thresholds 47632 button emulation thresholds
42746 * msw-proc.c: {un}map-frame-hook now are not called directly from 47633 * msw-proc.c: {un}map-frame-hook now are not called directly from
42747 the window procedure, rather from magic event handler. 47634 the window procedure, rather from magic event handler.
42748 * Formulated golden rule for calling lisp from window procedure: 47635 * Formulated golden rule for calling lisp from window procedure:
42749 "NOOOOOO!". May be violated under circumstances although. 47636 "NOOOOOO!". May be violated under circumstances although.
42750 * frame-msw.c: corrected problem with setting frame width and height 47637 * frame-msw.c: corrected problem with setting frame width and height
42778 instead of consing. 47665 instead of consing.
42779 47666
42780 1997-12-12 Hrvoje Niksic <hniksic@srce.hr> 47667 1997-12-12 Hrvoje Niksic <hniksic@srce.hr>
42781 47668
42782 * callint.c (quotify_arg): Don't quotify vectors, keywords, 47669 * callint.c (quotify_arg): Don't quotify vectors, keywords,
42783 bit-vectors and lambdas. 47670 bit-vectors and lambdas.
42784 (Fquote_maybe): New subr, from quotify_arg. 47671 (Fquote_maybe): New subr, from quotify_arg.
42785 (quotify_args): Use it. 47672 (quotify_args): Use it.
42786 (Fcall_interactively): Ditto. 47673 (Fcall_interactively): Ditto.
42787 47674
42788 1997-12-11 Hrvoje Niksic <hniksic@srce.hr> 47675 1997-12-11 Hrvoje Niksic <hniksic@srce.hr>
42799 47686
42800 * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer. 47687 * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer.
42801 (pixmap_to_lisp_data): Ditto for Fbuffer_substring. 47688 (pixmap_to_lisp_data): Ditto for Fbuffer_substring.
42802 47689
42803 * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer() 47690 * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer()
42804 when calling functions that use decode_buffer() internally -- it 47691 when calling functions that use decode_buffer() internally -- it
42805 is faster. 47692 is faster.
42806 47693
42807 Change done for Fgoto_char, Fchar_after, Ffollowing_char, 47694 Change done for Fgoto_char, Fchar_after, Ffollowing_char,
42808 Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp, 47695 Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp,
42809 Fforward_char, Fforward_word, Fskip_chars_forward, 47696 Fforward_char, Fforward_word, Fskip_chars_forward,
42810 Fskip_chars_backward, Fforward_line, Fbuffer_substring, 47697 Fskip_chars_backward, Fforward_line, Fbuffer_substring,
42811 Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase 47698 Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase
42812 and Fdowncase. 47699 and Fdowncase.
42813 47700
42814 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru> 47701 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru>
42815 47702
42816 * The first collegial patch in the xemacs-nt history. Well... 47703 * The first collegial patch in the xemacs-nt history. Well...
42817 * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c: 47704 * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
42939 * events.c: corret minor think-o. 47826 * events.c: corret minor think-o.
42940 47827
42941 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk> 47828 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk>
42942 47829
42943 * event-msw.c, faces.c, msw-proc.c: 47830 * event-msw.c, faces.c, msw-proc.c:
42944 Frame resizing happens in multiples of the default character size. 47831 Frame resizing happens in multiples of the default character size.
42945 * frame-msw.c: 47832 * frame-msw.c:
42946 mswindows_set_frame_size() and 47833 mswindows_set_frame_size() and
42947 mswindows_set_frame_properties() now call AdjustWindowRect to 47834 mswindows_set_frame_properties() now call AdjustWindowRect to
42948 set the correct window size. 47835 set the correct window size.
42949 47836
42974 47861
42975 * menubar-x.c: define restore_in_menu_callback() when motif 47862 * menubar-x.c: define restore_in_menu_callback() when motif
42976 menubars are used. 47863 menubars are used.
42977 47864
42978 * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to 47865 * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to
42979 #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF 47866 #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF
42980 around code for incremental menu build. 47867 around code for incremental menu build.
42981 47868
42982 * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in 47869 * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in
42983 the #ifdef wrappers around menubar accelerator stuff. 47870 the #ifdef wrappers around menubar accelerator stuff.
42984 47871
43001 * fns.c (Fmapvector): GCPRO the vector. 47888 * fns.c (Fmapvector): GCPRO the vector.
43002 47889
43003 1997-12-01 Hrvoje Niksic <hniksic@srce.hr> 47890 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
43004 47891
43005 * cmdloop.c (default_error_handler): Respect 47892 * cmdloop.c (default_error_handler): Respect
43006 errors-deactivate-region; use display-error. 47893 errors-deactivate-region; use display-error.
43007 47894
43008 * editfns.c (vars_of_editfns): New variable user-full-name. 47895 * editfns.c (vars_of_editfns): New variable user-full-name.
43009 (init_editfns): Initialize it. 47896 (init_editfns): Initialize it.
43010 (Fuser_full_name): Use it. 47897 (Fuser_full_name): Use it.
43011 (vars_of_editfns): Docfixes. 47898 (vars_of_editfns): Docfixes.
43012 47899
43013 * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of 47900 * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of
43014 FORMAT_BINARY. 47901 FORMAT_BINARY.
43015 (make_directory_hash_table): Ditto. 47902 (make_directory_hash_table): Ditto.
43016 (file_name_completion): Bind `completion-ignore-case' to t under 47903 (file_name_completion): Bind `completion-ignore-case' to t under
43017 MS Windows. 47904 MS Windows.
43018 (file_name_completion): Signal an error if a member of 47905 (file_name_completion): Signal an error if a member of
43019 `completion-ignored-extensions' is not a string. 47906 `completion-ignored-extensions' is not a string.
43020 47907
43021 1997-11-30 Hrvoje Niksic <hniksic@srce.hr> 47908 1997-11-30 Hrvoje Niksic <hniksic@srce.hr>
43022 47909
43023 * doc.c (Fsubstitute_command_keys): Don't use 47910 * doc.c (Fsubstitute_command_keys): Don't use
43024 Vprin1_to_string_buffer. 47911 Vprin1_to_string_buffer.
43025 47912
43026 * keymap.c (describe_map_tree): Accept a BUFFER argument. 47913 * keymap.c (describe_map_tree): Accept a BUFFER argument.
43027 (describe_map): Ditto. 47914 (describe_map): Ditto.
43028 (describe_command): Ditto. 47915 (describe_command): Ditto.
43029 47916
43032 * insdel.c (signal_before_change): Don't treat 47919 * insdel.c (signal_before_change): Don't treat
43033 Vprin1_to_string_buffer specially. 47920 Vprin1_to_string_buffer specially.
43034 (signal_after_change): Ditto. 47921 (signal_after_change): Ditto.
43035 47922
43036 * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer 47923 * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer
43037 specially. 47924 specially.
43038 (complex_vars_of_buffer): Ditto. 47925 (complex_vars_of_buffer): Ditto.
43039 47926
43040 * print.c (Ferror_message_string): Use Vprin1_to_string_stream. 47927 * print.c (Ferror_message_string): Use Vprin1_to_string_stream.
43041 47928
43042 * events.c (Fmake_event): Changed error message. 47929 * events.c (Fmake_event): Changed error message.
43066 * dired.c (file_name_completion): Set up a proper unwind form. 47953 * dired.c (file_name_completion): Set up a proper unwind form.
43067 (file_name_completion_unwind): New function. 47954 (file_name_completion_unwind): New function.
43068 (file_name_completion): Allow errors. 47955 (file_name_completion): Allow errors.
43069 47956
43070 * line-number.c (invalidate_line_number_cache): Would lose in 47957 * line-number.c (invalidate_line_number_cache): Would lose in
43071 precence of Finsert_before_markers. 47958 precence of Finsert_before_markers.
43072 (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty. 47959 (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty.
43073 (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand. 47960 (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand.
43074 (buffer_line_number): Would ignore LINE_NUMBER_FAR. 47961 (buffer_line_number): Would ignore LINE_NUMBER_FAR.
43075 47962
43076 1997-12-01 Hrvoje Niksic <hniksic@srce.hr> 47963 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
43246 * callproc.c (Fcall_process_internal): Close fd_error. 48133 * callproc.c (Fcall_process_internal): Close fd_error.
43247 48134
43248 1997-11-19 Didier Verna <didier@xemacs.org> 48135 1997-11-19 Didier Verna <didier@xemacs.org>
43249 48136
43250 * emacs.c (main_1): Added the missing argmatch call to check 48137 * emacs.c (main_1): Added the missing argmatch call to check
43251 for the '-h' option. 48138 for the '-h' option.
43252 48139
43253 1997-11-18 SL Baur <steve@altair.xemacs.org> 48140 1997-11-18 SL Baur <steve@altair.xemacs.org>
43254 48141
43255 * mule-coding.h: Replace freshly broken ENCODE_SJIS and 48142 * mule-coding.h: Replace freshly broken ENCODE_SJIS and
43256 DECODE_SJIS macros with working versions from beta4. 48143 DECODE_SJIS macros with working versions from beta4.
43432 * mule-charset.h: Added preliminary support for charset Ids. 48319 * mule-charset.h: Added preliminary support for charset Ids.
43433 48320
43434 * mule-charset.c: Added preliminary support for charset Ids. 48321 * mule-charset.c: Added preliminary support for charset Ids.
43435 48322
43436 * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2 48323 * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2
43437 ccl API. 48324 ccl API.
43438 48325
43439 * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl 48326 * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl
43440 API. 48327 API.
43441 48328
43442 * mule-coding.c: Synched with FSF 20.2 ccl API. 48329 * mule-coding.c: Synched with FSF 20.2 ccl API.
43443 48330
43444 * mule-coding.h: Moved ccl part to mule-ccl.h. 48331 * mule-coding.h: Moved ccl part to mule-ccl.h.
43445 48332
43574 * line-number.c: Use markers. 48461 * line-number.c: Use markers.
43575 48462
43576 * redisplay.c (window_line_number): Restored. 48463 * redisplay.c (window_line_number): Restored.
43577 48464
43578 * line-number.c (allocate_line_number_cache): Account for 48465 * line-number.c (allocate_line_number_cache): Account for
43579 narrowing. 48466 narrowing.
43580 (buffer_line_number): New function. 48467 (buffer_line_number): New function.
43581 48468
43582 * line-number.c (get_nearest_line_number): New function. 48469 * line-number.c (get_nearest_line_number): New function.
43583 (window_line_number): Use it. 48470 (window_line_number): Use it.
43584 (narrow_line_number_cache): New function. 48471 (narrow_line_number_cache): New function.
43590 * editfns.c (widen_buffer): Update line number cache. 48477 * editfns.c (widen_buffer): Update line number cache.
43591 (Fnarrow_to_region): Ditto. 48478 (Fnarrow_to_region): Ditto.
43592 (save_restriction_restore): Ditto. 48479 (save_restriction_restore): Ditto.
43593 48480
43594 * insdel.c (buffer_insert_string_1): Invalidate cache for 48481 * insdel.c (buffer_insert_string_1): Invalidate cache for
43595 insertion. 48482 insertion.
43596 (buffer_delete_range): Invalidate cache for deletion. 48483 (buffer_delete_range): Invalidate cache for deletion.
43597 48484
43598 * line-number.c: New file. 48485 * line-number.c: New file.
43599 (window_line_number): Moved from redisplay.c. 48486 (window_line_number): Moved from redisplay.c.
43600 48487
43696 1997-11-06 Hrvoje Niksic <hniksic@srce.hr> 48583 1997-11-06 Hrvoje Niksic <hniksic@srce.hr>
43697 48584
43698 * events.c (Fevent_modeline_position): Return nil if event is not 48585 * events.c (Fevent_modeline_position): Return nil if event is not
43699 over modeline, as the docstring says. 48586 over modeline, as the docstring says.
43700 48587
43701 1997-11-05 Martin Buchholz <Martin Buchholz <martin@xemacs.org>> 48588 1997-11-05 Martin Buchholz <martin@xemacs.org>
43702 48589
43703 * s/aix3-1.h: Remove ^L character wich confuses AIX make. 48590 * s/aix3-1.h: Remove ^L character wich confuses AIX make.
43704 48591
43705 1997-11-06 Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu> 48592 1997-11-06 Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu>
43706 48593
43809 file name. 48696 file name.
43810 48697
43811 * dired.c (make_directory_hash_table): Ditto. 48698 * dired.c (make_directory_hash_table): Ditto.
43812 48699
43813 * fileio.c (Ffile_truename): Use `make_ext_string' instead of 48700 * fileio.c (Ffile_truename): Use `make_ext_string' instead of
43814 `make_string'. 48701 `make_string'.
43815 48702
43816 1997-11-01 Hrvoje Niksic <hniksic@srce.hr> 48703 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
43817 48704
43818 * database.c (CONCHECK_DATABASE): Define. 48705 * database.c (CONCHECK_DATABASE): Define.
43819 48706
43820 * dired.c (Fdirectory_files): Use `make_ext_string' instead of 48707 * dired.c (Fdirectory_files): Use `make_ext_string' instead of
43821 `make_string', to avoid crashes under Mule. 48708 `make_string', to avoid crashes under Mule.
43822 (file_name_completion): Use `make_ext_string'. 48709 (file_name_completion): Use `make_ext_string'.
43823 48710
43824 * database.c (new_database): Renamed to `allocate_database', as 48711 * database.c (new_database): Renamed to `allocate_database', as
43825 per coding conventions. 48712 per coding conventions.
43826 48713
43843 From Robert Bihlmeyer <robbe@orcus.priv.at> 48730 From Robert Bihlmeyer <robbe@orcus.priv.at>
43844 48731
43845 1997-11-01 Hrvoje Niksic <hniksic@srce.hr> 48732 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
43846 48733
43847 * fileio.c (Finsert_file_contents_internal): Fix misleading 48734 * fileio.c (Finsert_file_contents_internal): Fix misleading
43848 comment. 48735 comment.
43849 48736
43850 1997-10-31 Kyle Jones <kyle_jones@wonderworks.com> 48737 1997-10-31 Kyle Jones <kyle_jones@wonderworks.com>
43851 48738
43852 * callproc.c: GC protect current_dir while infile and 48739 * callproc.c: GC protect current_dir while infile and
43853 error_file are being initialized. 48740 error_file are being initialized.
44170 * lread.c (vars_of_lread): Use defsymbol for featurep. 49057 * lread.c (vars_of_lread): Use defsymbol for featurep.
44171 49058
44172 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> 49059 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
44173 49060
44174 * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections 49061 * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections
44175 are supported since unexelfsgi.c upgrade. 49062 are supported since unexelfsgi.c upgrade.
44176 49063
44177 1997-10-16 Kyle Jones <kyle_jones@wonderworks.com> 49064 1997-10-16 Kyle Jones <kyle_jones@wonderworks.com>
44178 49065
44179 * lstream.c (Lstream_close): Don't return early if the 49066 * lstream.c (Lstream_close): Don't return early if the
44180 closer method reports failure. Doing so caused GC and 49067 closer method reports failure. Doing so caused GC and
44211 Emacs 20.2. 49098 Emacs 20.2.
44212 49099
44213 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr> 49100 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
44214 49101
44215 * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding 49102 * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding
44216 DEFUN_n macros. 49103 DEFUN_n macros.
44217 49104
44218 1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> 49105 1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
44219 49106
44220 * console-tty.c: Include gpmevent.h 49107 * console-tty.c: Include gpmevent.h
44221 * gpmevent.c (connect_to_gpm): change to void 49108 * gpmevent.c (connect_to_gpm): change to void
44383 * window.c (Frecenter): Correct variable names in docstring. 49270 * window.c (Frecenter): Correct variable names in docstring.
44384 49271
44385 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com> 49272 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com>
44386 49273
44387 * fns.c: Add some cross references between destructive and 49274 * fns.c: Add some cross references between destructive and
44388 non-destructive versions of similar functions. 49275 non-destructive versions of similar functions.
44389 49276
44390 Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com> 49277 Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com>
44391 49278
44392 * lisp-disunion.h: Move markbit to be between the 49279 * lisp-disunion.h: Move markbit to be between the
44393 type bits and the value bits. Previously it was always 49280 type bits and the value bits. Previously it was always
44474 49361
44475 * console-stream.c (stream_init_console): Use internal_equal. 49362 * console-stream.c (stream_init_console): Use internal_equal.
44476 (stream_canonicalize_console_connection): Ditto. 49363 (stream_canonicalize_console_connection): Ditto.
44477 49364
44478 * fns.c (Fmember): Use internal_equal, to avoid a necessary 49365 * fns.c (Fmember): Use internal_equal, to avoid a necessary
44479 funcall and NILP check. 49366 funcall and NILP check.
44480 (Fold_member): Ditto for internal_old_equal. 49367 (Fold_member): Ditto for internal_old_equal.
44481 (Fassoc): Use XCAR when we know we deal with a cons. Use 49368 (Fassoc): Use XCAR when we know we deal with a cons. Use
44482 internal_equal. Removed tem. 49369 internal_equal. Removed tem.
44483 (Fold_assoc): Ditto. 49370 (Fold_assoc): Ditto.
44484 (Fassq): Use XCAR. 49371 (Fassq): Use XCAR.
44485 (Frassoc): Use internal_equal; remove tem. 49372 (Frassoc): Use internal_equal; remove tem.
44486 (Fold_rassoc): Ditto for internal_old_equal. 49373 (Fold_rassoc): Ditto for internal_old_equal.
44487 (Frassq): Use XCDR with what we know is a cons. 49374 (Frassq): Use XCDR with what we know is a cons.
44638 middle of path specially. 49525 middle of path specially.
44639 49526
44640 1997-09-10 Hrvoje Niksic <hniksic@srce.hr> 49527 1997-09-10 Hrvoje Niksic <hniksic@srce.hr>
44641 49528
44642 * event-stream.c (inhibit_input_event_recording): New boolean 49529 * event-stream.c (inhibit_input_event_recording): New boolean
44643 variable. 49530 variable.
44644 (Fnext_event): Use it. 49531 (Fnext_event): Use it.
44645 49532
44646 1997-09-13 Hrvoje Niksic <hniksic@srce.hr> 49533 1997-09-13 Hrvoje Niksic <hniksic@srce.hr>
44647 49534
44648 * fns.c (Fmapc): Renamed from Fmapc_internal. 49535 * fns.c (Fmapc): Renamed from Fmapc_internal.
44733 * Makefile.in.in: Added support for linking with dmalloc. 49620 * Makefile.in.in: Added support for linking with dmalloc.
44734 49621
44735 1997-07-25 P E Jareth Hein <jareth@camelot-soft.com> 49622 1997-07-25 P E Jareth Hein <jareth@camelot-soft.com>
44736 49623
44737 * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug 49624 * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug
44738 where a possibly MULEified string was getting freed before use. 49625 where a possibly MULEified string was getting freed before use.
44739 49626
44740 1997-07-21 SL Baur <steve@altair.xemacs.org> 49627 1997-07-21 SL Baur <steve@altair.xemacs.org>
44741 49628
44742 * callproc.c: New variable Vdata_directory_list. 49629 * callproc.c: New variable Vdata_directory_list.
44743 * emacsfns.h: Declare it. 49630 * emacsfns.h: Declare it.
44769 string. 49656 string.
44770 49657
44771 1997-07-10 Hrvoje Niksic <hniksic@srce.hr> 49658 1997-07-10 Hrvoje Niksic <hniksic@srce.hr>
44772 49659
44773 * fileio.c (Finsert_file_contents_internal): Handle non-regular 49660 * fileio.c (Finsert_file_contents_internal): Handle non-regular
44774 files. 49661 files.
44775 49662
44776 1997-07-12 Steven L Baur <steve@altair.xemacs.org> 49663 1997-07-12 Steven L Baur <steve@altair.xemacs.org>
44777 49664
44778 * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when 49665 * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when
44779 CLASH_DETECTION is defined. 49666 CLASH_DETECTION is defined.
44955 49842
44956 * events.c: Remove declaration of Qempty. 49843 * events.c: Remove declaration of Qempty.
44957 49844
44958 1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> 49845 1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
44959 49846
44960 * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c: 49847 * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c:
44961 Make 64 bit clean. 49848 Make 64 bit clean.
44962 49849
44963 1997-06-19 Martin Buchholz <mrb@eng.sun.com> 49850 1997-06-19 Martin Buchholz <mrb@eng.sun.com>
44964 49851
44965 * config.h.in: 49852 * config.h.in:
45258 * Makefile.in.in: Delete mocklisp stuffs. 50145 * Makefile.in.in: Delete mocklisp stuffs.
45259 50146
45260 Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com> 50147 Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com>
45261 50148
45262 * frame.c (change_frame_size_1): 50149 * frame.c (change_frame_size_1):
45263 Drop code that returns immediately if the old frame 50150 Drop code that returns immediately if the old frame
45264 size is equal to the new. 50151 size is equal to the new.
45265 Leave the minibuffer height the same if the frame has 50152 Leave the minibuffer height the same if the frame has
45266 been initialized, and the minibuffer height is tall 50153 been initialized, and the minibuffer height is tall
45267 enough to display at least one line of text in the default 50154 enough to display at least one line of text in the default
45268 font, and the old minibuffer height is a multiple of the 50155 font, and the old minibuffer height is a multiple of the
45269 default font height. This should cause the minibuffer 50156 default font height. This should cause the minibuffer
45290 without ttys. 50177 without ttys.
45291 50178
45292 1997-05-21 Steven L Baur <steve@altair.xemacs.org> 50179 1997-05-21 Steven L Baur <steve@altair.xemacs.org>
45293 50180
45294 * editfns.c (format-time-string): Update DOCstring. Make time 50181 * editfns.c (format-time-string): Update DOCstring. Make time
45295 parameter optional. 50182 parameter optional.
45296 50183
45297 Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com> 50184 Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com>
45298 50185
45299 * insdel.c (signal_first_change): 50186 * insdel.c (signal_first_change):
45300 record the current buffer for the unwind instead of the 50187 record the current buffer for the unwind instead of the
45301 buffer that's about to become the current buffer. 50188 buffer that's about to become the current buffer.
45302 50189
45303 Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org> 50190 Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org>
45304 50191
45305 * frame.c: Correct spelling typo in docstring. 50192 * frame.c: Correct spelling typo in docstring.
45306 50193
45413 50300
45414 Tue Apr 22 01:32:00 1997 Kyle Jones <kyle@crystal.WonderWorks.COM> 50301 Tue Apr 22 01:32:00 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
45415 50302
45416 * menubar-x.c (pre_activate_hook): 50303 * menubar-x.c (pre_activate_hook):
45417 set in_menu_callback around call to call to 50304 set in_menu_callback around call to call to
45418 menu_item_descriptor_to_widget_value. 50305 menu_item_descriptor_to_widget_value.
45419 50306
45420 * event-stream.c (Fnext_event): 50307 * event-stream.c (Fnext_event):
45421 signal error if in_menu_callback non-nil to avoid 50308 signal error if in_menu_callback non-nil to avoid
45422 reentering the menubar code and causing a crash later. 50309 reentering the menubar code and causing a crash later.
45423 50310
45480 (linux_play_data_or_file): Ditto. 50367 (linux_play_data_or_file): Ditto.
45481 50368
45482 Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM> 50369 Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM>
45483 50370
45484 * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all 50371 * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all
45485 image *_instantiate functions so that the domsin is available to 50372 image *_instantiate functions so that the domsin is available to
45486 specifier lookups in the various instantiator functions. Passed 50373 specifier lookups in the various instantiator functions. Passed
45487 domain argument to extract_xpm_color_names for the 50374 domain argument to extract_xpm_color_names for the
45488 Fspecifier_instance call. 50375 Fspecifier_instance call.
45489 50376
45490 Fri Apr 11 20:02:40 1997 Steven L Baur <steve@altair.xemacs.org> 50377 Fri Apr 11 20:02:40 1997 Steven L Baur <steve@altair.xemacs.org>
45491 50378
45527 empty_event or a dead_event. 50414 empty_event or a dead_event.
45528 50415
45529 Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu> 50416 Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu>
45530 50417
45531 * xmu.c: Renamed local `initialized' variable to `hex_initialized' 50418 * xmu.c: Renamed local `initialized' variable to `hex_initialized'
45532 and don't assign to static, as some compilers crash. 50419 and don't assign to static, as some compilers crash.
45533 (initHexTable): Use it. 50420 (initHexTable): Use it.
45534 (XmuReadBitmapData): Use it. 50421 (XmuReadBitmapData): Use it.
45535 50422
45536 Sun Apr 6 18:03:47 1997 David Moore <dmoore@ucsd.edu> 50423 Sun Apr 6 18:03:47 1997 David Moore <dmoore@ucsd.edu>
45537 50424
45669 50556
45670 * eval.c (PUSH_BACKTRACE): New macro. 50557 * eval.c (PUSH_BACKTRACE): New macro.
45671 (POP_BACKTRACE): Ditto. 50558 (POP_BACKTRACE): Ditto.
45672 50559
45673 * eval.c (Fcommand_execute): Use them and fix problem with 50560 * eval.c (Fcommand_execute): Use them and fix problem with
45674 backtrace_list build ordering requirements for profiling code. 50561 backtrace_list build ordering requirements for profiling code.
45675 (Feval): Ditto. 50562 (Feval): Ditto.
45676 (funcall_recording_as): Ditto. 50563 (funcall_recording_as): Ditto.
45677 50564
45678 Fri Mar 21 20:19:09 1997 Steven L Baur <steve@altair.xemacs.org> 50565 Fri Mar 21 20:19:09 1997 Steven L Baur <steve@altair.xemacs.org>
45679 50566
45709 50596
45710 * buffer.c (Fkill_buffer): GC protect against unlock_file killing 50597 * buffer.c (Fkill_buffer): GC protect against unlock_file killing
45711 the buffer. 50598 the buffer.
45712 50599
45713 * insdel.c (prepare_to_modify_buffer): GC protect against 50600 * insdel.c (prepare_to_modify_buffer): GC protect against
45714 lock_file() killing the buffer. 50601 lock_file() killing the buffer.
45715 50602
45716 Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org> 50603 Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org>
45717 50604
45718 * mule-coding.c (vars_of_mule_coding): Add 50605 * mule-coding.c (vars_of_mule_coding): Add
45719 enable-multibyte-characters for MULE compatibility. 50606 enable-multibyte-characters for MULE compatibility.
45751 completion of XEmacs dump. 50638 completion of XEmacs dump.
45752 50639
45753 Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu> 50640 Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu>
45754 50641
45755 * fileio.c (Fdo_auto_save): Protect against file handlers which 50642 * fileio.c (Fdo_auto_save): Protect against file handlers which
45756 may kill the buffer being saved or otherwise modify Vbuffer_alist. 50643 may kill the buffer being saved or otherwise modify Vbuffer_alist.
45757 50644
45758 Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org> 50645 Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org>
45759 50646
45760 * Makefile.in.in (lisp): Add auto-customize.elc. 50647 * Makefile.in.in (lisp): Add auto-customize.elc.
45761 50648
45800 versions of X11R6 XIM. 50687 versions of X11R6 XIM.
45801 50688
45802 Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org> 50689 Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org>
45803 50690
45804 * minibuf.c (regexp_ignore_completion_p): Reverse meaning of 50691 * minibuf.c (regexp_ignore_completion_p): Reverse meaning of
45805 completion-regexp-list. 50692 completion-regexp-list.
45806 50693
45807 Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org> 50694 Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org>
45808 50695
45809 * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!! 50696 * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!!
45810 message. 50697 message.