bpt/emacs.git
24 years agoFix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn [Sat, 1 Apr 2000 12:59:53 +0000 (12:59 +0000)]
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:

* xdisp.c (compute_string_pos): Fix order of arguments to
string_pos_nchars_ahead.
(handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
count arg to variable-arg routines like Frun_hook_with_args and Fformat.
(back_to_previous_visible_line_start, build_desired_tool_bar_string):
Pass Lisp_Object, not int, to fixed-arg routines like
Fget_char_property and Fmake_string.
(reconsider_clip_changes): Use XINT when comparing integer lisp
objects, or passing them as int arguments.
(mark_window_display_accurate, insert_left_trunc_glyphs, append_space,
extend_face_to_end_of_line): Use make_number when storing or passing
integer values as lisp objects.
(set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP,
not implicit test against zero, for glyph object.
(try_window_id): Don't use make_number when we want an int value.

* xfaces.c (xlfd_symbolic_value): Make last argument a Lisp_Object, to
be consistent with callers.
(Fbitmap_spec_p): Use XINT to get numeric value of height.
(lface_hash): Apply XFASTINT to lisp values before folding in.

* xfns.c (Fx_show_tip): Use make_number to get lisp objects to fill in window
width and height.  Pass an int, not a lisp object, as first arg to Finsert.

24 years ago* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn [Sat, 1 Apr 2000 12:39:03 +0000 (12:39 +0000)]
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
with int lvalues via casts; instead, just yield lisp object
lvalues.
(enlarge_window): Variable sizep now points to Lisp_Object.  Use
proper accessor macros.
(shrink_window_lowest_first): w->top is Lisp_Object; use XINT.
(grow_mini_window): Fix typo getting int value of root->height.

24 years ago*** empty log message ***
Gerd Moellmann [Sat, 1 Apr 2000 12:25:00 +0000 (12:25 +0000)]
*** empty log message ***

24 years ago(realize_basic_faces): Block input while realizing
Gerd Moellmann [Sat, 1 Apr 2000 12:23:25 +0000 (12:23 +0000)]
(realize_basic_faces): Block input while realizing
the faces.

24 years ago(vc-backend-diff): Return the correct status if we had to
Gerd Moellmann [Sat, 1 Apr 2000 12:19:35 +0000 (12:19 +0000)]
(vc-backend-diff): Return the correct status if we had to
retry the rcsdiff command without the --brief option.

24 years ago(vcursor-move): Use display-color-p.
Dave Love [Sat, 1 Apr 2000 12:09:42 +0000 (12:09 +0000)]
(vcursor-move): Use display-color-p.

24 years agoProvide mule-utils.
Dave Love [Sat, 1 Apr 2000 12:03:57 +0000 (12:03 +0000)]
Provide mule-utils.
(string-to-sequence): Simplify and speed up.

24 years ago(make-coding-system): Purecopy doc-string.
Dave Love [Sat, 1 Apr 2000 11:58:23 +0000 (11:58 +0000)]
(make-coding-system): Purecopy doc-string.

24 years agoVarious menu changes.
Dave Love [Sat, 1 Apr 2000 11:54:49 +0000 (11:54 +0000)]
Various menu changes.
(describe-specified-language-support): Handle `Default'.
(set-language-info): Purecopy `info'.

24 years ago(lispy_mouse_names): Add additional mouse names.
Gerd Moellmann [Sat, 1 Apr 2000 11:50:58 +0000 (11:50 +0000)]
(lispy_mouse_names): Add additional mouse names.

24 years ago(NUM_MOUSE_BUTTONS): Increase to 15.
Gerd Moellmann [Sat, 1 Apr 2000 11:48:59 +0000 (11:48 +0000)]
(NUM_MOUSE_BUTTONS): Increase to 15.

24 years ago(help-manyarg-func-alist): Correct several omissions.
Dave Love [Fri, 31 Mar 2000 19:59:07 +0000 (19:59 +0000)]
(help-manyarg-func-alist): Correct several omissions.

24 years ago*** empty log message ***
Dave Love [Fri, 31 Mar 2000 19:06:44 +0000 (19:06 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Dave Love [Fri, 31 Mar 2000 17:55:15 +0000 (17:55 +0000)]
*** empty log message ***

24 years ago(Emulation): Mention TPU.
Dave Love [Fri, 31 Mar 2000 17:54:44 +0000 (17:54 +0000)]
(Emulation): Mention TPU.
(Hyperlinking): New.

24 years ago(Other Repeating Search): Mention tags-based search.
Dave Love [Fri, 31 Mar 2000 17:13:44 +0000 (17:13 +0000)]
(Other Repeating Search): Mention tags-based search.

24 years agoDon't require cl, fortran.
Dave Love [Fri, 31 Mar 2000 16:00:08 +0000 (16:00 +0000)]
Don't require cl, fortran.
(add-log-current-defun-function): Doc fix.
(change-log-version-number-regexp-list): Remove SCCS stuff.  Doc
fix.
(change-log-mode-map): Defvar directly.
(change-log-version-rcs): Function deleted.
(change-log-version-number-search): Doc fix.

24 years ago*** empty log message ***
Dave Love [Fri, 31 Mar 2000 11:55:15 +0000 (11:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 31 Mar 2000 11:54:40 +0000 (11:54 +0000)]
*** empty log message ***

24 years ago(x_produce_glyphs): When displaying unibyte text
Gerd Moellmann [Fri, 31 Mar 2000 11:52:58 +0000 (11:52 +0000)]
(x_produce_glyphs): When displaying unibyte text
or ASCII, handle case that per-char metric is NULL.

24 years ago(print-region-1): Use -d to specify printer name for
Gerd Moellmann [Fri, 31 Mar 2000 11:29:51 +0000 (11:29 +0000)]
(print-region-1): Use -d to specify printer name for
systems `usg-unix-v*, `dgux', `hpux', `irix'.

24 years ago(byte-compile-file-form-autoload): Re-enable new code.
Gerd Moellmann [Fri, 31 Mar 2000 11:28:14 +0000 (11:28 +0000)]
(byte-compile-file-form-autoload): Re-enable new code.

24 years ago(byte-compile-inline-expand): Look
Gerd Moellmann [Fri, 31 Mar 2000 11:25:10 +0000 (11:25 +0000)]
(byte-compile-inline-expand): Look
for function definition in symbol's function value slot first
instead of first consulting byte-compile-function-environment.

Fix byte-compiler warnings format.

24 years ago(outline-font-lock-keywords): Use :upper:
Dave Love [Fri, 31 Mar 2000 11:07:14 +0000 (11:07 +0000)]
(outline-font-lock-keywords): Use :upper:
and :alpha: char classes.

24 years agoZap MULE/NEmacs advice.
Dave Love [Fri, 31 Mar 2000 10:55:08 +0000 (10:55 +0000)]
Zap MULE/NEmacs advice.

24 years agoDefvar curline when compiling.
Dave Love [Fri, 31 Mar 2000 10:50:03 +0000 (10:50 +0000)]
Defvar curline when compiling.
(sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
(sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
rather than a-zA-Z0-9 to allow non-ASCII characters.

24 years ago("Polish"): New language environment.
Kenichi Handa [Fri, 31 Mar 2000 01:11:51 +0000 (01:11 +0000)]
("Polish"): New language environment.
(setup-polish-environment): New function.

24 years ago*** empty log message ***
Kenichi Handa [Fri, 31 Mar 2000 01:11:13 +0000 (01:11 +0000)]
*** empty log message ***

24 years ago("polish-slash"): New input method.
Kenichi Handa [Fri, 31 Mar 2000 01:01:34 +0000 (01:01 +0000)]
("polish-slash"): New input method.

24 years agoHyperlinks, help echo.
Dave Love [Thu, 30 Mar 2000 23:12:55 +0000 (23:12 +0000)]
Hyperlinks, help echo.

24 years agoTooltips extra. C-x 5 1.
Dave Love [Thu, 30 Mar 2000 23:10:17 +0000 (23:10 +0000)]
Tooltips extra.  C-x 5 1.

24 years agoOverlay arrow in margin. eval-expression variables.
Dave Love [Thu, 30 Mar 2000 22:59:13 +0000 (22:59 +0000)]
Overlay arrow in margin.  eval-expression variables.

24 years ago* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn [Thu, 30 Mar 2000 22:27:55 +0000 (22:27 +0000)]
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 30 Mar 2000 13:28:09 +0000 (13:28 +0000)]
*** empty log message ***

24 years agoReplace gs_languagelevel by languagelevel.
Gerd Moellmann [Thu, 30 Mar 2000 13:27:27 +0000 (13:27 +0000)]
Replace gs_languagelevel by languagelevel.
(printBackground, SetColor): New procs.
(ZebraColor): Renaming old ZebraGray var.

24 years agoReplace gs_languagelevel by languagelevel.
Gerd Moellmann [Thu, 30 Mar 2000 13:26:37 +0000 (13:26 +0000)]
Replace gs_languagelevel by languagelevel.
(DefOp): New proc.

24 years agoPostScript programming fix for ghostview, doc fix.
Gerd Moellmann [Thu, 30 Mar 2000 13:21:45 +0000 (13:21 +0000)]
PostScript programming fix for ghostview, doc fix.
(ps-print-version): New version number (5.1.3).
(ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
(ps-insert-file, ps-output-boolean, ps-plot-with-face)
(ps-generate-postscript-with-faces): Code fix.
(ps-color-values): XEmacs compatibility.
(ps-print-background-image, ps-print-background-text, ps-printer-name)
(ps-default-fg, ps-default-bg): Adjust customization.
(ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
(ps-color-scale): Renaming old ps-color-value fun.
(ps-print-headers): Replace ps-print-header group to avoid conflict
with ps-print-header variable.
(ps-print-miscellany): New group.
(ps-format-color, ps-rgb-color): New funs.
(ps-default-foreground): New var.
(ps-printer-name-option): New const.

24 years agoFix comment. Don't bother to require format.
Dave Love [Thu, 30 Mar 2000 12:44:51 +0000 (12:44 +0000)]
Fix comment.  Don't bother to require format.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 30 Mar 2000 11:46:13 +0000 (11:46 +0000)]
*** empty log message ***

24 years ago(byte-compile-inline-expand): Fix bug
Gerd Moellmann [Thu, 30 Mar 2000 11:38:38 +0000 (11:38 +0000)]
(byte-compile-inline-expand): Fix bug
trying to `load' the symbol of an autoload instead of the file
recorded in the autoload.  Fix error messages.

24 years ago(byte-compile-file-form-autoload): Disable new code.
Gerd Moellmann [Thu, 30 Mar 2000 11:37:05 +0000 (11:37 +0000)]
(byte-compile-file-form-autoload): Disable new code.

24 years ago*** empty log message ***
Peter Breton [Thu, 30 Mar 2000 11:02:27 +0000 (11:02 +0000)]
*** empty log message ***

24 years agoAdd `extensions' to Keywords.
Dave Love [Thu, 30 Mar 2000 11:00:35 +0000 (11:00 +0000)]
Add `extensions' to Keywords.

24 years agonetwork-connection-mode is derived from comint-mode
Peter Breton [Thu, 30 Mar 2000 10:20:29 +0000 (10:20 +0000)]
network-connection-mode is derived from comint-mode
Added network-connection-mode-setup function
Save host and port/service information in local variables

24 years ago* configure.in: Line up "--help" output a little better.
Ken Raeburn [Thu, 30 Mar 2000 10:06:34 +0000 (10:06 +0000)]
* configure.in: Line up "--help" output a little better.

24 years ago* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn [Thu, 30 Mar 2000 09:56:31 +0000 (09:56 +0000)]
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.

* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.

24 years agoChanges for locate.el
Peter Breton [Thu, 30 Mar 2000 09:37:06 +0000 (09:37 +0000)]
Changes for locate.el

24 years ago(xstrdup): Add prototype.
Gerd Moellmann [Thu, 30 Mar 2000 09:36:27 +0000 (09:36 +0000)]
(xstrdup): Add prototype.

24 years agoAdd locate-word-at-point function
Peter Breton [Thu, 30 Mar 2000 09:33:17 +0000 (09:33 +0000)]
Add locate-word-at-point function
In locate function, default to using locate-word-at-point as input
Run dired-mode-hook in locate function

24 years ago(realize_tty_face): Use find_symbol_value instead
Gerd Moellmann [Thu, 30 Mar 2000 09:32:14 +0000 (09:32 +0000)]
(realize_tty_face): Use find_symbol_value instead
of Fsymbol_value.
(xstrdup): Moved to alloc.c.

24 years ago(xstrdup): Moved here from xfaces.c.
Gerd Moellmann [Thu, 30 Mar 2000 09:29:22 +0000 (09:29 +0000)]
(xstrdup): Moved here from xfaces.c.
(allocating_for_lisp): Variable removed.
(lisp_malloc): Block input around the calls to malloc and
mem_insert.

24 years ago(free_image_cache): Free the cache structure itself
Gerd Moellmann [Thu, 30 Mar 2000 09:27:30 +0000 (09:27 +0000)]
(free_image_cache): Free the cache structure itself
last, after all its members have been freed.

24 years ago*** empty log message ***
Kenichi Handa [Thu, 30 Mar 2000 01:12:14 +0000 (01:12 +0000)]
*** empty log message ***

24 years agoAugment the comment of lookup_face.
Kenichi Handa [Thu, 30 Mar 2000 00:27:29 +0000 (00:27 +0000)]
Augment the comment of lookup_face.

24 years ago* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn [Wed, 29 Mar 2000 23:24:14 +0000 (23:24 +0000)]
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
* emacs.c (main): Fix sense of no-loadup test.

24 years agoStop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn [Wed, 29 Mar 2000 22:14:34 +0000 (22:14 +0000)]
Stop assuming interval pointers and lisp objects can be distinguished by
inspection.  Beginnings of support for expensive internal consistency checks.

* config.in (ENABLE_CHECKING): Undef.

* lisp.h (struct interval): Replace "parent" field with a union of interval
pointer and Lisp_Object; add new bitfield to use as discriminant.  Change other
flag fields to bitfields.
(CHECK): New macro for consistency checking.  If ENABLE_CHECKING is defined and
the supplied test fails, print a message and abort.
(eassert): New macro.  Use CHECK to provide an assert-like facility.

* intervals.h (NULL_INTERVAL_P): Now applies only to real interval pointers;
abort if the value looks like a lisp object.
(NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, SET_OBJECT,
INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): Modify for new interval
parent definition.

* alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, UNMARK_BALANCE_INTERVALS):
Update references that need an addressable lisp object in the interval
structure.
(die): New function.
(suppress_checking): New variable.

* intervals.c (interval_start_pos): Just return 0 if there's no parent object.

24 years ago*** empty log message ***
Dave Love [Wed, 29 Mar 2000 21:57:22 +0000 (21:57 +0000)]
*** empty log message ***

24 years agoDoc fixes.
Dave Love [Wed, 29 Mar 2000 21:47:07 +0000 (21:47 +0000)]
Doc fixes.
(appt-check): Convert min-to-app to a string before passing to
appt-disp-window-function or concat.
(appt-delete-window): Remove test for frame-root-window.
(appt-select-lowest-window, appt-convert-time): Simplify.

24 years ago.
Andreas Schwab [Wed, 29 Mar 2000 21:34:46 +0000 (21:34 +0000)]
.

24 years agoDoc fixes.
Dave Love [Wed, 29 Mar 2000 21:32:57 +0000 (21:32 +0000)]
Doc fixes.
(byte-compile-file-form-autoload): Update
byte-compile-function-environment.

24 years ago(scan_lisp_file): Also look for `defsubst'.
Andreas Schwab [Wed, 29 Mar 2000 21:32:12 +0000 (21:32 +0000)]
(scan_lisp_file): Also look for `defsubst'.

24 years agoAlso print defsubst doc string
Andreas Schwab [Wed, 29 Mar 2000 21:31:40 +0000 (21:31 +0000)]
Also print defsubst doc string
specially.

24 years ago(dired-insert-directory): If dired-free-space-program
Andreas Schwab [Wed, 29 Mar 2000 20:02:10 +0000 (20:02 +0000)]
(dired-insert-directory): If dired-free-space-program
failed just delete its output.

24 years ago*** empty log message ***
Richard M. Stallman [Wed, 29 Mar 2000 19:40:14 +0000 (19:40 +0000)]
*** empty log message ***

24 years agoiso-iso2sgml
Dave Love [Wed, 29 Mar 2000 18:42:29 +0000 (18:42 +0000)]
iso-iso2sgml

24 years ago(format-alist): Use iso-cvt functions for SGML/HTML.
Dave Love [Wed, 29 Mar 2000 18:37:25 +0000 (18:37 +0000)]
(format-alist): Use iso-cvt functions for SGML/HTML.

24 years agoMove provide to end. Doc fixes.
Dave Love [Wed, 29 Mar 2000 18:33:24 +0000 (18:33 +0000)]
Move provide to end.  Doc fixes.
(iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
(iso-iso2sgml, iso-sgml2iso): New functions.
(iso-cvt-define-menu): Fix some entries and use backquote for
clarity.

24 years ago.
Andreas Schwab [Wed, 29 Mar 2000 16:42:32 +0000 (16:42 +0000)]
.

24 years ago(Imenu): Fix cross ref.
Andreas Schwab [Wed, 29 Mar 2000 16:41:59 +0000 (16:41 +0000)]
(Imenu): Fix cross ref.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 29 Mar 2000 13:05:37 +0000 (13:05 +0000)]
*** empty log message ***

24 years ago(Ftop_level): Cancel busy-cursor.
Gerd Moellmann [Wed, 29 Mar 2000 12:58:52 +0000 (12:58 +0000)]
(Ftop_level): Cancel busy-cursor.

24 years ago(read1): Accept `.' (period) as symbol start like in CL
Gerd Moellmann [Wed, 29 Mar 2000 12:57:45 +0000 (12:57 +0000)]
(read1): Accept `.' (period) as symbol start like in CL
and earlier Emacs versions.

24 years ago(Freplace_match): Adjust multibyteness of the current
Kenichi Handa [Wed, 29 Mar 2000 11:31:23 +0000 (11:31 +0000)]
(Freplace_match): Adjust multibyteness of the current
buffer and NEWTEXT.  Free allocated memory before signaling an
error.

24 years ago*** empty log message ***
Kenichi Handa [Wed, 29 Mar 2000 11:29:23 +0000 (11:29 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 29 Mar 2000 11:09:14 +0000 (11:09 +0000)]
*** empty log message ***

24 years ago(call_debugger): Cancel busy-cursor.
Gerd Moellmann [Wed, 29 Mar 2000 11:04:42 +0000 (11:04 +0000)]
(call_debugger): Cancel busy-cursor.

24 years ago*** empty log message ***
Dave Love [Wed, 29 Mar 2000 10:19:14 +0000 (10:19 +0000)]
*** empty log message ***

24 years ago(analyse_first): New function obtained by ripping out most
Stefan Monnier [Wed, 29 Mar 2000 04:01:45 +0000 (04:01 +0000)]
(analyse_first): New function obtained by ripping out most
of re_compile_fastmap and generalizing it a little bit so that it
can also just return whether a given (sub)pattern can match the empty
string or not.
(regex_compile): Use `analyse_first' to decide whether the loop-check
needs to be done or not for *, +, *? and +? (the loop check is costly
for non-greedy repetition).
(re_compile_fastmap): Delegate the actual work to `analyse_first'.

24 years ago(GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha.
Dave Love [Tue, 28 Mar 2000 16:17:31 +0000 (16:17 +0000)]
(GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 28 Mar 2000 11:29:31 +0000 (11:29 +0000)]
*** empty log message ***

24 years ago(lm-last-modified-date): Add parameter
Gerd Moellmann [Tue, 28 Mar 2000 11:24:00 +0000 (11:24 +0000)]
(lm-last-modified-date): Add parameter
ISO-DATE.  If non-nil, return date in ISO 8601 format.

24 years agoInclude stdio.h. Test STDC_HEADERS, not __STDC__.
Dave Love [Tue, 28 Mar 2000 11:10:55 +0000 (11:10 +0000)]
Include stdio.h.  Test STDC_HEADERS, not __STDC__.

24 years ago(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
Stefan Monnier [Mon, 27 Mar 2000 22:26:54 +0000 (22:26 +0000)]
(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
(enum re_opcode_t): Update description of succeed_n.
(PATFETCH): Always define.
(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
operators, char classes, shy-groups and intervals).
Optimize special cases of intervals so as to only use succeed_n and
jump_n when really needed.
(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
that we don't have to handle the special cases any more.
Simplify on_failure_jump handling as well.

24 years ago*** empty log message ***
Jason Rumney [Mon, 27 Mar 2000 20:36:15 +0000 (20:36 +0000)]
*** empty log message ***

24 years ago(Fload): Move safe_p definition to above #ifdef DOS_NT block.
Jason Rumney [Mon, 27 Mar 2000 20:24:10 +0000 (20:24 +0000)]
(Fload): Move safe_p definition to above #ifdef DOS_NT block.

24 years ago(w32_read_socket): Handle WM_MENUSELECT message.
Jason Rumney [Mon, 27 Mar 2000 20:19:49 +0000 (20:19 +0000)]
(w32_read_socket): Handle WM_MENUSELECT message.
(Vw32_charset_to_codepage_alist): Removed.
(Vw32_charset_info_alist): New variable.
(Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312,
chinesebig5, oem, easteurope, turkish, baltic, russian, arabic,
greek, hebrew, thai, johab, mac, unicode]): New symbols.
(x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace
with TODO comment.
(w32_codepage_for_font): Use Vw32_charset_info_alist.
(syms_of_w32term): Remove Vw32_charset_to_codepage_alist.
Define Vw32_charset_info_alist and w32_charset symbols.

24 years agoUse new macro names for handling per-buffer variables.
Gerd Moellmann [Mon, 27 Mar 2000 19:55:38 +0000 (19:55 +0000)]
Use new macro names for handling per-buffer variables.

24 years ago(mark_maybe_object): New function.
Gerd Moellmann [Mon, 27 Mar 2000 19:43:47 +0000 (19:43 +0000)]
(mark_maybe_object): New function.
(mark_memory): Use it.
(SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros.
(setjmp_tested_p, longjmp_done): New variables.
(test_setjmp): New function.
(mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp.
(init_alloc): Initialize setjmp_tested_p and longjmp_done.

24 years ago(GC_SETJMP_WORKS): Define.
Gerd Moellmann [Mon, 27 Mar 2000 19:42:03 +0000 (19:42 +0000)]
(GC_SETJMP_WORKS): Define.

24 years ago(face_before_or_after_it_pos): Pass multibyteness
Gerd Moellmann [Mon, 27 Mar 2000 16:05:50 +0000 (16:05 +0000)]
(face_before_or_after_it_pos): Pass multibyteness
to DEC_TEXT_POS and INC_TEXT_POS.

24 years ago(direct_output_for_insert): Use DEC_TEXT_POS
Gerd Moellmann [Mon, 27 Mar 2000 16:03:29 +0000 (16:03 +0000)]
(direct_output_for_insert): Use DEC_TEXT_POS
with parameter MULTIBYTE_P.

24 years ago(INC_TEXT_POS, DEC_TEXT_POS): Add parameter MULTIBYTE_P.
Gerd Moellmann [Mon, 27 Mar 2000 16:02:34 +0000 (16:02 +0000)]
(INC_TEXT_POS, DEC_TEXT_POS): Add parameter MULTIBYTE_P.

24 years ago(Fsubst_char_in_region): Don't use INC_POS in unibyte
Gerd Moellmann [Mon, 27 Mar 2000 15:48:36 +0000 (15:48 +0000)]
(Fsubst_char_in_region): Don't use INC_POS in unibyte
buffers because it looks for multibyte character sequences which
don't exist in unibyte text.

24 years ago(x_copy_color): New function.
Gerd Moellmann [Mon, 27 Mar 2000 14:50:47 +0000 (14:50 +0000)]
(x_copy_color): New function.
(x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color.

24 years ago(x_set_cursor_color): Get color reference counts right.
Gerd Moellmann [Mon, 27 Mar 2000 14:48:33 +0000 (14:48 +0000)]
(x_set_cursor_color): Get color reference counts right.

24 years ago(register_color, unregister_colors, unregister_colors)
Gerd Moellmann [Mon, 27 Mar 2000 14:47:42 +0000 (14:47 +0000)]
(register_color, unregister_colors, unregister_colors)
[DEBUG_X_COLORS]: New functions.
(x_free_colors) [DEBUG_X_COLORS]: Unregister colors.

24 years ago(x_specified_cursor_type, x_copy_color): Add prototypes.
Gerd Moellmann [Mon, 27 Mar 2000 14:46:48 +0000 (14:46 +0000)]
(x_specified_cursor_type, x_copy_color): Add prototypes.

24 years ago(buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS
Gerd Moellmann [Mon, 27 Mar 2000 12:51:06 +0000 (12:51 +0000)]
(buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS
instead of MAX_BUFFER_LOCAL_VARS.
(last_per_buffer_idx): Renamed from max_buffer_local_idx.

24 years agoUse new macro names
Gerd Moellmann [Mon, 27 Mar 2000 12:50:13 +0000 (12:50 +0000)]
Use new macro names
for handling per-buffer variables.

24 years ago(MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS.
Gerd Moellmann [Mon, 27 Mar 2000 12:49:02 +0000 (12:49 +0000)]
(MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS.
(PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET.
(PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX.
(PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P.
(SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P.
(PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX.
(PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE.
(PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE.
(PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL.
(PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE.