summaryrefslogtreecommitdiff
path: root/LibCore
AgeCommit message (Collapse)Author
2019-05-01CLock: Remove a redundant call to gettid().Andreas Kling
2019-04-29CEventLoop: Protect the message queue with a Lock.Andreas Kling
2019-04-26LibCore: Make it possible to create a CFile for an existing file descriptor.Andreas Kling
2019-04-21Include Makefile.common in all other Makefiles.Andreas Kling
2019-04-20AK: Add String::copy(BufferType) helper.Andreas Kling
This will create a String from any BufferType that has data() and size().
2019-04-20Sprinkle use of AK::Vector in various places.Andreas Kling
Some of these are less helpful than others. Avoiding a bunch of mallocs in the event loop wakeup code is definitely nice.
2019-04-20Get rid of SERENITY macro since the compiler already defines __serenity__Andreas Kling
This makes it a bit easier to use AK templates out-of-tree.
2019-04-20LibCore: Hide deferred_invoke() debug spam.Andreas Kling
2019-04-18LibCore+LibGUI: Make CObject child events synchronous.Andreas Kling
...and then make GWidget layout invalidation lazy. This way we coalesce multiple invalidations into a single relayout and we don't have to worry about child widgets not being fully constructed.
2019-04-18CEventLoop: Don't call gettimeofday() at all if there are no timers.Andreas Kling
2019-04-18LibCore: Add CTimer::restart() and make set_interval() take effect soon.Andreas Kling
2019-04-18LibCore: CIODevice::seek() should reset EOF state.Andreas Kling
2019-04-18CEventLoop: Consolidate gettimeofday() syscalls.Andreas Kling
2019-04-16GWidget: Add some new child z-ordering facilities.Andreas Kling
- child_at(Point) - move_to_front() - move_to_back() - is_frontmost() - is_backmost() This patch also makes it possible to receive the mouse event that triggers a context menu before the context menu is shown. I'm not sure this is the best design for context menus but it works for now.
2019-04-16LibCore: Add CIODevice::seek().Andreas Kling
2019-04-15LibCore: Add a CConfigFile class, a simple INI file parser.Andreas Kling
You open the configuration for an app like so: auto config = CConfigFile::get_for_app("MyApp"); This will then open ~/MyApp.ini and parse it for you. Immediately start using it in Minesweeper to load the field size and mine count from a config file.
2019-04-14LibCore: Add a convenience constructor for CTimer.Andreas Kling
new CTimer(250, [] { thing_to_do_every_250_msec(); });
2019-04-12LibCore: Move LibGUI/GTimer to LibCore/CTimer.Andreas Kling
2019-04-12LibCore: Prune remaining knowledge about LibGUI.Andreas Kling
2019-04-10LibCore: Move LibGUI/GLock to LibCore/CLock.Andreas Kling
2019-04-10LibCore: Move HTTP classes from LibGUI to LibCore.Andreas Kling
2019-04-10LibCore: Move GIODevice hierarchy from LibGUI to LibCore.Andreas Kling
2019-04-10LibCore: Move LibGUI/GNotifier to LibCore/CNotifier.Andreas Kling
2019-04-10LibCore: Add CEventLoop and make LibGUI/GEventLoop inherit from it.Andreas Kling
This is shaping up to be quite nice.
2019-04-10LibCore: Move LibGUI/GObject to LibCore/CObject.Andreas Kling
2019-04-10LibCore: Add CEvent and make LibGUI/GEvent inherit from it.Andreas Kling
2019-04-10Introduce LibCore and move GElapsedTimer => CElapsedTimer.Andreas Kling
I need a layer somewhere between AK (usable both by userspace and kernel) and LibGUI (usable by userspace except WindowServer.) So here's LibCore.