summaryrefslogtreecommitdiff
path: root/Applications
AgeCommit message (Collapse)Author
2020-09-26Spreadsheet: clang-formatAndreas Kling
2020-09-26Applications: Paint transparency grids through StylePainterTibor Nagy
2020-09-25Spreadsheet: Add the 'Date' cell typeAnotherTest
Since `JS::Date::value_of()' returns the timestamp in ms, this new type assumes that the value given is also in ms.
2020-09-25Spreadsheet: Treat an empty format string as "default"AnotherTest
2020-09-25Spreadsheet: Save and load cell types and formatting optionsAnotherTest
2020-09-25Spreadsheet: Add conditional formattingAnotherTest
Currently only supports setting the foregound and the background colours. This patch also unifies `foreground_color' and `background_color' used throughout to a `Format' struct, in hopes of getting more formatting options one day :P
2020-09-25Meta+Applications: Make clang-format-10 cleanBen Wiederhake
2020-09-24FileManager: Teach DirectoryView subviews to create editing delegatesAndreas Kling
This enables inline editing of filenames for table views, where this is already supported. More work in LibGUI will be required to support the feature in icon and columns views.
2020-09-23Applications+IRCClient: Use new format functions.asynts
2020-09-22LibJS: Move the current exception from Interpreter to VMAndreas Kling
This will allow us to throw exceptions even when there is no active interpreter in the VM.
2020-09-22SystemMonitor: Wrap file descriptor and unveiled paths model into a ↵Tibor Nagy
SortingProxyModel
2020-09-22SystemMonitor: Fix assert when sorting by the "Page map" columnTibor Nagy
2020-09-22SystemMonitor: Wrap adapters and sockets model into a SortingProxyModelTibor Nagy
2020-09-22SystemMonitor: Add sorting key to the devices modelTibor Nagy
2020-09-21Applications: Use placeholders in TextBoxes where applicablePeter Elliott
2020-09-21LibJS: Rename InterpreterScope => InterpreterExecutionScopeAndreas Kling
To make it a little clearer what this is for. (This is an RAII helper class for adding and removing an Interpreter to a VM's list of the currently active (executing code) Interpreters.)
2020-09-21Spreadsheet: Always keep the workbook interpreter in VM scopeAnotherTest
Fixes #3570.
2020-09-20FontEditor: Draw the baseline in the glyph editor widgetTibor Nagy
2020-09-20LibJS+Clients: Add JS::VM object, separate Heap from InterpreterAndreas Kling
Taking a big step towards a world of multiple global object, this patch adds a new JS::VM object that houses the JS::Heap. This means that the Heap moves out of Interpreter, and the same Heap can now be used by multiple Interpreters, and can also outlive them. The VM keeps a stack of Interpreter pointers. We push/pop on this stack when entering/exiting execution with a given Interpreter. This allows us to make this change without disturbing too much of the existing code. There is still a 1-to-1 relationship between Interpreter and the global object. This will change in the future. Ultimately, the goal here is to make Interpreter a transient object that only needs to exist while you execute some code. Getting there will take a lot more work though. :^) Note that in LibWeb, the global JS::VM is called main_thread_vm(), to distinguish it from future worker VM's.
2020-09-19LibGfx+FontEditor+Base: Add "baseline" value to all fontsAndreas Kling
This does nothing at the moment but will soon allow us to improve the vertical positioning of text.
2020-09-19FileManager: Prevent feedback loop between treeview and directory viewAndreas Kling
When opening something in the left-side treeview, it also opens in the right-side directory view. That triggers the "path changed" hook in the directory view, which causes us to fully reveal the opened directory in the left-side treeview. This feedback loop made the UI feel weird since it caused directories to expand just by selecting them in the left-side treeview. So let's break that loop.
2020-09-18FileManager: Properly reveal newly opened directories in the treeviewAndreas Kling
Use the new TreeView::expand_all_parent_of() API to ensure that newly opened directories are revealed and scrolled-into-view in the left-side treeview. :^)
2020-09-18FileManager: Update GUI when "entering" an inaccessible directoryAndreas Kling
When we enter an inaccessible directory, we still allow that directory to become selected in the left-side treeview, so we need to update the location box and window title to reflect the new current path. This is not perfectly factored and there's a bit of duplication between the model's on_error and on_complete hook callbacks in DirectoryView. Needs more work. :^)
2020-09-18FileManager: Show an inline error message for inaccessible directoriesAndreas Kling
Instead of popping up a message box whenever we can't read an opened directory, show the error message inside the DirectoryView (as a label) instead. This fixes a visual inconsistency where an inaccessible directory would be selected in the left-side treeview while the previous directory's contents were still showing on the right. This also makes keyboard navigation a bit more pleasant since you're not suddenly interrupted by a message box.
2020-09-18FileManager: Remove an unused enum in DirectoryViewAndreas Kling
2020-09-17FileManager: Move DirectoryView into the FileManager namespaceAndreas Kling
2020-09-17FileManager: Move the DesktopWidget to its own compilation unitAndreas Kling
2020-09-17FileManager: Handle drop events in DirectoryViewAndreas Kling
This makes it possible to drag & drop files to/from the desktop! :^)
2020-09-16FileManager: Use GUI::FileIconProvider for the location box iconAndreas Kling
2020-09-16FileManager: Show the root (/) directory in the treeview on the leftAndreas Kling
This gives you something to click on if you actually want to open the root directory. Previously, if you wanted to get to /, you had to use the "to parent directory" repeatedly. Silly. :^)
2020-09-16LibGUI: Fix TreeView scrolling to top when clicking sub-itemsAndreas Kling
This code was confusing two different versions of scroll_into_view that were getting mixed up due to member function shadowing. Adding an "override" to the subclass declaration exposed the problem. With this fixed, we no longer lose our scroll position wildly when using the mouse to select TreeView items.
2020-09-14Browser: Move the basic Tab UI skeleton to JSON GUIAndreas Kling
2020-09-14Browser: Set tab text alignment from JSON GUIAndreas Kling
2020-09-14Browser: Generate the main browser window UI from JSON :^)Andreas Kling
2020-09-14Build+TextEditor: Add a compile_json_gui() CMake helperAndreas Kling
This makes it easier to include JSON GUI declarations in any app. :^)
2020-09-14TextEditor: Move the find/replace buttons to JSON GUIAndreas Kling
2020-09-14TextEditor: Set initial widget visibilities from JSONAndreas Kling
2020-09-14TextEditor: Move the "find" and "replace" widget containers to JSON GUIAndreas Kling
2020-09-14TextEditor: Move the main window UI to JSONAndreas Kling
This is our first client of the new JSON GUI declaration thingy. The skeleton of the TextEditor app GUI is now declared separately from the C++ logic, and we use the Core::Object::name() of widgets to locate them once they have been instantiated by the GUI builder.
2020-09-13FileManager: Use the correct delete action in the treeview context menuAndreas Kling
2020-09-13FileManager: Move delete and force-delete actions to DirectoryViewAndreas Kling
This is a little bit messy since the left-side treeview also has a delete action. Because of that, we have to put a focus-dependent action that delegates to the relevant view-specific action in the tool bar and menu bar. I'm not sure yet what a good abstraction would be for this. We'll see what we can think of.
2020-09-13KeyboardMapper: Avoid using [&] captures for persistent lambdasAndreas Kling
These are not bugfixes, just improving the hygiene.
2020-09-13FileManager: Move "Open Terminal here" action to DirectoryViewAndreas Kling
2020-09-12Spreadsheet: Implement a specialised version of printf for formattingAnotherTest
Now all format values will format a single double, cast to the appropriate types.
2020-09-12Spreadsheet: Allow customising the cell foreground and background colorsAnotherTest
2020-09-12Spreadsheet: Allow cells to optionally have static fg/bg colorsAnotherTest
2020-09-12IRCClient: Remove unused dump() logicBen Wiederhake
A 'FIXME' asked for this to be removed, so I did.
2020-09-12LibGfx: Saner memory usage of indexed bitmapsBen Wiederhake
Indexed bitmaps used to allocate four times the required amount of memory. Also, we should acknowledge that the underlying data is not always RGBA32, and instead cast it only when the true type is known.
2020-09-11HexEditor: Use widget override cursorsAndreas Kling
2020-09-11LibGUI+WindowServer: Rename window "override cursor" to just "cursor"Andreas Kling
Let's just say each window has a cursor, there's not really overriding going on.