1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00
Commit graph

22648 commits

Author SHA1 Message Date
Glenn Morris
fcf8ff2e2e Philippe Waroquiers <philippe.waroquiers at eurocontrol.int>
(tty_default_color_capabilities): Explicitly initialize static
variables in file scope, to avoid HPUX compiler problem.
2007-08-15 03:20:17 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Jan Djärv
e4f61b3bae (update_frame_tool_bar): Use -1 as index
to gtk_toolbar_insert.
2007-08-13 06:36:47 +00:00
Jan Djärv
81d13a51b4 (update_frame_tool_bar): Use -1 as index
to gtk_toolbar_insert.
2007-08-13 06:30:11 +00:00
Stefan Monnier
1bc99c9c78 (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. 2007-08-13 04:06:31 +00:00
Stefan Monnier
4a18135927 (reset_var_on_error): New fun.
(signal_before_change, signal_after_change):
Use it to reset (after|before)-change-functions to nil in case of error.
Bind inhibit-modification-hooks to t.
Don't bind (after|before)-change-functions to nil while they run.
2007-08-13 04:04:39 +00:00
YAMAMOTO Mitsuharu
14e1270cde (x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
2007-08-11 02:06:37 +00:00
YAMAMOTO Mitsuharu
6c28435c8c (x_draw_image_glyph_string): Adjust stipple origin when
filling pixmap with stippled background.
2007-08-11 02:04:58 +00:00
YAMAMOTO Mitsuharu
ad3b3e0253 [TARGET_API_MAC_CARBON] (mac_handle_window_event):
Don't use invisible frame as parent window for repositioning.
2007-08-10 10:13:05 +00:00
Stefan Monnier
a22dec271e (new_backquote_output): Rename from old_backquote_output.
(print): Inverse its logic (according to its name) so as to match the
behavior of new_backquote_flag in lread.c.
2007-08-10 08:01:30 +00:00
YAMAMOTO Mitsuharu
021035a85a (mac_handle_window_event) [USE_MAC_TOOLBAR]: Fix last change. 2007-08-09 09:38:59 +00:00
YAMAMOTO Mitsuharu
f942647987 (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround
for window repositioning.
2007-08-09 09:36:42 +00:00
YAMAMOTO Mitsuharu
e575132a04 (posix_memalign): New function. 2007-08-09 03:08:25 +00:00
YAMAMOTO Mitsuharu
7b7d07bbfa (frame_highlight, frame_unhighlight): Don't call
ActivateControl/DeactivateControl here.
[USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when
frame-notice-user-settings is non-nil.
[USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter
for kEventParamFMFontStyle.
[TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check
mac_pass_command_to_system and mac_pass_control_to_system here.
(XTread_socket): Call ActivateControl/DeactivateControl here.
(XTread_socket) [TARGET_API_MAC_CARBON]:
Check mac_pass_command_to_system and mac_pass_control_to_system here.
2007-08-09 03:07:26 +00:00
YAMAMOTO Mitsuharu
72359c3265 (posix_memalign): New function. 2007-08-09 03:07:07 +00:00
Glenn Morris
e0f24100c7 Replace `iff' in comments. 2007-08-08 07:49:21 +00:00
Glenn Morris
22e9fe2445 Replace `iff' in comments. 2007-08-08 07:48:26 +00:00
Chong Yidong
d725448fab Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
2007-08-07 16:32:49 +00:00
Chong Yidong
6facdb9be2 (struct image): New members. 2007-08-07 16:32:33 +00:00
Chong Yidong
3d91c31d45 * dispextern.h (struct image): New members.
* image.c: Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
2007-08-07 16:32:21 +00:00
Chong Yidong
8198352bca Minor cleanup. 2007-08-07 16:25:26 +00:00
Chong Yidong
26b9af50e6 (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:55:37 +00:00
Chong Yidong
ae4943506e * xdisp.c (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:55:29 +00:00
Chong Yidong
a19a62aecb (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:54:27 +00:00
Chong Yidong
1cc8a86183 * xdisp.c (move_it_by_lines): Remove incorrect optimization. 2007-08-07 15:54:16 +00:00
Martin Rudalics
6f2528d8d8 (Finsert_file_contents): Run format-decode and
after_insert_file_functions on entire buffer when REPLACE is
non-nil and inhibit modification_hooks and point_motion_hooks.
For consistency, run after_insert_file_functions iff something
got inserted.  Move signal_after_change and update_compositions
after code running after_insert_file_functions.  Make sure that
undo_list doesn't record intermediate steps of the decoding
process.
2007-08-07 12:23:20 +00:00
YAMAMOTO Mitsuharu
31521cb0ff (__malloc_initialize): Remove pthread_once. Not needed. 2007-08-07 09:04:55 +00:00
YAMAMOTO Mitsuharu
e490694a08 (__morecore): Fix the declaration to comply with the definition. 2007-08-07 09:02:32 +00:00
YAMAMOTO Mitsuharu
22ffeb19ae (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
[USE_PTHREAD] (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS)
(UNLOCK_ALIGNED_BLOCKS): Conditionalize with it.
(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
New functions.
2007-08-07 08:58:22 +00:00
YAMAMOTO Mitsuharu
80ef6d1c91 (main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Call malloc_enable_thread on interactive startup.
2007-08-07 08:57:06 +00:00
YAMAMOTO Mitsuharu
3ceeb306d2 (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
[USE_PTHREAD] (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS)
(UNLOCK_ALIGNED_BLOCKS): Conditionalize with it.
(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
New functions.
2007-08-07 08:56:08 +00:00
YAMAMOTO Mitsuharu
5467331d9c (main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Call malloc_enable_thread on interactive startup.
2007-08-07 08:55:34 +00:00
Chong Yidong
515403013d (redisplay_window): When restoring original buffer position, make sure
it is still valid.
2007-08-06 17:25:30 +00:00
Chong Yidong
32bfce5d41 * xdisp.c (redisplay_window): When restoring original buffer
position, make sure it is still valid.
2007-08-06 17:25:20 +00:00
Chong Yidong
bc04f6bf4f (redisplay_window): When restoring original buffer position, make sure
it is still valid.
2007-08-06 17:23:03 +00:00
Chong Yidong
675bab4470 * xdisp.c (redisplay_window): When restoring original buffer
position, make sure it is still valid.
2007-08-06 17:22:44 +00:00
Chong Yidong
465d8f275a (png_load): Ignore png-supplied background color. 2007-08-06 16:02:12 +00:00
Chong Yidong
ca5e6fd576 * image.c (png_load): Ignore png-supplied background color. 2007-08-06 16:02:02 +00:00
YAMAMOTO Mitsuharu
a5b115873d [!TARGET_API_MAC_CARBON] Include Scrap.h.
(Selection): New typedef.  Use instead of ScrapRef.
(mac_get_selection_from_symbol): Rename from get_scrap_from_symbol.
(mac_valid_selection_target_p): Rename from valid_scrap_target_type_p.
(mac_clear_selection): Rename from clear_scrap.
(get_flavor_type_from_symbol): New argument SEL and subsume function of
scrap_has_target_type.   All uses changed.
(mac_get_selection_ownership_info, mac_valid_selection_value_p)
(mac_selection_has_target_p): New functions.
(mac_put_selection_value): Rename from put_scrap_string.
(mac_get_selection_value): Rename from get_scrap_string.
(mac_get_selection_target_list): Rename from get_scrap_target_type_list.
(put_scrap_private_timestamp, scrap_has_target_type)
(get_scrap_private_timestamp): Remove functions.
(SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define.
(x_own_selection, x_get_local_selection):
Use mac_valid_selection_value_p.
(x_own_selection): Don't use put_scrap_private_timestamp.
Record OWNERSHIP-INFO into Vselection_alist instead.
(x_get_local_selection): Don't check type if request is local.
(Fx_selection_owner_p): Don't use get_scrap_private_timestamp.
Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead.
2007-08-06 08:26:51 +00:00
YAMAMOTO Mitsuharu
cbc179a3fd (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]:
New variable.
[TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog
event loop should be quit.
[TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]:
Quit dialog event loop if quit_dialog_event_loop is set.
2007-08-06 08:25:30 +00:00
YAMAMOTO Mitsuharu
a6c76d726a [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value.
Use kCFAbsoluteTimeIntervalSince1970.
2007-08-06 08:25:06 +00:00
Martin Rudalics
97958f7775 Add EXFUN for Fwindow_full_width_p. 2007-08-06 06:47:09 +00:00
Martin Rudalics
35ea56c96a (window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable.  Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
(Fwindow_full_width_p): New defun.
(syms_of_window): Defsubr it.
(Fdisplay_buffer): Use NILP.
(Fset_window_scroll_bars): Likewise.
2007-08-06 06:44:31 +00:00
Jan Djärv
991bde0d8c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s,
add comment explaining why.
2007-08-04 09:48:42 +00:00
Miles Bader
0896d93184 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 84-87)

   - Update from CVS
   - Change capitalization of VC backend names for new backends

2007-08-02  Richard M. Stallman  <rms@gnu.org>

   * lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
   to update deleted flag.

   * lisp/cus-edit.el (customize-apropos, customize-apropos-options)
   (customize-apropos-faces, customize-apropos-groups): Improve prompt.

   * lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.

   * lisp/startup.el (fancy-splash-head, startup-echo-area-message):
   Change message text.

   * lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted.
   All callers use line-move.

   * lisp/progmodes/compile.el (compilation-find-buffer): Return current
   buffer immediately if suitable.
   (compile, compilation-buffer-name, compilation-start): Doc fixes.

2007-07-31  Daiki Ueno  <ueno@unixuser.org>

   * lisp/faces.el (face-normalize-spec): New function.
   (frame-set-background-mode): Normalize face-spec before calling
   face-spec-match-p.

2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>

   * lisp/server.el (server-window): Add switch-to-buffer-other-frame option.

2007-08-03  Richard M. Stallman  <rms@gnu.org>

   * src/fileio.c (Fvisited_file_modtime): Use make_time.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
2007-08-03 05:49:59 +00:00
Richard M. Stallman
73ff9d42c4 (Fvisited_file_modtime): Use make_time. 2007-08-03 03:39:09 +00:00
Richard M. Stallman
1ad08acd2b Comment change. 2007-08-03 03:38:24 +00:00
Vinicius Jose Latorre
d73a9dd702 Adjust load-path comment 2007-08-02 00:05:13 +00:00
Vinicius Jose Latorre
54ed9a2d86 Adjust load-path comment 2007-08-02 00:04:44 +00:00
Vinicius Jose Latorre
b01fc8d8c4 Adjust load-path comment 2007-08-01 22:21:02 +00:00