summaryrefslogtreecommitdiff
path: root/nt
Commit message (Collapse)AuthorAgeFilesLines
* Rework C source files to avoid ^(Paul Eggert2016-03-1014-36/+32
| | | | | | | | Work around Bug#22884 by rewording comments and strings to avoid ‘(’ at the start of a line unless it starts a function. This change is a short-term hack; in the longer run we plan to fix cc-mode’s performance for C files that have ‘(’ at the start of a line in a comment or string.
* Ensure 8-byte aligned memory allocation on MS-Windows 9XJussi Lahdenniemi2016-01-161-0/+4
| | | | | | | | | | | | | | * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to special functions on Windows 9X. Refuse to dump Emacs on Windows 9X. (malloc_after_dump_9x, realloc_after_dump_9x) (free_after_dump_9x): New functions. (Bug#22379) See also http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html for more details about the original problem. * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x) (free_after_dump_9x): Add prototypes. Copyright-paperwork-exempt: yes
* MS-Windows followup to latest gnulib updateEli Zaretskii2016-01-041-0/+7
| | | | * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
* Fix copyright years by handPaul Eggert2016-01-014-5/+5
| | | | | These are dates that admin/update-copyright did not update, or updated incorrectly.
* Update copyright year to 2016Paul Eggert2016-01-0123-23/+23
| | | | Run admin/update-copyright.
* Add nt/INSTALL.W64 build instructionsBrian Burns2015-12-312-0/+227
| | | | | * nt/INSTALL.W64: New file. * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
* addpm.c: Silence some warnings.Juanma Barranquero2015-10-251-2/+2
| | | | | | | * 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.
* addpm.c: Do not add obsolete GTK libraries to the path.Juanma Barranquero2015-10-251-46/+0
| | | | | | | | | * 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.
* addpm.c: Replace existing entries, but do not create new onesJuanma Barranquero2015-10-251-4/+7
| | | | | | | | * 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.
* * 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 RegOpenKeyExJuanma Barranquero2015-10-251-5/+3
| | | | | | | * 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.
* Update the new iconNicolas Petton2015-10-241-0/+0
| | | | | | | | | | | | | 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.
* Replace the old icon for Windows and Mac OSXNicolas Petton2015-10-231-0/+0
| | | | | | * nt/icons/emacs.ico: * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns: Use the new icons.
* * 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 siteEli Zaretskii2015-09-291-66/+24
| | | | That site no longer offers Windows downloads.
* * 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 manifestsEli Zaretskii2015-09-252-8/+8
| | | | | | * nt/emacs-x64.manifest: * nt/emacs-x86.manifest: Reorder Windows version from lowest to highest.
* Update Emacs manifest files for Windows 10Eli Zaretskii2015-09-252-9/+13
| | | | | * nt/emacs-x86.manifest: * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
* Remove 'nt/zipdist.bat' (no longer used)Dani Moncayo2015-08-151-43/+0
| | | | * nt/zipdist.bat: Remove - no longer used.
* Remove files used by the old MS-Windows specific build procedureEli Zaretskii2015-08-1510-4797/+3
| | | | | | | | | | * 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.
* Support recovery from C stack overflow on MS-WindowsEli Zaretskii2015-08-081-0/+14
| | | | | | | | | | | | | | | | | | | | | * 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.
* MS-Windows follow-up for recent TZ-related changesEli Zaretskii2015-07-272-15/+5
| | | | | | | | | | | | | | | | * 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.
* New optional ZONE arg for format-time-string etc.Paul Eggert2015-07-261-10/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Support "maximized" property of runemacs's shortcutEli Zaretskii2015-07-081-3/+9
| | | | | * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass the '--maximized' switch to Emacs.
* Support "minimized" property of runemacs's shortcutEli Zaretskii2015-07-081-1/+10
| | | | | * nt/runemacs.c (WinMain): If runemacs is invoked "minimized", pass the '--iconic' switch to Emacs. (Bug#20991)
* * 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 runtimeEli Zaretskii2015-06-071-1/+4
| | | | | * nt/inc/ms-w32.h (struct timespec): Don't declare if __struct_timespec_defined is defined.
* Declare Emacs on MS-Windows to be DPI-awareVitaly Takmazov2015-05-302-2/+12
| | | | | | | | | * 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
* Fix last commitEli Zaretskii2015-05-281-1/+8
| | | | | | * 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.
* Fix the MS-Windows build as followup to gnulib updateEli Zaretskii2015-05-281-8/+1
| | | | | | * 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.
* Merge from gnulibPaul Eggert2015-05-271-8/+15
| | | | | | | | | | | | | | | | | | | | 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.
* MS-Windows followup for the recent gnulib updateEli Zaretskii2015-04-251-1/+1
| | | | | * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with acl-internal.c.
* Rename ChangeLogs for gitlog-to-changelogPaul Eggert2015-04-071-0/+0
| | | | | | | | | | | | | 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]"
* 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)Eli Zaretskii2015-03-272-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* nt/ChangeLog: Fix typos.Eli Zaretskii2015-03-091-7/+0
|
* Fix ChangeLog typosPaul Eggert2015-03-081-1/+0
|
* Merge from origin/emacs-24Paul Eggert2015-03-082-1/+34
|\ | | | | | | | | | | | | | | | | 344c6ad Improve MS-Windows build instructions (Bug#19989) eb62887 lisp/dired.el (dired-delete-file): Doc fix. (Bug#20021) Conflicts: lisp/ChangeLog nt/ChangeLog
| * Improve MS-Windows build instructions (Bug#19989)Eli Zaretskii2015-03-072-1/+27
| | | | | | | | | | nt/INSTALL: Add some more installation instructions for mingw-get users.
* | Merge from origin/emacs-24Paul Eggert2015-03-031-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Spelling fixesPaul Eggert2015-02-211-1/+1
| |
| * Backport fix for bug#18745 from master.Noam Postavsky2015-02-102-0/+35
| | | | | | | | | | nt/cmdproxy.c (batch_file_p): New function. (spawn): If calling a quoted batch file pass NULL for progname.
* | Merge from origin/emacs-24Paul Eggert2015-03-032-6/+76
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix invocation of commands whose file name includes extension (Bug#19817)Eli Zaretskii2015-02-102-6/+75
| | | | | | | | | | | | | | | | | | 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.