1. 09 Jul, 2009 2 commits
  2. 08 Jul, 2009 3 commits
  3. 07 Jul, 2009 3 commits
  4. 04 Jul, 2009 1 commit
    • Eli Zaretskii's avatar
      Emulation of `getloadavg' on MS-Windows: · ad9e2d54
      Eli Zaretskii authored
      Include float.h
      (g_b_init_get_native_system_info, g_b_init_get_system_times)
      (GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare.
      (get_native_system_info, get_system_times): New functions.
      (buf_next, buf_prev, sample_system_load, getavg): New subroutines.
      (getloadavg): Rewrite using GetSystemTimes and GetNativeSystemInfo.
      (globals_of_w32): Initialize g_b_init_get_native_system_info,
      g_b_init_get_system_times, and num_of_processors.
      ad9e2d54
  5. 03 Jul, 2009 5 commits
    • Jason Rumney's avatar
      * w32term.c (w32_initialize): Use standard types. · 0a3472c7
      Jason Rumney authored
      * runemacs.c (set_user_model_id): Use standard types.
      * emacsclient.c (w32_set_user_model_id): Use standard types.
      0a3472c7
    • Eli Zaretskii's avatar
    • Dan Nicolaescu's avatar
      * sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused. · f8d23104
      Dan Nicolaescu authored
      (mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused.
      
      * callproc.c (child_setup): Use #else instead of a separate #ifdef.
      
      * term.c (init_tty): Remove spurious #ifdef.
      f8d23104
    • Dan Nicolaescu's avatar
      * m/mips.h: Mention this file is also used for netbsd. · 6978862d
      Dan Nicolaescu authored
      * m/pmax.h: Remove file.
      
      * configure.in (--enable-profiling): New option.
      (mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
      6978862d
    • Jan Djärv's avatar
      * xterm.h (struct x_display_info): Add invisible_cursor. · e044e4fc
      Jan Djärv authored
      (struct x_output): Add current_cursor.
      
      * xterm.c (XTtoggle_invisible_pointer): New function.
      (x_define_frame_cursor): Don't define cursor if invisible or the
      same as before.  Set current_cursor.
      (x_create_terminal): Set toggle_invisible_pointer_hook.
      
      * xfns.c (make_invisible_cursor): New function.
      (x_set_mouse_color): Call make_invisible_cursor.
      Set current_cursor.
      (x_window): Set current_cursor.
      
      * termhooks.h (struct terminal): Add toggle_invisible_pointer_hook.
      
      * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after
      inserting a character.
      (read_avail_input): Call frame_make_pointer_visible.
      
      * frame.c (Vmake_pointer_invisible): New variable.
      (frame_make_pointer_invisible, frame_make_pointer_visible): New
      functions.
      (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt.
      
      * frame.h: Declare frame_make_pointer_invisible and
      frame_make_pointer_visible.
      (struct frame): Add pointer_invisible.
      
      * cus-start.el (all): Added make-pointer-invisible.
      e044e4fc
  6. 02 Jul, 2009 3 commits
  7. 01 Jul, 2009 6 commits
    • Jan Djärv's avatar
      * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky · acd51077
      Jan Djärv authored
      * xterm.c (x_handle_net_wm_state): Also look for sticky.
      (x_term_init): Initialize Xatom_net_wm_state_sticky.
      
      * frame.h: Declare Qsticky.
      acd51077
    • 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
    • Jan Djärv's avatar
      * gtkutil.c (xg_tool_bar_proxy_help_callback): New function. · 69b16610
      Jan Djärv authored
      (xg_tool_bar_menu_proxy): Attach enter/leave events to
      xg_tool_bar_proxy_help_callback.
      69b16610
    • Jan Djärv's avatar
      * emacs.c (USAGE3, standard_args): Add -mm and --maximized. · 3f1c6666
      Jan Djärv authored
      * 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.
      
      * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED.  Declare
      Qfullwidth, Qfullheight, Qfullboth, 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.
      
      * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove.
      (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and
      flush_and_sync.
      (xg_height_changed): New function.
      (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request
      and gtk_window_set_policy.  Set frame gravity after parsing the geometry
      string.
      (xg_update_frame_menubar, free_frame_menubar)
      (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
      (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed.
      Remove calls to xg_frame_set_char_size.
      
      * startup.el (command-line-x-option-alist): Add -mm and --maximized.
      
      * NEWS: Mention maximized.
      
      * frames.texi (Size Parameters): Mention maximized for fullscreen.
      
      * xresources.texi (Table of Resources): Mention maximized for
      fullscreen.
      
      * cmdargs.texi (Window Size X): -mm/--maximized is new.
      3f1c6666
    • Kenichi Handa's avatar
      (decode_keyboard_code): New function. · fd503d99
      Kenichi Handa authored
      (tty_read_avail_input): Decode the input bytes if necessary.
      fd503d99
    • YAMAMOTO Mitsuharu's avatar
  8. 30 Jun, 2009 2 commits
    • Chong Yidong's avatar
      * xftfont.c (xftfont_open): Avoid passing NULL argument to · 99061dfc
      Chong Yidong authored
      XftLockFace.
      99061dfc
    • Jason Rumney's avatar
      bug#1849 - Windows 7 Taskbar Support · ff90fbde
      Jason Rumney authored
      * w32term.c (w32_initialize): Use GetModuleHandle for library that
      is already loaded.
      Set user model ID if supported (bug#1849).
      
      * runemacs.c (set_user_model_id): New function.
      (WinMain): Use it.
      
      * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
      that is already loaded.
      (w32_set_user_model_id): New function.
      (main): Use it to associate emacsclient with emacs (bug#1849).
      ff90fbde
  9. 29 Jun, 2009 1 commit
    • Jim Meyering's avatar
      Remove useless if-before-xfree tests. · 5f445726
      Jim Meyering authored
      * nsfont.m (nsfont_close): Remove useless test.
      * term.c (delete_tty): Likewise.
      * w32.c (system_process_attributes): Likewise.
      * w32font.c (w32font_close): Likewise.
      * xfaces.c (x_free_gc): Likewise.
      * xselect.c (buffer): Likewise.
      5f445726
  10. 28 Jun, 2009 5 commits
  11. 27 Jun, 2009 4 commits
  12. 26 Jun, 2009 2 commits
  13. 25 Jun, 2009 2 commits
  14. 24 Jun, 2009 1 commit