1. 08 Jul, 2011 8 commits
    • Jan Djärv's avatar
      Fix warnings in ns*m files: Replace deprecated methods, declare new interfaces. · 4393663b
      Jan Djärv authored
      * emacs.c: Declare unexec_init_emacs_zone.
      
      * nsfns.m (check_ns_display_info): Cast to long and use %ld in error
      to avoid warning.
      
      * nsimage.m (allocInitFromFile): Don't use deprecated method
      bestRepresentationForDevice on OSX >= 10.6.
      
      * nsmenu.m (fillWithWidgetValue): Don't use depercated method
      sizeToFit on OSX >= 10.2.
      
      * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
      cString and lossyCString on OSX >= 10.4
      
      * nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4)
      (MAC_OS_X_VERSION_10_5): Define if not defined.
      (EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6.
      (EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6.
      (EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6.
      
      * nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and
      variable firstTime not needed on OSX >= 10.6.
      (setPosition): setFloatValue:knobProportion: is deprecated on OSX
      >= 10.5.  Use setKnobProportion, setDoubleValue.
      4393663b
    • Paul Eggert's avatar
      Merge from gnulib. · 2287ac98
      Paul Eggert authored
      2287ac98
    • Paul Eggert's avatar
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Fix services menu empty on OSX 1.6+. · 699c10bd
      Jan Djärv authored
      * nsfns.m (Fx_open_connection): Remove NSStringPboardType from
      ns_return_types.
      (Fns_list_services): Just return Qnil on 10.6, code not working there.
      
      * nsmenu.m (ns_update_menubar): Remove useless setDelegate call
      on svcsMenu.
      
      * nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).
      
      * nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
      (ns_get_local_selection): Declare.
      
      * nsterm.m (QUTF8_STRING): Declare.
      (initFrameFromEmacs): Call registerServicesMenuSendTypes.
      (validRequestorForSendType): Return type is (id).
      Change indexOfObjectIdenticalTo to indexOfObject.
      Check if we have local selection before returning self (Bug#8842).
      (writeSelectionToPasteboard): Put local selection into paste board
      if we have a local selection (Bug#8842).
      (syms_of_nsterm): DEFSYM QUTF8_STRING.
      699c10bd
    • Lars Magne Ingebrigtsen's avatar
      Allow sending mail in "emacs -Q" by not calling customize-save-variable · d760b731
      Lars Magne Ingebrigtsen authored
      * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
      
      * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
      save customizations (with "emacs -Q"), just set the variable
      instead of erroring out.
      d760b731
    • Daiki Ueno's avatar
      Revert the plstore editing feature. · 47588180
      Daiki Ueno authored
      47588180
    • Juri Linkov's avatar
      * lisp/arc-mode.el (archive-zip-expunge, archive-zip-update) · cd79ce90
      Juri Linkov authored
      (archive-zip-update-case): Use 7z if found by `executable-find'.
      The order of searching the available programs is the same as in
      `archive-zip-extract'.
      
      Fixes: debbugs:8968
      cd79ce90
  2. 07 Jul, 2011 29 commits
  3. 06 Jul, 2011 3 commits