aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp.h (fatal): Undo previous change.Dan Nicolaescu2005-10-021-1/+1
| | | | * term.c (fatal): Undo previous change.
* * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correctDan Nicolaescu2005-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type. * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. * unexelf.c (fatal): Fix prototype. * term.c (fatal): Implement using varargs. * regex.c (re_char): Move typedef ... * regex.h (re_char): ... here. (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. * emacs.c (malloc_set_state): Fix return type. (endif): Fix type. * lisp.h (fatal): Add argument types. * dispextern.h (fatal): Delete prototype. * systime.h: (make_time): Prototype moved from ... * editfns.c (make_time): ... here. * editfns.c: Move systime.h include after lisp.h. * dired.c: * xsmfns.c: * process.c: Likewise. * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): Add parameter types. (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. (emacs_blocked_free): Change definition to match __free_hook. (emacs_blocked_malloc): Change definition to match __malloc_hook. (emacs_blocked_realloc): Change definition to match __realloc_hook.
* Fix last change.Eli Zaretskii2005-09-101-1/+1
|
* (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add prototype.Eli Zaretskii2005-09-101-0/+3
|
* (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input.Kim F. Storm2005-08-151-1/+1
|
* (deactivate_process, status_notify, read_process_output):Kim F. Storm2005-08-151-3/+0
| | | | Remove prototypes.
* (QUIT): Throw t to Vthrow_on_input.Richard M. Stallman2005-08-091-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* (gc_cons_threshold, gc_relative_threshold): Declared.Richard M. Stallman2005-07-231-2/+4
| | | | (gc_cons_combined_threshold): Declaration deleted.
* (gc_cons_threshold): Remove declaration.Stefan Monnier2005-07-131-1/+0
|
* (gc_cons_combined_threshold): Declare.Stefan Monnier2005-07-131-0/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Update EXFUN of Fselect_frame.Luc Teirlinck2005-06-101-1/+1
|
* (Fmatch_data, Fset_match_data): Fix EXFUN.Kim F. Storm2005-06-081-3/+5
| | | | | (record_unwind_save_match_data): Add prototype. (restore_search_regs): Rename from restore_match_data.
* Fx_popup_dialog can have three arguments.Nick Roberts2005-05-241-1/+1
|
* (Fsafe_plist_get, Fsafe_get): Remove EXFUN.Kim F. Storm2005-04-211-2/+0
|
* (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro.Kenichi Handa2005-04-201-0/+8
| | | | | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro.
* (Fsafe_get): EXFUN it.Kim F. Storm2005-04-191-0/+1
|
* (Vascii_upcase_table, Vascii_canon_table,Kenichi Handa2005-04-011-1/+2
| | | | Vascii_eqv_table): Extern them.
* (make_number): Make prototype more precise.Stefan Monnier2005-03-241-3/+3
|
* (CHECK_CONS_LIST): New macro (two definitions).Richard M. Stallman2005-03-061-0/+5
|
* (pos_visible_p): Fix prototype.Kim F. Storm2005-01-221-1/+1
|
* * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW)Jan Djärv2005-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (READABLE_EVENTS_FILTER_EVENTS) (READABLE_EVENTS_IGNORE_SQUEEZABLES): New flags for readable_events. get_filtered_input_pending, readable_filtered_events): Removed. (tracking_off): Call readable_events and get_input_pending with flag READABLE_EVENTS_DO_TIMERS_NOW. (readable_events): Move code from old readable_filtered_events here, but check new READABLE_EVENTS_* in argument flags instead of previous two boolean arguments do_timers_now and filter_events. If we are doing mouse tracking and the mouse moved, return only if READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. (swallow_events): Call get_input_pending with flag READABLE_EVENTS_DO_TIMERS_NOW. (get_input_pending): Move code from old get_filtered_input_pending here. Replace boolean arguments do_timers_now, filter_events with flags, and pass flags to readable_events. Document new READABLE_EVENTS_* flags. (detect_input_pending_ignore_squeezables): New function. (detect_input_pending_run_timers): Call get_input_pending with flag READABLE_EVENTS_DO_TIMERS_NOW. (Finput_pending_p): Call get_input_pending with flags READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. * dispnew.c (update_window, update_frame_1): Replace calls to detect_input_pending with detect_input_pending_ignore_squeezables so that redisplay is not paused if the event queue contains only mouse movements. * lisp.h: Declare detect_input_pending_ignore_squeezables.
* Comment changes.Richard M. Stallman2004-12-271-0/+8
|
* (Vundo_outer_limit): Fix decl.Richard M. Stallman2004-12-231-0/+1
|
* (truncate_undo_list): Update decl.Richard M. Stallman2004-12-211-1/+1
|
* (QUIT): Check for Vthrow_on_input.Richard M. Stallman2004-12-131-0/+8
| | | | (Vthrow_on_input): Declare it.
* * gtkutil.c: Include signal.h and syssignal.h.Jan Djärv2004-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, new variables main_thread and alloc_mutex, define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as (UN)BLOCK_INPUT. (emacs_blocked_free, emacs_blocked_malloc) (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. (uninterrupt_malloc): Initialize main_thread and alloc_mutex. (reset_malloc_hooks): New function. * lisp.h: Declare reset_malloc_hooks. * emacs.c (Fdump_emacs): Call reset_malloc_hooks. * keyboard.c: Conditionally include pthread.h (handle_async_inpu, input_available_signalt): If not in the main thread, block signal, send signal to main thread and return.
* Declare string_to_multibyte.Andreas Schwab2004-12-011-0/+1
|
* New defines to enable buffer overrun checking.Kim F. Storm2004-11-301-0/+16
| | | | | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
* (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN is not defined.Eli Zaretskii2004-11-271-5/+7
|
* (Fread_from_minibuffer): Add arg in decl.Richard M. Stallman2004-11-211-1/+1
|
* (NILP): Use EQ rather than XFASTINT.Stefan Monnier2004-11-161-1/+1
|
* (Fsafe_plist_get): Add EXFUN.Kim F. Storm2004-11-151-0/+1
|
* (Fdelete): Add EXFUN.Kim F. Storm2004-11-091-0/+2
| | | | (replace_range_2): Add prototype.
* Declare Fmsdos_downcase_filename.Andreas Schwab2004-11-071-0/+5
|
* * fileio.c (Fread_file_name): Pass Qt as fifth parameter toJan Djärv2004-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fx_file_dialog if only directories should be read. * lisp.h: Fx_file_dialog takes 5 parameters. * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add parameter only_dir_p. In Motif version, don't put DEFAULT_FILENAME in filter part of the dialog, just text field part. Do not add DEFAULT_FILENAME to list of files if it isn't there. In GTK version, pass only_dir_p parameter to xg_get_file_name. * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". When using a save dialog, add option kNavDontConfirmReplacement, change title to "Enter name", change text for save button to "Ok". * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". * gtkutil.c (xg_get_file_with_chooser) (xg_get_file_with_selection): New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW respectively. (xg_get_file_name): Add parameter only_dir_p. Call xg_get_file_with_chooser or xg_get_file_with_selection depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
* (USE_SAFE_ALLOCA): Add and init sa_must_free integer.Kim F. Storm2004-10-261-10/+7
| | | | | | | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. (SAFE_FREE): Test it to determine if we need to unwind to free. Remove size arg. All users changed. (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE.
* (fast_string_match_ignore_case): Extern it.Kenichi Handa2004-10-181-0/+1
|
* Rename wait_reading_process_input to wait_reading_process_output.Kim F. Storm2004-08-201-4/+4
|
* Adapt to new wait_reading_process_input args.Kim F. Storm2004-08-191-1/+4
|
* Declare Finit_image_library.Andreas Schwab2004-06-301-0/+1
|
* (free_misc): Add prototype.Kim F. Storm2004-06-241-0/+1
|
* (struct Lisp_Save_Value): New member dogc.Kim F. Storm2004-06-221-17/+27
| | | | | | (SAFE_ALLOCA_LISP): Change second arg to number of elements. Set dogc member in Lisp_Save_Value object so it will be GC'ed. (SAFE_FREE_LISP): New macro.
* (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects.Kim F. Storm2004-06-211-0/+20
| | | | | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects in that memory area are unknown to GC. Add comments.
* (MAX_ALLOCA): Define here.Kim F. Storm2004-06-211-0/+31
| | | | | (safe_alloca_unwind): Add prototype. (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros.
* (truncate_undo_list): Update decl.Richard M. Stallman2004-05-291-1/+1
|
* (DECL_ALIGN): Remove restriction on MS-DOS systems.Eli Zaretskii2004-05-181-5/+3
|
* (egetenv) [USE_CRT_DLL]: Remove condition.Jason Rumney2004-05-171-2/+0
|
* (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to useEli Zaretskii2004-05-151-3/+5
| | | | | __attribute__((__aligned__)), so that USE_LSB_TAG would not become defined for the MS-DOS build.