Commit graph

20045 commits

Author SHA1 Message Date
Thien-Thi Nguyen
5a9807a8bd (Fexpt): Use floats for negative exponent. 2005-08-09 07:37:25 +00:00
Jan Djärv
9346901076 * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that
should not be there, causing menu display errors with GTK 2.6.9.
2005-08-08 15:02:39 +00:00
Jan Djärv
aa41b0bf0e * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that
should not be there, causing menu display errors in GTK 2.6.9.
2005-08-08 15:01:35 +00:00
Richard M. Stallman
8b6a95513d (Fexpt): Undo previous change. 2005-08-07 17:47:48 +00:00
Richard M. Stallman
44edd521a0 (Fframe_or_buffer_changed_p): Take an arg
so it can be used with various state vectors.
2005-08-07 17:42:38 +00:00
Richard M. Stallman
e09b9180d5 (endif): Convert -script into -scriptload.
(standard_args): Add -scriptload.  Allow -basic-display with one dash.
2005-08-07 17:38:36 +00:00
Richard M. Stallman
780a781443 (syms_of_fns): Add `emacs' to features. 2005-08-07 17:36:12 +00:00
Richard M. Stallman
3ae9c96ab9 (set_terminal_modes): If no TS_termcap_modes string,
output newlines to scroll the old screen contents off the screen.
2005-08-07 17:35:09 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Thien-Thi Nguyen
b908093d26 Update years in copyright notice; nfc. 2005-08-07 09:52:28 +00:00
Thien-Thi Nguyen
2a205424e7 Munge comment associated w/ last change to describe intent; nfc. 2005-08-07 00:57:10 +00:00
Thien-Thi Nguyen
cac87e302e (Fexpt): Use floats for negative exponent. 2005-08-06 18:27:09 +00:00
Juanma Barranquero
31b7cc74d3 (Fframe_char_width): Doc fix. 2005-08-02 08:12:35 +00:00
Juanma Barranquero
e2b64074e7 (syms_of_xdisp) <redisplay-end-trigger-functions>: Defvar it. 2005-07-30 19:04:19 +00:00
Kenichi Handa
dfc434d050 *** empty log message *** 2005-07-29 02:04:06 +00:00
Juanma Barranquero
0962822d97 (my_set_window_pos, my_show_window): Don't declare.
(my_create_window, my_create_tip_window): Make static.
2005-07-28 09:48:25 +00:00
Juanma Barranquero
14d050df82 (my_show_window, my_set_window_pos, my_set_focus, my_set_foreground_window,
my_destroy_window): Make static.
2005-07-28 09:45:10 +00:00
Paul Eggert
52dbaac8ba Regenerate. 2005-07-26 21:44:41 +00:00
Paul Eggert
9eff9fe3e8 Merge gnulib getopt implementation into Emacs.
* Makefile.in (AUTOCONF_INPUTS): New macro.
($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it,
so that these files also depend on m4/getopt.m4.
* configure.in: Configure getopt by including m4/getopt.m4,
and configuring a getopt replacement if necessary.
* make-dist: Add m4 subdirectory.  Unlink lib-src/getopt.h.
* m4/getopt.m4: New file.

* lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
(GETOPT_H): New macro, from gnulib.
(getopt.h): New rule, from gnulib.
(GETOPTOBJS): Now autoconfigured.
(GETOPTDEPS): getopt.h is now autoconfigured.
(getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
(getopt.o): Depend on ${srcdir}/gettext.h.
(movemail.o): Depend on $(GETOPT_H).
* lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib.
* lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h:
New files, from gnulib.
* lib-src/getopt.h: Removed (now is getopt_.h).

* nt/inc/gettext.h: Remove; no longer needed now that
lib-src/gettext.h exists.

* src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is
now part of lib-src.
2005-07-26 21:43:13 +00:00
Stefan Monnier
1c9916a1f9 (Fdefvar): Allow (defvar enable-multibyte-characters). 2005-07-26 16:28:44 +00:00
Jason Rumney
94c7f25790 (w32_menu_display_help): Suppress tooltip when navigating menus with
the keyboard.
2005-07-25 22:17:02 +00:00
Richard M. Stallman
bf0bf758f6 (syms_of_insdel): staticpro combine_after_change_buffer. 2005-07-23 19:15:47 +00:00
Richard M. Stallman
3414f2d82b (MAYBE_GC): Test gc_cons_threshold and gc_relative_threshold, one by one. 2005-07-23 19:14:59 +00:00
Richard M. Stallman
c8e16a028e (read_char): Test gc_cons_threshold.
(syms_of_keyboard): staticpro Qecho_area_clear_hook.
2005-07-23 19:09:50 +00:00
Richard M. Stallman
8f6bda75fb (Feval, Ffuncall): Test gc_cons_threshold and
gc_relative_threshold, one by one.
2005-07-23 19:09:09 +00:00
Richard M. Stallman
9bd32d8c95 (gc_cons_threshold, gc_relative_threshold): Declared.
(gc_cons_combined_threshold): Declaration deleted.
2005-07-23 19:08:32 +00:00
Richard M. Stallman
974aae61bb (gc_cons_threshold): Not static.
(gc_cons_combined_threshold): Var deleted.
(gc_relative_threshold): New variable.
(Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold
instead of gc_cons_combined_threshold.
2005-07-23 19:08:06 +00:00
YAMAMOTO Mitsuharu
99f963e4ea (Fx_own_selection_internal): Follow error conventions.
(Fx_get_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Doc fixes.  (syms_of_macselect)
<selection-converter-alist>: Likewise.
2005-07-23 07:50:27 +00:00
YAMAMOTO Mitsuharu
50971a123a (Fx_popup_menu, Fx_popup_menu): Doc fixes. 2005-07-23 07:48:26 +00:00
YAMAMOTO Mitsuharu
b8ab86c320 Don't include stdlib.h or string.h. Include atimer.h.
(gray_width, gray_height): Remove defines.
(gray_bits, gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits): Remove variables.
(lispy_function_keys): Remove extern.
(free_frame_menubar): Add extern.
(x_window_to_frame): Remove function.
(unwind_create_tip_frame): Add declaration.
(x_set_name_internal): New function.
(x_set_name, x_set_title): Use it.
(Fx_create_frame, Fx_display_grayscale_p, 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)
(Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes.
2005-07-23 07:48:10 +00:00
YAMAMOTO Mitsuharu
fc3216cb11 Don't include stdlib.h or string.h.
(Fdo_applescript, Fmac_file_name_to_posix)
(Fmac_file_name_to_posix): Doc fixes.
[TARGET_API_MAC_CARBON] (Fmac_get_preference)
(Fmac_code_convert_string): Likewise.
[MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode
if the executable is not contained in a bundle.
2005-07-23 07:47:51 +00:00
Juanma Barranquero
1d256714e5 (Finternal_lisp_face_p): Doc fix. 2005-07-21 16:38:17 +00:00
Juanma Barranquero
c10ce82e3c (Fset_window_margins, Fset_window_fringes):
Improve argument/docstring consistency.
2005-07-21 16:34:51 +00:00
Juanma Barranquero
a41292c235 (Fnext_char_property_change, Fprevious_char_property_change): Doc fixes. 2005-07-21 16:32:33 +00:00
Juanma Barranquero
eb7c9b64b7 (Fminibuffer_prompt_end, Feval_minibuffer): Fix typos in docstrings. 2005-07-21 16:30:50 +00:00
Juanma Barranquero
d562f8abe7 (Fcompose_region_internal, Fcompose_string_internal):
Improve argument/docstring consistency.
2005-07-21 16:28:00 +00:00
Juanma Barranquero
2a0bd758b7 (Fregister_ccl_program): Fix typos in docstring.
(Fccl_execute_on_string): Likewise; add usage info.
2005-07-21 16:25:59 +00:00
Juanma Barranquero
b8dc613f45 (syms_of_buffer) <cursor-type>: Doc fix. 2005-07-21 16:06:33 +00:00
Andreas Schwab
538f78c3a8 (restore_stack_limits): Return a value. 2005-07-21 15:03:51 +00:00
Stefan Monnier
a4ed715a3d (Fmac_code_convert_string): Add comment about Fstring_as_unibyte. 2005-07-21 05:36:04 +00:00
Juanma Barranquero
a5b5bf445f *** empty log message *** 2005-07-20 15:54:22 +00:00
Juanma Barranquero
2935784733 (Fdefvar): Doc fix. 2005-07-20 15:51:52 +00:00
Kim F. Storm
ebfe97a2d4 (load_unwind): Rework last change. 2005-07-20 14:40:35 +00:00
Kim F. Storm
fff7e9825a (Fdo_auto_save, do_auto_save_unwind):
Use make_save_value to unwind protect stream.
2005-07-20 14:39:35 +00:00
Kim F. Storm
0ed4bf1596 *** empty log message *** 2005-07-20 14:39:13 +00:00
Kim F. Storm
c04d9e7047 (Fload, load_unwind): Use make_save_value to unwind
protect stream.
2005-07-20 14:29:00 +00:00
Kim F. Storm
ae6431236d *** empty log message *** 2005-07-20 14:28:49 +00:00
Juanma Barranquero
82fc29a186 (Fprog2, Fcalled_interactively_p), (syms_of_eval) <debug-on-quit>: Doc fixes.
(Finteractive_p), (syms_of_eval) <max-specpdl-size>: Fix typos in docstrings.
2005-07-19 11:34:17 +00:00
Kim F. Storm
829b13e279 (Vx_hand_shape): Variable removed.
(syms_of_w32fns): Intern and staticpro Qw32_charset_default.
2005-07-19 08:54:45 +00:00
Kim F. Storm
73b90087f4 *** empty log message *** 2005-07-19 08:54:32 +00:00
Kenichi Handa
c061dd8f05 (Fstring_as_multibyte): Escape backslashes in the
docstring.
2005-07-19 02:38:57 +00:00
Stefan Monnier
bcd983312c (Fgenerate_new_buffer_name): Declare (for use in coding.c). 2005-07-18 21:34:41 +00:00
Kim F. Storm
a61fed91f7 (redisplay_internal): Only try to hscroll each frame once
to avoid redisplay looping hscrolling back and forth ad infinitum.
2005-07-18 20:59:41 +00:00
Kim F. Storm
d3378f02fd (struct frame): New member already_hscrolled_p. 2005-07-18 20:59:25 +00:00
Kim F. Storm
2a85a754f5 *** empty log message *** 2005-07-18 20:59:09 +00:00
Juri Linkov
426179e12c *** empty log message *** 2005-07-18 16:39:33 +00:00
Juri Linkov
aff2e1e949 (mac-emulate-three-button-mouse): Delete duplicate words. 2005-07-18 16:34:18 +00:00
Juri Linkov
15fbe81f20 (Fminor_mode_key_binding): Delete duplicate words. 2005-07-18 16:33:00 +00:00
Juri Linkov
e5f95d5ca4 (scroll-up-aggressively, scroll-down-aggressively): Delete duplicate words. 2005-07-18 16:32:35 +00:00
Ken Raeburn
9f4a578d78 (Ftest_completion): Fix odd syntax in test. 2005-07-18 16:31:54 +00:00
YAMAMOTO Mitsuharu
d005338b2a [MAC_OS] (XCreateGC): Remove extern. 2005-07-18 05:42:23 +00:00
YAMAMOTO Mitsuharu
e81a5b61b1 (struct mac_display_info): Change types of scratch_cursor_gc
black_relief.gc, and white_relief.gc to GC.
(XCreateGC, XParseGeometry): Move externs from macgui.h.
2005-07-18 05:41:03 +00:00
YAMAMOTO Mitsuharu
e4f5e01926 (x_bitmap_icon, x_make_frame_visible): Remove declarations.
(XSetFont): Add declaration.
(mac_set_forecolor, mac_set_backcolor, mac_set_colors): Remove
functions.
(GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): New
defines.
(XDrawLine, mac_draw_line_to_pixmap, XClearWindow)
(mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle)
(mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): Use
them.
(mac_erase_rectangle): New function.
(XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect)
(x_draw_stretch_glyph_string): Use it.
(XChangeGC, XCreateGC, XGetGCValues, XSetForeground)
(XSetBackground, XSetFont): Adjust for new GC implementation.
(x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors.
(XTset_vertical_scroll_bar): Clear area under scroll bar.
2005-07-18 05:40:30 +00:00
YAMAMOTO Mitsuharu
623cc1d8d7 (struct _XGC): New struct.
(GC): Use it.
(GCForeground, GCBackground, GCFont): Use X11 mask values.
(XCreateGC, XParseGeometry): Move externs to macterm.h.
2005-07-18 05:39:27 +00:00
YAMAMOTO Mitsuharu
88ad5ea792 (x_set_cursor_color): Use XSetBackground and XSetForeground. 2005-07-18 05:38:38 +00:00
Richard M. Stallman
9b0c2c5620 *** empty log message *** 2005-07-17 03:47:36 +00:00
Richard M. Stallman
a625ee20c8 (Fmake_overlay): Doc fix. 2005-07-17 03:47:19 +00:00
Eli Zaretskii
2e9c1c6def *** empty log message *** 2005-07-16 11:54:17 +00:00
Eli Zaretskii
af621bc3f0 (syms_of_ntproc): staticpro Qhigh, Qlow,
Vw32_valid_locale_ids, and Vw32_valid_codepages.
2005-07-16 11:25:43 +00:00
YAMAMOTO Mitsuharu
407289a44d [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Use
Fstring_as_unibyte instead of string_make_unibyte.
2005-07-16 07:16:55 +00:00
Richard M. Stallman
e4b477a1d1 *** empty log message *** 2005-07-15 18:11:53 +00:00
Richard M. Stallman
673b8d0eca (select_frame_for_redisplay): Use find_symbol_value. 2005-07-15 18:11:34 +00:00
Kim F. Storm
367d949f19 Fix redisplay loop in last change.
(IT_POS_VALID_AFTER_MOVE_P): New macro.
(move_it_vertically_backward, move_it_by_lines): Use it.
2005-07-15 11:32:15 +00:00
Kim F. Storm
a8613adf06 *** empty log message *** 2005-07-15 11:31:55 +00:00
Jason Rumney
2d5324c520 (init_environment): Default HOME directory to user's
appdata directory if possible.
2005-07-14 22:32:50 +00:00
Kim F. Storm
501b66fa1c (pitx): Fix output format. Print string charpos. 2005-07-14 11:30:35 +00:00
Kim F. Storm
7b9389b0d0 *** empty log message *** 2005-07-14 11:30:10 +00:00
Kim F. Storm
a2994c46f9 (syms_of_syntax): Staticpro lisp objects in gl_state.
Staticpro re_match_object.
2005-07-14 11:24:18 +00:00
Kim F. Storm
aa77b5ce04 (syms_of_search): Staticpro searchbuf.whitespace_regexp. 2005-07-14 11:24:08 +00:00
Kim F. Storm
f153db138b (syms_of_lread): Initialize seen_list. 2005-07-14 11:24:00 +00:00
Kim F. Storm
3ed70dc4ab *** empty log message *** 2005-07-14 11:23:40 +00:00
YAMAMOTO Mitsuharu
ef029e5a69 (mac_window_to_frame): Remove duplicate define. 2005-07-14 09:23:40 +00:00
YAMAMOTO Mitsuharu
10b8ef61c0 (get_scrap_target_type_list): Avoid NULL pointer dereference. 2005-07-14 09:23:12 +00:00
Kenichi Handa
16ef9c5612 (code_convert_region_unwind): ARG is changed to a cons.
(code_convert_region): Adjusted for the above change.
(set_conversion_work_buffer): If the work buffer is already in
use, generate a new buffer and return it.  Otherwise return Qnil.
(run_pre_post_conversion_on_str): Adjusted for the above change.
(run_pre_write_conversin_on_c_str): Likewise.
2005-07-14 07:57:42 +00:00
Kim F. Storm
010b9a45b1 *** empty log message *** 2005-07-13 10:29:22 +00:00
Kim F. Storm
0163a0d503 (Fvertical_motion): If start position is on an image,
don't move back if we move too far (that's almost certain to happen).
2005-07-13 10:02:58 +00:00
Kim F. Storm
e0e9a80e8b * xdisp.c (start_display): Don't reseat to next visible line start
if current start position is in a string or image.
(move_it_vertically_backward): Be sure to move out of strings and
images when moving it2 forward.
(move_it_by_lines): When moving forward, move to next buffer
position if we end up in a string or image.  When moving backward,
count rows moved over when moving to start of current row in case
row starts in middle of a string or image.  Also move further
backward if we end up in a string or image.
(try_cursor_movement): if overlay string spans multiple lines,
move backward to set cursor on start of an overlay string.
(cursor_row_p): Row is ok if cursor is at newline from string, but
string starts on this line (so we always position cursor at start
of string).
2005-07-13 10:02:42 +00:00
Kim F. Storm
e3ea3a51e6 (cursor_row_fully_visible_p): Allow partially visible
row in minibuffer windows.
(try_window): Don't check margins in minibuffer windows.
2005-07-13 09:36:12 +00:00
Kim F. Storm
098e1273d8 *** empty log message *** 2005-07-13 09:35:20 +00:00
YAMAMOTO Mitsuharu
c229fb1566 *** empty log message *** 2005-07-13 09:13:35 +00:00
YAMAMOTO Mitsuharu
17d0f03b64 (try_font_list) [MAC_OS]: Try font family name
beginning with that for ASCII.
2005-07-13 09:13:19 +00:00
YAMAMOTO Mitsuharu
95dfb19275 Don't include stdlib.h or composite.h.
(x_use_underline_position_properties, last_mouse_press_frame)
(x_noop_count, Qvendor_specific_keysyms): Remove unused variables.
(syms_of_macterm, mac_initialize): Don't initialize them.
(waiting_for_input, initial_argv, initial_argc)
(Vcommand_line_args, Vx_no_window_manager, errno, window_scroll)
(set_frame_menubar, path_from_vol_dir_name): Remove externs.
(extra_keyboard_modifiers): Fix type in extern.
(x_window_to_frame, x_window_to_scroll_bar): Remove declarations.
(x_scroll_bar_report_motion): Add argument types to declaration.
(mac_compute_glyph_string_overhangs): Add declaration.
(disable_mouse_highlight): Remove unused variable.
[USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click)
(x_scroll_bar_handle_press, x_scroll_bar_handle_release)
(x_scroll_bar_handle_drag): Remove argument `timestamp'.  All
callers changed.
[USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set
timestamp.
[USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise.
(x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar
only when its width is less than the height.
(XTredeem_scroll_bar): Sync with xterm.c.
(font_name_table, font_name_table_size, font_name_count): Make
static.
(drag_and_drop_file_list): Remove variable.  Previous use is now
local to function.
(do_ae_open_documents): Move DRAG_N_DROP event construction part
from XTread_socket.
(XTread_socket): Consolidate setting of event timestamp.  Move
DRAG_N_DROP event construction part to do_ae_open_documents.
Support extra_keyboard_modifiers.
2005-07-13 09:12:59 +00:00
Stefan Monnier
69d05d838f *** empty log message *** 2005-07-13 05:38:25 +00:00
Stefan Monnier
aa37e9e246 (gc_cons_threshold): Make it static. 2005-07-13 05:33:34 +00:00
Stefan Monnier
43afcf1762 (gc_cons_threshold): Remove declaration. 2005-07-13 05:32:52 +00:00
Stefan Monnier
856163dbe8 (Feval, Ffuncall): Use gc_cons_combined_threshold. 2005-07-13 05:31:35 +00:00
Stefan Monnier
2a7a50eaea (read_char): Use gc_cons_combined_threshold. 2005-07-13 05:30:56 +00:00
Stefan Monnier
a41abbf623 (gc_cons_combined_threshold): Declare. 2005-07-13 05:30:04 +00:00
Stefan Monnier
642cd12be9 (MAYBE_GC): Use gc_cons_combined_threshold. 2005-07-13 05:29:10 +00:00