Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								2f37fa487d 
								
							 
						 
						
							
							
								
								Kernel: Keep TTY names in character buffers instead of Strings  
							
							... 
							
							
							
							Just going over some little unnecessary little kmalloc allocations. 
							
						 
						
							2019-10-18 14:13:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								1c692e87a6 
								
							 
						 
						
							
							
								
								Kernel: Move kmalloc() into a Kernel/Heap/ directory  
							
							
							
						 
						
							2019-09-16 09:01:44 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								5768b384b9 
								
							 
						 
						
							
							
								
								Kernel: Give each TTY 1 KB of input buffer  
							
							... 
							
							
							
							This papers over an immediate issue where pseudoterminals would choke
on more than 16 characters of pasted input in the GUI terminal.
Longer-term we should find a more elegant solution than using a static
size CircularQueue for this. 
							
						 
						
							2019-08-23 18:55:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								06de0e670c 
								
							 
						 
						
							
							
								
								Kernel: Use IteratorDecision in Process::for_each_in_pgrp()  
							
							
							
						 
						
							2019-08-23 18:28:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Conrad Pankoff 
								
							 
						 
						
							
							
							
							
								
							
							
								879bc28e14 
								
							 
						 
						
							
							
								
								Kernel: Disable VGA console in graphical mode  
							
							
							
						 
						
							2019-08-18 07:37:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Bugaev 
								
							 
						 
						
							
							
							
							
								
							
							
								66a0a12435 
								
							 
						 
						
							
							
								
								DevPtsFS: Do not assume there is one of it  
							
							... 
							
							
							
							Unfortunately, that also means it can no longer inherit from SynthFS. 
							
						 
						
							2019-08-17 12:07:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Conrad Pankoff 
								
							 
						 
						
							
							
							
							
								
							
							
								4b44962e03 
								
							 
						 
						
							
							
								
								Kernel: Use a CircularQueue for input rather than a DoubleBuffer  
							
							... 
							
							
							
							TTY::emit is called from an IRQ handler, and is used to push input data
into a buffer for later retrieval. Previously this was using DoubleBuffer,
but that class wants to take a lock. Our lock code wants to make sure
interrupts are enabled, but they're disabled while an IRQ handler is
running. This made the kernel sad, but this CircularQueue cheers it up by
avoiding the lock requirement completely. 
							
						 
						
							2019-08-12 14:15:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Conrad Pankoff 
								
							 
						 
						
							
							
							
							
								
							
							
								ce8387d1ed 
								
							 
						 
						
							
							
								
								VirtualConsole: Only consume data from key-down events  
							
							
							
						 
						
							2019-08-12 14:15:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Conrad Pankoff 
								
							 
						 
						
							
							
							
							
								
							
							
								dffdd5545a 
								
							 
						 
						
							
							
								
								Kernel: Restore alt+n hijacking for virtual console switching  
							
							
							
						 
						
							2019-08-12 14:15:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Bugaev 
								
							 
						 
						
							
							
							
							
								
							
							
								dadf6337ef 
								
							 
						 
						
							
							
								
								Kernel: Customize absolute_path() for more file types  
							
							
							
						 
						
							2019-08-11 16:30:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								752de9cd27 
								
							 
						 
						
							
							
								
								FileDescription: Disallow construction with a null File  
							
							... 
							
							
							
							It's not valid for a FileDescription to not have a file, so let's
disallow it by taking a File& (or FIFO&) in the constructor. 
							
						 
						
							2019-08-11 09:33:31 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								c26e3ce86b 
								
							 
						 
						
							
							
								
								Change "retain" to "ref" in various comments.  
							
							
							
						 
						
							2019-06-21 18:40:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								90b1354688 
								
							 
						 
						
							
							
								
								AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.  
							
							
							
						 
						
							2019-06-21 18:37:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								77b9fa89dd 
								
							 
						 
						
							
							
								
								AK: Rename Retainable => RefCounted.  
							
							... 
							
							
							
							(And various related renames that go along with it.) 
							
						 
						
							2019-06-21 15:30:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c1bbd40b9e 
								
							 
						 
						
							
							
								
								Kernel: Rename "descriptor" to "description" where appropriate.  
							
							... 
							
							
							
							Now that FileDescription is called that, variables of that type should not
