Commit Graph

477 Commits (0f0bf667b51cc5a8435d9469e7cc622bf71cc09f)

Author SHA1 Message Date
Slava Pestov 04c6e8fcf8 Fix tools.errors unit test and help lint 2009-04-24 00:10:48 -05:00
Slava Pestov cc5b1c1e2d Split off some code into tools.errors.model and update UI listener's error summary when errors change 2009-04-23 22:36:34 -05:00
Slava Pestov 5649cc7a0a Compiler warnings are no more 2009-04-23 22:17:25 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Doug Coleman 7f983f12d4 fix help lint failures, fix example in words 2009-04-22 12:26:28 -05:00
Slava Pestov cd91b2e755 tools.errors: fix printing of errors with no associated source file 2009-04-22 10:46:50 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 3783d8513f tools.deploy.shaker: fix 2009-04-22 04:41:03 -05:00
Slava Pestov 48e70b65fa Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb 2009-04-22 04:20:38 -05:00
Slava Pestov a9b4a724a4 Remove "compiled-status" word prop and simplify associated machinery 2009-04-21 03:23:11 -05:00
Slava Pestov f38d2f91f6 Words which didn't compile cannot be run at all 2009-04-20 22:05:41 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov ad943f6c4c Merge branch 'master' into more_robust_stack_checking 2009-04-20 20:11:32 -05:00
Slava Pestov 0d0c7f2d55 Fix unit test failures caused by stricter type checking in M: encoder stream-write 2009-04-20 20:05:17 -05:00
Slava Pestov 8414693142 stack-checker: trust word declarations instead of recursively checking them 2009-04-20 18:44:45 -05:00
Slava Pestov 57d718113e tools.test: more robust must-fail 2009-04-19 18:21:25 -05:00
Slava Pestov d3d131d1bd Strip out error-list related global variables; webkit-demo 14kb smaller 2009-04-19 17:38:48 -05:00
Slava Pestov 1c123e7e22 Remove some usages of -rot and tuck 2009-04-18 21:53:22 -05:00
Doug Coleman f22ee5ad8d fix one more bug with scaffold.. 2009-04-18 19:18:41 -05:00
Doug Coleman b15cf5f7ea fix load error 2009-04-18 19:05:57 -05:00
Doug Coleman 49eec252d2 scaffold factor-boot-rc on windows instead of .factor-boot-rc 2009-04-18 18:28:09 -05:00
Slava Pestov 2d8d7f120f sort-by-slots => sort-by 2009-04-18 16:44:34 -05:00
Slava Pestov e811dd6192 Reverse compiler.errors => tools.errrs dependency to reduce deploy image size 2009-04-18 03:21:31 -05:00
Doug Coleman df9c48c586 dont allow tests of help scaffolding unless the vocabulary exists 2009-04-17 23:24:41 -05:00
Slava Pestov f4cdcaa1ce Fix compiler warnings in tools.deploy.shaker 2009-04-17 20:38:55 -05:00
Slava Pestov 99a120a146 Merge branch 'smarter_error_list' 2009-04-17 15:50:36 -05:00
Slava Pestov 50ed1f5a9f Better error printing 2009-04-17 15:50:11 -05:00
Doug Coleman 7a1841f59b (( -- )) eval -> eval( -- ) 2009-04-17 15:49:21 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Doug Coleman dba4c0d589 fixing compiler errors in basis 2009-04-17 12:46:04 -05:00
Slava Pestov b91e8cbdaf Merge branch 'master' of git://factorcode.org/git/factor 2009-04-16 23:15:01 -05:00
Slava Pestov e173d27120 Adding walker tests 2009-04-16 23:14:26 -05:00
Slava Pestov 0a5b076c11 Make the walker infer 2009-04-16 23:14:11 -05:00
Doug Coleman 5c345360d0 unbreak my heart, say you'll love me again, factor bootstrap 2009-04-16 17:03:03 -05:00
Slava Pestov 7a251950d8 Working on trace tool 2009-04-15 22:16:52 -05:00
Slava Pestov 72487f7f33 Merge branch 'trace_tool' of git://factorcode.org/git/factor into trace_tool 2009-04-15 19:17:43 -05:00
Slava Pestov df18c0b6e7 Making more code infer 2009-04-15 19:03:44 -05:00
Slava Pestov c0874e64cc Documentation updates 2009-04-15 18:19:35 -05:00
Slava Pestov 83b7ac3f3a Forgetting a definition removes compile error
Notify definition observers with nested compilation units
2009-04-15 00:27:02 -05:00
Slava Pestov 5daf19afa2 Merge branch 'master' into trace_tool 2009-04-14 20:42:02 -05:00
Slava Pestov 6c5fbd3197 Documentation updates 2009-04-13 20:38:30 -05:00
Slava Pestov fd5ab25a09 Better handling of errors without file/line info 2009-04-13 17:19:32 -05:00
Slava Pestov a2cff89591 Call notify-error-observers 2009-04-13 14:40:03 -05:00
Slava Pestov e52be965f0 Finish moving compiler.errors to basis 2009-04-13 02:50:23 -05:00
Slava Pestov e595576dc3 Make more words infer 2009-04-12 23:01:14 -05:00
Slava Pestov 7a33780bc2 Fix bootstrap 2009-04-12 16:31:25 -05:00
Slava Pestov c4be8bd65a Refactor error code so that error types are registered; listener prints a summary of errors 2009-04-12 16:08:46 -05:00
Slava Pestov 0420b39f4f Make source file error types a bit more extensible 2009-04-11 22:26:24 -05:00
Slava Pestov e5df0559eb Working on adding help-lint errors to error list 2009-04-11 20:30:09 -05:00
Slava Pestov e5606b2917 Merge branch 'smarter_error_list' of git://factorcode.org/git/factor into smarter_error_list 2009-04-11 14:33:04 -05:00
Slava Pestov a0ad6bda39 tools.test: store file in a variable while tests are running 2009-04-10 08:11:46 -05:00
Slava Pestov 0a7485190b compile-error-type => source-error-type; make test failures global 2009-04-10 03:52:12 -05:00
Doug Coleman 2179b4bca1 minor cleanup 2009-04-09 21:03:42 -05:00
Slava Pestov e467f4eea3 More work on unit test tool 2009-04-09 08:17:41 -05:00
Slava Pestov e5c28dfa95 tools.test: use source-files.errors 2009-04-09 04:50:47 -05:00
Slava Pestov 7adb76aaf4 Factor out some compiler error code into source-files.errors 2009-04-09 04:50:38 -05:00
Slava Pestov 61918ac0c5 Merge branch 'master' into smarter_error_list 2009-04-08 06:45:49 -05:00
Slava Pestov 59e0434815 Trace tool work in progress 2009-04-08 06:23:07 -05:00
Slava Pestov ba61b82152 Pass vocab roots onto deployed app. Fixes deployment of apps outside the built-in roots. Reported by Alec Berryman 2009-04-07 21:47:57 -05:00
Slava Pestov 75985a6c7c Merge branch 'master' into smarter_error_list 2009-04-06 13:27:06 -05:00
Doug Coleman dd43df655f fix unit test for new method syntax 2009-04-06 10:45:39 -05:00
Slava Pestov cb9e4a4069 Oops 2009-04-06 05:22:43 -05:00
Slava Pestov 890553b776 Fixing tests for method-sec removal 2009-04-06 05:22:28 -05:00
Slava Pestov 268abfcf2a Remove method-specs in favor of M\ 2009-04-06 02:59:59 -05:00
Slava Pestov 476d1910c2 Merge branch 'master' into smarter_error_list 2009-04-05 23:54:01 -05:00
Slava Pestov 92cc670c28 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 10:25:56 -05:00
Slava Pestov 535850f3ea Fix vocab: and word name stripping in deployed binaries 2009-04-03 10:16:56 -05:00
Slava Pestov f42c23de9d Copy UI theme over to deployed binaries 2009-04-03 10:16:40 -05:00
U-SLAVA-DFB8FF805\Slava 82317980a4 Don't strip out superclass word prop since UI needs it 2009-04-03 09:48:16 -05:00
U-SLAVA-DFB8FF805\Slava dba42f9259 Remove DLL-downloading logic since we don't have external deps anymore 2009-04-02 13:07:45 -05:00
Slava Pestov 1dfa621f4d Tweak some code to reduce deployed image size 2009-03-31 08:03:27 -05:00
Doug Coleman cd0986509c unit test tools.scaffold, fix a bug in scaffolding docs 2009-03-28 16:40:34 -05:00
Slava Pestov 9be60e36af Add models.arrow.smart: abstracts out common <product>/<arrow> pattern 2009-03-28 04:19:33 -05:00
Nicholas Seckar 6755db7fdb Update scaffold-vocab docs, it does not create tests 2009-03-26 22:05:18 -07:00
Doug Coleman 6ca02e9b37 Merge branch 'master' of http://factorcode.org/git/factor into db 2009-03-25 23:01:05 -05:00
Doug Coleman 8b7fcce399 update code for usages of add-library 2009-03-25 23:00:19 -05:00
Slava Pestov f4948ec970 Merge tools.test.ui into ui.gadgets.debug 2009-03-25 22:52:52 -05:00
Slava Pestov 637d06a4f8 Add silly 'tip of the day' feature, and 'recently visited' list to UI browser home page 2009-03-24 04:11:08 -05:00
Slava Pestov 862223fa79 Fix bunny deployment 2009-03-23 22:36:51 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
U-SLAVA-DFB8FF805\Slava a38e9c2e79 tools.disassembler now uses udis on Windows 2009-03-22 22:19:40 -05:00
Slava Pestov 7f4c967ace More compact relocation layout 2009-03-19 20:02:43 -05:00
Slava Pestov 518b5c46ca Fixing deploy tests 2009-03-18 19:58:05 -05:00
Slava Pestov 1d45720579 Add a deploy test to keep benchmark.regex-dna size down 2009-03-18 17:08:57 -05:00
Slava Pestov d60e586f48 Fix tools.deploy.shaker's call( and execute( stripping 2009-03-18 17:08:18 -05:00
Slava Pestov 9d44b7620f Fixing the build 2009-03-18 17:01:26 -05:00
Slava Pestov 2ed97f5a24 Various fixes for call( 2009-03-17 18:53:44 -05:00
Slava Pestov 786475102d Make more code infer 2009-03-17 02:19:50 -05:00
Slava Pestov 135f3bfc7f Fix bootstrap 2009-03-16 20:48:56 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Doug Coleman 4bd8583254 fix spacing issue 2009-03-14 10:51:38 -05:00
Doug Coleman b8f24a303a scaffold-help now prints $var-description for symbols 2009-03-14 10:36:24 -05:00
Slava Pestov 46da224f8b Update regexp and tools.deploy docs 2009-03-13 23:12:56 -05:00
Slava Pestov cff700cd3e Add tests to ensure that execute( and regexps work when deployed 2009-03-13 19:41:13 -05:00
Slava Pestov bf41b187b0 Re-organize code so that with-compilation-unit can infer
Fix with-compilation-unit to work in deployed code
2009-03-13 19:39:32 -05:00
Slava Pestov bb5c6f78b8 words. emits a newline after 2009-03-12 20:50:07 -05:00
Slava Pestov abab72f80c Move 'see' to its own vocabulary, and fix excess newlines after panes change 2009-03-11 07:18:24 -05:00
Slava Pestov 692b648feb Change tabular-output and smash-pane behavior to fix panes unit tests; re-organize panes code to make more words private 2009-03-11 03:17:30 -05:00
Slava Pestov c2bc2c0705 Updating deploy tool, mason.child and factor.sh for new Windows DLLs 2009-03-07 19:39:11 -06:00
Slava Pestov 52fef83061 Fix various unit tests 2009-03-07 15:58:14 -06:00
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
Doug Coleman a93c3d96b5 add using 2009-03-06 17:35:33 -06:00
Slava Pestov 4749d86e70 Fix bootstrap 2009-03-06 14:58:52 -06:00
Slava Pestov ec186a23dc Make watch and other annotations work on method-specs. { world graft* } watch 2009-03-06 13:32:07 -06:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov 500d6eddb5 Update tools.walker for model renaming 2009-02-26 16:33:00 -06:00
Slava Pestov c8d5e98898 Fix conflicts 2009-02-26 03:12:19 -06:00
Slava Pestov 4426526252 Fixing some things I broke 2009-02-25 23:30:30 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Doug Coleman b78d8a491f add docs for scaffold-rc 2009-02-22 10:27:29 -06:00
Doug Coleman 1f5a701f68 fix load error in scaffold 2009-02-22 10:03:37 -06:00
sheeple 4367996678 make some more words private, rename scaffold-docs back to scaffold-help 2009-02-22 00:33:00 -06:00
sheeple 405b3dc1ad refactor tools.scaffold -- scaffold-help -> scaffold-docs, it takes a vocab name now 2009-02-22 00:19:10 -06:00
sheeple 785d7ac9af clean up scaffold tool a bit, don't create a -tests.factor file when scaffolding a new vocab 2009-02-21 22:18:02 -06:00
Slava Pestov 5e19766330 Fix conflict 2009-02-18 22:20:05 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 940782cf93 Add article and word help icons 2009-02-17 14:26:01 -06:00
Doug Coleman cbe99c4bed use +foo+ as symbol names 2009-02-17 12:36:27 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 1a4aaf219f Fix deploy tool: error wasn't printed properly 2009-02-16 19:36:02 -06:00
Slava Pestov 20053c7f5c Deploy tool: if debugger is not stripped out, actually use it to report errors; print an error if vocab has no MAIN: word 2009-02-16 19:00:09 -06:00
Slava Pestov f634b9cf6b tools.memory: fix heap-stats if optimizing compiler is disabled 2009-02-16 17:04:58 -06:00
Slava Pestov 4a639033fa Merge branch 'master' into new_ui 2009-02-15 21:06:55 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Slava Pestov 87f2f559f0 Fix spelling 2009-02-15 04:06:36 -06:00
Slava Pestov 53eb92a967 tools.vocabs.browser: use icons in more places 2009-02-15 02:15:27 -06:00
Slava Pestov 056e7aa442 Merge branch 'master' into new_ui 2009-02-13 18:12:35 -06:00
Doug Coleman 435a14f3b6 add stack effect, oops 2009-02-13 11:57:45 -06:00
Doug Coleman f3e8bc1247 make hexdump work for byte-vectors 2009-02-13 09:55:38 -06:00
Slava Pestov b0e14989ee Redo word icons for better layout in UI 2009-02-12 16:52:44 -06:00
Slava Pestov ace2e0a8d1 Fix word links in vocab browser 2009-02-12 02:09:45 -06:00
Slava Pestov bd5fb06cdf Use icons in completion popups and vocab browser 2009-02-11 04:55:49 -06:00
Slava Pestov 59dfb4d876 Fix stack effect 2009-02-10 17:11:38 -06:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Slava Pestov 6235e95052 Fix conflict 2009-02-10 00:44:23 -06:00
Slava Pestov 8654bfe921 Merge branch 'master' into new_ui 2009-02-09 20:30:44 -06:00
Doug Coleman 992da4c967 Fix copy-vm word on Unix 2009-02-09 20:19:18 -06:00
Slava Pestov 3eb5222186 Add CHAR: completion to UI listener 2009-02-02 15:58:09 -06:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 6cd835e567 Fix conflict 2009-02-02 06:07:59 -06:00
Slava Pestov b684db297a Use [ max ] map-reduce instead of map supremum; would be nice to find a good name for this and put it in sequences vocab 2009-02-02 03:46:10 -06:00
Slava Pestov 0835eb374b UI cleanup: make some ui.gadgets words private, give labels a virtual slot instead of label-string/set-label-string words 2009-02-01 20:31:42 -06:00
Slava Pestov 00fb6496fb Links to words in apropos work better 2009-02-01 06:33:44 -06:00
Slava Pestov 0a0431e6ab Fix conflict 2009-01-30 02:24:34 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00