1. 19 Mar, 2008 1 commit
    • Jason Rumney's avatar
      * w32fns.c (hourglass_timer, hourglass_hwnd): New variables. · d148e14d
      Jason Rumney authored
      (syms_of_w32fns): Initialize them.
      (HOURGLASS_ID): New constant.
      (x_window_to_frame): Don't check hourglass_window.
      (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
      (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
      (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
      (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
      Only change the cursor if hourglass is not active.
      (Fx_create_frame): Initialize frame's current_cursor.
      (hourglass_atimer): Remove.
      (hourglass_started): New function.
      (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
      (show_hourglass): Adapt to w32, changing argument to frame.
      
      * w32term.h (struct w32_output): Remove hourglass_window.
      Add current_cursor.
      
      * eval.c (call_debugger, Fsignal):
      * keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
      (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
      (Fexecute_extended_command, cancel_hourglass_unwind):
      * minibuf.c (read_minibuf):
      * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
      d148e14d
  2. 12 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1. · 13818c30
      Stefan Monnier authored
      (detect_coding_system):
      * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
      (string_char_to_byte, string_byte_to_char, insert_from_gap):
      * insdel.c (insert_from_gap):
      * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
      (string_char_to_byte, string_byte_to_char, string_make_multibyte)
      (string_to_multibyte):
      * character.c (chars_in_text, multibyte_chars_in_text):
      * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
      13818c30
  3. 08 Feb, 2008 1 commit
  4. 26 Jan, 2008 1 commit
  5. 25 Jan, 2008 1 commit
  6. 17 Jan, 2008 1 commit
  7. 08 Jan, 2008 1 commit
  8. 19 Nov, 2007 1 commit
  9. 16 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * xfns.c (Fx_create_frame, Fx_display_list): · 9beb8baa
      Stefan Monnier authored
      * window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
      * macterm.c (init_font_name_table):
      * macfns.c (Fx_create_frame, Fx_display_list):
      * lread.c (close_load_descs):
      * keyboard.c (read_char_x_menu_prompt):
      * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
      * coding.c (code_convert_region_unwind): Test the type of an object
      rather than just !NILP before extracting data from it.
      9beb8baa
  10. 02 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. · 878f97ff
      Stefan Monnier authored
      Turn `count' into an integer.
      * fns.c (make_hash_table, hash_put, hash_remove, hash_clear)
      (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count):
      * print.c (print_object) <HASH_TABLE_P>: `count' is an int.
      * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR.
      (mark_object) <HASH_TABLE_P>: Use mark_vectorlike.
      878f97ff
  11. 18 Sep, 2007 1 commit
  12. 25 Jul, 2007 1 commit
  13. 11 Jul, 2007 1 commit
  14. 10 Jul, 2007 1 commit
  15. 29 Jun, 2007 2 commits
  16. 08 Jun, 2007 1 commit
  17. 05 Jun, 2007 1 commit
  18. 26 May, 2007 1 commit
    • Dan Nicolaescu's avatar
      * xfaces.c (syms_of_xfaces): Delete stray semicolon. · 3b8c0c70
      Dan Nicolaescu authored
      * xdisp.c (next_element_from_buffer):
      * window.c (delete_window):
      * term.c (term_mouse_highlight):
      * msdos.c (getdefdir):
      * macterm.c (mac_create_bitmap_from_bitmap_data)
      (init_font_name_table):
      * fns.c (Fsxhash):
      * data.c (Fmake_local_variable):
      * ccl.c (ccl_driver): Likewise.
      3b8c0c70
  19. 21 Jan, 2007 1 commit
  20. 13 Jan, 2007 1 commit
  21. 24 Nov, 2006 2 commits
  22. 20 Nov, 2006 1 commit
  23. 12 Nov, 2006 1 commit
  24. 05 Nov, 2006 1 commit
  25. 22 Sep, 2006 1 commit
  26. 20 Sep, 2006 1 commit
  27. 02 Sep, 2006 1 commit
  28. 25 Aug, 2006 1 commit
  29. 26 Jul, 2006 1 commit
  30. 18 Jul, 2006 1 commit
  31. 12 Jul, 2006 1 commit
    • Kim F. Storm's avatar
      (Flength, Felt, Ffillarray): Remove loop around wrong_type_argument. · 89662fc3
      Kim F. Storm authored
      (Fcopy_sequence, concat): Cleanup wrong_type_argument use.
      (concat): Use CHECK_NUMBER.
      (Felt): Use CHECK_ARRAY.
      (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING.
      (Fmemq): Use CHECK_LIST.
      (Fassq, Fassoc, Frassq, Frassoc): Use CAR.
      (assq_no_quit): Use CAR_SAFE.
      (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc):
      Use CHECK_LIST_CONS.
      (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END.
      89662fc3
  32. 06 Jun, 2006 1 commit
  33. 25 May, 2006 1 commit
  34. 12 Apr, 2006 1 commit
  35. 24 Mar, 2006 1 commit
  36. 02 Mar, 2006 1 commit
  37. 06 Feb, 2006 1 commit
  38. 03 Jan, 2006 1 commit
    • Karoly Lorentey's avatar
      Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in... · b3e6f69c
      Karoly Lorentey authored
      Overhaul and simplify single_kboard API.  Allow calls to `recursive-edit' in process filters.  Small fixes.
      
      * lisp/server.el (server-process-filter): Protect `display-splash-screen'
        call in a condition-case.  Explain why.
      
      * src/callint.c (Fcall_interactively): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/fns.c (Fy_or_n_p): Ditto.
      
      * src/frame.c (Fdelete_frame): Remove unused variable `count'.
      
      * src/keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
      
      * src/keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
        for recursive calls.  Update longjmp invocations.  Remember the
        original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
        filter, timer or sentinel changes it.  Comment out unnecessary calls to
        `record_single_kboard_state' and `any_kboard_state'.  Update recursive
        calls.
      
      * src/keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
        variable.  Update setjmp and read_char calls.  Abort if
        interrupted_kboard died in read_char.
      
      * src/keyboard.c (any_kboard_state, single_kboard_state)
        (record_single_kboard_state): Comment out obsolete functions.
        (push_frame_kboard): Remove function.
        (pop_kboard): Switch out of single_kboard mode if the
        kboard has been deleted.
        (temporarily_switch_to_single_kboard): Change first
        parameter to a frame pointer.  Throw an error when caller wants to
        change kboards while in single_kboard mode.
        (restore_kboard_configuration): Abort if pop_kboard changed
        the kboard in single_kboard mode.
        (Frecursive_edit): Switch to single_kboard mode only in
        nested command loops.
        (cmd_error, command_loop, command_loop_1, timer_check):
        Comment out unnecessary call to `any_kboard_state' and
        `record_single_kboard_state'.
      
      * src/keyboard.c (delete_kboard): Exit single_kboard mode if we have just
        deleted that kboard.
      
      * src/keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
        `fatal_error_signal'.
      
      * src/keyboard.h (read_char, single_kboard_state)
        (record_single_kboard_state): Remove.
        (temporarily_switch_to_single_kboard): Update.
      
      * src/lread.c: Include setjmp.h.  Update declaration of `read_char'.
        (read_filtered_event): Call `read_char' with a local
        `wrong_kboard_jmpbuf'.
      
      * src/minibuf.c (read_minibuf): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/termchar.h (tty_display_info): Rename `previous_terminal_frame'
        member to `previous_frame'.
      
      * src/xdisp.c (redisplay_internal): Update references to
        `previous_terminal_frame'.
        (display_mode_line, Fformat_mode_line): Replace calls to
        `push_frame_kboard' with `push_kboard'.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-489
      b3e6f69c