1. 06 Jul, 2010 1 commit
  2. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove __P and P_ from .c and .m files and definition of P_ · f57e2426
      Jan D authored
      * lisp.h:
      * atimer.h: Remove define for P_.
      
      * alloc.c: Remove __P and P_ from .c and .m files.
      * atimer.c:
      * buffer.c:
      * callint.c:
      * category.c:
      * charset.c:
      * chartab.c:
      * cm.c:
      * coding.c:
      * composite.c:
      * data.c:
      * dired.c:
      * dispnew.c:
      * doc.c:
      * editfns.c:
      * emacs.c:
      * eval.c:
      * fileio.c:
      * filelock.c:
      * fns.c:
      * font.c:
      * fontset.c:
      * frame.c:
      * ftfont.c:
      * ftxfont.c:
      * gmalloc.c:
      * gtkutil.c:
      * image.c:
      * indent.c:
      * intervals.c:
      * keyboard.c:
      * keymap.c:
      * lread.c:
      * marker.c:
      * menu.c:
      * minibuf.c:
      * print.c:
      * process.c:
      * scroll.c:
      * search.c:
      * sound.c:
      * strftime.c:
      * syntax.c:
      * sysdep.c:
      * term.c:
      * terminal.c:
      * textprop.c:
      * unexalpha.c:
      * w32console.c:
      * w32fns.c:
      * w32font.c:
      * w32menu.c:
      * w32term.c:
      * w32uniscribe.c:
      * window.c:
      * xdisp.c:
      * xfaces.c:
      * xfns.c:
      * xfont.c:
      * xftfont.c:
      * xmenu.c:
      * xselect.c:
      * xterm.c: Likewise.
      
      * ebrowse.c: Remove P_ and __P.
      * etags.c:
      * movemail.c:
      * pop.c:
      * update-game-score.c: Likewise.
      f57e2426
  3. 27 Jun, 2010 1 commit
    • Chong Yidong's avatar
      Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249). · 6431f2e6
      Chong Yidong authored
      Don't add entries for `menu-bar-lines' and `tool-bar-lines' to
      `default-frame-alist' and `initial-frame-alist' at startup.
      Instead, use X resources to update the `menu-bar-mode' and
      `tool-bar-mode' variables at startup, and use them as defaults during
      frame creation.
      
      * lisp/frame.el (frame-notice-user-settings): Don't change
      default-frame-alist based on menu-bar-mode and tool-bar-mode, or
      vice versa.
      
      * lisp/menu-bar.el (menu-bar-mode):
      * lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
      Set init-value to t.
      
      * lisp/startup.el (command-line): Use X resources to set the value of
      menu-bar-mode and tool-bar-mode, before calling frame-initialize.
      
      * src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars.
      
      * src/w32fns.c (Fx_create_frame):
      * src/nsfns.m (Fx_create_frame): Likewise.
      
      * src/xfns.c (Fx_create_frame): Don't consult X resouces when setting
      menu-bar-lines and tool-bar-lines.  Use menu-bar-mode and
      tool-bar-mode, which are now set using these X resources at
      startup, to determine the defaults.
      6431f2e6
  4. 11 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Backport from trunk: Fix bug #6126. · c8670ded
      Eli Zaretskii authored
       makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(SRC)/w32.h.
       w32fns.c: Include w32.h.
       (Fw32_shell_execute): Decode the error message before passing it
       to `error'.
      c8670ded
  5. 07 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Fix bug #6126. · 5cba3209
      Eli Zaretskii authored
       w32fns.c: Include w32.h.
       (Fw32_shell_execute): Decode the error message before passing it
       to `error'.
      5cba3209
  6. 31 Mar, 2010 1 commit
    • Eli Zaretskii's avatar
      Fix bug #5703. · 4a217bed
      Eli Zaretskii authored
       w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
       in this function.
      4a217bed
  7. 13 Jan, 2010 1 commit
  8. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  9. 29 Oct, 2009 1 commit
  10. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  11. 02 Oct, 2009 1 commit
  12. 01 Oct, 2009 1 commit
  13. 22 Jul, 2009 1 commit
  14. 01 Jul, 2009 1 commit
    • Jan Djärv's avatar
      * w32fns.c (w32_frame_parm_handlers): Set 0 for sticky. · cad9ef74
      Jan Djärv authored
      * nsfns.m (ns_frame_parm_handlers): Ditto.
      
      * frame.c: Declare Qsticky.
      (frame_parms): Add sticky.
      
      * xfns.c (x_frame_parm_handlers): Let x_set_sticky handle sticky.
      
      * xterm.h: Declare x_set_sticky.
      
      * xterm.c (x_set_sticky): New function.
      
      * frame.c: Qmaximized is new.
      (x_set_frame_parameters): Do not handle fullscreen specially.
      Only set width and height if explicitly set.
      (x_set_fullscreen): Handle Qmaximized.
      (x_set_font, x_figure_window_size): Do not handle fullscreen specially.
      (syms_of_frame): Initialize Qmaximized.
      
      * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen
      for Expose event. Add call to x_check_fullscreen for MapNotify event.
      Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not
      set gravity to NorthWestGravity when USE_GTK.
      (set_wm_state): New function.
      (do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED.
      (x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED.
      (x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen
      or the case when no window manager is running. That means remove calls
      to x_real_positions and x_fullscreen_adjust.
      cad9ef74
  15. 03 Jun, 2009 1 commit
  16. 15 Mar, 2009 1 commit
  17. 04 Mar, 2009 1 commit
  18. 08 Feb, 2009 1 commit
  19. 18 Jan, 2009 1 commit
  20. 08 Jan, 2009 2 commits
  21. 22 Dec, 2008 1 commit
    • Martin Rudalics's avatar
      * frame.c (delete_frame): New function derived from · 56f2de10
      Martin Rudalics authored
      Fdelete_frame to handle Qnoelisp value for FORCE argument.
      Delete last frame iff FORCE equals Qnoelisp.  (Bug#1450)
      (Fdelete_frame): Call delete_frame.  Remove line from doc-string
      saying that FORCE non-nil doesn't run `delete-frame-functions'.
      * frame.h: Extern delete_frame.
      * window.c (window_loop):
      * terminal.c (delete_terminal):
      * xterm.c (x_connection_closed):
      * xfns.c (Fx_hide_tip):
      * w32fns.c (Fx_hide_tip): Call delete_frame instead of
      Fdelete_frame.
      56f2de10
  22. 12 Dec, 2008 1 commit
  23. 30 Oct, 2008 1 commit
  24. 22 Oct, 2008 1 commit
  25. 19 Sep, 2008 1 commit
  26. 26 Aug, 2008 1 commit
    • Juanma Barranquero's avatar
      Fix typos (sync from trunk). · 88a584fe
      Juanma Barranquero authored
      * editfns.c (Ffield_string_no_properties): Fix typo in docstring.
      
      * fringe.c (Fdefine_fringe_bitmap): Doc fix.
      
      * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstring.
      
      * textprop.c (syms_of_textprop) <text-property-default-nonsticky>:
        (Fremove_text_properties): Fix typos in docstrings.
      
      * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring.
      
      * xdisp.c (syms_of_xdisp) <scroll-conservatively>:
        Fix typo in docstring.
      
      * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face):
        Fix typos in docstrings.
      
      * xselect.c (Fx_send_client_event): Doc fix.
      88a584fe
  27. 15 Aug, 2008 1 commit
  28. 01 Aug, 2008 1 commit
  29. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      default.
      * config.in: Regenerate.
      
      * config.nt (MULTI_KBOARD): Remove.
      
      * configure.in (MULTI_KBOARD): Remove.
      69ab3201
  30. 15 Jul, 2008 2 commits
  31. 14 Jul, 2008 1 commit
  32. 08 Jul, 2008 1 commit
  33. 07 Jul, 2008 1 commit
  34. 02 Jul, 2008 1 commit
    • Jason Rumney's avatar
      Changes from Toru Tsuneyoshi for using Trash can when deleting files. · 6cf29fe8
      Jason Rumney authored
      	* files.el (backup-extract-version): Handle versioned directories.
      	(trash-directory): New variable.
      	(move-file-to-trash): New function.
      
      	* cus-start.el (delete-by-moving-to-trash): Declare for custom.
      
              * lisp.h (Qdelete_file, Qdelete_directory): Declare extern.
      
              * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars.
              (syms_of_fileio): Initialize and export them.
              (Fdelete_directory, Fdelete_file): Optionally delete via trash.
      
              * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already.
              (Fsystem_move_file_to_trash): New function.
              (syms_of_w32fns): Export it to lisp.
      6cf29fe8
  35. 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
  36. 27 Jun, 2008 2 commits
    • Jason Rumney's avatar
      * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight) · 57016d37
      Jason Rumney authored
      (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions.
      (w32_to_x_charset, x_to_w32_charset)
      (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
      (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
      (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
      (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
      (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
      (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
      (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c.
      (Qw32_charset_unicode): Remove.
      (syms_of_w32fns): Update for above changes.
      
      * w32font.c (w32_to_x_charset, x_to_w32_charset)
      (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
      (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
      (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
      (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
      (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
      (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
      (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c.
      (syms_of_w32font): Update for above changes.
      
      * w32-fns.el (top-level): Unconditionally define all charsets.
      57016d37
    • Glenn Morris's avatar
      American English spelling fix. · fffa137c
      Glenn Morris authored
      fffa137c
  37. 20 Jun, 2008 1 commit