1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 15:30:29 -08:00
Commit graph

452 commits

Author SHA1 Message Date
Kenichi Handa
dc7b4525e5 (Fgarbage_collect): If nextb->text->inhibit_shrinking is
nonzero, don't shrink the buffer nextb.
2007-02-23 06:03:41 +00:00
Miles Bader
bb5b9e9dbe Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 615-621)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 197-199)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-166
2007-01-30 22:22:43 +00:00
YAMAMOTO Mitsuharu
86302e37c3 (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
BLOCK_INPUT/UNBLOCK_INPUT.
2007-01-26 08:35:54 +00:00
Miles Bader
c0466914ba Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 586-614)

   - Update from CVS
   - Update from erc--emacs--22
   - Merge from gnus--rel--5.10
   - Merge from erc--main--0
   - Make byte compiler correctly write circular constants

 * gnus--rel--5.10  (patch 186-196)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Jan Djärv
959dc6015a (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
block/unblock SIGIO.
2007-01-11 19:22:04 +00:00
Miles Bader
eeb7eaa884 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 505-522)

   - Update from CVS
   - Merge from gnus--rel--5.10
   - Update from CVS: etc/TUTORIAL.cn: Updated.
   - Merge from erc--emacs--22

 * gnus--rel--5.10  (patch 164-167)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-137
2006-11-21 08:56:38 +00:00
YAMAMOTO Mitsuharu
55a314a5c2 (mark_memory): New argument OFFSET. All uses changed.
Fix address calculations for case END < START.
(mark_stack): Impose Lisp_Object alignment on jmp_buf.
2006-11-13 08:20:48 +00:00
Miles Bader
d65dc2c390 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 399-413)

   - Update from CVS
   - Rcirc update from Ryan Yeske
   - Merge from gnus--rel--5.10
   - Miscellaneous tq-related fixes.

 * gnus--rel--5.10  (patch 126-127)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-105
2006-08-28 04:33:45 +00:00
YAMAMOTO Mitsuharu
f3c4a0e1d2 (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous
change.  Move mutex lock/unlock operations inside BLOCK_INPUT.
2006-08-27 07:08:31 +00:00
Miles Bader
de20e0ccdb Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 382-398)

   - Update from CVS
   - Update from erc--emacs--22
   - Fix ERC bug introduced in last patch
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 123-125)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-101
2006-08-16 14:08:49 +00:00
Jan Djärv
0d3e774694 * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
to check if mutex should be locked or not.
2006-08-10 06:09:30 +00:00
Kenichi Handa
63adfd7930 (NSTATICS): Fix previous change. 2006-08-07 06:45:31 +00:00
Kenichi Handa
a2ce68493a (NSTATICS): Increased to 0x7F0. 2006-08-07 06:42:01 +00:00
Eli Zaretskii
f892cf9c9d Include w32.h.
(valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do the job.
2006-08-05 13:01:50 +00:00
Miles Bader
e2b9706014 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 357-381)

   - Merge from gnus--rel--5.10
   - Update from CVS
   - Merge from erc--emacs--21

 * gnus--rel--5.10  (patch 116-122)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-98
2006-08-03 11:45:23 +00:00
Eli Zaretskii
69666f776a [WINDOWSNT]: Include fcntl.h, to fix last change. 2006-07-29 10:18:48 +00:00
Richard M. Stallman
69b9efaa09 Whitespace change. 2006-07-29 01:53:31 +00:00
Kim F. Storm
7ffb6955ce (valid_pointer_p): New function (from valid_lisp_object_p).
(valid_lisp_object_p): Use it to check for valid SUBRP obj.
2006-07-28 11:12:23 +00:00
YAMAMOTO Mitsuharu
79fd0489dd (find_string_data_in_pure): New function.
(make_pure_string): Use it to reuse existing string data if possible.
2006-07-25 10:10:19 +00:00
YAMAMOTO Mitsuharu
e5bc14d4b6 (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
(init_alloc_once): Initialize them.
(pure_alloc): Allocate non-Lisp objects from the end of pure storage
without alignment.
2006-07-20 01:01:04 +00:00
Miles Bader
63db3c1b3f Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 343-356)

   - Update from CVS
   - Update for ERC 5.1.3.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 113-115)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
