summaryrefslogtreecommitdiff
path: root/Userland/Applications
AgeCommit message (Collapse)Author
2022-07-12Everywhere: Replace single-char StringView op. arguments with charssin-ack
This prevents us from needing a sv suffix, and potentially reduces the need to run generic code for a single character (as contains, starts_with, ends_with etc. for a char will be just a length and equality check). No functional changes.
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-07-12Everywhere: Split Error::from_string_literal and Error::from_string_viewsin-ack
Error::from_string_literal now takes direct char const*s, while Error::from_string_view does what Error::from_string_literal used to do: taking StringViews. This change will remove the need to insert `sv` after error strings when returning string literal errors once StringView(char const*) is removed. No functional changes.
2022-07-12Everywhere: Explicitly specify the size in StringView constructorssin-ack
This commit moves the length calculations out to be directly on the StringView users. This is an important step towards the goal of removing StringView(char const*), as it moves the responsibility of calculating the size of the string to the user of the StringView (which will prevent naive uses causing OOB access).
2022-07-12Userland: Convert command line arguments to String/StringViewsin-ack
StringView was used where possible. Some utilities still use libc functions which expect null-terminated strings, so String objects were used there instead.
2022-07-11HexEditor: Gray-out null bytesKarol Kosek
This should improve an overall visibility of "meaningful" data. :^)
2022-07-09FileManager: Change PGID of spawned processesLucas CHOLLET
Processes spawned by FileManager (e.g. through double-click) now set their PGID to that of the session leader. It allows the filemanage instance to be killed without propagating the signal to the new process.
2022-07-09Applications: Add a new NetworkSettings applicationMaciej
2022-07-08Kernel: Implement an `axallowed` mount optionTim Schumacher
Similar to `W^X` and `wxallowed`, this allows for anonymous executable mappings.
2022-07-08Userland: Add `/usr/local/sbin` to `PATH` by defaultTim Schumacher
`e2fsprogs` adds its tools there.
2022-07-06FontEditor: Rename FontEditorWidget => FontEditor::MainWidgetthankyouverycool
2022-07-06FontEditor: Hide Widget::set_font() in GlyphEditorWidgetthankyouverycool
We were already doing the same for its getters, and this makes its API more consistent with GlyphMapWidget.
2022-07-06FontEditor: Remove unused headers and member variablesthankyouverycool
2022-07-06FontEditor: Simplify GlyphMapWidget context menu constructionthankyouverycool
2022-07-06FontEditor: Update GML for new layout systemthankyouverycool
This patch removes deprecated GML properties and manual sizing calculations in favor of the new UIDimensions, and registers more widgets in the FontEditor namespace to simplify widget setup.
2022-07-06FontEditor: Convert preview window to GML and propagate its errorsthankyouverycool
2022-07-06FontEditor: Propagate errors when pushing undo commandsthankyouverycool
2022-07-06FontEditor: Normalize GlyphMap selection before creating UndoSelectionthankyouverycool
Fixes bogus indexing crashes when creating new restore states.
2022-07-06FontEditor: Improve error propagation during constructionthankyouverycool
FontEditor now builds its actions, toolbars, models and menus with fallible methods. Widget assignment from GML is now organized in order of use.
2022-07-06AK: Use an enum instead of a bool for String::replace(all_occurences)DexesTTP
This commit has no behavior changes. In particular, this does not fix any of the wrong uses of the previous default parameter (which used to be 'false', meaning "only replace the first occurence in the string"). It simply replaces the default uses by String::replace(..., ReplaceMode::FirstOnly), leaving them incorrect.
2022-07-05Browser+WebContent: Fix inspecting non-visible nodesMacDue
I already fixed the crash from this in #14470, but didn't fully fix the issue. Currently the browser just avoids sending the inspect_dom_node() IPC call for non-visible nodes. The main problem with this is it means the browser keeps displaying the overlay for the previously selected node. This commit fixes the crash in the WebContent side, so the IPC call can still be made and the selection correctly updated.
2022-07-03Browser: Fix crash if clicking on non-visible nodes in the inspectorMacDue
If you attempt to inspect a non-visible dom node it will hit various assertions as things like style have not been computed. With this change attempting to inspect these nodes will simply clear the style and box model tabs.
2022-07-03BrowserSettings: Make content filtering on by defaultMaciej
It was default in Browser but not default in settings, so the checkbox was initially not checked.
2022-07-03BrowserSettings: Make default content filtering flag constexprMaciej
And add s_ prefix per coding style guidelines.
2022-06-30Run: Don't try to set a history selection if history is emptyAndreas Kling
This fixes an assertion on startup when there's no command history.
2022-06-30PixelPaint: Omit file extension in tab/editor titlesLennon Donaghy
This commit removes the file extension in the presented title of images, and fixes an issue with the previous commit wherein "save as" on an image would always append ".pp" as an extension, even when the filename already included this extension.
2022-06-30PixelPaint: Use image title as default filename for "save as"Lennon Donaghy
When creating a new image, a title can be entered. This title was not used when saving the file however, so naming it was pointless, as the title used would be whatever was entered during the first save. This commit makes it so that the default text in the "save as" dialogue is whatever was entered previously when the image was created.
2022-06-30Spreadsheet: Make conditional-formatting condition-list scrollableFrHun
2022-06-30Applications+Games+LibGUI: Fix layout problemsFrHun
2022-06-30ThemeEditor: Fix layout for new layout systemFrHun
2022-06-30Spreadsheet: Use new layout systemFrHun
2022-06-29Terminal: Repair resizingFrHun
Because the content widget gets modified when resizing, the usual way of calculating the min_size won't work for the Terminal window. So the automatic min_size calculation will be disabled for now.
2022-06-29Calender: Add ability to set the time of day for an eventAndrew Dykema
2022-06-28LibGUI+Applications: Use the new layout system in the settings screensFrHun
2022-06-27Help: Use LibWeb to open files via RequestServerLucas CHOLLET
2022-06-27Browser+LibWeb+WebContent: Allow Browser to load local filesLucas CHOLLET
To achieve this goal: - The Browser unveils "/tmp/portal/filesystemaccess" - Pass the page through LoadRequest => ResourceLoader - ResourceLoader requests a file to the FileSystemAccessServer via IPC - OutOfProcessWebView handles it and sends a file descriptor back to the Page.
2022-06-27Browser: Remove GML formatting errors from BrowserSettingsWidget.gmlAndrew Kaster
Regressed in commit 65714554997bacb6fdcc09da0b763defe252b435 This is supposed to be caught by the GML format lint in Azure, but it looks like a :ninjamerge: occured instead :^)
2022-06-26Spreadsheet: Display a detailed view of a cell error on hoverAli Mohammad Pur
With this, Spreadsheet can now show an almost full stack trace for the error (which is infintely better than just the error message).
2022-06-26Spreadsheet: Allow importing sheets into an existing workbookAli Mohammad Pur
2022-06-26Spreadsheet: Throw if lookup value doesn't exist and no default is givenAli Mohammad Pur
And explicitly state which value wasn't found and where in the error.
2022-06-26Spreadsheet: Make it possible to refer to ranges in other sheetsAli Mohammad Pur
Now the range A0:C4 in a sheet named "foo" can be represented as: R`sheet("foo"):A0:C4` This makes it possible to do cross-sheet lookups and more.
2022-06-26Spreadsheet: Prevent OOB access to text editor bufferAli Mohammad Pur
For some reason LibGUI sends two events for each edit, and one of them contains an OOB cursor if a character was deleted. This works around that for now.
2022-06-26Base+Browser+BrowserSettings: Add default page for new tabXexxa
2022-06-26Browser+BrowserSettings: Add preference for new tabXexxa
2022-06-22Terminal+TerminalSettings: Add caret customizationMichaล‚ Lach
2022-06-21PixelPaint: Add level sliders for brightness, contrast and gammaTorstennator
This patch adds a basic dialog to change brightness, contrast and gamma correction for the selected layer.
2022-06-17ThemeEditor: Run gml-formatLinus Groh
2022-06-17DisplaySettings: Use IPC calls instead of current_system_theme helpernetworkException
2022-06-17ThemeEditor: Allow temporarily overriding the system themenetworkException
This patch introduces two new buttons to apply the current theme being edited to the whole system and to reset to the previously selected on disk system theme.
2022-06-17DisplaySettings: Handle an override theme being activenetworkException
This patch updates the "Theme" tab to react to an override theme being set. The preview will reflect the override theme and the combo box will show no selection.