aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * process.c (handle_child_signal): Also use WCONTINUED.Paul Eggert2013-05-312-1/+9
| | | | | | This is so that list-processes doesn't mistakenly list the process as stopped, when the process has actually been continued and is now running.
* Don't let D-bus autolaunch mess up SIGCHLD handling.Paul Eggert2013-05-302-0/+11
| | | | | | | * xterm.c (x_term_init): Inhibit D-Bus autolaunch if D-Bus is not already configured. Fixes: debbugs:14474
* * fileio.c (Finsert_file_contents): Remove unused local.Paul Eggert2013-05-302-4/+5
| | | | Fixes: debbugs:8447
* Remove *.res files in mostlyclean, to avoid problems with out-of-tree builds.Eli Zaretskii2013-05-292-0/+5
| | | | | | | | | | src/Makefile.in (mostlyclean): Remove *.res files. lib-src/Makefile.in (mostlyclean): Remove *.res files. nt/Makefile.in (emacs.res): Include srcdir when preprocessing resources, for out-of-tree builds. (mostlyclean): Remove *.res files.
* * src/fileio.c (Finsert_file_contents): Preserve undo info when revertingStefan Monnier2013-05-282-4/+16
| | | | | | a buffer. Fixes: debbugs:8447
* Fix bug #14476 with posn-at-point and glyphs from display vector.Eli Zaretskii2013-05-272-7/+37
| | | | | | | src/xdisp.c (pos_visible_p): When CHARPOS is displayed frrom a display vector, and we backtrack, handle the case that the previous character position is also displayed from a display vector or covered by a display string or image.
* Restore an omitted bug reference.Eli Zaretskii2013-05-271-1/+1
|
* Factor out common code for multimonitors, for Gtk+, non-Gtk+ X11 and NS.Jan Djärv2013-05-255-163/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | * frame.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): New Lisp_Object:s. (free_monitors, make_monitor_attribute_list): New functions. (syms_of_frame): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource. * frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare. (struct MonitorInfo): New struct. (free_monitors, make_monitor_attribute_list): Declare. * nsfns.m (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove. (struct MonitorInfo, free_monitors): Remove. (ns_screen_name): Make static. (ns_make_monitor_attribute_list): Call make_monitor_attribute_list. (syms_of_nsfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource. * xfns.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove. (struct MonitorInfo, free_monitors): Remove. (x_make_monitor_attribute_list): Call make_monitor_attribute_list. (Fx_display_monitor_attributes_list): Call make_monitor_attribute_list. (syms_of_xfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource.
* * callproc.c (call_process): Refine the doc string. (Bug#14045)Xue Fuqiao2013-05-252-4/+8
|
* src/keyboard.c (read_decoded_event_from_main_queue): Improve commentaryEli Zaretskii2013-05-231-1/+4
| | | | about the w32 console reading non-ASCII characters.
* Don't apply keyboard decoding to unread-command-events.Stefan Monnier2013-05-232-129/+170
| | | | | | | | | | | | * src/keyboard.c: Apply keyboard decoding only to events that come directly from the tty, not from unread-command-events (bug#14368). (read_event_from_main_queue): New function, extracted from read_char). (read_decoded_char): Remove. (read_decoded_event_from_main_queue): New function to replace it. (read_char): Use it. (read_key_sequence): Use read_char rather than read_decoded_char. Fixes: debbugs:14403
* * src/keyboard.c (read_decoded_char): Don't decode under w32.Stefan Monnier2013-05-232-0/+11
| | | | Fixes: debbugs:14403
* * src/casetab.c (init_casetab_once): Fix last change.Barry O'Reilly2013-05-222-3/+7
| | | | Fixes: debbugs:14424
* merge trunkKenichi Handa2013-05-2328-491/+1041
|\
| * ChangeLog fixGlenn Morris2013-05-211-1/+1
| |
| * * src/search.c (looking_at_1): Only set last_thing_searched if the matchStefan Monnier2013-05-212-10/+15
| | | | | | | | | | | | changed the match-data. Fixes: debbugs:14281
| * * xdisp.c (reseat_at_previous_visible_line_start):Dmitry Antipov2013-05-212-2/+6
| | | | | | | | | | Already declared in dispextern.h, so remove it here. (move_it_vertically_backward): Likewise.
| * Sync x-server-* and x-display-* functions on NS with those on X11.YAMAMOTO Mitsuharu2013-05-203-157/+191
| |
| * Mention `display-monitor-attributes-list' in docstrings of X11 display ↵YAMAMOTO Mitsuharu2013-05-202-4/+23
| | | | | | | | measurement functions.
| * * xfns.c (check_x_display_info): Don't use XINT for terminal object.YAMAMOTO Mitsuharu2013-05-202-1/+5
| |
| * Port --enable-gcc-warnings to clang.Paul Eggert2013-05-178-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (nw): Remove obsolescent warnings. These aren't needed for clang, or for gcc for that matter. (emacs_cv_clang): New var, which tests for clang. Omit warnings that clang is too picky about. (GLIB_DISABLE_DEPRECATION_WARNINGS): Define this; needed for Ubuntu 13.04 + clang + --enable-gcc-warnings. * lib-src/etags.c: Omit unnecessary forward decls. (print_version, print_help): Declare _Noreturn. * lib-src/pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify. * src/bytecode.c (exec_byte_code): * src/regex.c: Redo diagnostic pragmas to pacify clang, too. * src/dbusbind.c (xd_retrieve_arg): Do not use uninitialized variable. * src/editfns.c (Fencode_time): * src/fileio.c (file_accessible_directory_p): * src/font.c (font_unparse_xlfd): Use '&"string"[index]' instead of '"string" + (index)'. * src/undo.c (user_error): Remove; unused.
| * Document arguments of insert_1_both.Eli Zaretskii2013-05-162-2/+10
| |
| * Fix bug #14408 with updating *Messages* display.Eli Zaretskii2013-05-162-1/+13
| | | | | | | | | | | | src/xdisp.c (message_dolog): If the *Messages* buffer is shown in some window, increment windows_or_buffers_changed, so that *Messages* display in that window is updated.
| * Support building Emacs on MS-Windows using the Posix configury.Eli Zaretskii2013-05-164-19/+127
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/Makefile.am: If building for MS-Windows, include nt/gnulib.mk instead of lib/gnulib.mk. configure.ac: Adapt to MSYS build on MS-Windows. Makefile.in (NTDIR): New variable, for the MSYS build on MS-Windows. (SUBDIR): Add $(NTDIR). (.PHONY): Add epaths-force-w32. (msys_to_w32): New variable. (epaths-force-w32, install-nt, uninstall-nt): New targets. (lib-src src): Add $(NTLIB) to prerequisites. (lib lib-src lisp leim nt): Add 'nt'. (config.status): Use $(CFG). (.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR). (install, install-arch-dep): Add install-$(NTDIR). (uninstall): Depend on uninstall-$(NTDIR). (mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'. * GNUmakefile (CFG): New variable, uses mingw-cfg.site as CONFIG_SITE for the MSYS build on MS-Windows. (Makefile): Use $(CFG). .bzrignore: Ignore *.res, *.tmp, and *.map. Remove src/emacs.res. etc/NEWS: Advertise the MSYS build on MS-Windows. leim/Makefile.in (leim-list.el, check-declare): Use reveal-filename. lib-src/update-game-score.c [WINDOWSNT]: Include "ntlib.h". lib-src/ntlib.h (sleep): Update prototype. (geteuid): Add prototype. lib-src/ntlib.c (sleep): Now returns an unsigned value. (getgid): New function. lib-src/Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB) (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables. (INSTALLABLES): Add $(CLIENTW). (LIBS_MOVE): Use $(LIB_WSOCK32). ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score. (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib. (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT}) (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT}) (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}): Add $(NTLIB) to prerequisites. Use $(EXEEXT). (pop.o): Add pop.h to prerequisites. (emacsclientw${EXEEXT}, ntlib.o): New targets. (emacsclient.res): New target. lisp/subr.el (reveal-filename): New function. lisp/loadup.el: Compute Emacs executable versions on MS-Windows, where executables have the .exe extension. Add a hard link emacs-XX.YY.ZZ.exe on MS-Windows. lisp/Makefile.in (XARGS_LIMIT): New variable. (custom-deps, finder-data, autoloads) ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename. (compile-main): Limit xargs according to $(XARGS_LIMIT). nt/msysconfig.sh: New file. nt/mingw-cfg.site: New file. nt/makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1. nt/inc/unistd.h: Include pwd.h and sys/types.h. nt/inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp) (timerclear): Define. (gettimeofday): Adjust signature to be Posix compatible, by using the 'restrict' keyword. nt/inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define. (struct _stat, struct _stati64): Define. nt/inc/sys/socket.h (timeval): Define only for MSVC. (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if EMACS_CONFIG_H is defined. (timeval): Undefine only for MSVC. nt/inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict) (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION) (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT) (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined. (fileno): Move definition after including stdio.h. (sigset_t): Guard typedef by _W64. nt/gnulib.mk: New file. nt/epaths.nt: New file. nt/addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a copy of the file names there. <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of literal strings. nt/Makefile.in: New file. nt/INSTALL.MSYS: New file. nt/INSTALL: Mention INSTALL.MSYS. src/w32.c: Include epaths.h. (init_environment): Use cmdproxy.exe without leading directories. Support emacs.exe in src; point SHELL to cmdproxy in ../nt in that case. (gettimeofday): Adjust signature and return value to Posix expectations. src/unexw32.c (open_output_file): Delete the existing emacs.exe before creating it, to break the hard link to the versioned executable. src/Makefile.in (EMACS_MANIFEST, CM_OBJ, TEMACS_POST_LINK) (ADDSECTION, EMACS_HEAPSIZE, MINGW_TEMACS_POST_LINK) (FIRSTFILE_OBJ): New variables. (W32_RES): Rename to EMACSRES. All users changed. (base_obj): Use $(CM_OBJ). (ALLOBJS): Use $(FIRSTFILE_OBJ). (emacs$(EXEEXT)): Depend on $(ADDSECTION). (temacs$(EXEEXT)): Use $(TEMACS_POST_LINK), and move $(W32_RES_LINK) before $(LIBES). (emacs.res): Depend on $(EMACS_MANIFEST). Put emacs.rc in nt.
| | * Merge from trunk.Eli Zaretskii2013-05-167-228/+270
| | |\ | | |/ | |/|
| | * Merge from trunk, configury not fixed yet.Eli Zaretskii2013-05-1523-515/+1557
| | |\
| | * \ Merge from trunk.Eli Zaretskii2013-05-018-40/+154
| | |\ \
| | * \ \ Merge from trunk.Eli Zaretskii2013-04-242-0/+14
| | |\ \ \
| | | \ \ \
| | | \ \ \
| | *-. \ \ \ Merge from trunk.Eli Zaretskii2013-04-232-1/+6
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge from trunk.Eli Zaretskii2013-04-204-84/+126
| | |\ \ \ \ \ \ | | | |/ / / / /
| | * | | | | | Delete previous emacs.exe before dumping to fix problem with hard links to it.Eli Zaretskii2013-04-161-0/+8
| | | | | | | |
| | * | | | | | Merge from trunk.Eli Zaretskii2013-04-162-5/+9
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge from trunk.Eli Zaretskii2013-04-155-15/+32
| | |\ \ \ \ \ \ \
| | * | | | | | | | Fixed problems with default paths and with shell-file-name.Eli Zaretskii2013-04-151-5/+62
| | | | | | | | | |
| | * | | | | | | | Merge from trunk, resolve conflicts.Eli Zaretskii2013-04-1435-429/+599
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Fixed linking with the resource file.Eli Zaretskii2013-04-141-4/+4
| | | | | | | | | | |
| | * | | | | | | | | Merge from trunk.Eli Zaretskii2013-04-0529-55/+92
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Fixed misc compilation warnings and errors. Dumping errors out.Eli Zaretskii2013-04-012-3/+6
| | | | | | | | | | | |
| | * | | | | | | | | | Fixed nt/Makefile.in and top-level Makefile.in.Eli Zaretskii2013-04-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Programs in nt/ and lib-src/ compile and link. Warnings and errors in src/.
| | * | | | | | | | | | Added nt/Makefile.in and appropriate tweaks to configure.ac.Eli Zaretskii2013-04-011-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added emacsclient.res support to lib-src/. Fixed temacs and dumping commands in src/Makefile.in. Miscellaneous fixes all over the place. Not tried to build yet.
| | * | | | | | | | | | Merge from trunk.Eli Zaretskii2013-03-313-7/+7
| | |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ Merge from trunk.Eli Zaretskii2013-03-304-10/+154
| | |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | Fixed compilation problems in lib/.Eli Zaretskii2013-03-301-2/+2
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Merge from trunk.Eli Zaretskii2013-03-306-84/+80
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | Use 'restrict' in gettimeofday arguments, and make ms-w32.h compatible.Eli Zaretskii2013-03-281-1/+1
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Fix the gettimeofday_timezone test.Eli Zaretskii2013-03-281-1/+2
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Use just DOC instead of DOC-nn.mm.Stefan Monnier2013-05-155-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/loadup.el: Just use unversioned DOC. * Makefile.in (install-doc): DOC file is not version specific any more. * .bzrignore: Don't ignore DOC-* any more. * admin/quick-install-emacs: Don't prune DOC-* files a any more. * doc/lispref/loading.texi (Autoload): * doc/lispref/help.texi (Documentation Basics, Accessing Documentation) (Accessing Documentation, Accessing Documentation): DOC-* is now DOC. * etc/.gitignore: Don't ignore DOC-* any more. * lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X. * msdos/sed1x.inp: Don't rewrite DOC any more. * nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more. * src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more. * src/makefile.w32-in (DOC): Use just "DOC".
| * | | | | | | | | | | | | | * src/process.c: Export default filters and sentinels to Elisp.Stefan Monnier2013-05-153-223/+261
| | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Qinternal_default_process_sentinel, Qinternal_default_process_filter): New constants. (pset_filter, pset_sentinel, make_process, Fset_process_filter) (Fset_process_sentinel, Fformat_network_address): Default to them instead of nil. (server_accept_connection): Sentinels can't be nil any more. (read_and_dispose_of_process_output): New function, extracted from read_process_output. (read_process_output): Use it; filters can't be nil. (Finternal_default_process_filter): New function, extracted from read_process_output. (exec_sentinel_unwind): Remove function. (exec_sentinel): Don't zilch sentinel while running. (status_notify): Sentinels can't be nil. (Finternal_default_process_sentinel): New function extracted from status_notify. (setup_process_coding_systems): Default filter is not nil any more. (syms_of_process): Export new Elisp functions and initialize new constants. * src/lisp.h (make_lisp_proc): New function.
| * | | | | | | | | | | | | * lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in theStefan Monnier2013-05-142-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | surrounding group. * src/regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart. Fixes: debbugs:14402
| * | | | | | | | | | | | | Another attempt to solve bug #14062 with assertion violations on MS-Windows.Eli Zaretskii2013-05-142-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT unless we know that the window w is a leaf window. Another attempt at solving bug#14062.