Commit Graph

7225 Commits (97a522da0e3c1f3d75ac6413450adcffd1e738f2)

Author SHA1 Message Date
Doug Coleman d5b04296bc Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 15:36:29 -05:00
Slava Pestov 6efbe50543 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 15:21:20 -05:00
Slava Pestov cedbad0772 Fix tests to not clutter Factor directory 2009-04-13 15:21:16 -05:00
Slava Pestov f1038cee97 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 19:58:16 -05:00
Slava Pestov 5c952a8f14 Merge branch 'irc' of git://tiodante.com/git/factor 2009-04-13 19:57:05 -05:00
Slava Pestov 8da4f59931 Merge branch 'faster_string_to_number' 2009-04-13 19:48:19 -05:00
Slava Pestov 0ffd43e2e3 1.0/0.0 => 1/0. 2009-04-13 19:48:08 -05:00
Doug Coleman e1b0682320 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 13:59:37 -05:00
Bruno Deferrari d8f144a8e9 irc: Fix problems in tests 2009-04-12 19:44:46 -03:00
Slava Pestov f26fccec9d Too much inlining in id3 2009-04-12 16:32:39 -05:00
Bruno Deferrari e8d37558cb irc.client: Fix typos 2009-04-12 16:52:24 -03:00
Bruno Deferrari 8eedc105a9 Add missing bsd copyright notices, authors.txt, summary.txt files 2009-04-12 16:47:55 -03:00
Bruno Deferrari 837ab3d982 irc.gitbot: Fix USEs line 2009-04-12 16:35:29 -03:00
Bruno Deferrari 85d595d8b6 irc.client: Big refactor 2009-04-12 16:30:54 -03:00
Doug Coleman 956a119991 still working on db2 2009-04-11 21:05:18 -05:00
Doug Coleman ee45c8ff20 more work on db2 2009-04-11 20:21:04 -05:00
Doug Coleman badbd014be more parsers for c syntax 2009-04-11 16:19:41 -05:00
Doug Coleman a368a8da51 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-11 15:58:49 -05:00
Slava Pestov db3818814d Refactor GLU usages in basis, and move opengl.glu to extra, and don't like VM with GLU 2009-04-11 15:17:08 -05:00
Doug Coleman 72205363fd porting more things over to extra/db2 2009-04-11 13:44:06 -05:00
Doug Coleman ee30ab92cd redoing db framework. it'll live in extra until it can replace db in basis 2009-04-11 13:02:47 -05:00
Doug Coleman 9ac2214b62 fix html.parser 2009-04-11 12:11:00 -05:00
Doug Coleman a10d490fe2 more parsing work 2009-04-10 17:50:05 -05:00
Doug Coleman 7bba6ab4a2 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-10 09:38:08 -05:00
Slava Pestov 2b26da1ad2 Move images.normalization to extra since its not used for anything anymore 2009-04-10 04:03:06 -05:00
Doug Coleman 732065d775 more work on sequence-parser 2009-04-09 21:32:57 -05:00
Doug Coleman a761d57019 improve sequence-parser 2009-04-09 21:03:18 -05:00
Doug Coleman d44c08bf68 write synchsafe numbers to sequences 2009-04-09 18:23:05 -05:00
Doug Coleman 47369e927c add a combinator to spider 2009-04-09 15:29:38 -05:00
Doug Coleman 6583b4d38e rename html.parser.state to sequence-parser 2009-04-09 15:28:48 -05:00
Doug Coleman cdc3d1b643 more id3 refactoring, support TAG+ 2009-04-09 15:03:34 -05:00
Bruno Deferrari 4d722001e9 irc.messages: use SYNTAX: instead of parsing 2009-04-08 23:26:58 -03:00
Bruno Deferrari 4cc3dfb3c5 irc.client: Fix, don't try to USE 'call' 2009-04-08 23:13:18 -03:00
Bruno Deferrari 93a3c18c59 irc.client: Make to-chat work with sequences 2009-04-08 23:13:17 -03:00
Bruno Deferrari f3577572ec irc.client: add test 2009-04-08 23:13:17 -03:00
Bruno Deferrari 527b50fa56 irc.client: Fix strings>privmsg, add test 2009-04-08 23:13:17 -03:00
Bruno Deferrari 5bfe50018e irc.messages: Update tests 2009-04-08 23:13:17 -03:00
Bruno Deferrari 1c70bf833f irc: IRC messages reimplemented 2009-04-08 23:13:17 -03:00
Slava Pestov 30191f87e5 descriptive: add make-descriptive word to enable this functionality to be used as an annotation; improve docs 2009-04-08 05:13:06 -05:00
Slava Pestov d3b5236367 Fix poker tests 2009-04-08 05:04:58 -05:00
Aaron Schaefer ee9f509e82 Solutions to Project Euler problem 69 2009-04-08 02:41:02 -04:00
Aaron Schaefer 0c33ba55c8 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (36 commits)
  Fix typo
  Fix alien.fortran for NetBSD x86.64
  fix unit test in robots
  http.client: fix 307 redirect behavior (reported by Chris Double)
  Treat a limit of f as unlimited instead of throwing an error
  Static responder now works when the root is a file rather than a directory
  Fix site-watcher tests
  Fix bootstrap
  furnace.actions: load chloe tags
  furnace.redirection: load urls.secure
  db.errors.sqlite: don't give up on bad inputs
  Makefile: clean target should delete libfactor.dylib too
  Working on site-watcher
  unbreak regexp
  refactor spider
  clean up a combinator in id3 parser
  Minor doc updates
  Use [ ] [ ] map-reduce instead of unclip [ ] reduce
  Factor out site-watcher.email, start work on site-watcher.spider
  construct a glob-matching quote for robots.txt files
  ...
