+2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte.
+ (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR.
+ (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING.
+
+ * xfns.c (xic_defaut_fontset): New constant.
+ (xic_create_fontsetname): New function.
+ Extracted from create_frame_xic. Try to generate a slightly
+ better fontset.
+ (xic_create_xfontset): Use it.
+ (create_frame_xic): Simplify.
+
+2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fileio.c (Fmake_symbolic_link): Fix last change.
+
+2005-03-11 Richard M. Stallman <rms@gnu.org>
+
+ * fileio.c (Frename_file, Fadd_name_to_file)
+ (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory,
+ expand the basename of FILE relative to it.
+
+2005-03-11 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Finsert_file_contents): Call Fcheck_coding_system
+ before calling setup_coding_system so that autoloading of a coding
+ system work.
+
+2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (hourglass_started): New function.
+
+ * dispextern.h: Declare hourglass_started.
+
+ * keyboard.c (Fexecute_extended_command): Restart hourglass
+ after call to Fcompleting_read if already started.
+
+ * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the
+ GTK main loop is entered in xterm.c, thus doing the redraw.
+
+2005-03-10 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (pos_visible_p): Fix X value in last line of buffer.
+
+2005-03-08 Kenichi Handa <handa@m17n.org>
+
+ * frame.c (x_set_font): Call set_default_ascii_font if an
+ available font is found.
+
+ * fontset.c (set_default_ascii_font): New function.
+ (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here.
+
+ * fontset.h (set_default_ascii_font): Extern it.
+
+2005-03-07 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const.
+ (clear_image_cache_count): New var.
+ (redisplay_internal): Don't clear face and image caches in the
+ middle of redisplay; do it afterwards.
+
+ * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else.
+
+ * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos
+ is valid. If not, clear phys_cursor_on_p and return.
+
+2005-03-07 Andreas Schwab <schwab@suse.de>
+
+ * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.
+
+2005-03-06 Richard M. Stallman <rms@gnu.org>
+
+ * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT.
+
+ * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO.
+ (Feval, Ffuncall): Use CHECK_CONS_LIST.
+
+ * lisp.h (CHECK_CONS_LIST): New macro (two definitions).
+
+ * blockinput.h (UNBLOCK_INPUT_TO): New macro.
+ (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any.
+
+2005-03-05 Juri Linkov <juri@jurta.org>
+
+ * emacs.c (USAGE1): Replace Info node name "command arguments"
+ with "emacs invocation".
+ (USAGE3): Fix usage of `--color=MODE' which actually doesn't
+ allow arguments `--color' and `MODE' to be separated by space.
+ Add --no-blinking-cursor, -nbc.
+ (standard_args): Add -nbc, --no-blinking-cursor.
+
+2005-03-04 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * s/vms.h: Define NO_HYPHENS_IN_FILENAMES.
+ * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES.
+ * fileio.c (Fexpand_file_name) [VMS]:
+ Use NO_HYPHENS_IN_FILENAMES, not VMS4_4.
+ * doc.c (munge_doc_file_name) [VMS]: Likewise.
+ (Fsnarf_documentation): Call munge_doc_file_name.
+
+2005-03-04 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * s/vms.h (FILE_SYSTEM_CASE): New macro.
+ * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name
+ "manually"; this is now handled generally via FILE_SYSTEM_CASE.
+
+2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if
+ defined (MAC_OSX) && defined (HAVE_CARBON)'.
+
+ * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h.
+
+ * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
+ [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent.
+ (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions.
+ (mac_clear_font_name_table): Move extern to macterm.h.
+
+ * macfns.c (install_window_handler): Move extern to macterm.h.
+ (Fx_file_dialog): Check STRINGP (default_filename) to see it is
+ valid. Don't check !NILP (dir) because it is already checked with
+ CHECK_STRING.
+ (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for
+ specifying the default location and obtaining the selected filename.
+
+ * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
+
+ * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that
+ are included via Carbon.h.
+
+ * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]:
+ Define USE_CARBON_EVENTS to 1.
+ (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare.
+ (x_free_frame_resources): Call remove_window_handler for
+ non-tooltip windows.
+ [TARGET_API_MAC_CARBON]: Don't include headers that are included
+ via Carbon.h.
+ [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
+ (mac_do_receive_dragUPP): New variables.
+ (mac_handle_service_event, init_service_handler): Put declarations
+ and definitions in #ifdef MAC_OSX.
+ (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for
+ drag-and-drop handler functions and register them.
+ (remove_window_handler): New function.
+ (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]:
+ Use fsspec_to_posix_pathname.
+ (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8.
+ (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM.
+ [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]:
+ Set default cursors.
+ (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call
+ init_service_handler or init_quit_char_handler.
+ (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess.
+
+ * macterm.h (install_window_handler, remove_window_handler)
+ (posix_pathname_to_fsspec, fsspec_to_posix_pathname)
+ (mac_clear_font_name_table): New externs.
+
+2005-03-03 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined.
+ (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally.
+ (Fexpand_file_name): Likewise.
+
+2005-03-03 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * emacs.c (Fkill_emacs): Use EXIT_SUCCESS;
+ no longer special-case VMS. Add bogus return value.
+
+2005-03-02 Kim F. Storm <storm@cua.dk>
+
+ * dispextern.h (XASSERTS): Define to 0 if not already defined.
+ (xassert) [!XASSERTS]: Define dummy version.
+
+2005-03-02 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (redisplay_window): YABX (yet another bogus xassert).
+ Reported by David Kastrup.
+
+2005-03-01 Ehud Karni <ehud@unix.mvs.co.il>
+
+ * xdisp.c (get_next_display_element): Fix control and escape
+ glyph from display vector.
+
+2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keyboard.c (Fposn_at_x_y): Check integerness of X and Y.
+
+2005-02-27 Richard M. Stallman <rms@gnu.org>
+
+ * xdisp.c (fast_find_position): Rename END to BEG.
+ (syms_of_xdisp) <menu-bar-update-hook>: Doc fix.
+
+2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to
+ gtk_window_resize and x_wm_set_size_hint.
+
+2005-02-25 Kim F. Storm <storm@cua.dk>
+
+ * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16.
+
+ * xdisp.c (init_from_display_pos): Don't read past end of
+ it->overlay_strings array.
+
+2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change)
+
+ * buffer.c (syms_of_buffer): Fix typo.
+
+2005-02-23 Lute Kamstra <lute@gnu.org>
+
+ * buffer.c (Foverlay_buffer): Doc fix.
+
+2005-02-22 Kim F. Storm <storm@cua.dk>
+
+ * minibuf.c (Ftry_completion, Fall_completions): Allow both string
+ and symbol keys in alists and hash tables.
+
+ * xdisp.c (fast_find_position): Fix search for start of overlay.
+
+2005-02-21 Kim F. Storm <storm@cua.dk>
+
+ * window.c (window_scroll_pixel_based): When scrolling backwards,
+ handle partial visible line at end of window even when we hit PT.
+
+2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.h: Declare Fcurrent_active_maps, used in doc.c.
+
+2005-02-21 Kim F. Storm <storm@cua.dk>
+
+ * xdisp.c (move_it_vertically_backward): Eliminate two xasserts.
+ I think those asserts are bogus if buffer contains invisible text
+ or images.
+
+2005-02-21 David Kastrup <dak@gnu.org>
+
+ * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error.
+
2005-02-20 Kim F. Storm <storm@cua.dk>
* xdisp.c (pos_visible_p): Be sure to move to the specified
(Fx_window_property): Likewise.
* xselect.c (Fx_disown_selection_internal): Use union of struct
- input_event and struct selection_input_event to avoid aliasing
- issues.
+ input_event and struct selection_input_event to avoid aliasing issues.
* xterm.c (handle_one_xevent): Use union of struct input_event and
struct selection_input_event to avoid aliasing issues.
clipboard operations and delayed rendering.
Drop last_clipboard_text and related code, keep track of
- ownership via clipboard_owner instead. Drop old #if0
- sections.
+ ownership via clipboard_owner instead. Drop old #if0 sections.
(DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
(clipboard_owner, modifying_clipboard, cfg_coding_system)
(cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
(current_coding_system, current_requires_encoding)
- (current_num_nls, current_clipboard_type, current_lcid): New
- static variables.
+ (current_num_nls, current_clipboard_type, current_lcid):
+ New static variables.
(convert_to_handle_as_ascii, convert_to_handle_as_coded)
(render, render_all, run_protected, lisp_error_handler)
(owner_callback, create_owner, setup_config)
- (enum_locale_callback, cp_from_locale, coding_from_cp): New
- local functions.
+ (enum_locale_callback, cp_from_locale, coding_from_cp):
+ New local functions.
(term_w32select, globals_of_w32select): New global functions.
(casify_region): Fix loop condition, args to replace_range_2, and
update opoint_byte.
- * insdel.c (replace_range_2): Fix bugs in adjusting markers and
- point.
+ * insdel.c (replace_range_2): Fix bugs in adjusting markers and point.
2005-02-01 Kim F. Storm <storm@cua.dk>
[TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise.
Reject only when there are no filename items. Set background color
before (un)highlighting the window below the dragged items.
- (XTread_socket) [!USE_CARBON_EVENTS]: Don't call do_window_update.
+ (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update.
2005-01-05 Romain Francoise <romain@orebokech.com>
(install_window_handler) [TARGET_API_MAC_CARBON]:
Register handlers for tracking/receiving drag-and-drop items.
(do_ae_open_documents): Generate unibyte strings for filenames.
-<<<<<<< ChangeLog
- (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise.
- Reject only non-filename items. Set event modifiers and return value.
-=======
(mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise.
Reject only non-filename items. Set event modifiers, and return value.
->>>>>>> 1.4187
2004-12-28 Dan Nicolaescu <dann@ics.uci.edu>
(x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window
if the position is neither user-specified nor program-specified.
(x_free_frame_resources): Free size_hints.
-<<<<<<< ChangeLog
- (x_wm_set_size_hint): Allocate size_hints if needed.
- Set size_hints.
-=======
(x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints.
->>>>>>> 1.4187
(mac_clear_font_name_table): New function.
(mac_do_list_fonts): Initialize font_name_table if needed.
(x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT
2004-12-27 Richard M. Stallman <rms@gnu.org>
-<<<<<<< ChangeLog
- * buffer.c (Fbuffer_disable_undo): Delete (moved to simple.el).
-=======
* buffer.c (Fbuffer_disable_undo): Delete (move to simple.el).
->>>>>>> 1.4187
(syms_of_buffer): Don't defsubr it.
* process.c (list_processes_1): Set undo_list instead
* regex.c (re_error_msgid): Add an entry for REG_ERANGEX.
(regex_compile): Return REG_ERANGEX if appropriate.
-2004-10-22 Kenichi Handa <handa@m17n.org>
-
- * editfns.c (Ftranslate_region_internal): New function.
- (syms_of_editfns): Defsubr it.
-
2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
These changes were in part based upon suggestions made by Peter
'Luna' Runestig [peter@runestig.com].
- * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token,
- g_b_init_get_token_information, g_b_init_lookup_account_sid,
- g_b_init_get_sid_identifier_authority ): Add several static
+ * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token)
+ (g_b_init_get_token_information, g_b_init_lookup_account_sid)
+ (g_b_init_get_sid_identifier_authority ): Add several static
global variables.
* w32.c (globals_of_w32): New function. Used to initialize those