2006-07-19 00:42:56 +00:00
Kim F. Storm
9b306d3759 (buffer_memory_full, memory_full): Use xsignal. Remove loop.
(list1): New function.
2006-07-18 13:25:40 +00:00
Miles Bader
49d395cd57 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-54
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 190-203)

   - Update from CVS
   - Undo incorrect merge of etc/images/README from Gnus 5.10
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 74-80)

   - Update from CVS
   - Update from CVS: README: Addition from 5.10.6 tar ball.
2006-04-09 00:38:22 +00:00
Eli Zaretskii
4f27350a99 [STDC_HEADERS]: Include stddef.h. 2006-04-08 16:44:27 +00:00
Stefan Monnier
6bfd98e75d * process.h (struct Lisp_Process): Replace Lisp_Objects `pid',
`raw_status_high', and `raw_status_low' with plain integers, and move
them to the end of the structure.

* alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the
pseudovector's size field so only the Lisp_Object fields get GC'd.

* process.c (update_status, make_process, Fdelete_process)
(Fprocess_status, list_processes_1, start_process_unwind)
(create_process, Fmake_network_process, server_accept_connection)
(wait_reading_process_output, send_process, Fprocess_running_child_p)
(process_send_signal, proc_encode_coding_system, Fprocess_send_eof)
(sigchld_handler, status_notify): Adjust to new non-Lisp fields for
`pid' and `raw_status'.
(Fprocess_id, Fsignal_process): Same, and additionally use floats when
representing PIDs that are larger than most-positive-fixnum.
2006-04-08 15:07:35 +00:00
Miles Bader
57216976c5 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-42
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 144-147)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 56)

   - Update from CVS
2006-03-10 23:46:54 +00:00
Kim F. Storm
b4181b015a (USE_POSIX_MEMALIGN): Fix last change. 2006-03-10 08:10:24 +00:00
Stefan Monnier
349a450079 (USE_POSIX_MEMALIGN): New macro.
(ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it.
2006-03-09 23:06:58 +00:00
Miles Bader
b434f199db Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 97-112)

   - Update from CVS
   - Merge from erc--emacs--0
   - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 37)

   - Update from CVS
2006-02-22 06:54:10 +00:00
Stefan Monnier
537407f049 (Fmake_symbol): Comment-out left-over assert from before we added BLOCK_INPUTs. 2006-02-17 16:00:35 +00:00
Miles Bader
0b12547529 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-14
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 58-65)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 22-28)

   - Update from CVS
   - Merge from emacs--devo--0
   - Update from CVS: lisp/gnus.el: Remove bogus comment.
2006-02-11 00:11:19 +00:00
Juanma Barranquero
909e3b3323 (Fmake_bool_vector, Fpurecopy): Doc fixes. 2006-02-09 10:49:59 +00:00
Miles Bader
06eb776d8e Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-9
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 16-33)

   - Update from CVS
   - Install ERC.
   - Fix ERC compiler warnings.
   - Use utf-8 encoding in ERC ChangeLogs.
   - Merge ERC-related Viper hacks into Viper.
   - Merge from erc--main--0
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 8-13)

   - Merge from emacs--devo--0
   - Update from CVS
2006-02-01 10:07:17 +00:00
Chong Yidong
e2984df0ef * alloc.c (make_interval, allocate_string)
(allocate_string_data, make_float, Fcons, allocate_vectorlike)
	(Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing
	global variables.
2006-01-27 22:14:57 +00:00
Richard M. Stallman
2aee5ca377 (check_pure_size): Make overflow message an "error message". 2006-01-26 17:51:42 +00:00
Miles Bader
b2ba4dcba1 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 4-14)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (base, patch 1-7)

   - tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187
   - Update from CVS
   - Merge from emacs--devo--0

 * miles@gnu.org--gnu-2005/gnus--rel--5.10  (patch 187)

   - Update from CVS
