- 13 Oct, 2014 4 commits
-
-
Eli Zaretskii authored
src/w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish between 32-bit and 64-bit MinGW builds.
-
Jan Djärv authored
-
Glenn Morris authored
-
Glenn Morris authored
* emacs/Makefile.in (dist): * lispintro/Makefile.in (dist): * lispref/Makefile.in (dist): * misc/Makefile.in (dist): Update for new output variables.
-
- 12 Oct, 2014 12 commits
-
-
Glenn Morris authored
-
Bastien Guerry authored
-
Paul Eggert authored
It might be modified.
-
Paul Eggert authored
-
Glenn Morris authored
-
Michael Albinus authored
-
Paul Eggert authored
-
Fabián Ezequiel Gallina authored
* lisp/progmodes/python.el (python-shell-completion-get-completions): Fix import case regexp. Fixes: debbugs:18582
-
Paul Eggert authored
* doc/emacs/macos.texi (Mac OS / GNUstep, Mac / GNUstep Basics) (Mac / GNUstep Customization): * nextstep/README: Mac OS X 10.6 or later now required.
-
Jan Djärv authored
* configure.ac: Require OSX 10.6. Remove NSInteger test, use nsfont for Gnustep, macfont for OSX. * etc/NEWS: OSX required is 10.6 or newer. * src/Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in comment. * src/macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP) (mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6 * src/nsfns.m: Always include src/macfont.h on COCOA. (ns_filename_from_panel, ns_directory_from_panel) (Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog) (Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6 * src/nsterm.m: Always include src/macfont.h on COCOA. (ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap) (ns_dumpglyphs_image, ns_check_menu_open) (applicationDidFinishLaunching) (antialiasThresholdDidChange:) (keyDown:, toggleFullScreen:, setPosition:portion:whole:): Remove checks for OSX <= 10.5/10.6. (changeFont:): Use macfont on COCOA, nsfont on GNUSTEP. (syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on GNUSTEP. * src/macfont.m: Remove >= 1050 check. (macfont_create_family_with_symbol) (macfont_get_glyph_for_character) (mac_font_get_glyphs_for_variants) (mac_ctfont_create_available_families, syms_of_macfont): Remove code for OSX < 10.6. (mac_font_family_group, mac_font_family_compare): Remove, only used for OSX < 10.6. * src/nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6. * src/nsmenu.m (NSMenuDidBeginTrackingNotification): Remove. (x_activate_menubar, trackingNotification:): Remove check for OSX >= 10.5. (menuNeedsUpdate:): Remove check for OSX < 10.5. * src/nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove. (NS_HAVE_NSINTEGER): Remove block. Remove >= OSX 10.6 tests. * src/unexmacosx.c: Remove include ppc/reloc.h. (unrelocate, copy_dysymtab): Remove PPC code. (rebase_reloc_address): Remove, only used for PPC:
-
Paul Eggert authored
Do all putenv calls before Emacs creates any threads. Use a safer way to modify the TZ environment variable in the presence of multiple threads. For further thread-safety, prefer localtime_r and gmtime_r to localtime and gmtime, and prefer struct tm's tm_gmtoff (if available) to calling both localtime_r and gmtime_r. * configure.ac (LOCALTIME_CACHE): Remove. We needn't worry about SunOS 4 any more; Sun dropped support in 2003. All uses of LOCALTIME_CACHE removed. This simplifies the fix. (tzalloc): Add check for this function. * admin/merge-gnulib (GNULIB_MODULES): Add time_r, since Emacs now calls localtime_r and gmtime_r directly. * src/dbusbind.c (Fdbus__init_bus): Move xputenv call from here ... (init_dbusbind): ... to this new function. * src/emacs.c (main) [HAVE_DBUS]: Call it before creating threads. * src/xterm.c (x_term_init): Move xputenv call from here ... (init_xterm): ... to this new function. * src/emacs.c (main) [USE_GTK]: Call it before creating threads. * src/editfns.c (HAVE_TM_GMTOFF): Default to false. (dump_tz_string): New constant. (init_editfns): Use it. This centralizes the dump_tz stuff. Call set_time_zone_rule here, so that its xputenv is done before Emacs goes multithreaded. (mktime_z) [!HAVE_TZALLOC]: New function, which is typically thread-safe enough for Emacs. (format_time_string, Fdecode_time, Fcurrent_time_string) (Fcurrent_time_zone): Prefer localtime_r and gmtime_r, which are more thread-safe, to localtime and gmtime. Remove now-unnecessary calls to block_input. (tm_gmtoff): New static function. (Fdecode_time, Fcurrent_time_zone): Use it. (Fencode_time): Use mktime_z, for better thread-safety. (set_time_zone_rule): Now static. Rewrite to be mostly thread-safe, i.e., not quite thread-safe but good enough for Emacs typical usage. Do not reclaim storage that is in the environment; let it leak. Always call tzset, since localtime_r does not. * src/emacs.c (dump_tz, Fdump_emacs) [HAVE_TZSET]: Remove dump_tz stuff. This is now done in init_editfns. * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree) [!HAVE_TZALLOC]: New macros and declarations, for platforms lacking tzalloc & friends. Fixes: debbugs:8705
-
Bastien Guerry authored
-
- 11 Oct, 2014 9 commits
-
-
Jan Djärv authored
* cus-start.el (all): Add missing ns and boolean to ns-use-fullscreen-animation.
-
Jan Djärv authored
-
Ken Brown authored
-
Leo Liu authored
-
Leo Liu authored
Use strings. (cfengine3-create-imenu-index): New function. (cfengine3-mode): Use it for `imenu-create-index-function'. (cfengine-auto-mode): Improve and prefer cfengine3-mode when buffer is empty.
-
Jan Djärv authored
-
Jan Djärv authored
-
Jan Djärv authored
-
Glenn Morris authored
* lisp/calendar/diary-lib.el (diary-display-function): Drop support for deprecated nil and list forms. (diary-list-entries): Update for the above. * lisp/calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
-
- 10 Oct, 2014 9 commits
-
-
Paul Eggert authored
* process.c (accept4) [!HAVE_ACCEPT4]: New macro. Fixes: debbugs:18666
-
Glenn Morris authored
-
Ivan Shmakov authored
Fixes: debbugs:16145
-
Leo Liu authored
Fixes: debbugs:18656
-
Thien-Thi Nguyen authored
* admin/versioning: New file.
-
Stefan Monnier authored
Reported by Arni Magnusson <arnima@hafro.is>. * lisp/progmodes/prolog.el (prolog-electric--underscore): Same. Fixes: debbugs:18622
-
Stefan Monnier authored
* lisp/menu-bar.el (menu-bar-edit-menu, clipboard-yank): * lisp/simple.el (deactivate-mark): Use it. * lisp/term/x-win.el (gui-selection-exists-p): * lisp/term/w32-win.el (gui-selection-exists-p): * lisp/term/pc-win.el (gui-selection-exists-p): * lisp/term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
-
Glenn Morris authored
* lisp/info.el (Info-fontify-maximum-menu-size): Fix :type. Allow t to mean no limit. (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
-
Glenn Morris authored
Fixes: debbugs:16227
-
- 09 Oct, 2014 6 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
I still have no idea what this is for, but newer is better!
-
Paul Eggert authored
-
Stefan Monnier authored
Fixes: debbugs:18638
-
Paul Eggert authored
On x86 platforms this works around GCC bug 63495 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, and more generally should fix a portability problem in Emacs. Problem reported by Stefan Monnier in: http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html
-