Mercurial > emacs
comparison src/ChangeLog @ 96675:d45acf0c8d23
merging Emacs.app (NeXTstep port)
| author | Adrian Robert <Adrian.B.Robert@gmail.com> |
|---|---|
| date | Tue, 15 Jul 2008 18:15:18 +0000 |
| parents | ff312a846b25 |
| children | 336d4f3f5eca |
comparison
equal
deleted
inserted
replaced
| 96674:ff312a846b25 | 96675:d45acf0c8d23 |
|---|---|
| 1 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 2 | |
| 3 Changes and additions for NeXTstep windowing system (Cocoa and | |
| 4 GNUstep) support. | |
| 5 | |
| 6 * Makefile.in | |
| 7 * config.in: Support defines and build commands for NS port. | |
| 8 * blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT) | |
| 9 (UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G. | |
| 10 * callproc.c (set_initial_environment): Initialize | |
| 11 Vprocess_environment under CANNOT_DUMP (fixes crash when | |
| 12 batch-compiling for bootstrap, due to Chris Hall). | |
| 13 * dispextern.h: Include nsgui.h and add needed typedefs under NS | |
| 14 windowing. | |
| 15 (struct face): Add synth_ital field. | |
| 16 * dispnew.c: Include nsterm.h when compiling under NS windowing. | |
| 17 (init_display): Initialize Vinitial_window_system to "ns" when so | |
| 18 compiled. | |
| 19 * emacs.c: Include GSConfig.h when compiling under GNUstep. | |
| 20 (display_arg): Use under NS. | |
| 21 (main): Under NS, allocate autorelease pool and handle command line | |
| 22 args. Move syms_of_xmenu() call under #ifdef HAVE_X_WINDOWS. | |
| 23 (standard_args): Add NS-specific args. | |
| 24 (shut_down_emacs): Shut down NS terminal if compiled under NS. | |
| 25 * font.c (DEFAULT_ENCODING): New variable. | |
| 26 (font_find_for_lface): Use it. | |
| 27 (syms_of_font): Load syms_of_nsfont under NS. | |
| 28 * font.h: Declare nsfont_driver when compiled under NS. | |
| 29 * fontset.c: When compiling under NS, include nsterm.h. | |
| 30 (fontset_from_font): Autoconstruct fontset under NS. | |
| 31 * frame.c (various): Under NS, include nsterm.h, add Qns window system | |
| 32 symbol, document and use it. | |
| 33 (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case -- | |
| 34 patch to fix crash due to different init order, due to Chris Hall and | |
| 35 Yamamoto Mitsuharu. | |
| 36 (do_switch_frame): When for_deletion under Cocoa, add | |
| 37 Fraise_frame(Qnil). | |
| 38 (x_set_frame_parameters): Ensure font attribute changes are picked up. | |
| 39 (x_get_arg): Allow "yes" and "no" as boolean values. | |
| 40 (syms_of_frame): Declare Qns. Init Vdefault_frame_scroll_bars to | |
| 41 Qright under Cocoa. | |
| 42 (focus-follows-mouse): Default to 0 under NS. | |
| 43 * frame.h (enum output_method): Add output_ns. | |
| 44 (external_tool_bar, external_menu_bar, FRAME_EXTERNAL_TOOLBAR) | |
| 45 (FRAME_EXTERNAL_MENU_BAR): Use under NS. | |
| 46 (FRAME_WINDOW_P): NS-specific definition. | |
| 47 * fringe.c (max_used_fringe_bitmap): Make public. | |
| 48 * getloadavg.c (mach/mach.h): Include it under NeXT descendant OS's. | |
| 49 (getloadavg): Use NeXT code under descendant OS's. | |
| 50 * image.c (includes and header section, x_create_bitmap_from_data) | |
| 51 (x_create_bitmap_from_file, free_bitmap_record, image_background) | |
| 52 (image_background_transparent, x_clear_image_1) | |
| 53 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
| 54 (Create_Pixmap_From_Bitmap_Data, xpm_load_image, lookup_rgb_color) | |
| 55 (x_to_xcolors, x_from_xcolors, x_disable_image) | |
| 56 (x_build_heuristic_mask, syms_of_image): Add NS support parallel to | |
| 57 other GUIs, including XPM support using code originally written for | |
| 58 Carbon GUI. | |
| 59 (png_load, jpeg_load, tiff_load, gif_load): Added implementations | |
| 60 using NS API. | |
| 61 (image_ascent): Use font metrics macros instead of direct struct field | |
| 62 access. | |
| 63 * keyboard.c (includes): Add nsterm.h when compiling under NS. | |
| 64 (kbd_buffer_get_event): Handle NS as other GUI windowing systems. | |
| 65 Also, handle NS as GTK for menu bar purposes. | |
| 66 (make_lispy_event): Handle NS as other GUI windowing systems, and as X | |
| 67 toolkit where they differ. | |
| 68 (parse_menu_item): Prefer keybindings using 'super' modifier. Also, | |
| 69 use cachelist, still needed under NS. | |
| 70 * keyboard.h (ENCODE_MENU_STRING, XtPointer, Boolean): Handle as | |
| 71 NTGUI. | |
| 72 (struct widget_value): Define it here for menu.c. | |
| 73 * keymap.c (includes): Include modifier internals. | |
| 74 (lisp_to_mod, modifier_sequence_p): New functions, compiled only under | |
| 75 NS. | |
| 76 (where_is_internal, Fwhere_is_internal): When compiled under NS, add | |
| 77 support for preferring sequences using certain modifiers, specified by | |
| 78 the FIRSTONLY argument. | |
| 79 * lisp.h (hash_remove): Rename to avoid name clash when compiling | |
| 80 under NS GNUstep implementation. | |
| 81 (USE_LSB_TAG): Use it under Cocoa when compiling under NS. | |
| 82 * lread.c (init_lread): Treat NS as HAVE_CARBON for turn_off_warning. | |
| 83 * menu.c: Include nsterm.h under NS. | |
| 84 (single_menu_item, parse_single_submenu, xmalloc_widget_value) | |
| 85 (free_menubar_widget_tree_value, update_submenu_strings) | |
| 86 (find_and_call_menu_selection): Treat NS as X and NT. | |
| 87 (find_and_return_menu_selection): New function, used for popup menus. | |
| 88 * nsgui.h | |
| 89 * nsterm.h | |
| 90 * nsfns.m | |
| 91 * nsimage.m | |
| 92 * nsmenu.m | |
| 93 * nsselect.m | |
| 94 * nsterm.m: New files. | |
| 95 * process.c (wait_reading_process_output): Under NS, call ns_select() | |
| 96 instead of plain select(). | |
| 97 * syntax.c (char_quoted): Under NS, avoid a crash when called near | |
| 98 beginning of buffer. | |
| 99 * sysselect.h (init_process): Rename when compiling under Cocoa to | |
| 100 avoid name conflict. | |
| 101 * termhooks.h (display_info): Add ns_display_info to union. | |
| 102 * terminal.c (Fterminal_live_p): Add ns to terminal types. | |
| 103 * terminfo.c (UP, BC, PC): Don't declare when compiling under NS in | |
| 104 COCOA environment. | |
| 105 * unexnext.c: Update to work with mach API on Mac OS X, and to use new | |
| 106 unexec() signature. (Note, this will dump, but the resulting file | |
| 107 crashes; unexosx is used instead; keeping around for reference and | |
| 108 possible aid in getting dump working under GNUstep.) | |
| 109 * w32gui.h (button_type, widget_value): Remove definitions (now in | |
| 110 keyboard.h). | |
| 111 * window.c: Include nsterm.h when compiling under NS. | |
| 112 * xdisp.c (includes): Include nsterm.h when compiling under NS. | |
| 113 (set_frame_menubar, update_menu_bar, display_menu_bar): Handle NS as | |
| 114 other GUI windowing systems. | |
| 115 (update_tool_bar, redisplay_tool_bar, redisplay_window): Handle NS as | |
| 116 GTK. | |
| 117 (x_consider_frame_title): Under NS, set icon type and frame | |
| 118 modified-state indicator; use ns_set_name_as_filename() when using | |
| 119 formatted title. | |
| 120 (update_window_cursor): Make public when compiling under NS. | |
| 121 (display_hourglass_p, syms_of_xdisp, hourglass_shown_p) | |
| 122 (hourglass_atimer, Vhourglass_delay | |
| 123 * xfaces.c (header section, init_frame_faces, clear_font_table) | |
| 124 (defined_color, unload_color, x_face_list_fonts) | |
| 125 (prepare_face_for_display): Add NS support parallel to other GUIs) | |
| 126 (emulate GCs like other non-X GUIs. | |
| 127 (split_font_name): Don't lowercase font name under NS. | |
| 128 (merge_face_ref, Finternal_set_lisp_face_attribute): Support stippling | |
| 129 under NS. | |
| 130 * s/darwin.h: Add support for compilation under NS. | |
| 131 | |
| 1 2008-07-15 Jason Rumney <jasonr@gnu.org> | 132 2008-07-15 Jason Rumney <jasonr@gnu.org> |
| 2 | 133 |
| 3 * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect. | 134 * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect. |
| 4 (w32_show_hourglass): Rename from show_hourglass. | 135 (w32_show_hourglass): Rename from show_hourglass. |
| 5 (w32_hide_hourglass): Rename from hide_hourglass. | 136 (w32_hide_hourglass): Rename from hide_hourglass. |
