Calvin Rose 
							
						 
					 
					
						
						
							
						
						cff52ded58 
					 
					
						
						
							
							Add JANET_ASYNC_EVENT_CANCEL  
						
						... 
						
						
						
						also fix bug that could cause event loop to hang. 
						
						
					 
					
						2020-11-16 18:46:59 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						fbe658a724 
					 
					
						
						
							
							Merge pull request  #503  from sogaiu/boot-janet-docstring-tweaks  
						
						... 
						
						
						
						Tweak docstrings in boot.janet 
						
						
					 
					
						2020-11-16 17:03:54 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						f9d0eb47b7 
					 
					
						
						
							
							Merge branch 'master' of github.com:janet-lang/janet  
						
						
						
						
					 
					
						2020-11-16 16:51:29 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						078f50d45a 
					 
					
						
						
							
							When reading from a stream, EPIPE is considered EOS.  
						
						... 
						
						
						
						Before, EPIPE caused an error, but in most cases it is better
to consider it an end of stream. In the future, we may want to allow
cusomtization of this behavior with flags on the stream but for now
let's keep it simpler. 
						
						
					 
					
						2020-11-16 16:49:27 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						974a45c804 
					 
					
						
						
							
							When reading from a stream, EPIPE is considered EOS.  
						
						... 
						
						
						
						Before, EPIPE caused an error, but in most cases it is better
to consider it an end of stream. In the future, we may want to allow
cusomtization of this behavior with flags on the stream but for now
let's keep it simpler. 
						
						
					 
					
						2020-11-16 16:42:09 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						760e4e3d68 
					 
					
						
						
							
							Add upscope special form.  
						
						... 
						
						
						
						Upscope is similar to do, but does not introduce a new lexical scope. 
						
						
					 
					
						2020-11-16 16:41:27 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						9ec5689d6b 
					 
					
						
						
							
							Don't use gcroot/unroot for tracking IO operations.  
						
						... 
						
						
						
						This could have bad effects in higher load situations, and
duplicates code. It is better to keep a dedicated list of
scheduled IO operations which can be efficiently added and
removed from. It also provides and easy way to enumerate
scheduled IO operations. 
						
						
					 
					
						2020-11-16 09:30:04 -06:00 
						 
				 
			
				
					
						
							
							
								sogaiu 
							
						 
					 
					
						
						
							
						
						c8b72431a3 
					 
					
						
						
							
							Some more  
						
						
						
						
					 
					
						2020-11-16 16:13:28 +09:00 
						 
				 
			
				
					
						
							
							
								sogaiu 
							
						 
					 
					
						
						
							
						
						0eb913fb9a 
					 
					
						
						
							
							A couple more tweaks  
						
						
						
						
					 
					
						2020-11-16 14:14:51 +09:00 
						 
				 
			
				
					
						
							
							
								sogaiu 
							
						 
					 
					
						
						
							
						
						fce27cb2e8 
					 
					
						
						
							
							Tweak docstrings in boot.janet  
						
						
						
						
					 
					
						2020-11-16 14:03:26 +09:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						1b6272db2e 
					 
					
						
						
							
							Fix windows ifdef.  
						
						
						
						
					 
					
						2020-11-15 19:55:58 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						b1c0ad5e42 
					 
					
						
						
							
							CD into source directory in build recipe.  
						
						
						
						
					 
					
						2020-11-15 19:50:33 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						3f7cdcb6a7 
					 
					
						
						
							
							Add meson test build for epoll.  
						
						
						
						
					 
					
						2020-11-15 19:47:11 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						a25b030e36 
					 
					
						
						
							
							Fix EPOLL implementation.  
						
						
						
						
					 
					
						2020-11-15 19:40:47 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						717fac02d1 
					 
					
						
						
							
							Update janet.h for janet_thread_current  
						
						
						
						
					 
					
						2020-11-15 16:12:02 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						dcf8ba0edb 
					 
					
						
						
							
							Update CHANGELOG.md  
						
						
						
						
					 
					
						2020-11-15 15:35:50 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						3ab2ae130b 
					 
					
						
						
							
							Address  #495  Add :read and :parser to run-context.  
						
						
						
						
					 
					
						2020-11-15 15:26:16 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						6e6900fa3a 
					 
					
						
						
							
							os/execute and os/spawn can take streams.  
						
						
						
						
					 
					
						2020-11-15 12:17:29 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						d7af4596e1 
					 
					
						
						
							
							Move math.h include out of windows ifdef  
						
						
						
						
					 
					
						2020-11-15 10:21:37 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						1759151875 
					 
					
						
						
							
							Change suite 9 test a bit.  
						
						
						
						
					 
					
						2020-11-15 10:12:10 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						a7ed3dea4b 
					 
					
						
						
							
							Remove some flags in os/open.  
						
						
						
						
					 
					
						2020-11-15 10:06:20 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						cdcb774dc8 
					 
					
						
						
							
							Add os/pipe and os/open.  
						
						... 
						
						
						
						ev/pipe -> os/pipe, and os/open is a wrapper
