1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00
Commit graph

30134 commits

Author SHA1 Message Date
Paul Eggert
400a67ffac * process.c: conform to C89 pointer rules 2011-02-06 21:02:02 -08:00
Paul Eggert
4a25e32a73 * lread.c: conform to C89 pointer rules 2011-02-06 20:48:38 -08:00
Paul Eggert
f1e5982419 * fns.c: conform to C89 pointer rules 2011-02-06 20:43:35 -08:00
Paul Eggert
a2db99828c * callint.c: conform to C89 pointer rules 2011-02-06 19:09:32 -08:00
Paul Eggert
e7f8264d90 * editfns.c: conform to C89 pointer rules 2011-02-06 18:51:10 -08:00
Paul Eggert
09125ef847 * print.c: conform to C89 pointer rules 2011-02-06 18:26:14 -08:00
Paul Eggert
57ace6d0d3 * data.c etc: conform to C89 pointer rules 2011-02-06 18:18:35 -08:00
Paul Eggert
9025684146 * alloc.c: conform to C89 pointer rules 2011-02-06 18:05:30 -08:00
Paul Eggert
a7e979a44e * search.c: conform to C89 pointer rules 2011-02-06 17:31:29 -08:00
Paul Eggert
47ce90e495 * casefiddle.c: conform to C89 pointer rules 2011-02-06 17:24:53 -08:00
Paul Eggert
4f043d0f4d * dired.c: conform to C89 pointer rules 2011-02-06 17:18:31 -08:00
Paul Eggert
5976c3fe90 * fileio.c: conform to C89 pointer rules 2011-02-06 14:02:50 -08:00
Paul Eggert
637de37e96 * minibuf.c: conform to C89 pointer rules 2011-02-06 12:12:53 -08:00
Paul Eggert
01c9aa3af4 * keymap.c: conform to C89 pointer rules 2011-02-06 11:56:30 -08:00
Paul Eggert
b68864e5b9 * insdel.c: conform to C89 pointer rules 2011-02-06 11:44:36 -08:00
Paul Eggert
847c082469 * keyboard.c: conform to C89 pointer rules 2011-02-06 01:03:25 -08:00
Paul Eggert
b8dc29e93c * image.c: conform to C89 pointer rules 2011-02-06 00:51:35 -08:00
Paul Eggert
5f742c1bf2 * xfns.c: conform to C89 pointer rules 2011-02-05 19:48:28 -08:00
Paul Eggert
4c83cffcce * xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
Emacs assumes two's complement elsewhere, but the assumption is
easy to remove here, and this suppresses a warning with Sun C 5.8.
2011-02-05 19:13:16 -08:00
Paul Eggert
82470039ae * xterm.c: conform to C89 pointer rules 2011-02-05 18:50:02 -08:00
Paul Eggert
9eee99eb8a * doc.c: conform to C89 pointer rules
(get_doc_string, Fsnarf_documentation, Fsubstitute_command_keys):
Change types between char * and unsigned char *, to satisfy C89
rules about pointer type compatibility.
2011-02-05 17:56:00 -08:00
Paul Eggert
32299e3380 don't ignore chdir failure
* sysdep.c (sys_subshell) [!defined DOS_NT]: Diagnose chdir
failure and exit.
(sys_subshell) [defined DOS_NT]: Mark with a FIXME the two
remaining unchecked chdir calls in this function; some DOS/NT
expert needs to fix them.
* emacs.c (main): Mark with a FIXME the unchecked chdir calls
in this function; some NextStep expert needs to fix them.
2011-02-05 17:25:41 -08:00
Glenn Morris
233ba4d924 Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
Paul Eggert
25a48bd06b xstrcasecmp: conform to C89 pointer rules 2011-02-05 02:20:15 -08:00
Paul Eggert
dfb6afda10 * charset.c: conform to C89 pointer rules
(define_charset_internal): Switch between char * and unsigned char *.
2011-02-05 01:57:53 -08:00
Paul Eggert
cc618f4e69 * xmenu.c: conform to C89 const rules
(xmenu_show, xdialog_show): Declare local var as char *, not
const char *, to stay compatible with C89 const rules.
2011-02-05 01:49:52 -08:00
Paul Eggert
9bcaafce53 * xdisp.c: conform to C89 pointer rules
(store_mode_line_noprop, display_string, reseat_to_string):
(c_string_pos, number_of_chars, message_dolog):
(message_log_check_duplicate, set_message_1, store_mode_line_noprop):
(display_mode_element, display_string):
Switch between char * and unsigned char * to stay compatible wth
C89 pointer rules.
2011-02-05 01:26:46 -08:00
Paul Eggert
5b0534c888 * regex.c: conform to C89 pointer rules 2011-02-04 21:48:19 -08:00
Paul Eggert
d67985d3f9 sync from gnulib to remove HAVE_STDBOOL_H 2011-02-04 21:07:22 -08:00
Eli Zaretskii
f90e08f57d Update dependencies in src/makefile.w32-in.
makefile.w32-in (LISP_H, PROCESS_H): New variables.
 Replace all uses of lisp.h with $(LISP_H), and all uses of
 process.h with $(PROCESS_H).
 ($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
 ($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.
 ($(BLD)/sysdep.$(O)): Depend on ../lib/ignore-value.h.
2011-02-04 17:32:34 +02:00
Eli Zaretskii
be50df37a3 deps.mk: Update for recent changes: gnutls, gnulib imports, globals.h. 2011-02-04 14:01:34 +02:00
Eli Zaretskii
a5d733f5d7 Adapt to addition of ignore-value.h in 2011-02-03T19:29:35Z!eggert@cs.ucla.edu.
src/makefile.w32-in (IGNORE_VALUE_H): New variable.
 ($(BLD)/sysdep.$(O)): Depend on $(IGNORE_VALUE_H).
 nt/config.nt (inline) [__GNUC__]: Define (for gnulib).
2011-02-04 11:17:36 +02:00
Paul Eggert
67342916c9 allow C code to suppress warnings about ignored return values 2011-02-03 11:29:35 -08:00
Jan Djärv
36941b32f3 * xterm.c (x_connection_closed): Remove all calls that calls XSync.
Fixes: debbugs:7949
2011-02-03 14:46:03 +01:00
Glenn Morris
95838641ae Doc fixes related to face heights. (Bug#2659)
* lisp/faces.el (set-face-attribute): Doc fix.

* src/xfaces.c (Finternal_set_lisp_face_attribute):
Try to clarify some error messages.
2011-02-02 22:55:48 -08:00
Stefan Monnier
aca092acca * src/editfns.c (save_restriction_restore): Don't forget to invalidate the
current_column cache.

Fixes: debbugs:7946
2011-02-02 10:53:20 -05:00
Kenichi Handa
15d73a19fc merge emacs-23 2011-02-02 11:16:53 +09:00
Kenichi Handa
ea2460a0d8 Use FC_DUAL only when it is defined. 2011-02-02 11:15:29 +09:00
Eli Zaretskii
3082f6173c Fix a compiler warning in image.c.
image.c (tiff_load): Avoid compiler warning in 2nd arg to TIFFClientOpen.
2011-02-01 21:46:21 +02:00
Andreas Schwab
29feb0e9b5 * src/window.c (Fselect_window): Add missing return value. 2011-02-01 20:01:25 +01:00
Jan Djärv
4df0af9b7b Use add/delete_read_fd in xsmfns to simplify. Also restart with initial_argv.
* xsmfns.c (ice_connection_closed): Call delete_read_fd.
(x_session_check_input): Change args and return type so it can be used
as argument to add_read_fd.  Make static.  Remove call to select.
Call kbd_buffer_store_event for emacs_event.
(smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
(ice_conn_watch_CB): Call add_read_fd.

* xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
x_session_check_input.
(x_session_initialized): Remove definition.
(x_initialize): Remove setting of x_session_initialized.

* xterm.h (x_session_check_input): Remove declaration.
2011-02-01 09:53:03 +01:00
Paul Eggert
a4180391ac format-time-string now supports subsecond time stamp resolution 2011-01-31 23:23:48 -08:00
Chong Yidong
14beddf471 Merge changes from emacs-23 branch 2011-01-31 18:54:50 -05:00
Eli Zaretskii
8b3c625b7d Don't define HAVE_STRFTIME on MS-Windows.
s/ms-w32.h (HAVE_STRFTIME): Don't define.
2011-01-31 22:00:40 +02:00
Eli Zaretskii
70b0d280eb Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu.
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
 $(BLD)/time_r.$(O).
 ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
 $(EMACS_ROOT)/src/m/intel386.h.
 ($(BLD)/strftime.$(O)): 
 ($(BLD)/time_r.$(O)): Define prerequisites.
 src/makefile.w32-in (OBJ2): Remove strftime.$(O).
 ($(BLD)/strftime.$(O)): Remove prerequisites.
 lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
 (ECLIENT_CFLAGS): Remove -DVERSION.
 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
 nt/config.nt (VERSION): Uncomment definition.
 (restrict): Define.
 nt/inc/stdbool.h: New file.
 admin/admin.el (set-version): Remove lib-src/makefile.w32-in.  Add
 nt/config.nt.
2011-01-31 21:36:08 +02:00
Paul Eggert
3df3a1fc82 Merge: src/emacs.c now gets version number from configure.in 2011-01-31 00:15:13 -08:00
Paul Eggert
16fab14354 src/emacs.c now gets version number from configure.in 2011-01-31 00:12:52 -08:00
Jim Meyering
546961a989 charset.c (load_charset_map): Don't deref NULL on failed malloc. 2011-01-31 08:34:45 +01:00
Paul Eggert
16c3e636a6 strftime: import from gnulib 2011-01-30 15:34:18 -08:00
Paul Eggert
4eec7f8b2b Use SSDATA when the context wants char *. 2011-01-30 14:22:58 -08:00