Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-08 | LibCore: DesktopServices, open fonts with FontEditor | Hüseyin ASLITÜRK | |
2020-05-07 | LibCore: Add a primitive comparison function to DateTime | AnotherTest | |
This should go away when we get the ability to parse strings to DateTime's. | |||
2020-05-06 | Misc: Replace "String(string_view)" with "string_view.to_string()" | Linus Groh | |
StringView::to_string() was added in 917ccb1 but not actually used anywhere yet. | |||
2020-05-05 | LibCore: Add a standard downloads directory (~/Downloads) | Andreas Kling | |
2020-05-03 | ProtocolServer: Implement and handle download progress | AnotherTest | |
Also updates `pro` to display download progress and speed on stderr | |||
2020-05-02 | LibCore+LibHTTP: Move out the HTTP handler and add HTTPS | AnotherTest | |
2020-05-02 | LibCore: Mark Socket::{common_,}connect() virtual and add a on_write | AnotherTest | |
2020-04-30 | LibCore: Do not assert that NonnullRefPtr is non-null | Sergey Bugaev | |
Clang complains about this; with the change the next commit is going to make to ASSERT() internals, GCC is going to start to complain as well. | |||
2020-04-30 | LibCore: Don't continue in forked child if exec() fails | Andreas Kling | |
Fixes #1854. | |||
2020-04-28 | LibCore: Trim decompressed Gzip output to size | AnotherTest | |
Prior to this commit, we would (re-)allocate the output buffer aligned to 1024 bytes, but never trim it down to size, which caused Gzip::decompress to return uninitialised data. | |||
2020-04-26 | LibCore: Open gif files with QuickShow | Hüseyin ASLITÜRK | |
2020-04-23 | LibCore: read_bool_entry parse "true" / "false" strings in config files | Brendan Coles | |
`read_bool_entry()` can now interpret both integers (1 or 0) and Boolean strings ("true" or "false") in configuration files. All values other than "1" or "true" are considered false. | |||
2020-04-23 | DesktopServices: Add irc URL protocol handler | Brendan Coles | |
2020-04-21 | LibCore: Make Core::File::open() return a Result<NNRP<File>, String> | Andreas Kling | |
It was impractical to return a RefPtr<File> since that left us no way to extract the error string. This is usually needed for the UI, so the old static open() got basically no use. | |||
2020-04-19 | LibCore: Add StandardPaths thing to retrieve various standard locations | Andreas Kling | |
Fixes #1853. | |||
2020-04-19 | LibCore: Check for fork() failure | Sergey Bugaev | |
For those good boy points :^) | |||
2020-04-19 | LibCore+LibGUI: Move DesktopServices to LibCore | Sergey Bugaev | |
2020-04-07 | LibCore: Add Core::Timer::create_single_shot() | Andreas Kling | |
This is just a convenience function for creating single-shot timers. | |||
2020-04-06 | AK: Make dbgprintf() and dbgputstr() go to stderr on non-Serenity hosts | Andreas Kling | |
2020-04-04 | LibCore: Fix UDPServer up to properly receive data | AnotherTest | |
Prior to this, UDPServer was using listen/accept, which does not make sense in the context of UDP. | |||
2020-04-03 | LibCore: Don't replay last handled event when leaving nested event loop | Andreas Kling | |
The event that triggered the exit from an inner event loop would always get re-delivered in the outer event loop due to a silly off-by-one mistake when transferring pending events between loops. | |||
2020-03-30 | LibCore: Add a static Core::File::open() convenience function | Andreas Kling | |
This helper opens a file with a given name, mode and permissions and returns it in a RefPtr<File>. I think this will be a bit nicer to use than having to go through Core::File::construct() every time. | |||
2020-03-23 | LibCore: Tweak DateTime.cpp so it compiles on Linux + drive-by bug fix | Andreas Kling | |
2020-03-22 | LibCore: Wrap commented out debug messages in a preprocessor define | Shannon Booth | |
We can also remove an outdated FIXME as dbg() does now support unsigned longs :^) | |||
2020-03-19 | LibCore: Use monotonic time when handling timers | Liav A | |
2020-03-18 | LibCore: Moved cal.cpp functions to DateTime | rhin123 | |
2020-03-14 | LibCore: Rename Udp classes to UDP | Shannon Booth | |
The kernel was already using the UDP prefix, and the TCP LibCore classes are also uppercased. Let's rename for consistency. Also order the LibCore Makefile alphabetically, because everywhere else seems to be doing that :) | |||
2020-03-10 | EventLoop: Don't destroy ID allocator (#1403) | Alex Muscar | |
The ID allocator is destroyed before a timer in HackStudio is is unregistered leading to an access violation. Fixes #1382. | |||
2020-03-08 | Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller | Andreas Kling | |
2020-03-08 | AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) | Andreas Kling | |
Use this instead of uintptr_t throughout the codebase. This makes it possible to pass a FlatPtr to something that has u32 and u64 overloads. | |||
2020-03-08 | LibCore: Add format option for DateTime::to_string() (#1358) | howar6hill | |
2020-03-07 | LibCore: Remove all remaining C prefix references | Shannon Booth | |
LibCore's GZip is also moved into the Core namespace with this change. | |||
2020-03-05 | LibCore: Add a way to set an individual Core::Object property remotely | Andreas Kling | |
2020-03-05 | LibCore: Allow RPC clients to specify the currently inspected object | Andreas Kling | |
Add a SetInspectedObject call that tells us which Core::Object a remote client is currently looking it. Objects get notified when they gain their first inspector, and when they lose their last one. | |||
2020-03-04 | LibCore: Make Core::Object::add<ChildType> return a ChildType& | Andreas Kling | |
Since the returned object is now owned by the callee object, we can simply vend a ChildType&. This allows us to use "." instead of "->" at the call site, which is quite nice. :^) | |||
2020-03-01 | AK: Remove unnecessary casts to size_t, after Vector changes | Andreas Kling | |
Now that Vector uses size_t, we can remove a whole bunch of redundant casts to size_t. | |||
2020-02-26 | LibCore: Allow ConfigFile::read_num_entry to handle negative numbers | Jesse Buhagiar | |
Previously, this function was using `AK::String::to_uint()`, which is wrong considering the function returns type `int`. This also means that configuration files would revert to the default value on negative values. | |||
2020-02-26 | DateTime: Fix a typo | howar6hill | |
2020-02-25 | AK: Make Vector use size_t for its size and capacity | Andreas Kling | |
2020-02-23 | LibCore: Add Core::Object::add<T> helper for creating child objects | Andreas Kling | |
Consider the old pattern for creating a Core::Object parent and child: auto parent = Core::Object::construct(...); auto child = Core::Object::construct(..., parent); The above was an artifact of the pre-reference-counting Object era. Now that objects have less esoteric lifetime management, we can replace the old pattern with something more expressive: auto parent = Core::Object::construct(...); auto child = parent->add<Core::Object>(...); This reads a lot more naturally, and it also means we can get rid of all the parent pointer arguments to Core::Object subclass constructors. | |||
2020-02-22 | LibCore: Log a more helpful message when Socket::connect() fails | Andreas Kling | |
Fixes #1272. | |||
2020-02-22 | LibCore: Fix wrong return value in Core::Socket::destination_address() | Andreas Kling | |
2020-02-20 | AK: Use size_t for ByteBuffer sizes | Andreas Kling | |
This matches what we already do for string types. | |||
2020-02-16 | LibCore: Add DirIterator::next_full_path() | Shannon Booth | |
2020-02-15 | LibCore: Add SkipParentAndBaseDir flag in DirIterator | Shannon Booth | |
Sometimes we may want to iterate over dotfiles but not include the parent or base directory | |||
2020-02-15 | LibCore: Simplify some of DirIterator's code | Shannon Booth | |
The main changes are in advance_next() where we flatten some of the nesting to improve readability | |||
2020-02-15 | LibCore: Reduce header dependencies of EventLoop | Andreas Kling | |
2020-02-15 | LibCore: Move LogStream::operator<< overloads into cpp files | Andreas Kling | |
2020-02-15 | LibCore: Remove a bunch of unnecessary forward declarations | Andreas Kling | |
Now that we get LibCore forward declarations from <LibCore/Forward.h>, we don't need to declare things manually. | |||
2020-02-15 | LibGfx: Replace manual forward declarations with <LibGfx/Forward.h> | Andreas Kling | |