Commit graph

22615 commits

Author SHA1 Message Date
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
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
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
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
Vinicius Jose Latorre
40921745e5 Adjust load-path comment 2007-08-01 22:20:41 +00:00
Vinicius Jose Latorre
ec96293f2d Adjust load-path 2007-08-01 21:43:46 +00:00
Vinicius Jose Latorre
cdf5c17ae8 Adjust load-path 2007-08-01 21:43:11 +00:00
Stefan Monnier
65a9c8e243 (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. 2007-07-31 16:28:24 +00:00
Katsumi Yamaoka
c592579987 (BASE_PURESIZE): Increase to 1130000. 2007-07-30 22:40:16 +00:00
Richard M. Stallman
adef3de740 (readevalloop, read1): Treat NBSP as whitespace. 2007-07-30 20:07:45 +00:00
Dan Nicolaescu
eff23ff376 * vc-git.el: (vc-directory-exclusion-list, vc-handled-backends):
Remove.
(vc-git-revision-completion-table): Enable.

* vc-hooks.el (vc-handled-backends): Add GIT and HG.

* vc.el (vc-directory-exclusion-list): Add .git and .hg.

* vc-hg.el (vc-hg-revision-completion-table): Re-enable.

* diff-mode.el (diff-mode-menu): New entries.

* diff-mode.el (diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.

* vc.el: Add new VC operation `revision-completion-table'.
(vc-default-revision-completion-table): New function.
(vc-version-diff, vc-version-other-window): Use it to provide
completion of revision names if the backend provides it.

* vc-arch.el (vc-arch--version-completion-table)
(vc-arch-revision-completion-table): New functions to provide
completion of revision names.

* vc-cvs.el: Require CL.
(vc-cvs-revision-table, vc-cvs-revision-completion-table):
New functions to provide completion of revision names.

* eval.c (init_eval_once): Bump max_lisp_eval_depth to 400.

* vc2-xtra.texi (Customizing VC): Add GIT and HG.
2007-07-30 00:19:06 +00:00
Jan Djärv
784c147269 (__malloc_initialize): Remove pthread_once. Not needed. 2007-07-29 10:12:32 +00:00
Nick Roberts
f716503448 * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for
remote default-directory.

* buffer.c (mode-line-format): Update doc string.
2007-07-28 01:16:18 +00:00
Nick Roberts
a10421a1e1 *** empty log message *** 2007-07-28 01:07:39 +00:00
YAMAMOTO Mitsuharu
0cb1ae20ab (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
New member fringe_extended_p.
2007-07-27 08:41:17 +00:00
YAMAMOTO Mitsuharu
9143075df8 (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]:
Extend fringe background to scroll bar gap.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]:
Set bar->fringe_extended_p.
(XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
Put leftmost/rightmost scroll bars on frame edge.  Check fringe
background extension.  Don't clear extended fringe background area.
2007-07-27 08:40:47 +00:00
YAMAMOTO Mitsuharu
680e49c34c (struct scroll_bar): New member fringe_extended_p.
(w32_fill_area): Enclose multiple statements with do ... while (0).
2007-07-27 08:40:38 +00:00
YAMAMOTO Mitsuharu
06929222cd (w32_draw_fringe_bitmap): Extend fringe background to
scroll bar gap.
(x_scroll_bar_create): Set bar->fringe_extended_p.
(w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars
on frame edge.  Check fringe background extension.  Don't clear
extended fringe background area.
2007-07-27 08:40:30 +00:00
Glenn Morris
64be3a425a Switch license to GPLv3 or later. 2007-07-27 07:19:16 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Miles Bader
9ee365d565 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * src/COPYING: Switch to GPLv3.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:25:19 +00:00
Miles Bader
70360d0cab Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

2007-07-24  Jason Rumney  <jasonr@gnu.org>

   * src/w32fns.c (x_real_positions): Get real position from OS instead of
   calculating it.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:19:25 +00:00
Miles Bader
c07bb40b73 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

2007-07-23  Jason Rumney  <jasonr@gnu.org>

   * src/filelock.c (current_lock_owner): Allow for @ sign in username.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:18:50 +00:00
Glenn Morris
706b5dc02e Switch license to GPLv3 or later. 2007-07-26 04:50:05 +00:00
Stefan Monnier
52b71f49ad (Fcommandp): Pay attention to the `interactive-form' property. 2007-07-25 21:03:31 +00:00
Stefan Monnier
c4f46926ae (Finteractive_form): Check for the presence of an
`interactive-form' symbol property more thoroughly.
2007-07-25 21:03:24 +00:00
Glenn Morris
df8733c756 Standardize license text. 2007-07-25 08:02:12 +00:00
Glenn Morris
1427aa658e Remove license from trivial file. 2007-07-25 07:49:39 +00:00
Glenn Morris
cacc7b5131 Switch license to GPLv3 or later. 2007-07-25 07:11:02 +00:00
Glenn Morris
5c65bae26d Change to GPLv3. 2007-07-25 07:00:38 +00:00
Stefan Monnier
89835619dd (Finteractive_form): Use a `interactive-form' property if
present, analogous to the function-documentation property.
2007-07-25 06:24:58 +00:00
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Jason Rumney
ee04257d00 (x_real_positions): Get real position from OS instead of calculating it. 2007-07-24 23:57:17 +00:00
Miles Bader
1e89951587 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 59-69)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 237-238)

   - Update from CVS

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

   * lisp/ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
   underlying file is uptodate.

2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>

   * lisp/vc.el: Add more info about the vc-registered function.

2007-07-15  Richard M. Stallman  <rms@gnu.org>

   * lisp/kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.

   * lisp/tutorial.el (tutorial--find-changed-keys):
   Handle C-x specially like ESC.

2007-07-15  Aaron Hawley  <aaronh@garden.org>

   * lisp/tar-mode.el (tar-get-descriptor): No error for zero-length file.

2007-07-21  Reiner Steib  <Reiner.Steib@gmx.de>

   * lisp/gnus/mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc
   string.

2007-07-16  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces.

2007-07-16  Richard M. Stallman  <rms@gnu.org>

   * lispref/display.texi (Defining Faces): Fix previous change.

2007-07-20  Eli Zaretskii  <eliz@gnu.org>

   * src/w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
   Define if not defined.

2007-07-18  Jason Rumney  <jasonr@gnu.org>

   * src/w32proc.c (w32_executable_type): Handle 64 bit executables.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-823
2007-07-24 01:21:32 +00:00
Jason Rumney
5062421853 (current_lock_owner): Allow for @ sign in username. 2007-07-23 22:35:46 +00:00
Nick Roberts
ad5f4654fd (decode_mode_spec): Add case 'R' for to test for
remote default-directory.
2007-07-22 23:20:31 +00:00