2009-04-07 21:38:13 -04:00
Aaron Schaefer e78476a51e Solution to Project Euler problem 63 2009-04-07 21:36:38 -04:00
Aaron Schaefer c101d389e3 Add documentation for poker vocab 2009-04-07 18:34:20 -04:00
Aaron Schaefer 7a9c0ce069 Solution to Project Euler problem 58 2009-04-07 16:55:00 -04:00
Doug Coleman 65802b6aaa fix unit test in robots 2009-04-07 10:08:01 -05:00
Slava Pestov 5b5acf165c Fix site-watcher tests 2009-04-07 03:04:25 -05:00
Slava Pestov 9f08e3a6bf Working on site-watcher 2009-04-06 21:59:27 -05:00
Doug Coleman a380ae2239 refactor spider 2009-04-06 18:47:46 -05:00
Doug Coleman c91712bea0 clean up a combinator in id3 parser 2009-04-06 18:10:49 -05:00
Slava Pestov 2ef6043566 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-06 17:49:42 -05:00
Slava Pestov e9b9907ef9 Factor out site-watcher.email, start work on site-watcher.spider 2009-04-06 17:49:34 -05:00
Doug Coleman b6064813c9 construct a glob-matching quote for robots.txt files 2009-04-06 17:39:44 -05:00
Slava Pestov 3af8643c30 More tags 2009-04-06 03:03:58 -05:00
Slava Pestov 99b8400e56 Documentation updates 2009-04-06 03:00:46 -05:00
Aaron Schaefer 1546f4230b Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (73 commits)
  Fix  ui.gadgets.scrollers unit tests
  Browser tool now saves scroll bar position in history
  Rename scroll word to set-scroll-position and make it public
  Rename scroll word to set-scroll-position and make it public
  Move models.history to extra
  Clear button in search field is now positioned correctly
  Fix prettyprint of CONSTANT: and ALIAS:
  Fix prettyprinting of URLs
  Fix alien unit tests
  Fixes for recent changes
  Fix mailbox-get-all, and make mailbox timeouts throw a wait-timeout error instead of a string
  Oops dead code
  Fixing this for Windows
  mason.test: check if boot image is out of date, and refuse to build if so
  Fix documentation for map-index
  Fix alien hashcode for expired aliens
  opengl.textures: pad image up to a power of 2 using glTexSubImage2D instead of doing it in Factor code
  Don't call glFlush, it's useless
  Simplify do-matrix
  Add hashcode method for simple-alien; improves performance of malloc and free
  ...
