1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00
serenity/Shell
Andreas Kling e2f32b8f9d LibCore: Make Core::Object properties more dynamic
Instead of everyone overriding save_to() and set_property() and doing
a pretty asymmetric job of implementing the various properties, let's
add a bit of structure here.

Object properties are now represented by a Core::Property. Properties
are registered with a getter and setter (optional) in constructors.
I've added some convenience macros for creating and registering
properties, but this does still feel a bit bulky. We'll have to
iterate on this and see where it goes.
2020-09-15 21:46:26 +02:00
..
Tests Shell: Add some tests for 'match' 2020-09-15 20:36:59 +02:00
AST.cpp Shell: Add 'match' expressions 2020-09-15 20:36:59 +02:00
AST.h Shell: Add 'match' expressions 2020-09-15 20:36:59 +02:00
Builtin.cpp Shell: Allow redirections and pipes on builtins 2020-08-15 20:48:17 +02:00
CMakeLists.txt Shell: Move printing job status into a Job::print_status() helper 2020-08-06 15:09:49 +02:00
Execution.h Shell: Allow redirections and pipes on builtins 2020-08-15 20:48:17 +02:00
Forward.h Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
Job.cpp Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
Job.h Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
main.cpp Shell: Add support for $0,$1,... 2020-09-14 17:40:18 +02:00
Parser.cpp Shell: Add 'match' expressions 2020-09-15 20:36:59 +02:00
Parser.h Shell: Add 'match' expressions 2020-09-15 20:36:59 +02:00
Shell.cpp Shell: Allow builtins and functions as conditions for 'if' 2020-09-14 17:40:18 +02:00
Shell.h LibCore: Make Core::Object properties more dynamic 2020-09-15 21:46:26 +02:00