1. 15 May, 2006 5 commits
  2. 10 May, 2006 8 commits
  3. 09 May, 2006 2 commits
  4. 08 May, 2006 5 commits
  5. 07 May, 2006 8 commits
    • Juanma Barranquero's avatar
      f4b46bb9
    • YAMAMOTO Mitsuharu's avatar
      *** empty log message *** · cc9945f2
      YAMAMOTO Mitsuharu authored
      cc9945f2
    • YAMAMOTO Mitsuharu's avatar
      d0179855
    • YAMAMOTO Mitsuharu's avatar
      (XLoadQueryFont) [USE_ATSUI]: Set FMFontFamily value · 68c767a3
      YAMAMOTO Mitsuharu authored
      to font->mac_fontnum.
      [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function.
      (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it.
      (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern.
      (QWindow) [MAC_OSX]: Likewise.
      (Qfont) [USE_MAC_FONT_PANEL]: Likewise.
      (Vmac_atsu_font_table) [USE_ATSUI]: New variable.
      (syms_of_macterm) [USE_ATSUI]: Defvar it.
      (Qtoolbar_switch_mode) [MAC_OSX]: New variable.
      (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
      (syms_of_macterm): Intern and staticpro them.
      (init_font_name_table) [USE_ATSUI]: Set data to Vmac_atsu_font_table.
      [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New
      function.
      [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
      [MAC_OSX] (mac_store_services_event): Likewise.
      [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
      kEventWindowToolbarSwitchMode event.
      (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
      [MAC_OSX] (mac_store_services_event): Change return type to OSStatus.
      [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function.
      (install_window_handler) [USE_MAC_FONT_PANEL]: Install it.
      (XTread_socket): Select window on mouse click if x_focus_frame is NULL.
      68c767a3
    • YAMAMOTO Mitsuharu's avatar
      (mac_do_receive_drag): Remove unused variable `index'. · a6d7a775
      YAMAMOTO Mitsuharu authored
      (mac_store_services_event): Change return type in extern.
      a6d7a775
    • YAMAMOTO Mitsuharu's avatar
      (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set · b1b415de
      YAMAMOTO Mitsuharu authored
      and build is done on Mac OS X 10.2 and later.
      b1b415de
    • YAMAMOTO Mitsuharu's avatar
      (mac_set_font): New function. · 000447ac
      YAMAMOTO Mitsuharu authored
      (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it.
      (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify
      kWindowToolbarButtonAttribute when creating window.
      (Fmac_clear_font_name_table): Move from macfns.c.
      (syms_of_macfns): Likewise for defsubr.
      [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun.
      (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it.
      000447ac
    • YAMAMOTO Mitsuharu's avatar
      (Fmac_clear_font_name_table): Move defun to macfns.c. · bd13cae7
      YAMAMOTO Mitsuharu authored
      (syms_of_mac): Likewise for defsubr.
      bd13cae7
  6. 06 May, 2006 2 commits
  7. 05 May, 2006 10 commits
    • Kim F. Storm's avatar
      (xframe): Print frame name. · 28c1e1ca
      Kim F. Storm authored
      (xlist): New command to print a list (max 10 elements).
      (xpr): Print lisp object of any type.
      (pitx): Print it->pixel_width.
      28c1e1ca
    • Kim F. Storm's avatar
      *** empty log message *** · a1dfdf24
      Kim F. Storm authored
      a1dfdf24
    • Kenichi Handa's avatar
      (handle_composition_prop): Fix for the case of empty · ba1eeafa
      Kenichi Handa authored
      composition component.
      ba1eeafa
    • Kenichi Handa's avatar
      *** empty log message *** · 37e21325
      Kenichi Handa authored
      37e21325
    • YAMAMOTO Mitsuharu's avatar
      *** empty log message *** · ef0154b5
      YAMAMOTO Mitsuharu authored
      ef0154b5
    • YAMAMOTO Mitsuharu's avatar
    • YAMAMOTO Mitsuharu's avatar
      (mac_make_lispy_event_code): Remove extern. · 93ad8ad9
      YAMAMOTO Mitsuharu authored
      (mac_post_mouse_moved_event): Add extern.
      (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
      `const AEDesc *' in externs.
      (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern.
      93ad8ad9
    • YAMAMOTO Mitsuharu's avatar
      (XTread_socket) [TARGET_API_MAC_CARBON]: Try window · a733ef16
      YAMAMOTO Mitsuharu authored
      path select also for proxy icon click.
      [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function.
      [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it.
      (xlfdpat_create): Remove unused label `error' and trailing sentences.
      (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c.
      (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to
      macselect.c.
      (install_drag_handler, remove_drag_handler): Add extern.
      (mac_store_apple_event): Change return type to void.  All uses changed.
      Create Lisp object from Apple event and store it into input event.
      (mac_make_lispy_event_code): Remove function.
      [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function.
      (install_window_handler): Call install_drag_handler.
      (remove_window_handler): Call remove_drag_handler.
      a733ef16
    • YAMAMOTO Mitsuharu's avatar
      Update copyright year. · 044f1b64
      YAMAMOTO Mitsuharu authored
      (mac_store_apple_event): Change return type to void in extern.
      (mac_handle_apple_event): Don't get return value from
      mac_store_apple_event.
      [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable.
      (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it.
      [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from
      macterm.c.  Use Vmac_dnd_known_types as acceptable flavors.
      [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.  New
      implementation using create_apple_event_from_drag_ref.
      [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
      (mac_do_receive_dragUPP): Move variables from macterm.c.
      (install_drag_handler, remove_drag_handler): New functions.
      044f1b64
    • YAMAMOTO Mitsuharu's avatar