Commit graph

7081 commits

Author SHA1 Message Date
Daniel Kochmanski
f41b6e31d6 defpackage: factor checking into single function
Function is taken from SBCL.
2017-05-01 15:47:42 +02:00
Daniel Kochmanski
25ca08e5fc defpackage: rewrite macro to traverse list only once
Structure of the macro is inspired by SBCL implementation.
2017-05-01 15:38:06 +02:00
Daniel Kochmanski
b01968a320 package: process local nicknames according to their structure
(cons nickname package)
2017-05-01 15:36:32 +02:00
Daniel Kochmanski
91da27b388 cosmetic: remove unnecessary assignment 2017-05-01 12:43:07 +02:00
Daniel Kochmanski
9a1a4d48c8 packages: accessors: allocate new objects
There were two fixme's which returned internal data structure (without
copying it).
2017-04-30 12:38:48 +02:00
Daniel Kochmanski
57d588116a find-package: look first for local package nicknames 2017-04-30 12:38:13 +02:00
Daniel Kochmanski
9c2aef5599 packages: add local-nicknames to the internal structure
adjust internal functions to accept the argument.
2017-04-30 12:35:00 +02:00
Daniel Kochmanski
82a50e9ce2 defpackage: cosmetic fix in local functions
dolist returns output directly.
2017-04-30 11:55:41 +02:00
Daniel Kochmanski
4983dee95e defpackage: internal: remove unnecessary function
we don't process :size, so we accept no integers.
2017-04-30 11:54:57 +02:00
Daniel Kochmanski
0e49467eb3 cosmetic: line wrap 2017-04-30 11:44:52 +02:00
Daniel Kochmanski
04b558725b cosmetic: defpackage: improve docstring 2017-04-30 11:41:56 +02:00
Daniel Kochmanski
d85f307e9c cosmetic: defpackage: improve docstring 2017-04-30 11:38:37 +02:00
Daniel Kochmanski
0600f6805a defpackage: add :local-nicknames option to defpackage
Also add argument to dodefpackage. This change doesn't introduce any
new functionality yet (just introduces the interface to defpackage).
2017-04-30 11:33:20 +02:00
Daniel Kochmanski
e0f9741ee4 defpackage: don't advertise :size option
this change only removes :size from the docstring (backward
compatibility).
2017-04-30 11:26:19 +02:00
Daniel Kochmanski
dd8ca94746 find-class: make class-name access thread safe 2017-04-29 09:13:40 +02:00
Daniel Kochmanski
2c5f0028c8 hash tables: add mundane tests for sync ht
we replace internal functions for get/set/rem, so we add tests which
check if basic functionality still works fine.
2017-04-28 22:54:15 +02:00
Daniel Kochmanski
4d9e9b07af doc: wrap line 2017-04-28 22:54:07 +02:00
Daniel Kochmanski
309a259d48 Merge branch 'hash-tables' into develop
Fixes #280.
2017-04-28 22:19:46 +02:00
Daniel Kochmanski
1fc8773245 doc: add some information 2017-04-28 22:18:37 +02:00
Daniel Kochmanski
f581d7f176 changelog: add new changes 2017-04-28 22:12:10 +02:00
Daniel Kochmanski
57bdf6e989 hash-table: add synchronization implementation 2017-04-28 22:09:12 +02:00
Daniel Kochmanski
c88af87046 fix typo (missing paren) 2017-04-28 22:05:44 +02:00
Daniel Kochmanski
d36a62b45e cosmetic: comment indent 2017-04-28 20:14:41 +02:00
Daniel Kochmanski
fdf72acaa3 hash-table: add synchronization interface stubs 2017-04-28 20:11:35 +02:00
Daniel Kochmanski
8c2df08052 doc: hash-tables: add documentation 2017-04-28 20:02:03 +02:00
Daniel Kochmanski
b83a8235c2 doc: don't expose not documented parts yet 2017-04-28 20:01:45 +02:00
Daniel Kochmanski
3136462c78 newdoc: remove mundane C reference entriesc 2017-04-28 20:01:18 +02:00
Daniel Kochmanski
9ba5934fff hash-tables: add hash-table test suite
For now it tests only weakness.
2017-04-28 18:15:47 +02:00
Daniel Kochmanski
57a05c1d2c hash-tables: weakness: add :key-or-value variant 2017-04-28 17:48:22 +02:00
Daniel Kochmanski
c060595dcd Merge branch 'newcmp-3rd-try' into develop 2017-04-28 12:33:05 +02:00
Daniel Kochmanski
1a233e2a31 changelog: add changes wrt compiler cleanup 2017-04-28 12:32:42 +02:00
Daniel Kochmanski
605077b2a6 cmp: revert progress->debug change
cmpdebug issues a debug-note condition, which may interfere with
catching warnings.
2017-04-28 12:31:27 +02:00
Daniel Kochmanski
de70b55ca7 cmp: remove bogus declaration 2017-04-28 12:24:55 +02:00
Daniel Kochmanski
5624ab0f74 newcmp notes: add some todo, rearrang file 2017-04-28 12:03:04 +02:00
Daniel Kochmanski
fef041db05 cmp: cmp-env-register-macrolet: be specific wrt package
This macro is part of SI package, not CMP (probably for bootstrap
reasons).
2017-04-28 12:02:21 +02:00
Daniel Kochmanski
f55c0111a2 cmp: cleanup: remove bogus constant
+ecl-stack-frame-variable+ was used in just two places, and the same
string was used also elsewhere (not as this constant).
2017-04-28 11:51:29 +02:00
Daniel Kochmanski
15640a79e4 cmp: refactor: qualify package of *-prop interface
Usage was mixed, once it is si:put-sysprop, once just put-sysprop. Add
full package qualifiers to put-sysprop/get-sysprop/rem-sysprop.
2017-04-28 11:48:15 +02:00
Daniel Kochmanski
a22424c3db cmp: refactor: be explicit on declaring specials.
Remove unnecessary abstraction for that.
2017-04-28 11:43:09 +02:00
Daniel Kochmański
3f1a8c31b4 cmp: refactor: be explicit on some symbols
*compile-print* and *compile-verbose* are CL package symbols, be
 explicit about that when defining them.
2017-04-28 11:28:29 +02:00
Daniel Kochmański
153262c1cc cmp: refactor: cosmetic cmpopt-clos fixes 2017-04-28 11:24:47 +02:00
Daniel Kochmański
0cd581d08b cosmetic indent fix 2017-04-28 11:24:41 +02:00
Daniel Kochmanski
aa2a88160c cmp: don't be so chatty (2) 2017-04-28 11:23:49 +02:00
Daniel Kochmanski
6dfe30a26c cmp: don't be so chatty 2017-04-28 11:18:50 +02:00
Daniel Kochmański
68b15cde5b cmp: add a few c-local declarations 2017-04-28 11:15:21 +02:00
Daniel Kochmański
31871dc903 cmpcall: remove unused parts 2017-04-28 11:14:56 +02:00
Daniel Kochmański
4f177c96c1 cmp: be less noisy by default 2017-04-28 11:14:06 +02:00
Daniel Kochmański
da4669d792 cdb: fix declaration 2017-04-28 11:13:24 +02:00
Daniel Kochmański
851dc899eb boole: move compiler macro to cmpnum 2017-04-28 11:13:05 +02:00
Daniel Kochmański
6ffa84af14 cmp: eval-when: be explicit about cl:load etc 2017-04-28 11:11:53 +02:00
Daniel Kochmański
226dd35775 Merge branch 'refactor-run-program' into develop 2017-03-24 01:23:30 +01:00