1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

4364 commits

Author SHA1 Message Date
Gareth Rees
62ec3013e8 Need to check hash table for staleness when deleting a key.
Copied from Perforce
 Change: 180354
 ServerID: perforce.ravenbrook.com
2012-11-05 23:29:23 +00:00
Gareth Rees
8870f3303c Tabularize history; minor edits to lang.
Copied from Perforce
 Change: 180353
 ServerID: perforce.ravenbrook.com
2012-11-05 23:29:06 +00:00
Gareth Rees
2e2b6f7023 Update html.
Copied from Perforce
 Change: 180351
 ServerID: perforce.ravenbrook.com
2012-11-05 22:32:19 +00:00
Gareth Rees
3dd5b9da1d Minor edits.
Copied from Perforce
 Change: 180350
 ServerID: perforce.ravenbrook.com
2012-11-05 22:29:36 +00:00
Gareth Rees
c3e7dc76c8 Add "or suggestions for improvement".
Copied from Perforce
 Change: 180348
 ServerID: perforce.ravenbrook.com
2012-11-05 18:52:35 +00:00
Gareth Rees
1fd022ceb6 Credit the quip under "virtual memory".
Copied from Perforce
 Change: 180347
 ServerID: perforce.ravenbrook.com
2012-11-05 18:50:40 +00:00
Gareth Rees
8799014a28 List of assertion failures and likely causes.
Copied from Perforce
 Change: 180346
 ServerID: perforce.ravenbrook.com
2012-11-05 18:26:34 +00:00
Gareth Rees
9e6c5facdb Copy cautions from mps_formatted_objects_stepper_t to mps_amc_apply_stepper_t.
Copied from Perforce
 Change: 180341
 ServerID: perforce.ravenbrook.com
2012-11-05 17:45:35 +00:00
Gareth Rees
5478157880 Add visitor functio for "man" target.
Copied from Perforce
 Change: 180340
 ServerID: perforce.ravenbrook.com
2012-11-05 17:44:34 +00:00
Gareth Rees
28419106ca Build html version of the manual in manual/html.
Check in HTML version of the manual (writable on client) so that it will display automatically on the Ravenbrook server and so that we can easily include it in product releases.

Copied from Perforce
 Change: 180338
 ServerID: perforce.ravenbrook.com
2012-11-05 17:18:50 +00:00
Gareth Rees
4841918877 Move wiki to project/mps/doc.
Copied from Perforce
 Change: 180335
 ServerID: perforce.ravenbrook.com
2012-11-05 17:07:49 +00:00
Gareth Rees
a64a09a073 Add c#, lua and python to "memory management in various languages".
Copied from Perforce
 Change: 180334
 ServerID: perforce.ravenbrook.com
2012-11-05 16:26:40 +00:00
Gareth Rees
43fa76f8bf Write (draft of) perf chapter.
Copied from Perforce
 Change: 180333
 ServerID: perforce.ravenbrook.com
2012-11-05 16:26:19 +00:00
Gareth Rees
3ed96ffc8f The padding method always receives a base pointer.
Copied from Perforce
 Change: 180330
 ServerID: perforce.ravenbrook.com
2012-11-05 14:36:51 +00:00
Gareth Rees
c363b1f3f9 Added 'drj' and 'rhsk' to past users.
Copied from Perforce
 Change: 180329
 ServerID: perforce.ravenbrook.com
2012-11-05 14:09:31 +00:00
Gareth Rees
560083976e Oops: fix cross-references.
Copied from Perforce
 Change: 180328
 ServerID: perforce.ravenbrook.com
2012-11-05 13:55:21 +00:00
Gareth Rees
521c952101 Cite johnstone (1997) for weak and strong tri-colour invariants, following <http://info.ravenbrook.com/mail/2009/11/03/02-02-29/0/>.
Copied from Perforce
 Change: 180327
 ServerID: perforce.ravenbrook.com
2012-11-05 13:35:59 +00:00
Gareth Rees
121b7d740e Add names to credits: hans feldt (suggested "huge page"); walter spector (corrections to "fortran").
Copied from Perforce
 Change: 180326
 ServerID: perforce.ravenbrook.com
