summaryrefslogtreecommitdiff
path: root/nt
Commit message (Expand)AuthorAgeFilesLines
* addpm.c: Silence some warnings....* nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction to LPBYTE. (add_registry): Pass NULL to optional lpClass argument of RegCreateKeyEx, not an empty string. Juanma Barranquero2015-10-251-2/+2
* addpm.c: Do not add obsolete GTK libraries to the path....* nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete. (add_registry): Remove variables `size' and `gtk_key'. Do not add the GTK DLL directory to the library search path; it is confusing behavior (in particular, the same Emacs version with and without invoking addpm will use a different path), and the GTK image libraries are obsolete anyway. Juanma Barranquero2015-10-251-46/+0
* addpm.c: Replace existing entries, but do not create new ones...* nt/addpm.c (add_registry): If the Emacs registry key exists, replace existing values from previous versions, but do not add new ones; the key could exist for other reasons unrelated to old Emacsen, like X-style resources, or to set some environment variables like HOME or LANG, and in that case we don't want to populate it with obsolete values. Juanma Barranquero2015-10-251-4/+7
* * nt/addpm.c (add_registry): Do not compute unused return value.Juanma Barranquero2015-10-251-11/+4
* addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx...* nt/addpm.c (add_registry): Pass 0 to ulOptions argument of RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change current behavior because REG_OPTION_NON_VOLATILE is defined to be 0L anyway, but that option is actually documented only for RegCreateKeyEx.Juanma Barranquero2015-10-251-5/+3
* Update the new icon...Move the E slightly to the right in the circle. * etc/images/icons/hicolor/128x128/apps/emacs.png: * etc/images/icons/hicolor/16x16/apps/emacs.png: * etc/images/icons/hicolor/24x24/apps/emacs.png: * etc/images/icons/hicolor/32x32/apps/emacs.png: * etc/images/icons/hicolor/48x48/apps/emacs.png: * etc/images/icons/hicolor/scalable/apps/emacs.svg: * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns: * nt/icons/emacs.ico: New icom update. Nicolas Petton2015-10-241-0/+0
* Replace the old icon for Windows and Mac OSX...* nt/icons/emacs.ico: * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns: Use the new icons. Nicolas Petton2015-10-231-0/+0
* * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.Eli Zaretskii2015-10-121-0/+4
* * nt/INSTALL: Minor spelling and quote fixes.Paul Eggert2015-10-031-3/+3
* * nt/INSTALL: Update instructions for running autogen.shEli Zaretskii2015-10-021-0/+5
* * nt/INSTALL: Point to ezwinports for libXpm binaries.Eli Zaretskii2015-10-021-8/+3
* * nt/INSTALL: Document where to find XPM support filesEli Zaretskii2015-10-011-0/+8
* nt/INSTALL: Remove references to GTK site...That site no longer offers Windows downloads. Eli Zaretskii2015-09-291-66/+24
* * nt/INSTALL: Add instructions for installing Git.Eli Zaretskii2015-09-291-2/+44
* * nt/subdirs.el: File deleted (no longer used).Eli Zaretskii2015-09-271-3/+0
* Reorder Windows version in Emacs manifests...* nt/emacs-x64.manifest: * nt/emacs-x86.manifest: Reorder Windows version from lowest to highest. Eli Zaretskii2015-09-252-8/+8
* Update Emacs manifest files for Windows 10...* nt/emacs-x86.manifest: * nt/emacs-x64.manifest: Declare compatibility with Windows 10. Eli Zaretskii2015-09-252-9/+13
* Remove 'nt/zipdist.bat' (no longer used)...* nt/zipdist.bat: Remove - no longer used. Dani Moncayo2015-08-151-43/+0
* Remove files used by the old MS-Windows specific build procedure...* nt/configure.bat: Remove everything except the blurb about the new build procedure. * make-dist: Remove references to makefile.w32-in in various directories, and to files in nt/ that were deleted. * etc/NEWS: Mention the fact that the files were dropped. Eli Zaretskii2015-08-1510-4797/+3
* Support recovery from C stack overflow on MS-Windows...* src/w32fns.c (w32_reset_stack_overflow_guard) (stack_overflow_handler): New functions for handling C stack overflow exceptions. (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions specially, and zero out except_addr if we do. (globals_of_w32fns): Initialize dwMainThreadId in non-interactive mode. * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for the MinGW build, but the code guarded by that is for Posix hosts. * src/keyboard.c (command_loop) [WINDOWSNT]: Call w32_reset_stack_overflow_guard. * nt/inc/ms-w32.h (sigjmp_buf): New typedef. (sigsetjmp): New macro. (w32_reset_stack_overflow_guard): Declare the prototype. * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW. Eli Zaretskii2015-08-081-0/+14
* MS-Windows follow-up for recent TZ-related changes...* nt/mingw-cfg.site (ac_cv_header_pthread_h) (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid picking up 'struct timespec' from pthread.h, if it is installed on the user's system. We want either the definitions from MinGW system headers, if available, or the Gnulib replacements if not. * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use lib/time.h. * lib/time.in.h: Don't let __need_* symbols affect what happens on MinGW. These symbols are defined by MinGW system headers, but we don't want that to affect whether Gnulib portions of the header are or aren't used. Eli Zaretskii2015-07-272-15/+5
* New optional ZONE arg for format-time-string etc....This simplifies time conversions in other time zones. It also prevents display-time-world tampering with TZ (Bug#21020). * admin/admin.el (add-release-logs): Use improved add-log-time-format API. * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm. (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv. * configure.ac (tzalloc): Remove test for this, since Emacs no longer uses HAVE_TZALLOC directly. * doc/lispref/os.texi (Time of Day, Time Conversion) (Time Parsing): * etc/NEWS: Document the new behavior. Merge from gnulib, incorporating: 2015-07-25 strftime: fix newly-introduced bug on Solaris 2015-07-23 fprintftime, strftime: use timezone_t args * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4: * m4/time_h.m4: Update from gnulib. * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4: New files from gnulib. * lisp/time-stamp.el (time-stamp-string): * lisp/time.el (display-time-world-list) (display-time-world-display): Use new API, with time zone arg. * lisp/time.el (display-time-world-display): Fix race when current-time advances while we're running. * lisp/vc/add-log.el (add-log-iso8601-time-zone) (add-log-iso8601-time-string): Accept optional time zone arg. * lisp/vc/add-log.el (add-change-log-entry): * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg. * nt/gnulib.mk: Propagate lib/gnulib.mk changes here. Add rules for the time module, since they're now needed for tzalloc etc. * src/conf_post.h (getenv_TZ, setenv_TZ): New macros. (emacs_getenv_TZ, emacs_setenv_TZ): New decls. * src/editfns.c: Include errno.h. (set_time_zone_rule): Omit unnecessary forward decl. (initial_tz): Remove, replacing with ... (local_tz, wall_clock_tz, utc_tz): New static vars and constants. (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1). (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree) (tzlookup): New static functions. (init_editfns): New arg DUMPING. All uses changed. (init_editfns): Omit most initialization if dumping, not if !initialized. Initialize wall_clock_tz and local_tz. (emacs_nmemftime, format_time_string): Time zone argument can now be any time zone, not just a boolean for UTC or local time. All callers changed. (Fformat_time_string, Fencode_time, Fcurrent_time_string) (Fcurrent_time_zone): New optional arg ZONE. (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take the same form as with the other new additions. (decode_time_zone): Remove; no longer needed. (tzvalbuf): Now file-scope. (emacs_getenv_TZ, emacs_setenv_TZ): New functions. (syms_of_editfns): Define Qwall. * src/editfns.c (mktime_z) [!HAVE_TZALLOC]: * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree) [!HAVE_TZALLOC]: Remove; now supplied by gnulib. * src/emacs.c (main): * src/lisp.h (init_editfns): Adjust to init_editfns API change. Paul Eggert2015-07-261-10/+78
* Support "maximized" property of runemacs's shortcut...* nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass the '--maximized' switch to Emacs. Eli Zaretskii2015-07-081-3/+9
* Support "minimized" property of runemacs's shortcut...* nt/runemacs.c (WinMain): If runemacs is invoked "minimized", pass the '--iconic' switch to Emacs. (Bug#20991) Eli Zaretskii2015-07-081-1/+10
* * nt/README: Don't advertise the (obsolescent) w32 FAQ.Eli Zaretskii2015-06-131-5/+11
* * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.Eli Zaretskii2015-06-131-6/+11
* Adapt 'struct timespec' to next release of MinGW runtime...* nt/inc/ms-w32.h (struct timespec): Don't declare if __struct_timespec_defined is defined. Eli Zaretskii2015-06-071-1/+4
* Declare Emacs on MS-Windows to be DPI-aware...* nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware. * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware. This avoids Windows entering compatibility mode for Emacs, which causes fonts to look less nice. Copyright-paperwork-exempt: yes Vitaly Takmazov2015-05-302-2/+12
* Fix last commit...* nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back. (gnulib module qcopy-acl): Add back, as it is harmless. This minimizes differences wrt lib/gnulib.mk. Eli Zaretskii2015-05-281-1/+8
* Fix the MS-Windows build as followup to gnulib update...* nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and set-permissions.c, as they don't compile on MinGW. (gnulib module qcopy-acl): Remove, as it needs set-permissions.c. Eli Zaretskii2015-05-281-8/+1
* Merge from gnulib...This incorporates: 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666) 2015-05-27 file-has-acl: Split feature tests again (Bug#20667) 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+ 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h> 2015-05-26 stdio: fix probe on mingw under gcc 5.1 * admin/merge-gnulib (GNULIB_MODULES): Replace qacl with qcopy-acl, since we don't need the rest of qacl. * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h: * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c: * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4: Get latest versions from gnulib. * lib/get-permissions.c, lib/set-permissions.c: New files. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand. Paul Eggert2015-05-271-8/+15
* MS-Windows followup for the recent gnulib update...* nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with acl-internal.c. Eli Zaretskii2015-04-251-1/+1
* Rename ChangeLogs for gitlog-to-changelog...This patch was implemented via the following shell commands: find * -name ChangeLog | sed 's,.*,git mv & &.1, s, lisp/ChangeLog\.1$, lisp/ChangeLog.17, s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09, s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3, s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2, s, src/ChangeLog\.1$, src/ChangeLog.13,' | sh git commit -am"[this commit message]" Paul Eggert2015-04-071-0/+0
* Fix the bug number of previous commit: should be bug #20159.Eli Zaretskii2015-03-271-1/+1
* Support non-blocking connect on MS-Windows (Bug#20207)... Based on ideas from Kim F. Storm <storm@cua.dk>, see http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. src/w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit the thread with code 2. (sys_select): Support 'wfds' in addition to 'rfds'. If a descriptor in 'wfds' has its bit set, but the corresponding fd_info member doesn't have its FILE_CONNECT flag set, ignore the descriptor. Otherwise, acknowledge a successful non-blocking connect by resetting the FILE_CONNECT flag and setting cp->status to STATUS_READ_ACKNOWLEDGED. src/w32.h (STATUS_CONNECT_FAILED): New enumeration value. (struct _child_process): New member 'errcode'. (FILE_CONNECT): New flag. (_sys_wait_connect): Add prototype. src/w32.c (pfn_WSAEnumNetworkEvents): New function pointer. (init_winsock): Load WSAEnumNetworkEvents from winsock DLL. (set_errno): Map WSAEWOULDBLOCK and WSAENOTCONN. (sys_connect): Support non-blocking 'connect' calls by setting the FILE_CONNECT flag in the fd_info member and returning EINPROGRESS. (_sys_read_ahead): Add debug message if this function is called for a descriptor that waits for a non-blocking connect to complete. (_sys_wait_connect): New function. (sys_read): Support STATUS_CONNECT_FAILED. Return the error code recorded by _sys_wait_connect when the non-blocking connect failed. Don't call WSAGetLastError before a call to set_errno had a chance to use its value, since WSAGetLastError clears the last error. nt/inc/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Don't define. Eli Zaretskii2015-03-272-4/+5
* nt/ChangeLog: Fix typos.Eli Zaretskii2015-03-091-7/+0
* Fix ChangeLog typosPaul Eggert2015-03-081-1/+0
* Merge from origin/emacs-24...344c6ad Improve MS-Windows build instructions (Bug#19989) eb62887 lisp/dired.el (dired-delete-file): Doc fix. (Bug#20021) Conflicts: lisp/ChangeLog nt/ChangeLog Paul Eggert2015-03-082-1/+34
|\
| * Improve MS-Windows build instructions (Bug#19989)... nt/INSTALL: Add some more installation instructions for mingw-get users. Eli Zaretskii2015-03-072-1/+27
* | Merge from origin/emacs-24...f160106 Avoid assertion violations in Rmail due to newline cache 1b0ebbd browse-url-firefox: update for firefox 36's removal of -remote 1817892 Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925) 0260932 Bump python.el version b0adfc7 Spelling fixes 35f047c * src/fileio.c (Fmake_temp_name): Doc tweaks. 6f2971a * lisp/comint.el (comint-line-beginning-position): Revert searching 65d8ac7 Mention in admin/notes/repo how to mark commits not to be merged. 86fe750 # Remove NEWS temporary markup 4fa778b erc.el: Add old version header for package.el compatibilty 9366f05 Tramp: Disable paging with PAGER=cat Conflicts: admin/notes/repo etc/NEWS lisp/ChangeLog lisp/erc/ChangeLog src/ChangeLog Paul Eggert2015-03-031-1/+1
|\|
| * Spelling fixesPaul Eggert2015-02-211-1/+1
| * Backport fix for bug#18745 from master.... nt/cmdproxy.c (batch_file_p): New function. (spawn): If calling a quoted batch file pass NULL for progname. Noam Postavsky2015-02-102-0/+35
* | Merge from origin/emacs-24...4b0b27d Fix invocation of commands whose file name includes extension 87fc99f Better support for the case of typing RET on the prompt in comint. a7b1c2f Don't lose frame's background color when setting foreground 20c817d Fix handling of frame color parameters in TTY sessions eca7da1 Complete the remaining documentation updates for 24.5 Conflicts: doc/lispref/ChangeLog etc/NEWS lisp/ChangeLog nt/ChangeLog src/ChangeLog Paul Eggert2015-03-032-6/+76
|\|
| * Fix invocation of commands whose file name includes extension (Bug#19817)... nt/cmdproxy.c (get_next_token): Don't make backslashes disappear without a trace when they are not followed by a quote. (search_dir): Support searching programs whose file name already has an arbitrary extension. (main): When passing a command line to the shell, use cmd.exe rules for quoting command-line tail. Eli Zaretskii2015-02-102-6/+75
| * Bump version to 24.4.90Nicolas Petton2015-02-044-10/+10
| * Fix copyright years by hand...These are dates that admin/update-copyright did not update, or updated incorrectly. Paul Eggert2015-01-015-6/+6
| * Update copyright year to 2015...Run admin/update-copyright. Paul Eggert2015-01-0132-32/+32
* | Support daemon mode on MS-Windows (bug#19688)... src/emacs.c <w32_daemon_event> [WINDOWSNT]: New global var. (main) [WINDOWSNT]: Initialize it to NULL. Create the event to signal clients we are ready for connections. (Fdaemon_initialized): Use DAEMON_RUNNING. [WINDOWSNT]: MS-Windows specific code to signal clients we are ready for connections. src/lisp.h (DAEMON_RUNNING): New macro, encapsulates Posix and MS-Windows conditions for running in daemon mode. src/minibuf.c (read_minibuf): Use DAEMON_RUNNING. src/keyboard.c (kbd_buffer_get_event): Use DAEMON_RUNNING. src/dispnew.c (init_display) [WINDOWSNT]: Initialize frames/terminal even in daemon mode. nt/inc/ms-w32.h (W32_DAEMON_EVENT): New macro. lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don't reject empty arguments for --alternate-editor. (print_help_and_exit) [WINDOWSNT]: Don't refrain from advertising empty arguments for --alternate-editor. (start_daemon_and_retry_set_socket) [WINDOWSNT]: MS-Windows specific code to start Emacs in daemon mode and wait for it to be ready for client connections. lisp/server.el (server-process-filter): Force GUI frames on MS-Windows in daemon mode, even if a TTY frame was requested. lisp/frameset.el (frameset-keep-original-display-p): Don't assume windows-nt cannot be in daemon mode. lisp/frame.el (window-system-for-display): Don't assume windows-nt cannot be in daemon mode. Mark Laws2015-02-272-0/+7
* | Support Make verbosity levels in w32 targets previously left out... nt/Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1) (AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC) (am__v_RC_, am__v_RC_0, am__v_RC_1): New macros. (addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT}) (runemacs${EXEEXT}): Use $(AM_V_CCLD). (emacs.res, ../src/emacs.res): Use $(AM_V_RC). lib-src/Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New macros. (emacsclient.res): Use $(AM_V_RC). Eli Zaretskii2015-01-162-5/+32
* | Fix copyright years by hand...These are dates that admin/update-copyright did not update, or updated incorrectly. Also, back out the copyright-date change to doc/misc/texinfo.tex, as upstream hasn't updated that date yet. Paul Eggert2015-01-015-6/+6