summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2021-10-13SystemMonitor: Save refresh frequency to a config fileUndefine
2021-10-13LibJS: Convert to_object() to ThrowCompletionOrLinus Groh
2021-10-13LibJS: Convert to_string() to ThrowCompletionOrLinus Groh
Also update get_function_name() to use ThrowCompletionOr, but this is not a standard AO and should be refactored out of existence eventually.
2021-10-10FileManager: Listen for changes to Desktop wallpaper in configMustafa Quraish
Since there's no global API for being able to just assign a callback function to config changes, I've made an inline struct in desktop mode with the sole purpose of checking to see if the Wallpaper entry has changed, and then updates GUI::Desktop. It's pretty neat seeing the wallpaper change as soon as you edit the config file :^)
2021-10-09SpaceAnalyzer: Make files removable depending on directory permissionsKarol Kosek
Prior this patch, you couldn't remove any files from the context menu if you didn't have write access to them. It was incorrect, as the write permission for files means that you can modify the contents of the file, where for directories it means that you can create, rename, and remove the files there.
2021-10-07PixelPaint: Close tab now prompts for a saveAlex Major
2021-10-07PixelPaint: Use reorderable tabsLuke Wilde
2021-10-07Browser: Use reorderable tabsPeter Elliott
2021-10-07SpaceAnalyzer: Fix rendering bug when dealing with large file systemsMart G
2021-10-07SystemMonitor: Use u64 for all GraphWidget valuessin-ack
Turns out size_t is not guaranteed to be 64-bit on i686 and trying to set the max value using a u64 caused a narrowing conversion.
2021-10-07SystemMonitor: Use size_t for graph valuessin-ack
The memory and CPU graphs fail to display anything when the memory size is larger than 2**31 bytes, because of the small range of int. This commit makes replaces the type with size_t. Hopefully nobody will have 18 quintillion bytes of memory before this gets replaced. :^)
2021-10-06LibWeb: Rename Layout::BlockBox => BlockContainerAndreas Kling
There's a subtle difference here. A "block box" in the spec is a block-level box, while a "block container" is a box whose children are either all inline-level boxes in an IFC, or all block-level boxes participating in a BFC. Notably, an "inline-block" box is a "block container" but not a "block box" since it is itself inline-level.
2021-10-05PixelPaint: Fix first undo action not workingMarco Cutecchia
2021-10-05PixelPaint: Ensure a layer is selected when restoring a snapshotMarco Cutecchia
Previously when restoring the starting snapshot in the UndoStack we would end up with no layer selected, which was kinda annoying
2021-10-05Everywhere: Change from http to https where feasibleBen Wiederhake
I used "git grep -FIn http://" to find all occurrences, and looked at each one. If an occurrence was really just a link, and if a https version exists, and if our Browser can access it at least as well as the http version, then I changed the occurrence to https. I'm happy to report that I didn't run into a single site where Browser can't deal with the https version.
2021-10-04Everywhere: Fix more Copyright header inconsistenciesTim Schumacher
2021-10-03LibWeb+Browser: Disable Same-Origin Policy by default for nowAndreas Kling
Until we have CORS preflight checks working, this is only getting in the way of testing and I have to disable it manually all the time.
2021-10-03LibJS: Convert has_own_property() to ThrowCompletionOrLinus Groh
2021-10-03LibJS: Convert Object::get() to ThrowCompletionOrLinus Groh
To no one's surprise, this patch is pretty big - this is possibly the most used AO of all of them. Definitely worth it though.
2021-10-03CrashReporter: Don't crash when "Generating..." Window gets closedsw1tchbl4d3
2021-10-02FontEditor: Close preview window when the main window is closedGal Horowitz
2021-10-02PixelPaint: Correctly offset stroke position for even thicknessesGal Horowitz
2021-10-02PixelPaint: LayerListWidget::set_selected_layer now handles nullptrGal Horowitz
2021-10-01Spreadsheet: Add a toolbarSamuel Bowman
This commit adds a basic toolbar with the following actions: Add New Sheet, Open, Save, Cut, Copy, and Paste.
2021-10-01Spreadsheet: Store actions in member variables on SpreadsheetWidgetSamuel Bowman
Actions are now stored in member variables so they can be used throughout SpreadsheetWidget.
2021-10-01Spreadsheet: Move menu and action code to initialize_menubar()Samuel Bowman
Previously, all the code to add menus and actions was in main(). This was messy and didn't allow us to reference the actions from SpreadsheetWidget, which is needed in order to add a toolbar. This commit moves the menu and action adding code to method on SpreadsheetWidget called initialize_menubar() which is based upon applications such as TextEditor which have identically named methods doing the same thing. In additon, clipboard_action(), previouly a lambda in main(), has also been made into a method on SpreadsheetWidget since it would otherwise be destroyed when it goes out of scope. (This was previously avoided by declaring the lambda in main() so it's always in scope.)
2021-10-01Userland: Fix typosNico Weber
2021-09-30SpreadSheet: Fix that non first sheets could not access global functionsdavidot
Because we declare the functions in runtime.js we need the correct global object to be setup otherwise they cannot be accessed when switching to the SheetGlobalObject.
2021-09-30SpreadSheet: Fix that the js integration abused global objectsdavidot
Before this commit it only allocated the global object so when it wanted to lookup 'thisSheet' it could not find it in the global environment. We now hotswap the global object everytime a cell evaluated. This also fixes that SheetGlobalObject did not have an internal_has_property meaning 'A0' could not be referenced unless it was via a member lookup (this.A0). This was already broken before the bindings refactoring. The correct behavior of realms in spreadsheet is not completely clear since what is shared between sheets is not very well defined. The reason that just setting the SheetGlobalObject as the global_this_value is not enough is because ECMAScript does not check the global_this_value for members when resolving a reference in the global environment.
2021-09-30LibSymbolication+SystemMonitor: Show ELF object in stackRodrigo Tobar
This small patch allows SystemMonitor's Stack tab to show the name of the ELF object to which the displayed address refers to. This gives a bit more of contextual information to the viewer. A better to show this is probably a table, but I'm not that familiar yet with the GUI framework in general, so I'm keeping things simple.
2021-09-29LibJS: Convert internal_set() to ThrowCompletionOrLinus Groh
2021-09-29LibJS: Convert internal_get() to ThrowCompletionOrLinus Groh
2021-09-29PixelPaint: Add new icons for layer actionsMarcus Nilsson
Add icons for three more layer actions.
2021-09-29Browser: Use CommonActions where possible and various fixesMarcus Nilsson
This replaces some actions with CommonActions and also adds '...' to menu items that require user input.
2021-09-28Assistant: Zero initialize fuzzy match arrayBrian Gianforcaro
SonarCloud flagged the read of the matches array as a potential garbage read. I don't believe the case it flagged was possible to reach due to how the code is structured, however we should really just be zero initializing these stack arrays.
2021-09-28SystemMonitor: Unveil /usr/local/libRodrigo Tobar
This is necessary to symbolicate libraries installed under /usr/local/lib.
2021-09-27LibWeb+Browser: Make ad blocking work in the multi-process worldAndreas Kling
We now send the list of content filters over to new WebContent processes after creating an OutOfProcessWebView. :^)
2021-09-26ThemeEditor: Show currently opened theme path in the window titleKarol Kosek
You can open files since #9979, so let's show the path there to distinguish open theme files more easily!
2021-09-25PixelPaint: Close image tabs on middle clickKarol Kosek
2021-09-25PixelPaint: Close New Image dialog after pressing return keyKarol Kosek
13e526de43847ac86d74e3cb0be2d6b930f1d46f added the feature to new Layer dialog. This patch adds it to Image dialog to stay consistent across the app. :^)
2021-09-24FontEditor: Allow editing new font headerthankyouverycool
And make use of mapping functions moved from LibGUI/FontPickerWeightModel.h => LibGfx/FontStyleMapping.h
2021-09-23LibJS: Convert Value::invoke and VM::call to ThrowCompletionOrIdan Horowitz
2021-09-22FontEditor: Keep selected glyph in view on resizethankyouverycool
2021-09-22FontEditor: Make update_{statusbar,preview} member functionsthankyouverycool
For use outside constructor. Renames demo to preview to make the UI and code comport.
2021-09-22FontEditor: Remove reprobe_font()thankyouverycool
This was used to update GlyphMapWidget on Type changes and is no longer needed since removal of Type enumeration in bb592ae.
2021-09-22FontEditor: Sanitize RTL and control glyphs in Clipboard metadatathankyouverycool
Fixes display issues in ClipboardHistory.
2021-09-22FontEditor: Put glyph width changes on the undo stackthankyouverycool
And select the restored glyph on undo/redo.
2021-09-22FontEditor: Set width to zero when deleting a glyphthankyouverycool
Previously, Delete left a glyph's width maximized.
2021-09-22FontEditor: Simplify initialization by disabling widget callbacksthankyouverycool
Reduces some complexity dealing with callback effects and fixes redundant calls to update_title and erroneously set glyph widths.
2021-09-21CrashReporter: Show coredump loading progress in the Taskbar :^)Andreas Kling