Sergey Bugaev 
								
							 
						 
						
							
							
							
							
								
							
							
								821ed8367b 
								
							 
						 
						
							
							
								
								LookupServer: Port to LibCore  
							
							
							
						 
						
							2019-11-26 19:58:25 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								7e97e1c5d9 
								
							 
						 
						
							
							
								
								LookupServer: Remove debug spam about /etc/hosts  
							
							
							
						 
						
							2019-10-16 12:10:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								3a4da5aa05 
								
							 
						 
						
							
							
								
								LookupServer: Cache successful DNS lookup responses for 1 minute  
							
							... 
							
							
							
							This reduces DNS traffic spam during web browsing. We can definitely do
a lot better here, this is just a very low-hanging fruit. 
							
						 
						
							2019-10-16 12:10:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8f45a259fc 
								
							 
						 
						
							
							
								
								ByteBuffer: Remove pointer() in favor of data()  
							
							... 
							
							
							
							We had two ways to get the data inside a ByteBuffer. That was silly. 
							
						 
						
							2019-09-30 08:57:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8d550c174e 
								
							 
						 
						
							
							
								
								LibCore: Convert CFile to ObjectPtr  
							
							
							
						 
						
							2019-09-21 20:50:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								73fdbba59c 
								
							 
						 
						
							
							
								
								AK: Rename <AK/AKString.h> to <AK/String.h>  
							
							... 
							
							
							
							This was a workaround to be able to build on case-insensitive file
systems where it might get confused about <string.h> vs <String.h>.
Let's just not support building that way, so String.h can have an
objectively nicer name. :^) 
							
						 
						
							2019-09-06 15:36:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								1d0b464618 
								
							 
						 
						
							
							
								
								AK: Make HashMap::get(Key) return an Optional<Value>.  
							
							... 
							
							
							
							This allows HashMap::get() to be used for value types that cannot be default
constructed (e.g NonnullOwnPtr.) 
							
						 
						
							2019-07-24 10:25:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robin Burchell 
								
							 
						 
						
							
							
							
							
								
							
							
								f2c0e55070 
								
							 
						 
						
							
							
								
								Userspace: Deal with select() returning EINTR on a signal interruption  
							
							... 
							
							
							
							Add a trivial CSafeSyscall template that calls a callback until it stops
returning EINTR, and use it everywhere we use select() now.
Thanks to Andreas for the suggestion of using a template parameter for
the syscall function to invoke. 
							
						 
						
							2019-07-21 14:27:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								27f699ef0c 
								
							 
						 
						
							
							
								
								AK: Rename the common integer typedefs to make it obvious what they are.  
							
							... 
							
							
							
							These types can be picked up by including <AK/Types.h>:
* u8, u16, u32, u64 (unsigned)
* i8, i16, i32, i64 (signed) 
							
						 
						
							2019-07-03 21:20:13 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8cb0c765ca 
								
							 
						 
						
							
							
								
								LookupServer: Use a CFile for loading /etc/hosts.  
							
							... 
							
							
							
							This fixes an issue with the lines having extra bytes at the end due after
converting from ByteBuffer to String. 
							
						 
						
							2019-06-20 21:48:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christopher Dumas 
								
							 
						 
						
							
							
							
							
								
							
							
								0491d34d0c 
								
							 
						 
						
							
							
								
								LookupServer: use /etc/hosts even for reverse lookups  
							
							
							
						 
						
							2019-06-07 08:35:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christopher Dumas 
								
							 
						 
						
							
							
							
							
								
							
							
								70a37f9a26 
								
							 
						 
						
							
							
								
								LookupServer: Load hostnames  
							
							
							
						 
						
							2019-06-07 08:35:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christopher Dumas 
								
							 
						 
						
							
							
							
							
								
							
							
								4f62176c3e 
								
							 
						 
						
							
							
								
								LookupServer: Clang-Format  
							
							
							
						 
						
							2019-06-07 08:35:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								01f1333856 
								
							 
						 
						
							
							
								
								LookupServer+LibC: Add support for reverse DNS lookups via gethostbyaddr().  
							
							... 
							
							
							
							LookupServer can now take two types of requests:
* L: Lookup
* R: Reverse lookup
The /bin/host program now does a reverse lookup if the input string is a
valid IPv4 address. :^) 
							
						 
						
							2019-06-06 05:35:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robin Burchell 
								
							 
						 
						
							
							
							
							
								
							
							
								b55b6cd7fc 
								
							 
						 
						
							
							
								
								AK: Add implicit String -> StringView conversion  
							
							... 
							
							
							
							And tidy up existing view() users. 
							
						 
						
							2019-06-02 12:55:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								cbd858544d 
								
							 
						 
						
							
							
								
								LibC: Move struct timeval to sys/time.h. #POSIX  
							
							
							
						 
						
							2019-05-28 13:48:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christopher Dumas 
								
							 
						 
						
							
							
							
							
								
							
							
								c23882dde1 
								
							 
						 
						
							
							
								
								can now tile background and made sure the IRC choose server popup still works  
							
							
							
						 
						
							2019-05-27 21:40:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christopher Dumas 
								
							 
						 
						
							
							
							
							
								
							
							
								d4a16d6031 
								
							 
						 
						
							
							
								
								Network stack is now configurable, and resolution is also configurable, but loading cursors causes a page-fault?  
							
							
							
						 
						
							2019-05-27 21:40:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ab94a6be00 
								
							 
						 
						
							
							
								
								AK: Add String::copy(BufferType) helper.  
							
							... 
							
							
							
							This will create a String from any BufferType that has data() and size(). 
							
						 
						
							2019-04-20 14:13:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ff93d3f362 
								
							 
						 
						
							
							
								
								LookupServer: Only interpret A records as 32-bit IPv4 addresses.  
							
							... 
							
							
							
							This fixes a bug where CNAME records would be interpreted as if they were
IP addresses, causing much confusion. 
							
						 
						
							2019-04-02 20:39:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								17e02e7450 
								
							 
						 
						
							
							
								
								Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace.  
							
							
							
						 
						
							2019-04-02 20:04:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								9120b05a40 
								
							 
						 
						
							
							
								
								Rename DNSLookupServer => LookupServer.  
							
							
							
						 
						
							2019-03-20 04:26:30 +01:00