summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
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
2021-09-21CrashReporter+LibCoredump: Show progress window while loading coredumpAndreas Kling
Some coredumps take a long time to symbolicate, so let's show a simple window with a progress bar while they are loading. I'm not super happy with the factoring of this feature, but it's an absolutely kickass feature that makes crashing feel 100% more responsive than before, since you now get GUI feedback almost immediately after a crash occurs. :^)
2021-09-21CrashDaemon+CrashReporter: Streamline crash reporting a little bitAndreas Kling
Before this patch, this is what would happen after something crashed: 1. CrashDaemon finds a new coredump in /tmp 2. CrashDaemon compresses the new coredump (gzip) 3. CrashDaemon parses the uncompressed coredump and prints a backtrace 4. CrashDaemon launches CrashReporter 5. CrashReporter parses the uncompressed coredump (again) 6. CrashReporter unlinks the uncompressed coredump 7. CrashReporter displays a GUI This was taking quite a long time when dealing with large programs crashing (like Browser's WebContent processes.) The new flow: 1. CrashDaemon finds a new coredump in /tmp 2. CrashDaemon mmap()'s the (uncompressed) coredump 3. CrashDaemon launches CrashReporter 4. CrashDaemon goes to sleep for 3 seconds (hack alert!) 5. CrashReporter parses the (uncompressed) coredump 6. CrashReporter unlinks the (uncompressed) coredump 7. CrashReporter displays a GUI 8. CrashDaemon wakes up (after step 4) 9. CrashDaemon compresses the coredump (gzip) TL;DR: we no longer parse the coredumps twice, and we also prioritize launching the CrashReporter GUI immediately when a new coredump shows up, instead of compressing and parsing it in CrashDaemon first. The net effect of this is that you get a backtrace on screen much sooner. That's pretty nice. :^)
2021-09-20WidgetGallery+MouseSettings: Use LexicalPath::basename()Karol Kosek
2021-09-20PixelPaint: Move Tools to it's own subdirectoryMarcus Nilsson
The PixelPaint source directory was getting a bit large, let's move all the Tools to it's own subdirectory. Also remove some unused includes.
2021-09-19PixelPaint: Use main window's icon in the 'Create new image' widgetKarol Kosek
2021-09-19CrashReporter: Add some margin around the backtrace & register viewsAndreas Kling
2021-09-19FontEditor: Add new tools to navigate code pointsthankyouverycool
Visible glyphs can now be cycled through, or a code point specified and jumped to directly.
2021-09-19FontEditor: Update editor to handle new font formatthankyouverycool
The editor now unmasks fonts on load, mapping their glyphs to the complete unicode character set, and masks them upon saving to reduce disk space. This is a naive approach in terms of memory usage and can be improved but whose immediate goal is to allow editing any glyph without concern for range allocation.
2021-09-19TextEditor: Show total character and word count without selectionthankyouverycool
2021-09-18LibWeb: Remove the unused LayoutTreeModelAndreas Kling
If we want to bring back this functionality, we'll have to rewrite it for multi-process mode anyway.
2021-09-17Magnifier: Add 8x magnification and pausingMarcus Nilsson
This adds an option for even more magnification, when you really need to count pixels, as well as pausing the capture by pressing Space and switching between magnification levels with keys 2, 4 & 8.
2021-09-17SystemMonitor: Make process memory statistics more human readableJulian Offenhäuser
These are the only instances in SystemMonitor which still show memory statistics in KiB only. They will now adapt to the input size better.