summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-01LibGUI: Implement the virtual ListView::scroll_into_view()Andreas Kling
Instead of shadowing the one from AbstractView.
2020-09-01LibGUI: Remove ListView::doubleclick_event()Andreas Kling
We can just let AbstractView take care of this. :^)
2020-09-01AK: Add OutputMemoryStream class.asynts
2020-09-01AK: Add DuplexMemoryStream::copy_into_contiguous_buffer.asynts
2020-09-01AK: Move memory streams into their own header.asynts
2020-09-01AK: Remove history from DuplexMemoryStream.asynts
That feature was really only useful for Compress::DeflateDecompressor but that is now using CircularDuplexBuffer instead.
2020-09-01Streams: Distinguish recoverable and fatal errors.asynts
2020-09-01LibGUI: Don't return early from AbstractView::set_cursor()Andreas Kling
Calling set_cursor() with the same cursor index is not necessarily a no-op! For example, we may want to toggle the selection.
2020-09-01LibGUI: Implement move_cursor() in ColumnsViewAndreas Kling
2020-09-01LibC: Move the static String in getlogin() out of the functionAndreas Kling
For some reason, this stops it from adding __cxa_guard_acquire/release calls around its initialization. This unbreaks building ports.
2020-09-01LibGUI: Implement the virtual IconView::scroll_into_view()Andreas Kling
This is virtual in AbstractView so let's not shadow it with an IconView specific variant.
2020-09-01LibGUI: Teach IconView to use AbstractView::move_cursor()Andreas Kling
This makes it possible to manipulate the cursor programmatically via the AbstractView interface.
2020-09-01LibC: add getopt.h to unistd.hErlend Fagerheim
2020-09-01Meta: Fixed small typo in readme (#3373)busybox
2020-09-01Build: Add some -Wno-unknown-warning-option flags to CXXFLAGSAndreas Kling
Patch from Anonymous.
2020-08-31LibLine: Reset suggestion state on any non-tab keyAnotherTest
This fixes the following (and more!): ```sh $ /bin/dis<tab><tab><backspace><backspace><backspace><backspace><tab> $ /bink_benchmark ```
2020-08-31Userland: Allow unquoted 'filename' values in 'pro'AnotherTest
2020-08-31AK: Add is_any_of(StringView) to GenericLexerAnotherTest
2020-08-31Userland: Improve 'ContentDispositionParser' in 'pro'AnotherTest
This patch just applies a suggestion, making the code more readable.
2020-08-31LibWeb: Implement document ready stateLuke
2020-08-31LibWeb: Expose window.self and window.framesLuke
"self" is a way to refer to the global object that will work in both a window context and a web worker context. "frames" apparently used to return a list of frame objects according to MDN, but it now just returns the window object.
2020-08-31LibCompress: Fix a bug when wrapping around the buffer.asynts
2020-08-31LibCompress: Add support for dynamic deflate blocks.asynts
2020-08-31LibCompress: Deflate: Don't assert that the codes are valid.asynts
2020-08-31LibCompess: Add missing state update in DeflateDecompressor::read.asynts
2020-08-31LibCompress: CanonicalCode: Don't leave unused code uninitialized.asynts
2020-08-31Kernel: Fix Processor::features_string() stopping too early and detect more ↵Luke
features The exit condition for the loop was sizeof(m_features) * 8, which was 32. Presumably this was supposed to mean 32 bits, but it actually made it stop as soon as it reached the 6th bit. Also add detection for more SIMD CPU features.
2020-08-31LibGfx: implement GIF RestorePrevious frame disposal modePeter Nelson
2020-08-31LibGfx: clear previous GIF frame to transparent instead of whole imagePeter Nelson
2020-08-31LibGfx: add GIF test suitePeter Nelson
Adds a GIF test suite HTML page that contains a selection of test GIF images and reference PNGs for each frame Adds a link to the GIF test suite on welcome.html
2020-08-31Kernel: Add more detailed debug output for E1000 {in,out}{8,16,32}Luke
Also adds FIXME for VirtualBox.
2020-08-31LibWeb: Take care of a FIXME in the "in table text" insertion modeAndreas Kling
2020-08-31DevTools+Apps: Set correct icons for ThemeEditor and VisualBuilderthankyouverycool
VB appears deprecated in favor of HackStudio, but until it's officially gone-no app left behind!
2020-08-31LibC: Partially implement 'freopen'AnotherTest
2020-08-31Userland: Make 'pro' capable of guessing a filenameAnotherTest
The whole thing with `pro url > filename` was getting annoying, so let's just have it support Content-Disposition and guessing from the URL.
2020-08-31LibGUI: Hide ResizeCorner in StatusBar when window is maximizedthankyouverycool
Fully expands status bars when maximized and prevents maximized windows from being erroneously resized.
2020-08-31WindowServer: Return correct IsMaximized responsethankyouverycool
2020-08-30UserspaceEmulator: Emulate two FPU instructions!Nico Weber
2020-08-30Base: Remove obsolete .gitignore filesTibor Nagy
Leftovers from the time when the system used raw icons instead of PNGs.
2020-08-30ntpquery: Add routines for converting timeval<->ntp timestampsNico Weber
Use them to set the transmit timestamp on the outgoing packet and to print the returned timestamps as ISO 8601 strings.
2020-08-30Userland: Add an extremely simple NTP clientNico Weber
This only queries a single NTP server, only does a point-to-point request, doens't do any filtering, doesn't display the response in any useful format, and is generally very bare-bones. But maybe, over time it can learn to query more servers, do filtering, run as a service that keeps state over time to improve filtering, adjust system time, and maybe learn to run as an NTP server then.
2020-08-30AK: Make %llx work in printfNico Weber
2020-08-30Userland: Fix passing a non-format string to fprintf()Sergey Bugaev
2020-08-30LibC: Deprecate strcpy(), strncpy(), strcat() and strncat() :^)Sergey Bugaev
And also mark strlcpy() and strlcat() with __attribute__((warn_unused_result)). Since our code is warning-free, this ensures we never misuse those functions. (Or are very sure about doing it when turning off the warning for a particular piece of code.)
2020-08-30Tests: Assert the path fitsSergey Bugaev
2020-08-30LibC: Replace some strncpy() calls with memcpy()Sergey Bugaev
In case we know exactly how many bytes we're copying (and not copying a string while limiting its length to that of a buffer), memcpy() is a more appropriate function to call. Also, fix null-terminating the %c pointer.
2020-08-30LibC: Misc fixes and improvements in netdbSergey Bugaev
2020-08-30LibC: strcpy a socket address at compile timeSergey Bugaev
This way, we'd get compile-time errors if the address was too long for the buffer.
2020-08-30Everywhere: Port to String::copy_characters_to_buffer()Sergey Bugaev
2020-08-30AK: Add String::copy_characters_to_buffer()Sergey Bugaev
This is a strcpy()-like method with actually sane semantics: * It accepts a non-empty buffer along with its size in bytes. * It copies as much of the string as fits into the buffer. * It always null-terminates the result. * It returns, as a non-discardable boolean, whether the whole string has been copied. Intended usage looks like this: bool fits = string.copy_characters_to_buffer(buffer, sizeof(buffer)); and then either if (!fits) { fprintf(stderr, "The name does not fit!!11"); return nullptr; } or, if you're sure the buffer is large enough, // I'm totally sure it fits because [reasons go here]. ASSERT(fits); or if you're feeling extremely adventurous, (void)fits; but don't do that, please.