summaryrefslogtreecommitdiff
path: root/src/doprnt.c
Commit message (Collapse)AuthorAgeFilesLines
* (doprnt1): Fix char signedness mismatches.Karl Heuer1998-06-011-6/+6
|
* (doprnt1): Cast arg to CHAR_STRING.Richard M. Stallman1998-05-081-1/+1
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+2
|
* (doprnt1): Call to CHAR_HEAD_P fixed.Richard M. Stallman1997-12-311-3/+3
|
* (doprnt1): Declare `charbuf' as unsigned char.Andreas Schwab1997-11-211-1/+1
|
* Use #ifdef to test STDC_HEADERS.Richard M. Stallman1997-07-081-1/+1
|
* Include float.h before lisp.h.Richard M. Stallman1997-07-051-1/+2
|
* Include charset.h.Karl Heuer1997-02-201-11/+44
| | | | (doprn1): Handle multibyte characters.
* Include <float.h> if STDC_HEADERS.Paul Eggert1997-01-271-13/+37
| | | | | | | (DBL_MAX_10_EXP): Define if not defined; default is IEEE double. (doprnt1): Allocate enough buffer space to handle very large floating point numbers, or very large field widths or precisions. Detect overflow in field widths or precisions.
* (doprnt1): If lispstrings, accept a stringRichard M. Stallman1996-09-031-2/+2
| | | | as a `struct Lisp_String *'.
* (doprnt1): Move cast to unsigned inside a shift.Richard M. Stallman1996-02-261-1/+1
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (doprnt1): Add a cast.Richard M. Stallman1995-11-151-1/+1
|
* Include lisp.h.Richard M. Stallman1995-11-101-3/+47
| | | | | | | (doprnt1): Renamed from doprnt. New arg LISPSTRINGS. This is now a static subroutine. (doprnt): New definition calls doprnt1. (doprnt_lisp): New function.
* (BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):Karl Heuer1995-10-311-1/+1
| | | | Rename from SHORTBITS, INTBITS, LONGBITS.
* (doprnt): Fix typo in error message.Richard M. Stallman1995-08-271-1/+1
|
* (doprnt): Error if %-width is too big.Richard M. Stallman1995-08-111-4/+2
|
* (doprnt): Don't let size_bound be gigantic. Fix error message.Richard M. Stallman1995-08-071-1/+6
|
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (doprnt): Handle long EMACS_INT in sprintf.Richard M. Stallman1995-05-051-0/+10
|
* (xmalloc, xrealloc): Declare them here.Richard M. Stallman1995-04-091-1/+3
| | | | (doprnt): Cast pointer to int by way of EMACS_INT.
* (doprnt): Handle padding on %c.Richard M. Stallman1994-07-051-3/+8
|
* (doprnt): Reword confusing error message.Karl Heuer1994-04-071-4/+4
|
* (doprnt): Do the right thing for negative size spec.Karl Heuer1994-03-071-1/+2
|
* (doprnt): Cast the value alloca returns.Richard M. Stallman1993-11-161-1/+1
|
* Include config.h.Richard M. Stallman1993-11-161-0/+1
|
* (doprnt): Use a fixed buffer to store the formatBrian Fox1993-09-221-5/+23
| | | | | | | specification, but only if we are sure it will fit. Otherwise, use alloca () to get enouhg space. Don't allow negative size specifications to core dump; instead, treat them as positive ("%-20d" == "%20d").
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
* entered into RCSJim Blandy1992-01-131-2/+2
|
* *** empty log message ***Richard M. Stallman1990-12-261-4/+52
|
* *** empty log message ***Jim Blandy1990-11-121-1/+2
|
* Initial revisionJoseph Arceneaux1990-02-121-0/+136