2012-11-05 13:21:33 +00:00
Gareth Rees
fd1cc1cf62 Add glossary entry for "huge page" (aka "large page", "superpage") as requested by hans feldt <http://info.ravenbrook.com/mail/2003/11/19/13-48-55/0.txt>
Copied from Perforce
 Change: 180325
 ServerID: perforce.ravenbrook.com
2012-11-05 13:19:57 +00:00
Gareth Rees
c35903f932 Correct description of allocation in fortran based on e-mail from walter spector <http://info.ravenbrook.com/mail/2002/10/07/18-47-03/0.txt>.
Copied from Perforce
 Change: 180324
 ServerID: perforce.ravenbrook.com
2012-11-05 13:04:53 +00:00
Gareth Rees
657d3d83fc Compiler toolchain is important part of platform.
Copied from Perforce
 Change: 180317
 ServerID: perforce.ravenbrook.com
2012-11-05 12:25:40 +00:00
Gareth Rees
0a461b9f39 Pool reference for mfs.
Copied from Perforce
 Change: 180310
 ServerID: perforce.ravenbrook.com
2012-11-05 10:08:23 +00:00
Gareth Rees
1152e286f7 Minor edits.
Copied from Perforce
 Change: 180309
 ServerID: perforce.ravenbrook.com
2012-11-04 23:07:05 +00:00
Gareth Rees
7115cb8099 Targets depend on the makefile.
Copied from Perforce
 Change: 180308
 ServerID: perforce.ravenbrook.com
2012-11-04 23:06:56 +00:00
Gareth Rees
902ac0f5c3 More wise papers are online.
Copied from Perforce
 Change: 180307
 ServerID: perforce.ravenbrook.com
2012-11-04 23:06:22 +00:00
Gareth Rees
01f052d63e Oops, forgot to check in advanced.rst.
Copied from Perforce
 Change: 180304
 ServerID: perforce.ravenbrook.com
2012-11-03 18:28:36 +00:00
Gareth Rees
31c5b39795 Write "advanced topics" chapter of the user guide.
Copied from Perforce
 Change: 180303
 ServerID: perforce.ravenbrook.com
2012-11-03 17:38:57 +00:00
Gareth Rees
493989efb7 Merge improvements from scheme.c.
TAG_COUNT is a better name than TAG_LENGTH.
Handle splat correctly even if no dependent object.

Copied from Perforce
 Change: 180302
 ServerID: perforce.ravenbrook.com
2012-11-03 17:38:37 +00:00
Gareth Rees
248fc6690b Fix typo in make_port.
Hash tables only depend on the location of keys if they are hashed by address.
Port objects are registered for finalization when created, and definalized when closed.
New function load handles loading a file in both cases (and calls mps_chat to ensure finalization).
Avoid calling fclose multiple times on a file handle.
Merge main loop improvements from scheme-malloc.c.

Copied from Perforce
 Change: 180301
 ServerID: perforce.ravenbrook.com
2012-11-03 17:30:25 +00:00
Gareth Rees
0686f64ff4 Fix bug: actually close the file in entry_close_port.
Copied from Perforce
 Change: 180300
 ServerID: perforce.ravenbrook.com
2012-11-03 17:08:15 +00:00
Gareth Rees
44b734b3a0 Separate the interactive and non-interactive loops for clarity.
New function "load" loads a file; call this in the non-interactive case.
Fix bug: close file handle after loading (if no error).

Copied from Perforce
 Change: 180299
 ServerID: perforce.ravenbrook.com
2012-11-03 15:49:59 +00:00
Gareth Rees
2ee1746ea8 Integrate quasiquote improvements from scheme.c.
Copied from Perforce
 Change: 180297
 ServerID: perforce.ravenbrook.com
2012-11-02 22:45:41 +00:00
Gareth Rees
0130b9fe05 Integrate quasiquote improvements.
Copied from Perforce
 Change: 180296
 ServerID: perforce.ravenbrook.com
2012-11-02 22:39:26 +00:00
Gareth Rees
fef5178a3a Improve quasiquote implementation.
Copied from Perforce
 Change: 180295
 ServerID: perforce.ravenbrook.com
