Commit Graph

140 Commits (acdcc1f2c23a7ca5092df737345d6434c60bc41f)

Author SHA1 Message Date
Slava Pestov daf40ea0c6 Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue #92 2011-10-02 21:59:09 -07:00
Slava Pestov 7c3827190b Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93 2011-09-12 00:56:24 -07:00
Slava Pestov c36d73e242 Change do-callback to register the current thread with the callback, instead of busy waiting for the current callback to become the right one before returning. Fixes 100% CPU usage issue with system-alert. Thanks to Blei and ex-rzr for doing preliminary analysis of the issue 2011-04-12 21:48:54 -04:00
Keita Haga 48b1f444c8 debugger: fix typo in docs 2011-01-04 18:30:34 +09:00
Slava Pestov 1818bcb780 Fix three problems discovered by running math.floats.env tests in a loop:
- Crash if allocating error triggers a GC from a signal/SEH handler
- Crash if GC runs with floating point traps enabled on Windows
- Floating point traps didn't prettyprint properly
2010-09-02 22:57:14 -05:00
Slava Pestov d215d691b5 Load debugger.{unix,windows} later on in bootstrap, because lopading it before the optimizing compiler incurs a long delay on Windows as all the WinAPI bindings get loaded and parsed 2010-05-06 17:41:00 -04:00
Joe Groff 7e2d32b7d2 windows.errors, debugger.windows: improve description of Windows error objects 2010-05-02 22:29:59 -07:00
Joe Groff fe085c96d6 debugger: `` '' -> “ ” 2010-04-06 13:56:35 -07:00
Joe Groff c3f8f5067e catch merge conflicts in source and report them as such 2010-04-06 13:34:26 -07:00
Joe Groff 676d4e4c83 someone screwed up the kernel-error codes in debugger 2010-03-28 18:31:11 -07:00
Slava Pestov b5f7e91bdc vm: report callstack overflow 2010-03-27 07:45:11 -04:00
Slava Pestov 6ff0393e2f debugger: Untangle some dodgy dependencies that were loading locals before prettyprint, resulting in locals.prettyprint not being loaded 2010-03-17 19:19:43 +13:00
Joe Groff acb04ad3ed debugger: give a descriptive error for *-in-c-type-name 2010-03-15 12:57:38 -07:00
Joe Groff b28f7c97f4 add descriptive summary for no-c-type error 2010-03-12 23:07:36 -08:00
Joe Groff 452f17c859 update effect syntax error names in debugger 2010-03-11 11:22:43 -08:00
Joe Groff 15e6a7fa5e move error summaries for effect parsing errors to debugger vocab 2010-03-05 21:50:40 -08:00
Slava Pestov 95bfc8a240 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Slava Pestov 01824d41be Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final 2010-02-18 02:19:57 +13:00
Slava Pestov 97e6315c47 debugger: fix formatting of restart list 2010-02-08 20:03:18 +13:00
Slava Pestov 3e8d21b493 Clarify documentation for compilation units and 'undefined' error 2010-02-03 23:11:28 +13:00
Slava Pestov 55a89ec9c2 Better error message for call( when quotation has the wrong effect 2010-02-03 23:11:25 +13:00
Slava Pestov fbf078d4b3 words: undefined error now contains the word in question 2010-02-03 23:11:23 +13:00
Slava Pestov 3addfcc2ad classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too 2010-02-01 00:08:18 +13:00
Slava Pestov ca19d44350 Throw a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO: word inline. Such words cannot be inlined, and doing this before previously result in confusing error messages 2010-01-27 21:00:10 +13:00
Doug Coleman 7fa3b71c07 Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH. 2009-12-23 14:04:52 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov ef9840d604 debugger.windows: add unportable tag 2009-11-15 17:11:38 -06:00
Slava Pestov b551721dd9 Minor cosmetic fixes 2009-11-10 21:48:00 -06:00
Slava Pestov 473cc7db4a stack-checker: tighten some screws in error reporting 2009-11-09 00:17:24 -06:00
Slava Pestov c08d325132 Remove unused error from VM 2009-11-05 21:52:31 -06:00
Slava Pestov 888fcdb5f8 debugger: use short. rather than . to print errors if inspector is not loaded 2009-10-30 20:53:32 -05:00
Slava Pestov 2b142dabae Re-organize a few things to reduce '-include=' image size 2009-10-23 04:32:17 -05:00
Joe Groff 6c1a70c218 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-22 00:18:16 -05:00
Joe Groff 9a91abe8a8 also print undocumented windows SSE exception codes 2009-10-22 00:18:01 -05:00
Joe Groff c4fe86fa7d tweak windows exception error printing 2009-10-21 23:59:37 -05:00
Joe Groff 432d4f79e9 give better error message for windows exceptions, and don't lop off the top end of the exception code when the vm throws the error 2009-10-21 23:37:51 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 413dc67985 Put bad escape code in the bad-escape error 2009-09-23 17:55:54 -05:00
Joe Groff 748ba4b833 give a better error message when an invalid slot name is used in a tuple/struct literal 2009-09-16 18:07:39 -05:00
Joe Groff 7a2aecea1c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 15:48:18 -05:00
Slava Pestov 5786ea76d9 debugger: doc fixes 2009-09-08 15:43:00 -05:00
Joe Groff 7ba71a524e Send FP trap signals to Factor as a different vm-error type 2009-09-06 08:44:25 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov db3991125f FROM: and RENAME: give a more meaningful error if the vocabulary does not exist 2009-07-18 06:51:29 -05:00
Doug Coleman 28a4dd870e minor indentation changes 2009-06-11 11:02:40 -05:00
Slava Pestov 90560d3959 Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes 2009-05-16 09:34:42 -05:00
Slava Pestov a63ad6a7a5 Remove cruddy string encoding/decoding code from VM 2009-05-02 13:45:38 -05:00
Slava Pestov 7aa65b5b5f Fixing new method dispatch implementation 2009-04-25 19:41:27 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov cb6205e9d4 debugger: add summary method for VM errors 2009-04-21 00:04:56 -05:00
Slava Pestov 86e5ddf449 Improve Unix signal and Windows structured exception reporting 2009-04-20 01:47:10 -05:00
Elliott Hird 0719d83653 Show the signal name next to the number in parentheses on Unices. 2009-04-20 01:28:41 +01: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 ca1e8e0517 ui.tools.error-list: better sorting and output 2009-04-13 19:42:53 -05:00
Slava Pestov 73a2e81953 Print unit test failures better 2009-04-13 14:40:55 -05:00
Slava Pestov e52be965f0 Finish moving compiler.errors to basis 2009-04-13 02:50:23 -05:00
Slava Pestov 0a7485190b compile-error-type => source-error-type; make test failures global 2009-04-10 03:52:12 -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 2b384a7742 Re-organize some error-related code, three-pane look for compiler errors tool, add Joe's icons 2009-04-08 23:05:45 -05:00
Slava Pestov b5c5991747 Working on UI compile error viewer tool 2009-03-28 04:19:02 -05:00
Doug Coleman 8b7fcce399 update code for usages of add-library 2009-03-25 23:00:19 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -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 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -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 4a639033fa Merge branch 'master' into new_ui 2009-02-15 21:06:55 -06:00
Slava Pestov 72e3210f33 Add summary for new error 2009-02-15 20:31:28 -06:00
Slava Pestov ea60a0362f no-word-errors now print better 2009-02-09 00:25:59 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Slava Pestov 0f8735554b These errors don't exist anymore 2008-12-05 09:04:02 -06:00
Slava Pestov 8e69362512 Better error message for INSTANCE: if second arg is not a mixin 2008-12-03 09:33:32 -06:00
Slava Pestov e5ed7447ed Removing more >r/r> usages 2008-12-03 08:46:16 -06:00
Slava Pestov d504d6b8de slice-errors now report the parameters to the slicing operation 2008-11-21 21:00:30 -06:00
Doug Coleman 27c36974a7 remove primitives from core, update usages 2008-10-18 21:42:01 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov df88e5a974 Add :error word 2008-09-29 04:09:13 -05:00
Slava Pestov 78881e1368 Better error message with invalid tuple literals 2008-09-24 21:23:26 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00
Slava Pestov 15391abdd7 Print call stack trace for thread errors 2008-09-03 20:20:03 -05:00
Doug Coleman 4b86364637 fix docs 2008-09-02 17:04:05 -05:00
Slava Pestov 0c304b8fc6 Removing old accessor usages from core and basis 2008-08-31 07:45:33 -05:00
Doug Coleman b7cb19a86e new accessor 2008-08-29 16:55:28 -05:00
Doug Coleman c013d63eea new accessors 2008-08-29 16:48:43 -05:00
Slava Pestov 9b6fb70eba Debugging optimizer 2008-08-18 15:47:49 -05:00
Slava Pestov 279aeddeb3 Various fixes 2008-07-30 04:12:17 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00