summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GJsonArrayModel.cpp
AgeCommit message (Collapse)Author
2019-10-29AK: Allow JsonValue to store 64-bit integers internallyAndreas Kling
Add dedicated internal types for Int64 and UnsignedInt64. This makes it a bit more straightforward to work with 64-bit numbers (instead of just implicitly storing them as doubles.)
2019-09-21LibCore: Convert CFile to ObjectPtrAndreas Kling
2019-08-14GJsonArrayModel: Add hook for customizing the GModel::Role::Custom dataAndreas Kling
2019-08-12GJsonArrayModel: Add hook to customize what comes out of GModel::SortAndreas Kling
Now you can provide a massage_for_sort hook in your FieldSpec. This allows you to implement arbitrary sorting rules for the data.
2019-08-10GJsonArrayModel: Support fields that aren't tied to a single JSON valueAndreas Kling
Change the custom data massaging callback to take a const JsonObject&. This will allow binding together data from multiple fields into one output in the model. :^)
2019-08-10GJsonArrayModel: Add an optional "massage_for_display" fieldspec hookAndreas Kling
This allows to you install a custom callback that can do anything with Role::Display data before it's returned by GJsonArrayModel::data().
2019-08-10LibGUI: Add GJsonArrayModel, a simple JSON-data-file-as-GModel helperAndreas Kling
This makes it very easy to expose JSON files as GModels. :^)