1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

23640 commits

Author SHA1 Message Date
Andreas Schwab
ff6e6ac839 (Fformat): Handle %c specially since it requires the
argument to be of type int.
2007-11-23 13:27:46 +00:00
Stefan Monnier
f7cf8b2009 (main): Call init_editfns before init_process, since
init_process sets Vprocess_connection_type depending on OS release
2007-11-23 04:17:56 +00:00
Stefan Monnier
8787dd7335 (do_symval_forwarding): Use same code as in find_symbol_value.
(find_symbol_value): Use do_symval_forwarding.
2007-11-22 20:29:48 +00:00
Stefan Monnier
569c11e306 (set_internal): Set the value in the `cons-cell' (for
Buffer_Local_values) not only for frame-local variables.
2007-11-22 19:48:57 +00:00
Andreas Schwab
6af1696d06 (print_object): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:16:09 +00:00
Andreas Schwab
959e1b49b1 (Fsingle_key_description): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:44 +00:00
Andreas Schwab
dfa3bb7a61 (Fnumber_to_string): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:24 +00:00
Jan Djärv
d4ad8c0488 (update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
2007-11-22 08:35:57 +00:00
Dan Nicolaescu
7c401d155d * term.c: Include stdarg.h.
(fatal): Implement using varargs.
* lisp.h (fatal): Add argument types. (Restore 2005-09-30 change).
2007-11-22 01:01:26 +00:00
Stefan Monnier
64e16c3c22 * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.
* data.c (store_symval_forwarding): Get type from buffer_objfwd.
Update call to buffer_slot_type_mismatch.
* buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
(buffer_slot_type_mismatch): Update.
* buffer.c (buffer_local_types): Remove.
(buffer_slot_type_mismatch): Get the symbol and type as arguments.
(defvar_per_buffer): Set the type in the buffer_objfwd.
2007-11-21 20:59:47 +00:00
Miles Bader
d4aa48db8e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Jason Rumney
6152361fcb (init_display) [WINDOWSNT]: Hardcode terminal_type. 2007-11-21 03:46:31 +00:00
Jason Rumney
bdae054022 (w32con_write_glyphs): Remove unused variables. 2007-11-21 03:46:15 +00:00
Dan Nicolaescu
b951420f70 (mac_term_init): Call add_keyboard_wait_descriptor. 2007-11-20 18:14:19 +00:00
Dan Nicolaescu
202c09a889 * term/mac-win.el (x-setup-function-keys): Only setup
local-function-key-map if it has not been setup already for the
current frame. Move the suspend-emacs processing here.

* s/darwin.h (MULTI_KBOARD): Remove.

* macfns.c (x_create_tip_frame, Fx_create_frame)
(x_create_tip_frame): Don't deal with MULTI_KBOARD.
2007-11-20 17:58:52 +00:00
Jason Rumney
5f42a7eba2 (w32_init_bdf_font, w32_BDF_to_x_font): CreateFileMapping
returns NULL on failure.
2007-11-19 09:14:38 +00:00
Stefan Monnier
e7c10f83b3 (Fbuffer_local_value): Remove redundant test.
(swap_out_buffer_local_variables): Swap out binding in `buffer' rather
than in `current-buffer' to match the comment.
Do the swap using swap_in_global_binding.
2007-11-19 07:44:30 +00:00
Stefan Monnier
136eb6ed3f * data.c (store_symval_forwarding, set_internal):
* eval.c (specbind): Remove dead code.
2007-11-19 07:42:25 +00:00
Stefan Monnier
bae72c12b5 * coding.c (detect_coding, Fupdate_coding_systems_internal):
* fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE
Since we do not want to see internal Lisp_*fwd objects here.
2007-11-19 07:40:51 +00:00
Jan Djärv
3d66b98576 (init_system_name): Use getaddrinfo if available. 2007-11-18 17:34:03 +00:00
Jan Djärv
95fbaefc5f (x_scroll_bar_set_handle, x_scroll_bar_handle_click)
(x_scroll_bar_note_movement): start, end, with, height in struct
scroll_bar are integers and not Lisp_Object, so remove XINT for them.
2007-11-18 13:54:46 +00:00
Dan Nicolaescu
6c1d8cb62c (BASE_PURESIZE): Increase to 1190000. 2007-11-17 18:23:01 +00:00
Stefan Monnier
b51d6c92fd (Fset_match_data): Remove the `evaporate' feature.
(unwind_set_match_data): Don't use the `evaporate' feature.
2007-11-16 22:16:01 +00:00
Stefan Monnier
66b04bd440 (struct buffer): Move undo_list' back to before name'.
This undoes Richard's change of 14-Oct-2002.
2007-11-16 21:58:46 +00:00
Stefan Monnier
6d3f2bb282 * alloc.c (allocate_other_vector):
* lisp.h (allocate_other_vector): Remove.
2007-11-16 21:24:59 +00:00
Stefan Monnier
b05b4e2787 (struct save_window_data): Move non-lisp data to the end
and make it `int' rather than Lisp_Object.
(Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR.
Done wrap/unwrap integer values.
(Fset_window_configuration, compare_window_configurations):
Update use of fields to their new types.
2007-11-16 21:23:07 +00:00
Stefan Monnier
056ce19597 * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data.
Turn integer fields into `int'.  Merge x_window_low and x_window_high.
(SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW)
(SET_SCROLL_BAR_X_WINDOW): Remove.
(SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET):
Access the new x_window field directly.
* xterm.c (x_scroll_bar_create): Use a pseudovector.
Don't wrap/unwrap integers into Lisp_Objects.
(XTset_vertical_scroll_bar, x_scroll_bar_handle_click)
(x_scroll_bar_report_motion):
Don't wrap/unwrap integers into Lisp_Objects.
(x_term_init): Use SDATA.
(x_window_to_scroll_bar, x_create_toolkit_scroll_bar)
(x_scroll_bar_set_handle, x_scroll_bar_remove)
(XTset_vertical_scroll_bar, x_scroll_bar_expose)
(x_scroll_bar_report_motion, x_scroll_bar_clear):
* xfns.c (x_set_background_color):
* gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb):
Access the new x_window field directly.
2007-11-16 21:04:30 +00:00
Stefan Monnier
30f95089ed * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h.
(allocate_pseudovector): Make non-static.
* lisp.h (enum pvec_type): New tag PVEC_OTHER.
(allocate_pseudovector): Declare.
(ALLOCATE_PSEUDOVECTOR): Move from alloc.c
2007-11-16 20:36:34 +00:00
Andreas Schwab
6af41c87df *** empty log message *** 2007-11-16 00:19:41 +00:00
Andreas Schwab
0df5538d11 *** empty log message *** 2007-11-16 00:19:22 +00:00
Andreas Schwab
791e6ff67d Always take precision into account. 2007-11-16 00:18:16 +00:00
Andreas Schwab
0e4df721fa Always take precision into account. 2007-11-16 00:17:40 +00:00
Andreas Schwab
023843b23b (Fformat): When formatting an integer as float take precision into account. 2007-11-16 00:10:45 +00:00
Andreas Schwab
8875d2c00e (Fformat): When formatting an integer as float take precision into account. 2007-11-16 00:10:00 +00:00
Andreas Schwab
b322c2058f Fix last change. 2007-11-15 23:53:10 +00:00
Andreas Schwab
6e1ada1b21 Fix last change. 2007-11-15 23:52:51 +00:00
Andreas Schwab
f52fcaa4f3 (Fformat): Correctly format EMACS_INT values. 2007-11-15 23:45:21 +00:00
Andreas Schwab
0f860bd793 (Fformat): Correctly format EMACS_UINT values. 2007-11-15 23:38:14 +00:00
Andreas Schwab
9b6112e8c3 (Fevent_symbol_parse_modifiers): Fix declaration. 2007-11-15 23:00:45 +00:00
Stefan Monnier
58da34c73b * subr.el (event-modifiers): Use internal-event-symbol-parse-modifiers.
* keyboard.c (Fevent_symbol_parse_modifiers): New function.
(syms_of_keyboard): Defsubr it.
2007-11-15 16:03:00 +00:00
Juanma Barranquero
bb189688f6 *** empty log message *** 2007-11-15 09:53:02 +00:00
Juanma Barranquero
43831a0c63 (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_backing_store,
Fx_display_visual_class, Fx_display_save_under): Fix typos in docstrings.
2007-11-15 09:36:34 +00:00
Juanma Barranquero
c527f5b038 (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_screens, Fx_display_mm_height,
Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class,
Fw32_select_font, Fx_display_save_under): Fix typos in docstrings.
2007-11-15 09:33:33 +00:00
Juanma Barranquero
7a9e614e08 (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_backing_store,
Fx_display_save_under): Fix typos in docstrings.
2007-11-15 09:24:41 +00:00
Stefan Monnier
262fcd41bc (swap_in_global_binding): Fix longstanding bug where
store_symval_forwarding was not called with the right second argument,
thus causing objfwd-ing from being dropped.
2007-11-15 06:00:07 +00:00
Juanma Barranquero
cca3fd48cd (Fw32_registered_hot_keys): Don't return the nil values corresponding
to deleted entries; they are an implementation detail.
(gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): Remove variables.
(Fw32_define_rgb_color, Fw32_load_color_file): Fix typos in docstrings.
(Fx_server_version): Reflow docstring.
(Fw32_shell_execute): Doc fixes.
2007-11-14 20:25:02 +00:00
Juanma Barranquero
d29a98484e (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_backing_store,
Fx_display_save_under): Fix typos in docstrings.
2007-11-14 17:35:46 +00:00
Juanma Barranquero
36458ebde7 (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_screens, Fx_display_mm_height,
Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class,
Fw32_select_font): Fix typos in docstrings.
2007-11-14 17:33:36 +00:00
Juanma Barranquero
87da51769e (Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_backing_store,
Fx_display_visual_class, Fx_display_save_under): Fix typos in docstrings.
2007-11-14 17:32:51 +00:00
Juanma Barranquero
02b39a28f9 (Fw32_define_rgb_color, Fw32_load_color_file, Fx_display_save_under):
Fix typos in docstrings.
(Fx_server_version): Reflow docstring.
(Fw32_shell_execute): Doc fixes.
2007-11-14 17:13:43 +00:00