2012-11-02 22:38:05 +00:00
Gareth Rees
7f34f0e8cb Implement the global symbol table as a weak-value hash table from strings to symbols.
Copied from Perforce
 Change: 180294
 ServerID: perforce.ravenbrook.com
2012-11-02 21:23:12 +00:00
Gareth Rees
d18dd95c1f Integrate error implementation from scheme-malloc.c.
Copied from Perforce
 Change: 180293
 ServerID: perforce.ravenbrook.com
2012-11-02 19:12:58 +00:00
Gareth Rees
99d142ffd6 Implement "error".
Copied from Perforce
 Change: 180292
 ServerID: perforce.ravenbrook.com
2012-11-02 19:07:55 +00:00
Gareth Rees
ae557d16c9 New test case for weak hash tables (doesn't pass yet).
Copied from Perforce
 Change: 180291
 ServerID: perforce.ravenbrook.com
2012-11-02 17:35:39 +00:00
Gareth Rees
f05835b3ae Refactor test code now that we can load it.
Copied from Perforce
 Change: 180290
 ServerID: perforce.ravenbrook.com
2012-11-02 17:35:05 +00:00
Gareth Rees
3633d3b64a Merge scheme.c changes (load, eqv) into scheme-advanced.c.
Improve weak hash table interface.
Fix a couple of bugs in handling of dependent objects.

Copied from Perforce
 Change: 180289
 ServerID: perforce.ravenbrook.com
2012-11-02 17:34:49 +00:00
Gareth Rees
186cafaa5c Integrate load from scheme-malloc.c.
Copied from Perforce
 Change: 180288
 ServerID: perforce.ravenbrook.com
2012-11-02 16:40:22 +00:00
Gareth Rees
5225f07f06 Implement load.
Copied from Perforce
 Change: 180287
 ServerID: perforce.ravenbrook.com
2012-11-02 16:38:44 +00:00
Gareth Rees
7bca0dfad5 Integrate eq-hash and eqv-hash from scheme-malloc.c.
Copied from Perforce
 Change: 180285
 ServerID: perforce.ravenbrook.com
2012-11-02 16:04:06 +00:00
Gareth Rees
3dcc9800ad Support more kinds of hashtable via make-hashtable.
Fix bug in eqv (character objects now test equal if they represent the same character).

Copied from Perforce
 Change: 180284
 ServerID: perforce.ravenbrook.com
2012-11-02 16:02:05 +00:00
Gareth Rees
dabc0e0ecf Integrate string=?, make-eqv-hashtable, and make-hashtable.
Copied from Perforce
 Change: 180283
 ServerID: perforce.ravenbrook.com
2012-11-02 15:54:41 +00:00
Gareth Rees
1b5fffe0dc Integrate string=?, make-eqv-hashtable, make-hashtable from scheme-malloc.c.
Copied from Perforce
 Change: 180282
 ServerID: perforce.ravenbrook.com
2012-11-02 15:43:07 +00:00
Gareth Rees
700291e07c New constructor make_bool avoids boilerplate.
Hash function takes a length so that it (1) it can support strings containing NULs; (2) it doesn't have to check for NULs so runs a bit faster; and (3) it performs OK on addresses (which often contain zero bytes).
Hash tables have hash and comparison functions.
Implement string=?, make-eqv-hashtable and make-hashtable.

Copied from Perforce
 Change: 180281
 ServerID: perforce.ravenbrook.com
2012-11-02 15:39:19 +00:00
Gareth Rees
8ac34f5fd4 Deprecate mv. make deprecation notices consistent.
Copied from Perforce
 Change: 180280
 ServerID: perforce.ravenbrook.com
2012-11-02 14:26:55 +00:00
Gareth Rees
c0b04cd3ff Fix the dependent object.
Copied from Perforce
 Change: 180279
 ServerID: perforce.ravenbrook.com
2012-11-02 14:25:09 +00:00
Gareth Rees
96db37906a Document that the dependent object needs to be fixed (and might be splatted). update the example code accordingly.
Copied from Perforce
 Change: 180278
 ServerID: perforce.ravenbrook.com
2012-11-02 14:23:10 +00:00