]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Fix biggest memory leaks in NS-port. More remain.
[gnu-emacs] / src / ChangeLog
index 3cdc01115066e0976ebe0a0d67643fffc9a944e6..e40a7f3fbe0f1fad47dd476da4862cc197690f48 100644 (file)
@@ -1,16 +1,48 @@
+2011-12-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (x_free_frame_resources): Release
+       f->output_data.ns->miniimage
+       (ns_index_color): Fix indentation.  Do not retain
+       color_table->colors[i].
+
+       * nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
+       before returning.
+
+       * 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.
+
+       * emacs.c (ns_pool): New variable.
+       (main): Assign ns_pool.
+       (Fkill_emacs): Call ns_release_autorelease_pool.
+
+       * 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.
+
 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
 
+       * nsmenu.m (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5
+       and NS_IMPL_COCOA.
+       (trackingNotification): Surround with ifdef NS_IMPL_COCOA.
+       (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
+
+2011-12-18 David Reitter <reitter@cmu.edu>
+
        * nsterm.m (ns_term_init): Subscribe for notifications
        NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
        to method trackingNotification in EmacsMenu.
 
        * nsmenu.m (trackingMenu): New variable.
-       (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and
-       NS_IMPL_COCOA.
        (trackingNotification): New method (from Aquamacs).
        (menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
        from Aquamacs (Bug#7030).
-       (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
+
+2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
        (symbol_to_nsstring): Fix indentation.