1. 01 Jul, 2009 4 commits
    • 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
    • Kenichi Handa's avatar
      (setup_coding_system): Initialize · 624bda09
      Kenichi Handa authored
      coding->carryover_bytes to 0.
      (Fset_keyboard_coding_system_internal): If CODING-SYSTEM is nil,
      use Qno_conversion.
      624bda09
    • YAMAMOTO Mitsuharu's avatar
  2. 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
  3. 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
  4. 28 Jun, 2009 6 commits
  5. 27 Jun, 2009 5 commits
  6. 26 Jun, 2009 3 commits
  7. 25 Jun, 2009 2 commits
  8. 24 Jun, 2009 2 commits
  9. 23 Jun, 2009 9 commits
  10. 22 Jun, 2009 3 commits
  11. 21 Jun, 2009 3 commits