1. 16 Jul, 2008 3 commits
    • Adrian Robert's avatar
      122e9f8f
    • Stefan Monnier's avatar
      * keymap.c: Remove all NS-specific code. · 0bcfd7d7
      Stefan Monnier authored
      (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars.
      (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to
      where_is_preferred_modifier, return a different value depending on how
      preferred is the binding.
      (where_is_internal): Adjust accordingly.
      (Fwhere_is_internal): Refresh where_is_preferred_modifier.
      Adjust to new preferred_sequence_p.
      (syms_of_keymap): Declare `where-is-preferred-modifier'.
      * keyboard.c (parse_solitary_modifier): Not static any more.
      * keyboard.h (parse_solitary_modifier): Declare.
      0bcfd7d7
    • Stefan Monnier's avatar
      (Qsuper): Remove. · 4c89a3e0
      Stefan Monnier authored
      (parse_menu_item): Don't call where_is_internal specially for NS.
      4c89a3e0
  2. 15 Jul, 2008 2 commits
  3. 26 Jun, 2008 1 commit
    • Dan Nicolaescu's avatar
      * unexnext.c: · f2a77c3a
      Dan Nicolaescu authored
      * m/ews4800.h:
      * m/hp9000s300.h:
      * m/ibm370aix.h:
      * m/mips-siemens.h:
      * m/ncr386.h:
      * m/next.h:
      * m/pmax.h:
      * m/powerpcle.h:
      * m/tandem-s2.h:
      * s/386bsd.h:
      * s/bsd386.h:
      * s/bsd4-1.h:
      * s/bsd4-2.h:
      * s/bsdos2-1.h:
      * s/bsdos2.h:
      * s/bsdos3.h:
      * s/bsdos4.h:
      * s/nextstep.h:
      * s/ultrix4-3.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-4-3.h:
      * s/ux4800.h:
      * s/uxpds.h:
      * s/uxpv.h: Remove support for obsolete systems.
      * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
      Remove, insert contents in s/hpux-10.20.h
      * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
      Remove, insert contents in s/aix-4.2.h
      * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
      * s/bsd4-3.h: Rename to ..
      * s/bsd-common.h: ... this.
      * src/data.c:
      * src/doc.c:
      * src/ecrt0.c:
      * src/emacs.c:
      * src/fileio.c:
      * src/floatfns.c:
      * src/keyboard.c:
      * src/mem-limits.h:
      * src/print.c:
      * src/process.c:
      * src/sysdep.c:
      * src/syssignal.h:
      * src/systty.h:
      * src/syswait.h:
      * src/term.c:
      * src/unexec.c:
      * src/unexel...
      f2a77c3a
  4. 02 Jun, 2008 1 commit
    • Jim Meyering's avatar
      Make "xfree (NULL)" a no-op; remove useless if-before-xfree. · 70fdbb46
      Jim Meyering authored
      * src/alloc.c (xfree): Return right away for a NULL arg.
      * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests.
      * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise.
      * src/mac.c (create_apple_event_from_event_ref): Likewise.
      (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise.
      * src/doprnt.c (doprnt1): Likewise.
      * src/frame.c (frame): Likewise.
      * src/keyboard.c (wipe_kboard): Likewise.
      * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap):
      (init_font_name_table, mac_unload_font, x_delete_display): Likewise.
      * src/term.c (tty_default_color_capabilities, maybe_fatal)
      (delete_tty): Likewise.
      * src/w16select.c (string): Likewise.
      * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise.
      * src/w32bdf.c (w32_free_bdf_font): Likewise.
      * src/w32fns.c (w32_unload_font): Likewise.
      * src/w32font.c (w32font_close): Likewise.
      * src/window.c (size_window): Likewise.
      * src/xselect.c (receive_incremental_selection): Likewise.
      * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise.
      * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise.
      * src/w32.c (stat): Likewise.
      70fdbb46
  5. 16 May, 2008 2 commits
  6. 14 May, 2008 1 commit
  7. 19 Apr, 2008 1 commit
    • Stefan Monnier's avatar
      * tooltip.el (tooltip-previous-message): New var. · ece5f847
      Stefan Monnier authored
      (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.
      ece5f847
  8. 15 Apr, 2008 1 commit
  9. 09 Apr, 2008 1 commit
  10. 02 Apr, 2008 2 commits
  11. 29 Mar, 2008 1 commit
    • Stefan Monnier's avatar
      * keyboard.c (pending_funcalls): New var. · 58555d81
      Stefan Monnier authored
      (timer_check): Run it.
      (syms_of_keyboard): Initialize it.
      * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
      (Vdelete_terminal_functions): New vars.
      (syms_of_terminal): Initialize them.
      (Fdelete_terminal): Run delete-terminal-functions.
      * xdisp.c (safe_eval): Rewrite.
      (safe_call2): New fun.
      * frame.c (Qdelete_frame_functions): New var.
      (syms_of_frame): Initialize it.
      (Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
      * lisp.h (safe_call2, pending_funcalls): Declare.
      58555d81
  12. 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
  13. 16 Mar, 2008 1 commit
  14. 25 Feb, 2008 2 commits
  15. 12 Feb, 2008 1 commit
  16. 11 Feb, 2008 1 commit
  17. 09 Feb, 2008 1 commit
    • Dan Nicolaescu's avatar
      * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code · 4624371d
      Dan Nicolaescu authored
      dealing with obsolete variables.
      
      * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
      (main): Replace MAIL_PROGRAM_NAME with its value.
      
      * src/Makefile.in:
      * src/emacs.c:
      * src/gmalloc.c:
      * src/keyboard.c:
      * src/lisp.h:
      * src/m/ibm370aix.h:
      * src/process.c:
      * src/regex.c:
      * src/s/hpux.h:
      * src/sysdep.c:
      * src/sysselect.h:
      * src/systty.h:
      * src/unexec.c:
      * src/w32term.c:
      * src/xsmfns.c:
      * src/xterm.c: Remove code that deals with obsolete variables.
      
      * s/msdos.h (DONT_NEED_ENVIRON): Don't define.
      
      * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
      nothing else needs it anymore.
      4624371d
  18. 08 Feb, 2008 1 commit
  19. 31 Jan, 2008 1 commit
  20. 28 Jan, 2008 1 commit
  21. 25 Jan, 2008 1 commit
  22. 13 Jan, 2008 1 commit
    • Dan Nicolaescu's avatar
      * movemail.c: · e39a993c
      Dan Nicolaescu authored
      * make-docfile.c: Remove reference to symbols defined by systems
      not supported anymore: MAC_OS8, XENIX and STRIDE.
      
      * (src/m/mips.h):
      * (src/m/intel386.h):
      * callproc.c:
      * config.in:
      * ecrt0.c:
      * emacs.c:
      * fileio.c:
      * frame.c:
      * getpagesize.h:
      * keyboard.c:
      * lread.c:
      * process.c:
      * puresize.h:
      * sysdep.c:
      * systty.h:
      * syswait.h:
      * unexec.c:
      * xdisp.c:
      * alloc.c: Remove code containing references to symbols defined by
      unsupported systems.
      e39a993c
  23. 08 Jan, 2008 1 commit
  24. 06 Jan, 2008 1 commit
  25. 03 Jan, 2008 1 commit
  26. 10 Dec, 2007 1 commit
  27. 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
  28. 29 Nov, 2007 1 commit
  29. 28 Nov, 2007 1 commit
    • Stefan Monnier's avatar
      (KEY_TO_CHAR): New macro. · 21ec2c43
      Stefan Monnier authored
      (parse_modifiers, apply_modifiers): Accept integer arguments.
      (read_key_sequence): Use them to unify the "shift->unshift" mapping
      for chars and symbol keys.
      After doing such remapping, apply function-key-map again.
      21ec2c43
  30. 15 Nov, 2007 2 commits
  31. 09 Nov, 2007 1 commit
  32. 31 Oct, 2007 1 commit
  33. 25 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Make `window-system' into a keyboard-local variable (rather than · 70b8d0a4
      Stefan Monnier authored
      frame-local as done originally by multi-tty).
      
      * startup.el (window-system): Remove.  Don't make it frame-local.
      
      * keyboard.h (struct kboard): Add Vwindow_system.
      * keyboard.c (init_kboard): Set a default for Vwindow_system.
      (mark_kboards): Mark Vwindow_system.
      
      * dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
      (init_display): Don't set the obsolete `window-system' frame-param.
      
      * xterm.c (x_term_init):
      * w32term.c (w32_create_terminal):
      * term.c (init_tty): Set Vwindow_system.
      * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
      multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.
      
      * xfns.c (Fx_create_frame, x_create_tip_frame):
      * w32fns.c (Fx_create_frame, x_create_tip_frame):
      * macfns.c (Fx_create_frame):
      Don't set the obsolete `window-system' frame-param.
      
      * frame.h (Qwindow_system): Remove.
      * frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
      (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
      70b8d0a4