2009-04-06 00:52:15 -04:00
Aaron Schaefer 8201139dc7 One more poker unit test dealing with equality 2009-04-06 00:30:21 -04:00
Slava Pestov 687e9f90fe Move models.history to extra 2009-04-05 23:16:48 -05:00
Aaron Schaefer cbc63b4969 Add more unit test coverage for poker vocab 2009-04-05 23:28:13 -04:00
Aaron Schaefer fda3f6d3f0 Add perfect hash optimization for poker vocab 2009-04-05 21:16:57 -04:00
Aaron Schaefer 4a229e5205 Slight cleanup of PE problem 54 solution 2009-04-05 21:16:20 -04:00
Slava Pestov b0b77cf744 Fixes for recent changes 2009-04-05 17:32:53 -05:00
Slava Pestov 2b042d7cb7 Merge branch 'master' of git://projects.elasticdog.com/git/factor 2009-04-05 17:20:47 -05:00
Aaron Schaefer 8fdc852038 Solution to Project Euler problem 54 2009-04-05 15:37:03 -04:00
Aaron Schaefer 469c3c05ec Speed up map product in poker vocab 2009-04-05 15:32:36 -04:00
Aaron Schaefer aa7e03d013 Add poker hand evaluation vocab 2009-04-05 00:04:31 -04:00
Slava Pestov f44c67e5c3 mason.test: check if boot image is out of date, and refuse to build if so 2009-04-04 20:34:09 -05:00
Doug Coleman 284511a2e7 fix load erro 2009-04-04 15:47:17 -05:00
Doug Coleman 26dccb5b16 human-sort is now { human<=> } sort-by 2009-04-04 15:46:18 -05:00
Doug Coleman e929c397d1 refactoring spider 2009-04-04 11:57:23 -05:00
Doug Coleman dd4766798c Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 21:18:43 -05:00
Slava Pestov 95f304bee0 Check in spider.report 2009-04-03 21:16:27 -05:00
Doug Coleman 1ee52e2090 refactoring spider 2009-04-03 21:16:08 -05:00
Doug Coleman 8875c2ba26 return links as URL objects in html vocab 2009-04-03 21:15:52 -05:00
Doug Coleman 4c7b2f9337 fix deriving urls in spider 2009-04-03 20:05:19 -05:00
Doug Coleman ed6da6b18c Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 17:40:14 -05:00
Slava Pestov 775ca0a956 mason: run factor.com on windows 2009-04-03 16:30:59 -05:00
Slava Pestov c780457ddb Fix up ui.offscreen 2009-04-03 12:54:34 -05:00
Doug Coleman a42b872a23 fix bug in take-sequence 2009-04-03 12:40:45 -05:00
Slava Pestov 92cc670c28 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 10:25:56 -05:00
Slava Pestov f7ba7b4bfa Fix deploy descriptor for color picker 2009-04-03 10:20:42 -05:00
U-SLAVA-DFB8FF805\Slava 038509f652 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 09:22:47 -05:00
U-SLAVA-DFB8FF805\Slava 745a435475 Merge branch 'master' into uniscribe 2009-04-02 13:19:30 -05:00
Slava Pestov c5a511788a Merge branch 'master' of git://projects.elasticdog.com/git/factor 2009-04-02 13:14:03 -05:00
U-SLAVA-DFB8FF805\Slava 6b8f4ecabc Merge branch 'master' of git://factorcode.org/git/factor 2009-04-02 13:11:38 -05:00
U-SLAVA-DFB8FF805\Slava 2c556fbb65 Better error message printout in extra/descriptive 2009-04-02 13:11:06 -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
Doug Coleman 070e5ef9bf check in more test cases for later 2009-04-02 12:25:41 -05:00
Doug Coleman e841308bf6 adding some preprocessor test files 2009-04-02 11:40:15 -05:00
Doug Coleman 6399f4bc1a handle defines better, save all #if/#elif/#else/#pragma/#include_next. next step: tokenizing and macro replacement 2009-04-02 11:39:18 -05:00
Aaron Schaefer 59145c0672 Minor typo in solution for PE problem 49 2009-04-02 12:10:51 -04:00
Aaron Schaefer 5405f530b9 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor:
  Fix UI pane selection
  use unicode instead of ascii again
  Fix up 'demos' vocab
  beginnings of a c preprocessor -- needs #if, #elif, #else
  Tabs are blank (better unicode whitespace support coming soon)
  fix take-rest for out of bounds
  Partial fix for pane selection
  ensure-port outputs a new URL instead of mutating its input
  FUEL: Font lock and no indentation for EBNF: ... ;EBNF forms.
