• Jan Djärv's avatar
    Update the GNUStep port so it works OK. Redraw and sizing bugs remain. · c0342369
    Jan Djärv authored
    * nextstep/templates/Info-gnustep.plist.in: Add NSDocumentClass EmacsDocument.
    
    * src/nsfns.m (x_set_foreground_color, x_set_background_color): Use
    EmacsCGFloat.
    (ns_implicitly_set_icon_type, Fx_create_frame): Make static, remove
    unused variables.
    (Fns_read_file_name): Keep track if panel is for save.  Use
    ns_filename_from_panel/ns_directory_from_panel.
    (Fns_list_services): delegate only used for COCOA.
    (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep.  Just
    return the input if GNUStep.
    (x_screen_planes): Remove.
    (Fxw_color_values): Use EmacsCGFloat
    (Fns_display_monitor_attributes_list): Only get screen number for
    Cocoa.
    (getDirectory, getFilename): Removed from EmacsOpenPanel and
    EmacsSavePanel.
    (EmacsOpenPanel:ok:): Use ns_filename_from_panel and
    ns_directory_from_panel.
    
    * src/nsfont.m (ns_attribute_fvalue, ns_spec_to_descriptor)
    (ns_charset_covers, ns_get_covering_families, nsfont_open):
    Use F suffix on floats.
    (ns_char_w...
    c0342369
nsmenu.m 53.4 KB