]> git.eshelyaron.com Git - emacs.git/commitdiff
2009-10-11 Adrian Robert <Adrian.B.Robert@gmail.com>
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 12 Oct 2009 00:28:30 +0000 (00:28 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 12 Oct 2009 00:28:30 +0000 (00:28 +0000)
Changes for 64-bit compile under Snow Leopard.

* nsfns.m (xw-color-values): Use CGFloat where appropriate.

* nsfont.m (ns_char_width): Replace deprecated call (suggested by
Erik Charlebois).
(ns_findfonts, nsfont_list_family): Use long format in printf, and
cast argument.
(nsfont_open): Use ns_char_width() everywhere.
(ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where
appropriate.

* nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat.

* nsimage.m (EmacsImage-setXBMColor:,-getPixelAtX:Y:): Use CGFloat
where appropriate.

* nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger
where appropriate.
(EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:): Use
stringWithUTF8String.
(EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature.

* nsterm.h (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip): Add
formal protocol mention to inheritance.
[NS_HAVE_NSINTEGER]: Drop conditional and contents.

* nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate.  Fix
printf format.
(ns_query_color): Use CGFloat where appropriate.
(EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
(EmacsScroller-mouseDown:) Use long format in printf, and cast
argument.

src/ChangeLog

index 02aa2d5cd6578a30dadbfad71ad112e88b6c7e5c..c462146157cd5620eb0281378081a78eefcee2e0 100644 (file)
@@ -1,3 +1,38 @@
+2009-10-11  Adrian Robert  <Adrian.B.Robert@gmail.com>
+       Changes for 64-bit compile under Snow Leopard.
+
+       * nsfns.m (xw-color-values): Use CGFloat where appropriate.
+
+       * nsfont.m (ns_char_width): Replace deprecated call (suggested by
+       Erik Charlebois).
+       (ns_findfonts, nsfont_list_family): Use long format in printf, and
+       cast argument.
+       (nsfont_open): Use ns_char_width() everywhere.
+       (ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where
+       appropriate.
+
+       * nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat.
+
+       * nsimage.m (EmacsImage-setXBMColor:,-getPixelAtX:Y:): Use CGFloat
+       where appropriate.
+
+       * nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger
+       where appropriate.
+       (EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:): Use
+       stringWithUTF8String.
+       (EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature.
+
+       * nsterm.h (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip): Add
+       formal protocol mention to inheritance.
+       [NS_HAVE_NSINTEGER]: Drop conditional and contents.
+
+       * nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate.  Fix
+       printf format.
+       (ns_query_color): Use CGFloat where appropriate.
+       (EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
+       (EmacsScroller-mouseDown:) Use long format in printf, and cast
+       argument.
+
 2009-10-11  Glenn Morris  <rgm@gnu.org>
 
        * frame.c (Fframe_pixel_height): Doc fix.  (Bug#4535)