summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* (Fread_from_minibuffer, Fread_string, Fread_command)Juri Linkov2008-05-022-12/+25
| | | | | (Fread_variable, Fread_buffer, Fcompleting_read): Document the DEFAULT argument as a list of default values in docstrings.
* (BASE_PURESIZE): Increase to 1210000.Chong Yidong2008-05-011-1/+1
|
* * puresize.h (BASE_PURESIZE): Increase to 1210000.Chong Yidong2008-05-011-0/+4
|
* (make_window): Initialize resize_proportionally.Martin Rudalics2008-05-012-233/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (enlarge_window): Temporarily set resize_proportionally to make sure that shrink_windows does scale the window proportionally. (shrink_windows): When window has resize_proportionally set try to shrink it proportionally by stealing from other windows. (struct saved_window, Fset_window_configuration) (compare_window_configurations): Handle resize_proportionally. (WINDOW_TOTAL_SIZE): New macro. (window_min_size, shrink_windows, size_window): Use it. (check_min_window_sizes): Removed. Invalid values of window-min-height|width are handled by window_min_size_2 now. (size_window, Fsplit_window, enlarge_window) (adjust_window_trailing_edge, grow_mini_window): Don't call check_min_window_sizes. (window_min_size_2, window_min_size_1, window_min_size): New argument safe_p for retrieving "safe" minimum sizes. (Fdisplay_buffer, Fsplit_window, enlarge_window): (adjust_window_trailing_edge, grow_mini_window): Adjust arguments of window_min_size... functions. (shrink_windows): Argument min_size removed. New argument safe_p allows shrinking windows to their safe minimum sizes. Calculate minimum size and decide whether a window shall be deleted for each window individually. (size_window): When nodelete_p equals 2, tell shrink_windows to delete windows only if their new minimum size is no more safe. (shrink_window_lowest_first): Call window_min_size_1 to make sure to preserve modeline of bottom-most window when resizing the minibuffer. (Fset_window_configuration, Fcurrent_window_configuration) (compare_window_configurations): Do not handle window-min-height|width any more. (syms_of_window): Clarify window-min-height|width doc-strings.
* (struct window): Replace field too_small_ok by fieldMartin Rudalics2008-05-011-6/+5
| | | | resize_proportionally.
* (change_frame_size_1): Preserve small windows when shrinkingMartin Rudalics2008-05-011-3/+3
| | | | frames by calling set_window_height|width with third arg 2.
* (file_name_completion): Fix up the encoding/decoding issueStefan Monnier2008-04-302-40/+52
| | | | | | some more. Copy some of the code from Ftry_completions. Remove special case code that dates back to initial revision when the slash was only added when necessary and that can't trigger nowadays.
* *** empty log message ***Kenichi Handa2008-04-301-0/+4
|
* (Fw32_battery_status): New defun.Jason Rumney2008-04-292-0/+115
| | | | (syms_of_w32fns): Defsubr it.
* (file_name_completion): Fix another mixing of encodedAndreas Schwab2008-04-282-1/+6
| | | | and decoded names.
* (Fw32_define_rgb_color): Fix typo in docstring.Juanma Barranquero2008-04-282-3/+7
|
* *** empty log message ***Juanma Barranquero2008-04-271-4/+8
|
* (Fdefine_fringe_bitmap): Doc fix.Juanma Barranquero2008-04-271-1/+1
|
* (file_name_completion): Fix inappropriate mixing ofAndreas Schwab2008-04-272-14/+14
| | | | encoded and decoded names.
* (XTread_socket): Fix use of uninitialized variable.Andreas Schwab2008-04-272-1/+5
|
* (BASE_PURESIZE): Increase to 1200000.Andreas Schwab2008-04-272-1/+5
|
* (font_prop_validate): Signal `error' instead of `font'.Kenichi Handa2008-04-271-2/+1
|
* (Ffile_attributes) [WINDOWSNT]: Undo change from 2008-03-31, it's not neededEli Zaretskii2008-04-262-23/+16
| | | | | anymore with `struct stat' definition on nt/inc/sys/stat.h. Undo changes from 2007-01-12 and 2007-01-13 for the same reasons.
* Additional redefinitions for GNU/Linux.Chong Yidong2008-04-251-0/+13
|
* * m/sparc.h: Additional redefinitions for GNU/Linux.Chong Yidong2008-04-251-0/+4
|
* Fix dates of merge entries.Glenn Morris2008-04-241-3/+3
|
* Merge from emacs--rel--22Miles Bader2008-04-244-27/+618
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1126
| * (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]:YAMAMOTO Mitsuharu2008-04-232-2/+37
| | | | | | | | Make functions non-static.
| * (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern.YAMAMOTO Mitsuharu2008-04-231-21/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range): (mac_ax_number_of_characters): Add externs. (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) [USE_MAC_TSM]: Likewise. (mac_handle_text_input_event) [MAC_OSX]: Handle kEventTextInputOffsetToPos for no active input area case. Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText. (mac_handle_document_access_event) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function. (install_application_handler) [MAC_OSX]: Register handlers for kEventTextInputPosToOffset and kEventTextInputGetSelectedText. (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Register mac_handle_document_access_event.
| * (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable.YAMAMOTO Mitsuharu2008-04-231-1/+142
| | | | | | | | | | | | | | | | | | | | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. (Qmouse_drag_overlay) [MAC_OSX]: New variable. (syms_of_macterm) [MAC_OSX]: Intern and staticpro it. (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) (mac_ax_selected_text_range) [MAC_OSX]: New functions. (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise.
* | * lisp/minibuffer.el (read-file-name-function, read-file-name-predicate)Stefan Monnier2008-04-232-262/+18
| | | | | | | | | | | | | | | | | | | | | | | | (read-file-name-completion-ignore-case, insert-default-directory): New vars, moved from fileio.c. (read-file-name): New fun, moved from fileio.c. * lisp/cus-start.el: Remove insert-default-directory and read-file-name-completion-ignore-case. * src/fileio.c (Vread_file_name_function, Vread_file_name_predicate) (read_file_name_completion_ignore_case, insert_default_directory) (Qdefault_directory): Move to minibuffer.el. (Fread_file_name): Call the new `read-file-name' instead.
* | Merge from emacs--rel--22Miles Bader2008-04-239-177/+283
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
| * (Vmac_ts_script_language_on_focus)YAMAMOTO Mitsuharu2008-04-192-8/+130
| | | | | | | | | | | | | | | | | | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs. (XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part is clicked. (x_activate_menubar): Remove extern for saved_menu_event_location. (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: Move from mac.c.
| * (XCreatePixmap, XCreatePixmapFromBitmapData): Use WindowYAMAMOTO Mitsuharu2008-04-191-9/+6
| | | | | | | | | | | | | | | | instead of WindowRef in argument type. (create_apple_event_from_event_ref, create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: Remove externs. (create_apple_event, mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: Add externs.
| * (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloatYAMAMOTO Mitsuharu2008-04-191-73/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of float. (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. (init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground) (XSetBackground) [USE_CG_DRAWING]: Likewise. (mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of CGRectMake. (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. (mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle) (mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise. (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window instead of WindowRef in argument type. (XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort. (mac_invert_rectangle): Use CGContextSetBlendMode if available. (mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F instead of DISPLAY. All uses changed. (mac_handle_size_change): Don't call SET_FRAME_GARBAGED. (x_calc_absolute_position): Simplify so as not to use FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT. (Vmac_ts_script_language_on_focus, saved_ts_script_language_on_focus) [USE_MAC_TSM]: Make variables static. (mac_store_event_ref_as_apple_event) [TARGET_API_MAC_CARBON]: Don't use create_apple_event_from_event_ref. Use mac_event_parameters_to_lisp.
| * (CGFloat) [!CGFLOAT_DEFINED]: New typedef.YAMAMOTO Mitsuharu2008-04-191-0/+5
| | | | | | | | (mac_rect_make): New macro.
| * (create_apple_event) [TARGET_API_MAC_CARBON]:YAMAMOTO Mitsuharu2008-04-191-102/+49
| | | | | | | | | | | | | | | | | | Make function non-static. (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Remove function. (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: Move to mactoolbox.c. (mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function.
* | (Fswitch_to_buffer): Change interactive spec to callJuri Linkov2008-04-222-1/+7
| | | | | | | | read-buffer-to-switch instead of using the letter "B".
* | (Qdefault_directory): New variable.Stefan Monnier2008-04-212-1/+12
| | | | | | | | (Fread_file_name): Use it to pass `dir' to the completion functions.
* | *** empty log message ***Juanma Barranquero2008-04-201-14/+13
| |
* | (pos_visible_p): Check if iterator stops on a display string.Chong Yidong2008-04-201-16/+19
| |
* | * xdisp.c (pos_visible_p): Check if iterator stops on a displayChong Yidong2008-04-201-0/+5
| | | | | | | | string.
* | (syms_of_minibuf) <minibuffer-completing-file-name>: Fix docstring.Stefan Monnier2008-04-191-1/+1
| |
* | * tooltip.el (tooltip-previous-message): New var.Stefan Monnier2008-04-192-39/+3
| | | | | | | | | | | | | | | | (tooltip-show-help-non-mode): Rewrite to better follow the behavior of the C code (avoid overwriting a minibuffer, restore previous echo message, ...). (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt): Simplify. * keyboard.c (Vpre_help_message): Remove. (show_help_echo): Remove default C code.
* | (directory_files_internal, file_name_completion):Stefan Monnier2008-04-192-4/+11
| | | | | | | | Only call ENCODE_FILE if the string is indeed decoded.
* | *** empty log message ***Stefan Monnier2008-04-181-0/+6
| |
* | * configure.in: Define USE_LUCID/USE_MOTIF in config.h.Stefan Monnier2008-04-182-34/+25
| | | | | | | | | | | | * lwlib/Makefile.in (TOOLKIT_DEFINES): Remove. * src/Makefile.in (TOOLKIT_DEFINES): Remove. (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff.
* | (Fmultibyte_char_to_unibyte): Return latin1 chars unchanged.Stefan Monnier2008-04-182-10/+16
| |
* | Merge from emacs--rel--22Miles Bader2008-04-1811-2512/+6652
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1112
| * [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc)YAMAMOTO Mitsuharu2008-04-122-0/+11
| | | | | | | | [HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex.
| * (BASE_PURESIZE): Increase to 1140000.Katsumi Yamaoka2008-04-112-1/+5
| |
| * * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNKMichael Albinus2008-04-102-4/+14
| | | | | | | | | | | | only after check for file name handler functions. Signal, when native functionality is not supported. (syms_of_fileio): Declare it unconditionally.
| * Fix last change.Jason Rumney2008-04-102-1/+9
| |
| * (syms_of_ntproc): Change Vw32_get_true_file attributesJason Rumney2008-04-101-3/+7
| | | | | | | | default to Qlocal.
| * (stat): When Vw32_get_true_file_attributes is Qlocal, getJason Rumney2008-04-101-0/+5
| | | | | | | | attributes only for local files.