2006-01-25 07:10:04 +00:00
Chong Yidong
a0b08700d1 * alloc.c (allocate_string_data): Update next_free immediately, to
reduce risk of memory clobberage.
2006-01-24 18:35:25 +00:00
Stefan Monnier
cfb2f32e41 (lisp_align_free): Add an assertion.
(make_interval, allocate_string, make_float, allocate_misc, Fmake_symbol
(Fcons): If ENABLE_CHECKING is on, check we're not called from a sighandler.
2006-01-23 02:35:36 +00:00
Miles Bader
41882805d6 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 616-696)

   - Add lisp/mh-e/.arch-inventory
   - Update from CVS
   - Merge from gnus--rel--5.10
   - Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
   - lisp/gnus/ChangeLog: Remove duplicate entry

 * gnus--rel--5.10  (patch 147-181)

   - Update from CVS
   - Merge from emacs--cvs-trunk--0
   - Update from CVS: lisp/mml.el (mml-preview): Doc fix.
   - Update from CVS: texi/message.texi: Fix default values.
   - Update from CVS: texi/gnus.texi (RSS): Addition.
2006-01-16 08:37:27 +00:00
Richard M. Stallman
7c0ab7d9e4 Comment and whitespace changes. 2005-12-11 05:07:16 +00:00
Kim F. Storm
de7124a7bd Include fcntl.h. Define O_WRONLY if not defined.
(valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by
passing it to `emacs_write'.
2005-11-30 00:04:51 +00:00
Andreas Schwab
28a099a4aa (free_float): Make free list chaining aliasing-safe.
(make_float): Likewise.
(free_cons): Likewise.
(Fcons): Likewise.
(check_cons_list): Likewise.
(Fmake_symbol): Likewise.
(allocate_misc): Likewise.
(free_misc): Likewise.
(gc_sweep): Likewise.
2005-11-15 13:53:45 +00:00
Kim F. Storm
3cd5573537 (valid_lisp_object_p): New function to validate that
an object is really a valid Lisp_Object.
2005-11-09 23:14:12 +00:00
Richard M. Stallman
225ccad65e (refill_memory_reserve): Move decl out of conditionals. 2005-11-03 21:11:20 +00:00
Richard M. Stallman
4d74a5fc8e (BYTES_USED): Use uordblks, not arena.
(bytes_used_when_reconsidered): New variable.
(emacs_blocked_free): Set that.
2005-10-30 07:36:35 +00:00
Chong Yidong
bccfb31031 * alloc.c (emacs_blocked_free): Fix typo. 2005-10-29 20:17:48 +00:00
Richard M. Stallman
24d8a105d8 (syms_of_alloc) <memory-full>: Doc fix.
(Fmemory_full_p): Function deleted.
(syms_of_alloc): Don't defsubr it.
(memory_full_cons_threshold): New variable.
(spare_memory): Now a vector of 7 elts.
(buffer_memory_full): Don't set Vmemory_full here.
(xfree): Don't try to refill here.
(emacs_blocked_free): Record BYTES_USED in local var.
(memory_full): Now free all the slots in spare_memory.
(refill_memory_reserve): Allocate each slot in spare_memory.
(init_alloc_once): Call refill_memory_reserve.
2005-10-29 19:39:50 +00:00
Richard M. Stallman
745575ff14 (spare_memory): No longer static.
(xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve.
2005-10-28 16:25:37 +00:00
Miles Bader
00e18f33ad Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-88
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 569-579)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 129-132)

   - Update from CVS
   - Merge from emacs--cvs-trunk--0
2005-10-07 07:15:40 +00:00