Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								b9b7b2b28a 
								
							 
						 
						
							
							
								
								LibCore: Make IODevice::read_line() return a String  
							
							... 
							
							
							
							Almost everyone using this API actually wanted String instead of a
ByteBuffer anyway, and there were a bunch of slightly different ways
clients would convert to String.
Let's just cut out all the confusion and make it return String. :^) 
							
						 
						
							2020-12-13 11:54:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								129a58a2e5 
								
							 
						 
						
							
							
								
								LibCore: Do not try to null-terminate a ByteBuffer in read_line()  
							
							... 
							
							
							
							That's just silly :)
Also fix that one use of read_line() which assumes it will
null-terminated in mount.cpp (this would've blown up if the IODevice was
at EOF and had a line with the same size as max_size). 
							
						 
						
							2020-11-29 20:32:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								387607503c 
								
							 
						 
						
							
							
								
								LibCore: IODevice::can_read_line() should succeed for newline-less file  
							
							... 
							
							
							
							If the first call to populate_read_buffer() hits EOF but something did
get buffered, we can indeed read a line. 
							
						 
						
							2020-10-25 14:38:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								35b844ba4c 
								
							 
						 
						
							
							
								
								LibCore: Add Core::IODevice::truncate()  
							
							... 
							
							
							
							This is just a wrapper around ftruncate(). Today I also learned that
ftruncate() does not reset the file descriptor offset. :^) 
							
						 
						
							2020-09-06 16:09:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								3485613f4a 
								
							 
						 
						
							
							
								
								LibCore: Make IODevice::can_read_line() const  
							
							... 
							
							
							
							This also makes LibHTTP's Job::can_read_line() const, as IODevice was
keeping that from being const.
Fixes  #2219  
							
						 
						
							2020-05-15 09:50:48 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								20e58c5513 
								
							 
						 
						
							
							
								
								AK: Make dbgprintf() and dbgputstr() go to stderr on non-Serenity hosts  
							
							
							
						 
						
							2020-04-06 10:49:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								37fc6c117c 
								
							 
						 
						
							
							
								
								Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller  
							
							
							
						 
						
							2020-03-08 13:06:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shannon Booth 
								
							 
						 
						
							
							
							
							
								
							
							
								57f1c919df 
								
							 
						 
						
							
							
								
								LibCore: Remove all remaining C prefix references  
							
							... 
							
							
							
							LibCore's GZip is also moved into the Core namespace with this change. 
							
						 
						
							2020-03-07 01:33:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ceec1a7d38 
								
							 
						 
						
							
							
								
								AK: Make Vector use size_t for its size and capacity  
							
							
							
						 
						
							2020-02-25 14:52:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8f7333f080 
								
							 
						 
						
							
							
								
								LibCore: Add a forward declaration header  
							
							... 
							
							
							
							This patch adds <LibCore/Forward.h> and uses it in various places to
shrink the header dependency graph. 
							
						 
						
							2020-02-14 23:31:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								258d798b34 
								
							 
						 
						
							
							
								
								LibCore: Merge the CSyscallUtils namespace into Core  
							
							
							
						 
						
							2020-02-06 15:04:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								d17e23bd27 
								
							 
						 
						
							
							
								
								LibCore: Remove leading C from filenames  
							
							
							
						 
						
							2020-02-06 15:04:03 +01:00