be called "descriptor". This is kinda wordy but we'll get used to it. 
							
						 
						
							2019-06-13 22:03:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								736092a087 
								
							 
						 
						
							
							
								
								Kernel: Move i386.{cpp,h} => Arch/i386/CPU.{cpp,h}  
							
							... 
							
							
							
							There's a ton of work that would need to be done before we could spin up on
another architecture, but let's at least try to separate things out a bit. 
							
						 
						
							2019-06-07 20:02:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								39d1a9ae66 
								
							 
						 
						
							
							
								
								Meta: Tweak .clang-format to not wrap braces after enums.  
							
							
							
						 
						
							2019-06-07 17:13:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								bc951ca565 
								
							 
						 
						
							
							
								
								Kernel: Run clang-format on everything.  
							
							
							
						 
						
							2019-06-07 11:43:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								08cd75ac4b 
								
							 
						 
						
							
							
								
								Kernel: Rename FileDescriptor to FileDescription.  
							
							... 
							
							
							
							After reading a bunch of POSIX specs, I've learned that a file descriptor
is the number that refers to a file description, not the description itself.
So this patch renames FileDescriptor to FileDescription, and Process now has
FileDescription* file_description(int fd). 
							
						 
						
							2019-06-07 09:36:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								59c37363b6 
								
							 
						 
						
							
							
								
								TTY: Generate SIGTSTP if cc[VSUSP] is pressed.  
							
							... 
							
							
							
							Fixes  #207 . 
						
							2019-06-06 20:31:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								2dd9ef6863 
								
							 
						 
						
							
							
								
								Kernel: Make File::absolute_path() const.  
							
							
							
						 
						
							2019-06-01 18:56:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								fdf3608c8a 
								
							 
						 
						
							
							
								
								Update Badge<T> instantiations to simply be {}.  
							
							
							
						 
						
							2019-05-31 15:44:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robin Burchell 
								
							 
						 
						
							
							
							
							
								
							
							
								0dc9af5f7e 
								
							 
						 
						
							
							
								
								Add clang-format file  
							
							... 
							
							
							
							Also run it across the whole tree to get everything using the One True Style.
We don't yet run this in an automated fashion as it's a little slow, but
there is a snippet to do so in makeall.sh. 
							
						 
						
							2019-05-28 17:31:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								b5b44a29bb 
								
							 
						 
						
							
							
								
								Replace various copies of parse_uint(String) with String::to_uint().  
							
							
							
						 
						
							2019-05-08 19:21:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								2470fdcd9b 
								
							 
						 
						
							
							
								
								Kernel: Make Socket inherit from File.  
							
							
							
						 
						
							2019-05-03 20:42:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c3b7ace3e0 
								
							 
						 
						
							
							
								
								Kernel: Assign Lock names in class member initializers.  
							
							
							
						 
						
							2019-05-02 03:28:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8cbb7f101f 
								
							 
						 
						
							
							
								
								Kernel: Have File virtuals take a FileDescriptor& rather than a Process&.  
							
							... 
							
							
							
							This will allow us to implement different behaviors depending on the role
of the descriptor a File is being accessed through. 
							
						 
						
							2019-04-29 13:58:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								0a0d739e98 
								
							 
						 
						
							
							
								
								Kernel: Make FIFO inherit from File.  
							
							
							
						 
						
							2019-04-29 04:55:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c91b0d6b5f 
								
							 
						 
						
							
							
								
								FileDescriptor: Let TTY handle its own absolute_path().  
							
							
							
						 
						
							2019-04-28 15:09:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ca9ed13643 
								
							 
						 
						
							
							
								
								Kernel: Simplify Device::open().  
							
							
							
						 
						
							2019-04-24 02:20:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								58240fdb33 
								
							 
						 
						
							
							
								
								Do a pass of compiler warning fixes.  
							
							... 
							
							
							
							This is really making me question not using 64-bit integers more. 
							
						 
						
							2019-04-23 13:00: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 
								
							 
						 
						
							
							
							
							
								
							
							
								88f03f86ff 
								
							 
						 
						
							
							
								
								Kernel: Have TTY subclasses cache their tty_name/pts_name.  
							
							
							
						 
						
							2019-04-16 00:35:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ab43658c55 
								
							 
						 
						
							
							
								
								Kernel: Move devices into Kernel/Devices/.  
							
							
							
						 
						
							2019-04-03 12:36:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								9fca94269e 
								
							 
						 
						
							
							
								
								Kernel: Move TTY-related files into Kernel/TTY/.  
							
							
							
						 
						
							2019-04-03 12:28:45 +02:00