around the open system call. 
						
						
					 
					
						2020-11-15 09:57:29 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						d199c817dc 
					 
					
						
						
							
							Broken Pipe error on windows should just be end of stream.  
						
						
						
						
					 
					
						2020-11-14 16:03:51 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						dc51bd09f7 
					 
					
						
						
							
							Make sure all test logs go to the same stream.  
						
						
						
						
					 
					
						2020-11-14 15:56:48 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						139e3fab25 
					 
					
						
						
							
							Invert status check for (Read/Write)File  
						
						
						
						
					 
					
						2020-11-14 15:52:01 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						7a98f9aa02 
					 
					
						
						
							
							Improve windows error messages on write failures.  
						
						
						
						
					 
					
						2020-11-14 15:48:21 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						b53dd67e74 
					 
					
						
						
							
							Use custom pipe implementation for overlapped io.  
						
						
						
						
					 
					
						2020-11-14 15:44:19 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						e546731093 
					 
					
						
						
							
							ev_lasterr -> janet_ev_lasterr  
						
						
						
						
					 
					
						2020-11-14 15:24:13 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						d50c4ef6da 
					 
					
						
						
							
							Try again for windows build.  
						
						
						
						
					 
					
						2020-11-14 15:01:52 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						7d0b1955a2 
					 
					
						
						
							
							typo  
						
						
						
						
					 
					
						2020-11-14 14:55:26 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						16cf7681f0 
					 
					
						
						
							
							Fix some windows issues.  
						
						
						
						
					 
					
						2020-11-14 14:40:39 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						12f09ad2d7 
					 
					
						
						
							
							Add ev/pipe and move stream code into ev.c  
						
						... 
						
						
						
						Also adds a lot to the C API and changes things up. 
						
						
					 
					
						2020-11-14 14:29:11 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						b3e88a8d80 
					 
					
						
						
							
							Move read/write functions into ev.c from net.c  
						
						... 
						
						
						
						This code can also be used for non-network streams. 
						
						
					 
					
						2020-11-14 11:48:23 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						761273bcc4 
					 
					
						
						
							
							Add janet_thread_current() to C api.  
						
						
						
						
					 
					
						2020-11-12 18:42:41 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						1a75f68cb2 
					 
					
						
						
							
							Fix windows build.  
						
						
						
						
					 
					
						2020-11-12 14:52:02 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						1b0edf54f1 
					 
					
						
						
							
							Fix gc leak.  
						
						... 
						
						
						
						Rather than trying to be clever with pinning/unpinning, always
mark the root fiber and that should serve as thei singular common root in almost
all cases. 
						
						
					 
					
						2020-11-12 14:29:38 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						caa6576719 
					 
					
						
						
							
							Fix formatting.  
						
						
						
						
					 
					
						2020-11-11 15:35:44 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						93bd2c11fa 
					 
					
						
						
							
							Merge pull request  #502  from pepe/fix-net-server-fiber  
						
						... 
						
						
						
						Fix net server fiber 
						
						
					 
					
						2020-11-11 15:33:42 -06:00 
						 
				 
			
				
					
						
							
							
								Josef Pospíšil 
							
						 
					 
					
						
						
							
						
						2be09790a9 
					 
					
						
						
							
							Change fix with ev/call  
						
						
						
						
					 
					
						2020-11-10 10:39:33 +01:00 
						 
				 
			
				
					
						
							
							
								Josef Pospíšil 
							
						 
					 
					
						
						
							
						
						bf6eae711a 
					 
					
						
						
							
							Fix adding handler to loop with fiber  
						
						
						
						
					 
					
						2020-11-10 10:32:47 +01:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						69b68c0091 
					 
					
						
						
							
							Update changelog.  
						
						
						
						
					 
					
						2020-11-09 11:24:28 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						6f1d5d3b73 
					 
					
						
						
							
							Add net/listen and net/accept-loop.  
						
						... 
						
						
						
						These are the elements that make up net/server, which has been moved
into pure Janet instead. 
						
						
					 
					
						2020-11-09 11:18:09 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						099a912992 
					 
					
						
						
							
							Fix posix regression.  
						
						
						
						
					 
					
						2020-11-08 19:48:44 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						56b1ea3726 
					 
					
						
						
							
							Include math.h to fix some bugs on 32 bit windows.  
						
						
						
						
					 
					
						2020-11-08 19:06:35 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						d6391f2d70 
					 
					
						
						
							
							Get windows IOCP working for accept.  
						
						... 
						
						
						
						This also changes the api of servers slightly -
in light of having support for ev tasks, it is probably better
to remove the "simple" server code and replace it with some Janet
or remove it all together. While convenient, it has issues with error
handling and rigidity. 
						
						
					 
					
						2020-11-08 18:56:13 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						07910272e2 
					 
					
						
						
							
							Get socket reads and writes working with IOCP.  
						
						
						
						
					 
					
						2020-11-08 10:38:28 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						1092013c2b 
					 
					
						
						
							
							Merge branch 'master' into ev  
						
						
						
						
					 
					
						2020-11-07 14:36:25 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						0db83bd787 
					 
					
						
						
							
							Merge pull request  #498  from pepe/fix-asm-example  
						
						... 
						
						
						
						Fix asm example 
						
						
					 
					
						2020-11-07 14:35:39 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						f55316eabc 
					 
					
						
						
							
							Merge pull request  #494  from harryvederci/patch-1  
						
						... 
						
						
						
						Fix typo 
						
						
					 
					
						2020-11-07 14:34:43 -06:00 
						 
				 
			
				
					
						
							
							
								Calvin Rose 
							
						 
					 
					
						
						
							
						
						840f59934e 
					 
					
						
						
							
							Merge pull request  #497  from ahungry/bugfix/Adjust-popen-doc  
						
						... 
						
						
						
						Fix function doc to match that of C POPEN 
						
						
					 
					
						2020-11-07 14:34:11 -06:00