1. 23 Oct, 2000 7 commits
  2. 22 Oct, 2000 16 commits
    • ShengHuo ZHU's avatar
      2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu> · 8ec118cd
      ShengHuo ZHU authored
      	* fns.c (Fbase64_decode_string): The decoded result should be
      	unibyte.
      8ec118cd
    • Andrew Choi's avatar
      Initial check-in: changes for building Emacs under Mac OS. · 1a578e9b
      Andrew Choi authored
      2000-10-23  Andrew Choi  <akochoi@i-cable.com>
      
      	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
      
      	* dispnew.c [macintosh]: Include macterm.h.
      	(init_display) [macintosh]: initialization for window system.
      
      	* emacs.c (main) [macintosh]: Call syms_of_textprop,
      	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
      	syms_of_search, x_term_init, and init_keyboard before calling
      	init_window_once.  Also, call syms_of_xmenu.
      
      	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
      	default fontset to Monaco.
      
      	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
      	NewMacWindow and DisposeMacWindow.
      	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
      	instead of calling NewMacWindow and setting fields of
      	f->output_data.mac directly.  Call init_frame_faces.
      	(Fdelete_frame) [macintosh]: Remove unused code.
      	(Fmodify_frame_parameters) [macintosh]: Call
      	x_set_frame_parameters instead of mac_set_frame_parameters.
      
      	* frame.h [macintosh]: Define menu_bar_lines field in struct
      	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.
      
      	* keyboard.c [macintosh]: Include macterm.h.
      	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
      	and menu_bar_activate_event type events as for X and NT.
      	(make_lispy_event) [macintosh]: Construct lisp events of type
      	MENU_BAR_EVENT as for X and NT.
      
      	* sysdep.c [macintosh]: Remove declaration for sys_signal.
      	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
      	(sys_subshell) [macintosh]: Remove definition entirely.
      	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
      	Vwindow_system_version here.  Remove initialization of
      	Vx_bitmap_file_path.
      	(read_input_waiting): Correct the number of parameters passed to
      	read_socket_hook.
      	Move all Macintosh functions to mac/mac.c.
      
      	* term.c [macintosh]: Include macterm.h.
      
      	* window.c [macintosh]: Include macterm.h.
      
      	* xdisp.c [macintosh]: Include macterm.h.  Declare
      	set_frame_menubar and pending_menu_activation.
      	(echo_area_display) [macintosh]: Do not return if terminal frame
      	is the selected frame.
      	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
      	Allow only the selected frame to set menu bar.
      	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
      	calling FRAME_EXTERNAL_MENU_BAR (f).
      	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).
      
      	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
      	and check_x.  Declare XCreateGC.  Define x_create_gc and
      	x_free_gc.  Initialize font_sort_order.
      	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
      	but call x_list_fonts instead of w32_list_fonts.
      	(Finternal_face_x_get_resource) [macintosh]: Do not call
      	display_x_get_resource.
      	(prepare_face_for_display) [macintosh]: Set xgcv.font.
      	(realize_x_face) [macintosh]: Load the font if it is specified in
      	ATTRS.
      	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
      	to Qt.
      
      	* cus-edit.el (custom-button-face): Use 3D look for mac.
      	(custom-button-pressed-face): Likewise.
      
      	* faces.el (set-face-attributes-from-resources): Handle mac frames
      	in the same way as x and w32 frames.
      	(face-valid-attribute-values): Likewise.
      	(read-face-attribute): Likewise.
      	(defined-colors): Likewise.
      	(color-defined-p): Likewise.
      	(color-values): Likewise.
      	(display-grayscale-p): Likewise.
      	(face-set-after-frame-default): Likewise.
      	(mode-line): Same default face as for x and w32.
      	(tool-bar): Likewise.
      
      	* frame.el: Remove call to frame-notice-user-settings at end of
      	the file.
      
      	* info.el (Info-fontify-node): make underlines invisible for mac
      	as for x, pc, and w32 frame types.
      
      	* term/mac-win.el: New file.
      1a578e9b
    • Dave Love's avatar
      refill-mode · d371949a
      Dave Love authored
      d371949a
    • Dave Love's avatar
      *** empty log message *** · aaaf7be7
      Dave Love authored
      aaaf7be7
    • André Spiegel's avatar
      # · 5392d654
      André Spiegel authored
      5392d654
    • André Spiegel's avatar
      (vc-checkout): Added `-p' suffix in call to vc-make-version-backups-p; · 10b48cc4
      André Spiegel authored
      use vc-make-version-backup to actually make the backup.
      (vc-version-other-window, vc-version-backup-file): Handle both
      automatic and manual backups.
      (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
      of all of them.
      10b48cc4
    • André Spiegel's avatar
      c86ef81c
    • André Spiegel's avatar
      (vc-version-backup-file-name): New optional args MANUAL and REGEXP. · e896a9e1
      André Spiegel authored
      (vc-delete-automatic-version-backups, vc-make-version-backup): New
      functions.
      (vc-before-save): Use the latter.
      (vc-default-make-version-backups-p): Added `-p' suffix to avoid
      confusion.
      e896a9e1
    • Eli Zaretskii's avatar
      Fix a typo in a comment. · d9aef30f
      Eli Zaretskii authored
      d9aef30f
    • Miles Bader's avatar
      (comint-highlight-input, comint-highlight-prompt): · 7ff4fda5
      Miles Bader authored
        Renamed, `-face' at end removed.
      (comint-send-input, comint-output-filter):
        Use renamed faces.
      7ff4fda5
    • Miles Bader's avatar
      Clean up comint entries a bit. · 988cded7
      Miles Bader authored
      988cded7
    • Stefan Monnier's avatar
      *** empty log message *** · 2c63c979
      Stefan Monnier authored
      2c63c979
    • Stefan Monnier's avatar
      *** empty log message *** · 1ffbabe3
      Stefan Monnier authored
      1ffbabe3
    • Stefan Monnier's avatar
      (fix_submap_inheritance): Don't do anything if parent_entry · 9d0ffdd9
      Stefan Monnier authored
      is nil: since we go to the end of submap anyway, we'd end up
      setting nil to nil.
      (access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP
      doesn't obey autoload.
      9d0ffdd9
    • Miles Bader's avatar
    • Miles Bader's avatar
  3. 21 Oct, 2000 17 commits
    • Miles Bader's avatar
      (color-values, color-defined-p): Use `member', not · 1e221c16
      Miles Bader authored
      `memq', because it works correctly for strings.
      (frame-set-background-mode): Actually, "unspecified-fg" and
      "unspecified-bg" *are* strings.  Use `member', not `memq', and
      `equal', not `eq', when a string value is possible.
      1e221c16
    • Eli Zaretskii's avatar
      b6ef4898
    • Eli Zaretskii's avatar
    • Stefan Monnier's avatar
      (sh-mode-map): Remove bindings for · 34939e2c
      Stefan Monnier authored
      sh-electric-rparen, sh-electric-less and sh-electric-hash.
      (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
      (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
      (sh-font-lock-syntactic-keywords): Use them.
      (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
      (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
      (sh-mode): Don't override font-lock-unfontify-region-function.
      Use a copy of sh-font-lock-syntactic-keywords.
      (sh-set-shell): Don't set sh-electric-rparen-needed-here.
      Don't call sh-scan-buffer since font-lock does it on the fly.
      (sh-get-indent-info): Use `face' rather than `syntax-table'
      text-property to detect here-documents.
      Replace sh-special-syntax with sh-st-punc.
      (sh-prev-line): Use `face' rather than `syntax-table'
      text-property to skip over here-documents.
      (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
      (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
      (sh-electric-less, sh-set-here-doc-region)
      (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
      (sh-scan-buffer, sh-rescan-buffer): Remove.
      34939e2c
    • Jason Rumney's avatar
      (w32_cache_char_metrics): Double check that font is · f1eed8ff
      Jason Rumney authored
      really fixed pitch before trusting tmPitchAndFamily.
      f1eed8ff
    • Jason Rumney's avatar
      *** empty log message *** · ea4233a7
      Jason Rumney authored
      ea4233a7
    • Andrew Innes's avatar
      *** empty log message *** · f3d3c491
      Andrew Innes authored
      f3d3c491
    • Andrew Innes's avatar
      78229cf1
    • Andrew Innes's avatar
      Extern decl for w32_cache_char_metrics. · eeddd5a0
      Andrew Innes authored
      eeddd5a0
    • Andrew Innes's avatar
      00422310
    • Andrew Innes's avatar
      (w32_load_system_font): Call w32_cache_char_metrics. · c6be3860
      Andrew Innes authored
      (w32_unload_font): Free per_char array if present.
      c6be3860
    • Andrew Innes's avatar
      (w32_per_char_metric): Remove HDC argument. Use · 82f9d565
      Andrew Innes authored
      cached information in emulated XFontStruct to handle common cases
      quickly.  Do not allocate XCharStruct for return.
      (w32_native_per_char_metric): New function.
      (w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
      allocating one.
      (x_produce_glyphs): Don't get an HDC.  Change calls to
      w32_per_char_metric to match arg change above.  Remove calls to
      free results.
      (w32_get_glyph_overhangs): Ditto.
      (w32_cache_char_metrics): New function.
      82f9d565
    • Andrew Innes's avatar
      Change .obj to .$(O) in all dependencies. · aa2ee344
      Andrew Innes authored
      ($(BLD)/casefiddle.$(O)): Remove compile command.
      ($(BLD)/gmalloc.$(O)): Remove compile command.
      ($(BLD)/dispnew.obj):
      ($(BLD)/keyboard.obj):
      ($(BLD)/w32inevt.obj):
      ($(BLD)/w32bdf.obj):
      ($(BLD)/alloc.obj):
      ($(BLD)/buffer.obj):
      ($(BLD)/editfns.obj):
      ($(BLD)/emacs.obj):
      ($(BLD)/fileio.obj):
      ($(BLD)/fns.obj):
      ($(BLD)/indent.obj):
      ($(BLD)/insdel.obj):
      ($(BLD)/intervals.obj):
      ($(BLD)/minibuf.obj):
      ($(BLD)/print.obj):
      ($(BLD)/scroll.obj):
      ($(BLD)/sysdep.obj):
      ($(BLD)/textprop.obj):
      ($(BLD)/widget.obj):
      ($(BLD)/xdisp.obj): Add dependency on w32gui.h.
      ($(BLD)/term.obj): Add dependency on dispextern.h.
      aa2ee344
    • Andrew Innes's avatar
      ($(BLD)\dispnew.obj): · c7d49f53
      Andrew Innes authored
      ($(BLD)\keyboard.obj):
      ($(BLD)\w32inevt.obj):
      ($(BLD)\w32bdf.obj):
      ($(BLD)\alloc.obj):
      ($(BLD)\buffer.obj):
      ($(BLD)\editfns.obj):
      ($(BLD)\emacs.obj):
      ($(BLD)\fileio.obj):
      ($(BLD)\fns.obj):
      ($(BLD)\indent.obj):
      ($(BLD)\insdel.obj):
      ($(BLD)\intervals.obj):
      ($(BLD)\minibuf.obj):
      ($(BLD)\print.obj):
      ($(BLD)\scroll.obj):
      ($(BLD)\sysdep.obj):
      ($(BLD)\textprop.obj):
      ($(BLD)\widget.obj):
      ($(BLD)\xdisp.obj): Add dependency on w32gui.h.
      ($(BLD)\term.obj): Add dependency on dispextern.h
      c7d49f53
    • Andrew Innes's avatar
      ($(TIT)): Add $(SUBDIRS) as dependents, instead · e44c759d
      Andrew Innes authored
      of conditional invocation of make.
      (TIT-GB, TIT-BIG5, NON-TIT-GB, NON-TIT-BIG5)
      (NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN)
      (TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el
      files to .elc.
      ($(TIT)): Adjusted for the above change.
      (clean mostlyclean): Likewise.
      (.el.elc): New target.
      e44c759d
    • Andrew Innes's avatar
      (make-auto-save-file-name): Don't apply conversion to · 022b8155
      Andrew Innes authored
      remote (ange-ftp) file names.
      022b8155
    • Eli Zaretskii's avatar
      (Fminibuffer_complete): Call Fpos_visible_in_window_p · 18ad4821
      Eli Zaretskii authored
      with an additional argument of Qt.
      18ad4821