# HG changeset patch # User Adrian Robert # Date 1255307310 0 # Node ID 159c68c1e3becb647f8870ec1ebb6b32bdaf7a1f # Parent 5a48bf4586223c02671834a6571ff4d4d5ad4215 2009-10-11 Adrian Robert 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, EmacsScroller): Fix method signatures. (EmacsScroller-mouseDown:) Use long format in printf, and cast argument. diff -r 5a48bf458622 -r 159c68c1e3be src/ChangeLog --- a/src/ChangeLog Mon Oct 12 00:27:52 2009 +0000 +++ b/src/ChangeLog Mon Oct 12 00:28:30 2009 +0000 @@ -1,3 +1,38 @@ +2009-10-11 Adrian Robert + 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, EmacsScroller): Fix method signatures. + (EmacsScroller-mouseDown:) Use long format in printf, and cast + argument. + 2009-10-11 Glenn Morris * frame.c (Fframe_pixel_height): Doc fix. (Bug#4535)