2009-04-02 11:59:59 -04:00
Aaron Schaefer d6e646389c Solution to Project Euler problem 49 2009-04-02 11:58:35 -04:00
Slava Pestov de357bacdb Merge branch 'master' of git://factorcode.org/git/factor 2009-04-02 09:12:00 -05:00
Slava Pestov 0db52b0545 Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor 2009-04-02 08:28:30 -05:00
Doug Coleman 7c7742cafa use unicode instead of ascii again 2009-04-02 01:18:53 -05:00
Slava Pestov 2aaeb62c4e Fix up 'demos' vocab 2009-04-02 01:17:55 -05:00
Doug Coleman 2325710a4f beginnings of a c preprocessor -- needs #if, #elif, #else 2009-04-02 01:17:36 -05:00
U-SLAVA-DFB8FF805\Slava 0cfa22c276 Merge branch 'master' of git://69.93.127.154/git/factor into uniscribe 2009-04-01 22:46:04 -05:00
Doug Coleman 9bee1fe004 fix take-rest for out of bounds 2009-04-01 22:39:20 -05:00
Aaron Schaefer ca9fb1fcf1 Update usages of divisor? where appropriate 2009-04-01 21:53:18 -04:00
Maxim Savchenko 509399b620 Basic sandboxing 2009-04-01 19:11:08 -04:00
Aaron Schaefer d220288356 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (37 commits)
  move assoc-heaps to extra
  remove tokenize-line
  make tokenize-line configurable, fix bug in take-quoted-string
  fix bug in state-parser, add take-token
  Make math.blas library and ABI choice configurable
  state-parser take-quoted-string rewinds if the string is not found
  refactor state parser some more, add a word to parse escaped strings
  set non-key/value attributes to themselves
  rename next to advance
  make html.parser words private
  remove dead code
  fix parsing of attributes for nofollows
  add take-sequence to state parser
  more cleanup
  cleaning up html.parser
  fix deployed name in minneapolis-talk, add summary/deploy to chicago talk
  spider - better handling of relative links for frames, dont spider things twice
  add chicago-talk to demos
  fix linux64 blas
  take-until doesnt pass the element to the quotation anymore
  ...
