1. 21 Dec, 2011 3 commits
    • Jan Djärv's avatar
      Fix biggest memory leaks in NS-port. More remain. · 204ee57f
      Jan Djärv authored
      * emacs.c (ns_pool): New variable.
      (main): Assign ns_pool.
      (Fkill_emacs): Call ns_release_autorelease_pool.
      
      * nsfns.m (x_set_background_color): Assign return value from
      ns_index_color to face-background instead of NSColor*.
      (ns_implicitly_set_icon_type): Fix indentation.
      Change assignment in for loop to comparison.
      
      * nsfont.m (ns_spec_to_descriptor): Fix indentation,
      autorelease fdesc, release fdAttrs and tdict.
      (ns_get_covering_families): Release charset.
      (ns_findfonts): Release NSFontDescriptor created with new.
      (ns_uni_to_glyphs): Fix indentation.
      (setString): Release attrStr before assigning new value.
      
      * nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
      before returning.
      
      * nsterm.m (x_free_frame_resources): Release
      f->output_data.ns->miniimage
      (ns_index_color): Fix indentation.  Do not retain
      color_table->colors[i].
      204ee57f
    • Chong Yidong's avatar
    • Jan Djärv's avatar
      Attribute Aquamacs code to David Reitter. · 678f4426
      Jan Djärv authored
      678f4426
  2. 20 Dec, 2011 3 commits
    • Alan Mackenzie's avatar
      Update programs.texi and cc-mode.texi for new CC Mode features: · 47d42d81
      Alan Mackenzie authored
      cc-mode.texi: Update version string to 5.32.
      programs.texi: Describe "guessing" of indentation style.  Update C-M-a/e.
      47d42d81
    • Martin Rudalics's avatar
      Restore Emacs 23 handling of display-buffer's BUFFER-OR-NAME argument. · d45ba96b
      Martin Rudalics authored
      * window.el (window-normalize-buffer-to-display): Remove.
      (display-buffer): Handle buffer-or-name argument as in Emacs 23.
      d45ba96b
    • Chong Yidong's avatar
      More updates for VC documentation. · 2edef1a0
      Chong Yidong authored
      * doc/emacs/maintaining.texi (VCS Concepts): Add "working tree" terminology.
      (Old Revisions): Use it.
      (VCS Repositories): Add "distributed" terminology.
      (Log Buffer): Remove duplicate description
      about changesets.  Fix "current VC fileset" ambiguity.
      (Multi-User Branching): Node deleted.
      (Branches, Switching Branches): Discuss decentralized version control systems.
      (VC Pull): New node.
      (Merging): Document merging on decentralized systems.
      (Creating Branches): Note that this is specific to CVS and related systems.
      2edef1a0
  3. 19 Dec, 2011 7 commits
  4. 18 Dec, 2011 3 commits
    • Jan Djärv's avatar
      Fix spelling AquaEmacs => Aquamacs · 3771cb17
      Jan Djärv authored
      3771cb17
    • Jan Djärv's avatar
      Adapt code from AquaEmacs to handle occasional blank menus. · 5fecd5fc
      Jan Djärv authored
      * nsmenu.m (trackingMenu): New variable.
      (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and
      NS_IMPL_COCOA.
      (trackingNotification): New method (from AquaEmacs).
      (menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
      from AquaEmacs.
      (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
      
      * nsterm.m (ns_term_init): Subscribe for notifications
      NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
      to method trackingNotification in EmacsMenu.
      
      Fixes: debbugs:7030
      5fecd5fc
    • Jan Djärv's avatar
      NS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion). · c803b2b7
      Jan Djärv authored
      Thread is on emacs-devel.
      
      * lisp/term/ns-win.el (ns-get-selection-internal)
      (ns-store-selection-internal): Declare.
      (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal): Declare
      as obsolete.
      (ns-get-pasteboard, ns-paste-secondary): Use
      ns-get-selection-internal.
      (ns-set-pasteboard,  ns-copy-including-secondary): Use
      ns-store-selection-internal.
      
      * src/nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
      (symbol_to_nsstring): Fix indentation.
      (ns_symbol_to_pb): New function.
      (Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
      (Fns_rotate_cut_buffers_internal): Removed.
      (Fns_store_selection_internal): Renamed from
      Fns_store_cut_buffer_internal.
      (ns_get_foreign_selection, Fx_own_selection_internal)
      (Fx_disown_selection_internal, Fx_selection_exists_p)
      (Fns_get_selection_internal, Fns_store_selection_internal): Use
      ns_symbol_to_pb and check if return value is nil.
      (syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT.  Remove
      defsubr Sns_rotate_cut_buffers_internal.  Sns_get_cut_buffer_internal
      renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
      renamed to Sns_store_selection_internal.
      (ns_handle_selection_request): Move code to Fx_own_selection_internal
      and remove this function.
      (ns_handle_selection_clear): Remove, never used.
      (Fx_own_selection_internal): Move code from ns_handle_selection_request
      here.
      c803b2b7
  5. 17 Dec, 2011 6 commits
  6. 16 Dec, 2011 4 commits
  7. 15 Dec, 2011 8 commits
  8. 14 Dec, 2011 1 commit
  9. 13 Dec, 2011 5 commits