comparison src/ChangeLog @ 97198:cf43f4e3ecc8

clear warnings and clean up NS port
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 01 Aug 2008 14:01:08 +0000
parents 406ac82acbcc
children 1aaeadd306da
comparison
equal deleted inserted replaced
97197:406ac82acbcc 97198:cf43f4e3ecc8
1 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com>
2 Warning clearing and clean-up in NS port.
3 * keyboard.h (xmalloc_widget_value, digest_single_submenu): Add
4 prototypes.
5 * nsgui.h (FACE_DEFAULT): Remove, unused.
6 (XGCValues): Change colors to unsigned long.
7 * nsterm.h (EmacsApp): Add declaration of all methods implemented in
8 nsterm.m.
9 (EmacsMenu -addItemWithWidgetValue:): Change to use NSMenuItem class.
10 (ns_list_fonts): Remove, unused.
11 (ns_font_to_xlfd, ns_fontname_to_xlfd): Drop prototypes.
12 * nsfns.m (interpret_services_menu): Use NSMenuItem class.
13 * nsfont.m (nsfont_open): Fix cast error in glyphs,metrics alloc.
14 (nsfont_draw): Compare face colors to 0, not nil.
15 * nsmenu.m (struct widget_value): Drop unneeded declaration.
16 (EmacsMenu -addItemWithWidgetValue:, -fillWithWidgetValue:)
17 (-addSubmenuWithTitle:): Use NSMenuItem class.
18 (ns_popup_menu): Use NO, not NULL, for enabled setting.
19 * nsterm.m (ns_draw_glyph_string): Don't compare font to ~0.
20 (ns_clip_to_row): Make gc arg a BOOL.
21 (ns_draw_fringe_bitmap, ns_draw_window_cursor): Use YES, NO in
22 ns_clip_to_row() call.
23 (ns_draw_glyph_string): Drop face comparison to ~0 (no longer
24 used). Cast FRAME_FONT assignments.
25 (ns_read_socket): Cast call to EmacsApp-fulfillService:withArg:.
26 (ns_string_to_lispmod): Change arg to const char.
27 (ns_term_init): Use NSMenuItem class.
28 (EmacsApp -openFile:): Move to different section of file.
29 (EmacsApp -application:openFiles:): Don't return a value, call
30 -replyToOpenOrPrint:.
31 (EmacsView -keyDown:): Fix up cast.
32 (EmacsView -converstationIdentifier): Use NSInteger instead of long.
33 (EmacsView -menuDown:): Cast tag in call to
34 find_and_call_menu_selection().
35 (ns_list_fonts): Remove, unused.
36 (ns_font_to_xlfd): Make static. Cast result of UTF8String.
37 (ns_fontname_to_xlfd): Make static.
38 * w32menu.c (xmalloc_widget_value, digest_single_submenu): Remove
39 prototypes (now in keyboard.h).
40 (next_menubar_widget_id): Remove, unused.
41 * xmenu.c (xmalloc_widget_value, digest_single_submenu): Remove
42 prototypes (now in keyboard.h).
43 * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused.
44
1 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> 45 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu>
2 46
3 * systty.h: Fix previous change that removed BSD_TERMIOS. Add 47 * systty.h: Fix previous change that removed BSD_TERMIOS. Add
4 comments to #ifdefs. 48 comments to #ifdefs.
5 49