2009-04-01 18:55:43 -04:00
Aaron Schaefer 9d44708e1d Fix contains? -> any? rename issue 2009-04-01 18:43:45 -04:00
Doug Coleman 1b0c301005 move assoc-heaps to extra 2009-04-01 17:29:58 -05:00
Doug Coleman 7b6260ca8c remove tokenize-line 2009-04-01 17:28:36 -05:00
Doug Coleman 6af6de1aac make tokenize-line configurable, fix bug in take-quoted-string 2009-04-01 15:51:39 -05:00
Doug Coleman d64e07af8b fix bug in state-parser, add take-token 2009-04-01 15:23:05 -05:00
Doug Coleman 947bcc3d33 state-parser take-quoted-string rewinds if the string is not found 2009-04-01 14:50:43 -05:00
Doug Coleman 1e4eebda3a refactor state parser some more, add a word to parse escaped strings 2009-04-01 14:36:08 -05:00
Doug Coleman d52535b63a set non-key/value attributes to themselves 2009-04-01 13:42:38 -05:00
Doug Coleman 09e4d34ff2 rename next to advance 2009-04-01 12:52:02 -05:00
Doug Coleman 28dae46b7d make html.parser words private 2009-04-01 12:48:51 -05:00
Doug Coleman 9ecf8ec3db remove dead code 2009-04-01 12:47:17 -05:00
Doug Coleman 826d9f18c5 fix parsing of attributes for nofollows 2009-04-01 12:44:38 -05:00
Doug Coleman 7060a5905f add take-sequence to state parser 2009-04-01 12:44:06 -05:00
Doug Coleman d82b8ba4eb more cleanup 2009-04-01 11:48:44 -05:00
Doug Coleman fdb8c9da1a cleaning up html.parser 2009-04-01 11:43:30 -05:00
Doug Coleman a172d61f2e fix deployed name in minneapolis-talk, add summary/deploy to chicago talk 2009-04-01 11:11:15 -05:00
Doug Coleman b35bb10123 spider - better handling of relative links for frames, dont spider things twice 2009-04-01 11:08:19 -05:00
Doug Coleman 393df94d38 add chicago-talk to demos 2009-04-01 11:03:10 -05:00
Doug Coleman 9be511909b Merge branch 'master' of git://factorcode.org/git/factor 2009-04-01 03:18:51 -05:00
Doug Coleman 20df429a50 take-until doesnt pass the element to the quotation anymore 2009-04-01 03:13:38 -05:00
Slava Pestov 11eff11fb7 Add silly optimization for 'new'; this will be removed when compiler improves 2009-04-01 02:53:30 -05:00
Slava Pestov 3885ba02a6 Fixing up smalltalk to the point where it can run fib, slowly 2009-04-01 02:47:51 -05:00
Doug Coleman f994654af3 add take-while to state parser 2009-04-01 02:45:20 -05:00
Doug Coleman 99c3cd9517 more renaing get-char to current 2009-04-01 02:33:38 -05:00
Doug Coleman aa37871ff9 rename get-next to peek-next, get-char to current 2009-04-01 02:32:48 -05:00
Slava Pestov 8ab7328899 Add new vocabs 2009-04-01 02:09:49 -05:00
Slava Pestov 0ff6678850 Load smalltalk.library by default and remove useless smalltalk.factor 2009-04-01 02:08:49 -05:00
Slava Pestov 9f01e819e8 smalltalk: fix various things in the parser, add temporary variable support, clean up compiler 2009-04-01 02:06:57 -05:00
Slava Pestov 86cf94260c Merge branch 'master' into smalltalk 2009-04-01 00:00:20 -05:00
Aaron Schaefer a4800878e1 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (66 commits)
  Better error message for syntax error in : foo ( : bar
  remove some dead code, make spider use count and max-count again
  left and right arrow keys move between graphemes in UI
  Adding functionality to unicode breaks API for future UI changes
  state-parser works with sequences, not strings
  rename word
  redo spider without dynamic variables
  remove duplication, refactor html.parser to use new state parser
  redo state parser to avoid dynamic variables
  fix help-lint for syndication
  Small speedup for code using H{ } clone and with-scope
  Small size reduction for deployed images
  Tweak some code to reduce deployed image size
  syndication: fix help lint
  Fix parse-feed for byte arrays
  refactor some error handling in peg, more unit tests
  Fix C99 complex number support in FFI on Mac OS X/PPC
  add unit tests for quoting
  Fix model docs
  Some cleanup in documents.elements
  ...
2009-04-01 00:43:23 -04:00
Doug Coleman 19d8a6a552 remove some dead code, make spider use count and max-count again 2009-03-31 23:04:59 -05:00
Slava Pestov d0921b1d2d Smalltalk parser work in progress 2009-03-31 22:30:13 -05:00
Jose A. Ortega Ruiz 408d592c3e FUEL: Font lock and no indentation for EBNF: ... ;EBNF forms. 2009-04-01 05:03:28 +02:00
Slava Pestov 15cb926afb smalltalk: Working on message cascade syntax 2009-03-31 21:23:09 -05:00
Doug Coleman 8e26b19cc0 state-parser works with sequences, not strings
fix bug with take-until
2009-03-31 18:49:41 -05:00
Doug Coleman e22823f2c4 rename word 2009-03-31 18:23:02 -05:00
Doug Coleman ce04d1dfa9 redo spider without dynamic variables 2009-03-31 18:21:15 -05:00
Slava Pestov 177c58808e Merge branch 'master' into smalltalk 2009-03-31 17:49:10 -05:00
Doug Coleman ebddd32677 remove duplication, refactor html.parser to use new state parser 2009-03-31 16:05:11 -05:00
Doug Coleman a07c17598e redo state parser to avoid dynamic variables 2009-03-31 16:04:39 -05:00
Slava Pestov 712b21b59e Fix printing of nested arrays 2009-03-31 01:37:05 -05:00
Slava Pestov 5b6948aaa5 smalltalk: working on lexical scoping for instance variables and class names 2009-03-31 01:24:38 -05:00
Slava Pestov 4a0ef8d0bc Merge branch 'master' into smalltalk 2009-03-30 21:42:54 -05:00
Slava Pestov 381dbb957c smalltalk: adding a small library, fix various bugs 2009-03-30 20:45:01 -05:00
Slava Pestov 00c9cde8e2 First checkin of extra/smalltalk 2009-03-30 05:31:50 -05:00
Doug Coleman 95cda29b44 fix compile error 2009-03-29 21:39:21 -05:00
Doug Coleman 82b6e32945 fix a few compile errors 2009-03-29 21:35:57 -05:00