Paul Eggert
90e04ea245
[admin/ChangeLog]
...
Remove no-longer needed getloadavg symbols.
* CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE):
(LDAV_SYMBOL): Remove.
[src/ChangeLog]
Remove no-longer needed getloadavg symbols.
* m/alpha.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/amdx86-64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/ia64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/ibms390.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/macppc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/sparc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/template.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* m/vax.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
* s/aix4-2.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
* s/bsd-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove #undef.
* s/hpux10-20.h (KERNEL_FILE, LOAD_AVE_TYPE, LOAD_AVE_CVT):
(LDAV_SYMBOL): Remove.
* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Remove.
* s/usg5-4-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
2011-02-09 23:41:44 -08:00
Paul Eggert
be6d99804b
Merge from mainline.
2011-02-09 23:04:56 -08:00
Glenn Morris
5ac75e8f4b
* src/Makefile.in (really-lwlib): Depend on globals.h, for parallel builds.
...
Otherwise, lwlib/ and src/ would try to run make-docfile at the same
time, and one of them would lose when its output file disappeared.
2011-02-09 19:20:52 -08:00
Eli Zaretskii
d37f40ed38
Update the Windows build according to 2011-02-08T21:42:56Z!tromey@redhat.com and 2011-02-09T17:04:43Z!schwab@linux-m68k.org.
...
src/makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj): New
macros.
(globals.h, gl-stamp): New targets.
(clean): Clean gl-stamp and globals.h.
nt/makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
"make-docfile" target in lib-src, before bootstrapping the src
directory. Needed since building in src needs to run make-docfile
to produce globals.h.
2011-02-09 22:50:17 +02:00
Andreas Schwab
33cd3ee46b
* src/Makefile.in (gl-stamp): Create globals.h here.
...
(globals.h): Don't do it here.
(mostlyclean): Clean globals.h and gl-stamp.
2011-02-09 18:04:43 +01:00
Paul Eggert
f9f2e7f540
* src/Makefile.in ($(otherobj)): Depend on globals.h.
2011-02-08 16:44:29 -08:00
Martin Rudalics
bae1fa42dc
Fix to select_window.
...
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00346.html
* window.c (select_window): Check inhibit_point_swap argument when
deciding whether to return immediately.
2011-02-08 19:11:15 -05:00
Tom Tromey
00b3c7ac85
Make globals.h a generated header
...
* configure: Rebuild.
* configure.in (NS_OBJC_OBJ): New subst.
lib-src
* make-docfile.c: Unconditionally include stdlib.h.
(generate_globals): New global.
(xrealloc): New function.
(main): Handle '-g'. Call start_globals, write_globals.
(scan_file): Conditionally call put_filename.
(start_globals): New function.
(struct global): New.
(num_globals, globals): New globals.
(add_global, compare_globals, write_globals): New functions.
(scan_c_file): Update for "-g".
(scan_lisp_file): Fail if "-g".
(enum global_type): New.
src
* Makefile.in (NS_OBJC_OBJ): New variable.
(base_obj): Rename from 'obj'.
(obj): New variable.
(globals.h, gl-stamp, $(obj)): New targets.
(GLOBAL_SOURCES): New variable.
* globals.h: Remove.
* nsselect.m (Vselection_alist): Define. Reverts part of
2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
variable.
* xselect.c (Vselection_alist): Define. Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
2011-02-08 14:42:56 -07:00
Jan Djärv
9aabf64c78
* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
...
zero.
Fixes: debbugs:7348
2011-02-08 08:19:20 +01:00
Paul Eggert
79ab4b7f0e
Import getloadavg module from gnulib.
2011-02-07 23:05:03 -08:00
Kenichi Handa
8f3b2e120b
font.c (Ffont_get): Do not cache :otf value.
2011-02-08 15:56:57 +09:00
Paul Eggert
b19beacc54
* image.c: conform to C89 pointer rules
2011-02-06 22:18:23 -08:00
Paul Eggert
c45e52762b
* xml.c: conform to C89 pointer rules
2011-02-06 22:15:32 -08:00
Paul Eggert
3ce2f8ac4c
* ralloc.c: conform to C89 pointer rules
2011-02-06 21:47:56 -08:00
Paul Eggert
efe0234f6a
* xfont.c: conform to C89 pointer rules
2011-02-06 21:44:50 -08:00
Paul Eggert
7469ef5d1b
* doprnt.c, indent.c, character.c: conform to C89 pointer rules
2011-02-06 21:42:15 -08:00
Paul Eggert
0ca76b1eac
* callproc.c: conform to C89 pointer rules
2011-02-06 21:06:59 -08:00
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