- 08 Jan, 2011 2 commits
-
-
Glenn Morris authored
* leim/makefile.w32-in (RUN_EMACS): * leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file. * lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file. * src/makefile.w32-in ($(EMACS)): * src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.
-
Glenn Morris authored
* src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here... * src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
-
- 07 Jan, 2011 3 commits
-
-
Andreas Schwab authored
* src/image.c (imagemagick_load_image): Fix some resource leaks and error handling.
-
Chong Yidong authored
* lisp/subr.el (y-or-n-p): Accept format string args. * src/fns.c (Fyes_or_no_p): Accept format string args.
-
Glenn Morris authored
* lisp/Makefile.in (EMACSOPT): Add --no-site-lisp. * src/emacs.c (no_site_lisp): New int. (USAGE1): Add --no-site-lisp, mention -Q uses it. (main): Set no_site_lisp. (standard_args): Add --no-site-lisp. * src/lisp.h (no_site_lisp): New int. * src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp directories to Vload_path. * etc/NEWS: Mention --no-site-lisp.
-
- 05 Jan, 2011 1 commit
-
-
Andreas Schwab authored
* configure.in: Check for __builtin_unwind_init. * src/alloc.c (mark_stack): Use __builtin_unwind_init if available.
-
- 04 Jan, 2011 2 commits
-
-
Michael Albinus authored
dont_register_service. Updated docstring accordingly.
-
Glenn Morris authored
-
- 03 Jan, 2011 1 commit
-
-
Eli Zaretskii authored
image.c (png_jmpbuf): Remove definition. (my_png_error, png_load): Don't use png_jmpbuf.
-
- 01 Jan, 2011 1 commit
-
-
Chong Yidong authored
* src/gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing image or label in the container. (xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE. (xg_show_toolbar_item): Function deleted. (xg_tool_item_stale_p): New function. (update_frame_tool_bar): Calculate tool-bar style once per call. Instead of hiding text labels, omit them. Don't use xg_show_toolbar_item; create new GtkToolItems from scratch if necessary, instead of trying to re-use them. This avoids an annoying animation when changing tool-bars.
-
- 31 Dec, 2010 3 commits
-
-
Eli Zaretskii authored
image.c (png_jmpbuf): New macro. (my_png_error, png_load): Use it instead of #ifdef'ing according to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
-
Jan Djärv authored
* nsfns.m (ns_set_name_as_filename): Always use buffer name for title and buffer filename only for RepresentedFilename. Handle bad UTF-8 in buffer name. Fixes: debbugs:7517
-
Eli Zaretskii authored
src/image.c <Qlibpng_version>: New variable. (syms_of_image): Intern and staticpro it. Set its value to the version of PNG library we were compiled with. (my_png_error, png_load): Avoid GCC warnings about direct access to png_ptr->jmpbuf. lisp/term/w32-win.el (image-library-alist): Set up correctly for libpng versions both before and after 1.4.0. admin/nt/README.W32: Update the information about PNG support libraries. nt/INSTALL: Update the information about PNG support libraries.
-
- 30 Dec, 2010 1 commit
-
-
Jan Djärv authored
* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment. * nsfns.m (ns_set_name_iconic): Remove. (ns_set_name_internal): New function. (Vicon_title_format): Extern declare. (ns_set_name): Call ns_set_name_internal. (x_explicitly_set_name): Remove call to ns_set_name_iconic. (x_implicitly_set_name): Ditto. (x_set_title): Remove commet about EXPLICIT. Call ns_set_name_internal. (ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
-
- 29 Dec, 2010 1 commit
-
-
Štěpán Němec authored
-
- 28 Dec, 2010 1 commit
-
-
Andreas Schwab authored
* src/xterm.h (x_alloc_lighter_color_for_widget): Restore declaration. * src/xterm.c (x_alloc_lighter_color_for_widget): Restore.
-
- 27 Dec, 2010 4 commits
-
-
Andreas Schwab authored
* src/buffer.c: Remove unused declarations. * src/buffer.h: Likewise. * src/charset.h: Likewise. * src/composite.h: Likewise. * src/dispextern.h: Likewise. * src/dispnew.c: Likewise. * src/font.h: Likewise. * src/fontset.c: Likewise. * src/fontset.h: Likewise. * src/intervals.h: Likewise. * src/keymap.h: Likewise. * src/lisp.h: Likewise. * src/syntax.c: Likewise. * src/syntax.h: Likewise. * src/termhooks.h: Likewise. * src/window.h: Likewise. * src/xsettings.h: Likewise. * src/xterm.c: Likewise. * src/xterm.h: Likewise. * src/chartab.c (sub_char_table_ref): Make static. * src/dispnew.c (line_hash_code, required_matrix_height) (required_matrix_width): Likewise. * src/eval.c (interactive_p, apply_lambda): Likewise. * src/fns.c (string_make_multibyte, copy_hash_table, hash_clear): Likewise. * src/font.c (QCadstyle, QCregistry, font_make_spec) (font_parse_fcname, font_encode_char, font_at): Likewise. * src/frame.c (x_frame_get_arg): Likewise. * src/keymap.c (get_keyelt): Likewise. * src/lread.c (read_filtered_event): Likewise. * src/print.c (write_string_1): Likewise. * src/window.c (delete_window, window_height, window_width) (foreach_window): Likewise. * src/xrdb.c (x_get_customization_string, x_get_resource): Likewise. * src/xterm.c (x_scroll_bar_clear, xembed_set_info) (xembed_send_message): Likewise. * src/eval.c (run_hook_list_with_args): Delete. * src/font.c (font_unparse_gtkname, font_update_lface): Likewise. * src/terminal.c (get_terminal_param): Likewise. * src/xterm.c (x_alloc_lighter_color_for_widget): Likewise.
-
Andreas Schwab authored
-
Andreas Schwab authored
* dispnew.c (add_window_display_history) (add_frame_display_history, glyph_row_slice_p) (find_glyph_row_slice, flush_stdout) (check_matrix_pointer_lossage, matrix_row) (check_matrix_invariants, check_window_matrix_pointers) (check_matrix_pointers, window_to_frame_vpos) (window_to_frame_hpos): Prototize. * textprop.c (erase_properties): Likewise.
-
Stefan Monnier authored
(xbacktrace): Fix the union case.
-
- 26 Dec, 2010 1 commit
-
-
Stefan Monnier authored
different from selected-window's.
-
- 25 Dec, 2010 2 commits
-
-
Eli Zaretskii authored
keyboard.c (parse_menu_item): Prepend " " to the key sequence equivalent of a menu item when the key sequence is given by the `:keys' attribute.
-
Eli Zaretskii authored
src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only the basic faces are supported. doc/lispref/modes.texi (Emulating Mode Line): Fix last change. etc/NEWS: Remove the entry about format-mode-line accepting only basic faces.
-
- 24 Dec, 2010 1 commit
-
-
Jan Djärv authored
-
- 23 Dec, 2010 1 commit
-
-
Stefan Monnier authored
* lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of print-number-table. * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove. (print_preprocess): Fix handling of uninterned symbols in last change.
-
- 22 Dec, 2010 1 commit
-
-
Stefan Monnier authored
rather than a linear table for Vprint_number_table.
-
- 20 Dec, 2010 2 commits
-
-
Chong Yidong authored
-
Chong Yidong authored
* lisp/tool-bar.el (tool-bar--image-expression): New function. (tool-bar-local-item, tool-bar--image-exp): Use it. (tool-bar-setup): Initialize tool-bar-separator-image-expression. Use :enable instead of :visible to avoid changing the tool-bar configuration unnecessarily. * src/keyboard.c (Vtool_bar_separator_image_expression): New variable. (parse_tool_bar_item): Use it to obtain image separators for displays not using native tool-bar separators. * src/xdisp.c (build_desired_tool_bar_string): Don't handle separators specially, since this is now done in parse_tool_bar_item. * lisp/info.el (info-tool-bar-map): Add separators.
-
- 19 Dec, 2010 1 commit
-
-
Stefan Monnier authored
* src/window.c (Fset_window_buffer): * src/xterm.c (x_set_frame_alpha): Restructure code to silence compiler warning. (handle_one_xevent): Remove unused var `p'. (do_ewmh_fullscreen): Remove unused var `lval'. (xembed_set_info): Remove unused var `atom'. * src/textprop.c (Fremove_list_of_text_properties): Add braces to silence compiler warning. * src/fontset.c (fontset_id_valid_p, dump_fontset): * src/ftfont.c (ftfont_drive_otf): Modernize k&r declaration. * src/eval.c (Feval, Ffuncall): Avoid unneeded gotos. * src/dispnew.c (update_frame, update_frame_1): Compile the `do_pause' label only when it's used. * src/image.c (x_create_bitmap_from_xpm_data): * src/dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like its callers. * src/coding.c (detect_coding_utf_16): Remove unused vars `src_base' and `consumed_chars'. (DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'. (decode_coding_emacs_mule): Remove unused label `retry'. (detect_eol): Add parens to silence compiler warning. * src/alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where it's used to silence the compiler. (make_number): Modernize k&r declaration. (mark_char_table): Add parens to silence compiler warning.
-
- 17 Dec, 2010 2 commits
-
-
Eli Zaretskii authored
xdisp.c (Fformat_mode_line): Fix last change.
-
Chong Yidong authored
* src/gtkutil.c (XG_BIN_CHILD): New macro. (xg_get_menu_item_label, xg_update_menubar) (xg_update_menu_item, xg_tool_bar_menu_proxy) (xg_show_toolbar_item, update_frame_tool_bar): Use it. (separator_names, xg_separator_p): Move to keyboard.c. (create_menus, xg_update_submenu, update_frame_tool_bar): Use menu_separator_name_p. * src/keyboard.c (parse_tool_bar_item): Allow menu separators in tool-bar maps. (menu_separator_name_p): New function, from gtkutil.c. (separator_names): Move from gtkutil.c. * src/keyboard.h (menu_separator_name_p): Add prototype. * src/nsmenu.m (name_is_separator): Function deleted. (addItemWithWidgetValue): Use menu_separator_name_p. * src/w32menu.c (name_is_separator): Function deleted. (add_menu_item): Use menu_separator_name_p.
-
- 16 Dec, 2010 2 commits
-
-
Jan Djärv authored
* nsterm.m (ns_draw_window_cursor): If the cursor color is the same as the background, use the face forground as cursor.
-
Chong Yidong authored
-
- 13 Dec, 2010 1 commit
-
-
Eli Zaretskii authored
fileio.c (Fexpand_file_name): One more doc fix.
-
- 12 Dec, 2010 1 commit
-
-
Eli Zaretskii authored
fileio.c (Fexpand_file_name): Doc fix.
-
- 11 Dec, 2010 4 commits
-
-
Eli Zaretskii authored
w32fns.c (Fx_show_tip): Call try_window with last argument TRY_WINDOW_IGNORE_FONTS_CHANGE. Delete the TODO ifdef: problem solved. Round up the tip height to an integral multiple of the frame's line height. Add FRAME_COLUMN_WIDTH to the tip width.
-
Eli Zaretskii authored
w32fns.c (Fx_show_tip): Call try_window with last argument TRY_WINDOW_IGNORE_FONTS_CHANGE. Delete the TODO ifdef: problem solved. Round up the tip height to an integral multiple of the frame's line height. Add FRAME_COLUMN_WIDTH to the tip width.
-
Eli Zaretskii authored
xdisp.c (string_pos_nchars_ahead, c_string_pos) (face_before_or_after_it_pos, next_element_from_string) (next_element_from_c_string, produce_stretch_glyph): Remove unused calculations of maximum string length before calling string_char_and_length and STRING_CHAR_AND_LENGTH. (string_char_and_length): Update commentary: MAXLEN is no longer needed.
-
Glenn Morris authored
-
- 10 Dec, 2010 1 commit
-
-
Jan Djärv authored
* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT as (Qsave_session arg). * xsmfns.c (smc_interact_CB): Set arg to Qnil. (smc_die_CB): Make an event with arg Qt. (Fhandle_save_session): If event has Qt as argument, call Fkill_emacs.
-