1. 28 Jun, 2008 1 commit
    • Jason Rumney's avatar
      * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer. · 8b61a891
      Jason Rumney authored
      (pfnSetLayeredWindowAttributes): New function pointer.
      (w32_initialize): Initialize it when supported.
      (x_set_frame_alpha): New function.
      
      * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'.
      (w32_frame_parm_handlers): Set alpha handler.
      
      * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha.
      8b61a891
  2. 20 Jun, 2008 1 commit
  3. 19 Jun, 2008 1 commit
    • Kenichi Handa's avatar
      Include <ctype.h> · 22e64f7c
      Kenichi Handa authored
      (x_set_font_backend): Allow spacing characters in the X resource
      for FontBackend.
      22e64f7c
  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. 21 May, 2008 1 commit
    • Glenn Morris's avatar
      Seiji Zenitani <zenitani at mac.com> · 0a708637
      Glenn Morris authored
      Ryo Yoshitake <ryo at shiftmode.net>
      
      (Qalpha): Add a new frame parameter `alpha'.
      (Vframe_alpha_lower_limit) : New variable.
      (x_set_alpha): Add function.
      0a708637
  6. 16 May, 2008 1 commit
  7. 14 May, 2008 2 commits
  8. 09 Apr, 2008 1 commit
    • Stefan Monnier's avatar
      * xdisp.c (redisplay_internal): Reset tty's color_mode when switching · 9b2cd403
      Stefan Monnier authored
      to another frame.
      * frame.c (do_switch_frame): Refine the top_frame/async_visible code.
      Don't call set_tty_color_mode.
      (store_frame_param): Reset previous_frame rather than call
      set_tty_color_mode.
      * term.c (set_tty_color_mode): Rewrite.
      * dispextern.h (set_tty_color_mode): New type.
      * termchar.h (struct tty_display_info): Add `previous_color_mode'.
      9b2cd403
  9. 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
  10. 25 Mar, 2008 1 commit
  11. 12 Feb, 2008 1 commit
  12. 11 Feb, 2008 1 commit
  13. 10 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * frame.c (Qnoelisp): New symbol. · c53956fe
      Stefan Monnier authored
      (syms_of_frame): Initialize it.
      (Fdelete_frame): Use it to distinguish a mere `force' passed from
      someharmles Elisp code, from a strong `force' from x_connection_closed.
      * frame.h (Qnoelisp): Declare.
      * xterm.c (x_connection_closed): Pass `noelisp'.
      c53956fe
  14. 08 Feb, 2008 1 commit
  15. 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
  16. 08 Jan, 2008 1 commit
  17. 07 Jan, 2008 1 commit
  18. 18 Dec, 2007 1 commit
  19. 21 Nov, 2007 1 commit
  20. 19 Nov, 2007 1 commit
  21. 31 Oct, 2007 1 commit
  22. 26 Oct, 2007 1 commit
  23. 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
  24. 24 Oct, 2007 1 commit
  25. 16 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. · 67ee9f6e
      Stefan Monnier authored
      (XMISCANY): New macro.
      (XMISCTYPE): Use it.
      (struct Lisp_Misc_Any): New type.
      (union Lisp_Misc): Use it.
      (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
      * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
      (find_symbol_value, set_internal, default_value, Fset_default)
      (Fmake_variable_buffer_local, Fmake_local_variable)
      (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
      (Flocal_variable_if_set_p, Fvariable_binding_locus):
      The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
      * alloc.c (allocate_buffer): Set the size and tag.
      (allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
      Use XMISCANY.
      (die): Follow the GNU convention for error messages.
      * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
      * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
      tag any more.
      (set_buffer_internal_1):
      * frame.c (store_frame_param):
      * eval.c (specbind):
      * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
      67ee9f6e
  26. 12 Oct, 2007 1 commit
  27. 10 Oct, 2007 2 commits
    • Stefan Monnier's avatar
      * frame.c (Qenvironment): Remove. · 26f9c7b7
      Stefan Monnier authored
      (syms_of_frame) <Qenvironment>: Don't initialize.
      (Fdelete_frame): Don't treat the `environment' param specially.
      * frame.h (Qenvironment): Don't declare.
      * callproc.c (set_initial_environment): Don't set unused frame param.
      26f9c7b7
    • Stefan Monnier's avatar
      * frame.c (Fframe_with_environment): Remove. · c7a4b95b
      Stefan Monnier authored
      (syms_of_frame) <Sframe_with_environment>: Don't declare.
      * lisp.h (Fframe_with_environment): Don't declare.
      c7a4b95b
  28. 06 Oct, 2007 1 commit
  29. 02 Oct, 2007 1 commit
  30. 25 Sep, 2007 1 commit
  31. 21 Sep, 2007 1 commit
  32. 20 Sep, 2007 1 commit
  33. 07 Sep, 2007 1 commit
  34. 31 Aug, 2007 1 commit
  35. 29 Aug, 2007 1 commit
  36. 25 Jul, 2007 1 commit
  37. 03 Jul, 2007 1 commit
    • Dan Nicolaescu's avatar
      * server.el (server-process-filter): Likewise. · de87fb59
      Dan Nicolaescu authored
      (server-process-filter): Likewise. Also set COLORFGBG and
      COLORTERM.
      
      * frame.el (frame-initialize, make-frame): Likewise.
      
      * faces.el (tty-set-up-initial-frame-faces): Likewise.
      
      * env.el (read-envvar-name): Don't consider the environment frame
      param.
      (setenv): Set display-environment-variable and
      term-environment-variable.
      
      * frame.c (Qterm_environment_variable,
      Qdisplay_environment_variable): New variables.
      (syms_of_frame): Intern and staticpro them.
      
      * frame.h: Declare them here.
      
      * callproc.c (child_setup): Use the display-environment-variable
      and term-environment-variable frame params.
      (getenv_internal): Likewise.
      (set_initial_environment): Initialise Vprocess_environment.
      
      * frames.texi (Basic Parameters): Add display-environment-variable
      and term-environment-variable.
      de87fb59
  38. 03 Jun, 2007 1 commit