1. 02 Dec, 2007 1 commit
    • Michael Albinus's avatar
      * config.in (HAVE_DBUS): Add. · 033b73e2
      Michael Albinus authored
      * Makefile.in: (HAVE_DBUS): Add D-Bus definitions if defined.
      (ALL_CFLAGS): Add ${DBUS_CFLAGS}.
      (obj): Add $(DBUS_OBJ).
      (LIBES): Add $(DBUS_LIBS).
      (dbusbind.o): New target.
      
      * dbusbind.c: New file.
      
      * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.
      
      * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
      (Qdbus_event) New Lisp symbol.
      (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
      (gobble_input): Call xd_read_queued_messages, reading D-Bus
      messages.
      (keys_of_keyboard ): Define dbus-event.
      
      * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
      033b73e2
  2. 23 Nov, 2007 1 commit
  3. 30 Oct, 2007 1 commit
  4. 29 Oct, 2007 1 commit
  5. 28 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Rewrite abbrev.c in Elisp. · e047f448
      Stefan Monnier authored
      * image.c (Qcount): Don't declare as extern.
      (syms_of_image): Initialize and staticpro `Qcount'.
      * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
      * emacs.c (main): Don't call syms_of_abbrev.
      * Makefile.in (obj): Remove abbrev.o.
      (abbrev.o): Remove.
      * abbrev.c: Remove.
      
      Rewrite abbrev.c in Elisp.
      * abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
      (abbrev-table-get, abbrev-table-put, abbrev-get)
      (abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
      (define-abbrev, abbrev--check-chars, define-global-abbrev)
      (define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
      (abbrev-expansion, abbrev--before-point, expand-abbrev)
      (unexpand-abbrev, abbrev--write, abbrev--describe)
      (insert-abbrev-table-description, define-abbrev-table):
      New funs, largely transcribed from abbrev.c.
      (abbrev-with-wrapper-hook): New macro.
      (abbrev-table-name-list, global-abbrev-table)
      (abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
      (abbrevs-changed, abbrev-all-caps, abbrev-start-location)
      (abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
      (last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
      New vars, largely transcribed from abbrev.c.
      * cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
      * cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
      * loadup.el: Load "abbrev.el" before "lisp-mode.el".
      e047f448
  6. 22 Oct, 2007 1 commit
  7. 29 Sep, 2007 1 commit
  8. 24 Sep, 2007 1 commit
  9. 16 Aug, 2007 1 commit
  10. 07 Aug, 2007 2 commits
  11. 25 Jul, 2007 1 commit
  12. 08 Jun, 2007 1 commit
  13. 07 Jun, 2007 1 commit
  14. 20 May, 2007 1 commit
    • Miles Bader's avatar
      Revert to official bug report addresses. · c692d1d3
      Miles Bader authored
      * lisp/mail/emacsbug.el (report-emacs-bug-pretest-address): Revert to
        official Emacs pretest bug report address.
      
      * src/emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Revert to
        official Emacs pretest bug report address.
      
      Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-13
      Creator:  Karoly Lorentey <karoly@lorentey.hu>
      c692d1d3
  15. 03 Apr, 2007 2 commits
  16. 21 Jan, 2007 1 commit
  17. 09 Jan, 2007 1 commit
  18. 19 Dec, 2006 1 commit
  19. 15 Dec, 2006 1 commit
  20. 14 Dec, 2006 1 commit
  21. 08 Dec, 2006 1 commit
  22. 04 Dec, 2006 1 commit
  23. 02 Nov, 2006 1 commit
  24. 19 Sep, 2006 1 commit
  25. 08 Sep, 2006 1 commit
  26. 26 May, 2006 2 commits
    • Eli Zaretskii's avatar
      (main) [PROFILING]: Enable also for __MINGW32__. · ecf783fa
      Eli Zaretskii authored
      [__MINGW32__]: MinGW-specific declaration of `etext'.
      ecf783fa
    • Karoly Lorentey's avatar
      Rework environment variable support. (Reported by Kalle Olavi Niemitalo and Noah Friedman.) · a13f8f50
      Karoly Lorentey authored
      * src/callproc.c (Vglobal_environment, Vlocal_environment_variables): Remove.
        (getenv_internal, child_setup): Don't look at global-environment or
        local-environment-variables.
        (Fgetenv_internal): Update docs.
        (set_initial_environment): Rename from set_global_environment.  Store
        Emacs environment in initial frame parameter.
        (syms_of_callproc): Remove obsolete defvars.  Update docs.
      
      * lisp/env.el (read-envvar-name): Remove reference to global-environment.
        (setenv-internal): New function.
        (setenv): Use it.  Always set process-environment.  Update docs.
        (getenv): Update docs.
        (environment): Rewrite for the new environment design.  Update docs.
      
      * lisp/frame.el (frame-initialize): Copy the environment from the initial frame.
      
      * src/emacs.c (main): Call set_initial_environment, not set_global_environment.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-569
      a13f8f50
  27. 25 May, 2006 1 commit
  28. 20 Mar, 2006 2 commits
  29. 18 Mar, 2006 1 commit
  30. 03 Jan, 2006 1 commit
  31. 31 Dec, 2005 1 commit
  32. 29 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix semantics of let-binding `process-environment'. · 5990851d
      Karoly Lorentey authored
      * lisp/env.el: Require cl for byte compilation. (For `block' and `return'.)
        (read-envvar-name): Update for rename.  Include `process-environment'
        as well.
        (setenv): Update for rename also handle `process-environment'.  Update doc.
        (getenv): Update doc.
        (environment): New function.
        (let-environment): New macro.
      
      * lisp/font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'.
      
      * src/callproc.c (Vglobal_environment): New variable, taking over the
        previous role of `Vprocess_environment', which is now something else.
        (add_env): New function.
        (child_setup): Use it.
        (child_setup, getenv_internal): Rename Vprocess_environment to
        Vglobal_environment.  Handle the new Vprocess_environment.
        (Fgetenv_internal, egetenv): Update doc.
        (set_process_environment): Rename to `set_global_environment'.  Rename
        Vprocess_environment to Vglobal_environment.
        (syms_of_callproc): Rename process-environment to global-environment,
        add new process-environment, update docs.
      
      * src/emacs.c (main): Call set_global_environment instead of
        set_process_environment.
      
      * fileio.c (Fread_file_name): Update comment.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-465
      5990851d
  33. 25 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Reimplement terminal parameters in C; clean up term.c, create terminal.c. · ed8dad6b
      Karoly Lorentey authored
      * lisp/termdev.el (terminal-parameter-alist, terminal-parameters, terminal-parameter-p)
        (terminal-parameter, set-terminal-parameter, terminal-handle-delete-frame): Remove.
      
      * src/term.c (Vring_bell_function, device_list, initial_device)
        (next_device_id, ring_bell, update_begin, update_end)
        (set_terminal_window, cursor_to, raw_cursor_to)
        (clear_to_end, clear_frame, clear_end_of_line)
        (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
        (get_device, Fdisplay_name, create_device, delete_device)
        (Fdelete_display, Fdisplay_live_p, Fdisplay_list)
        Move to terminal.c.
        (syms_of_term): Move their initialization to terminal.c.
      
      * src/terminal.c: New file.
        (device_list, next_device_id, initial_device, Vring_bell_function)
        (ring_bell, update_begin, update_end, set_terminal_window)
        (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
        (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
        (ins_del_lines, get_device, create_device, delete_device)
        (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name): Move here.
        (mark_devices, get_terminal_param, store_terminal_param)
        (Fterminal_parameters, Fterminal_parameter)
        (Fmodify_terminal_parameters, Fset_terminal_parameter)
        (init_initial_device, delete_initial_device)
        (syms_of_terminal): New functions.
      
      * lisp/simple.el (normal-erase-is-backspace-setup-frame)
        (normal-erase-is-backspace-mode): Rephrase things
        without terminal-parameter-p.
      
      * lisp/termdev.el (terminal-getenv, terminal-setenv)
        (with-terminal-environment): Ditto.
      
      * mac/makefile.MPW (EmacsObjects): Add terminal.c.x.
        ({Src}terminal.c.x): Add dependencies.
      
      * src/Makefile.in (obj): Add terminal.o.
        (terminal.o): Add dependencies.
        [HAVE_CARBON]: Make terminal.o depend on macgui.h.
      
      * src/alloc.c (mark_devices): Declare.
        (Fgarbage_collect): Call `mark_devices'.
      
      * src/dispextern.h  (set_scroll_region, turn_off_insert)
        (turn_off_highlight, background_highlight, clear_end_of_line_raw)
        (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove.
        (raw_cursor_to, clear_to_end, tty_turn_off_insert)
        (tty_turn_off_highlight): Add declaration.
      
      * src/emacs.c (main): Call `syms_of_terminal'.
      
      * src/frame.c (get_future_frame_param): New function.
        (Fmake_terminal_frame): Use it.
      
      * src/keyboard.c (pop_kboard): Remove unused variable.
        (Fset_output_flow_control): Return nil.
      
      * src/keymap.h (Fset_keymap_parent): Add EXFUN.
      
      * src/lisp.h (syms_of_terminal): Declare it.
      
      * src/sysdep.c (reset_sys_modes): Update for renames.
      
      * src/term.c (set_scroll_region): Rename to `tty_set_scroll_region'.
        (turn_on_insert): Rename to `tty_turn_on_insert'.
        (turn_off_insert): Rename to `tty_turn_off_insert'.
        (turn_off_highlight): Rename to `tty_turn_off_highlight'.
        (turn_on_highlight): Rename to `tty_turn_on_highlight'.
        (toggle_highligh): Rename to `tty_toggle_highlight'.
        (background_highlight): Rename to `tty_background_highlight'.
        (highlight_if_desired): Rename to `tty_highlight_if_desired'.
      
        (tty_ring_bell, tty_update_end, tty_set_terminal_window)
        (tty_set_scroll_region, tty_background_highlight)
        (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
        (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
        (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
        (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty)
        (delete_tty): Add static modifier.
      
        (tty_reset_terminal_modes, tty_set_terminal_window)
        (tty_set_scroll_region, tty_background_highlight)
        (tty_highlight_if_desired, tty_cursor_to)
        (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
        (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
        (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): 
        Update for renames.
      
      * src/termhooks.h (param_alist): New member to struct device.
      
      * src/xterm.h (x_delete_device): Declare.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-460
      ed8dad6b
  34. 11 Dec, 2005 1 commit
  35. 10 Dec, 2005 1 commit
  36. 23 Nov, 2005 1 commit