summaryrefslogtreecommitdiff
path: root/Userland/Applications/CharacterMap
AgeCommit message (Collapse)Author
2022-12-06Everywhere: Rename to_{string => deprecated_string}() where applicableLinus Groh
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-19LibGUI+Applications: Allow GlyphMapWidget's set_font() to failthankyouverycool
And TRY early during initialization in FontEditor to leave the app in a valid state on error. Fixes OOM crashes when cloning the original font for highlight modifications.
2022-11-01Everywhere: Mark dependencies of most targets as PRIVATETim Schumacher
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
2022-10-25Userland: Let applications make use of make_command_palette_action()demostanis
2022-10-12Userland: Properly populate GENERATED_SOURCESAli Mohammad Pur
We previously put the generated headers in SOURCES, which did not mark them as GENERATED (and did not produce a proper dependency). This commit moves all generated headers into GENERATED_SOURCES, and removes useless header SOURCES.
2022-09-29AK+Everywhere: Replace "protocol" with "scheme" url helpersnetworkException
URL had properly named replacements for protocol(), set_protocol() and create_with_file_protocol() already. This patch removes these function and updates all call sites to use the functions named according to the specification. See https://url.spec.whatwg.org/#concept-url-scheme
2022-09-11CharacterMap: Allow resizing the unicode block listnetworkException
Previously we would constrain the unicode block list to a width of 175, causing it to stick to the splitter when manually resizing. This patch allows resizing the list properly while retaining the new width when resizing the window.
2022-09-05LibUnicode+Userland: Migrate generated CLDR data to LibLocaleDataTimothy Flynn
Currently, LibUnicodeData contains the generated UCD and CLDR data. Move the UCD data to the main LibUnicode library, and rename LibUnicodeData to LibLocaleData. This is another prepatory change to migrate to LibLocale.
2022-08-25Applications: Use modeless windows in some appsthankyouverycool
Browser, Spreadsheet and Charactermap now open child windows modelessly.
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-06-30Applications+Games+LibGUI: Fix layout problemsFrHun
2022-05-26CharacterMap: Mark this component as 'recommended', not 'required'Karol Kosek
Despite being a small and useful program, it doesn't feel being essential enough to be included in every build configuration.
2022-05-13LibGUI+Userland: Make Dialog::ExecResult an enum classSam Atkins
2022-04-09LibGfx: Move other font-related files to LibGfx/Font/Simon Wanner
2022-03-04CharacterMap+FontEditor: Switch current Unicode block on arrow pressKarol Kosek
2022-03-04CharacterMap: Go to character on arrow press in Search windowKarol Kosek
2022-03-04CharacterMap: Move search selection on arrow press in the search textboxKarol Kosek
2022-02-23LibGUI+Apps: Let Splitters select which resizee to set fixedthankyouverycool
This gives Splitters more versatility when the right resizee is intended to remain fixed or be toggled on and off.
2022-02-15Applications: Run gml-formatIdan Horowitz
2022-02-15CharacterMap: Add a ListView to sort glyphs by their Unicode blockthankyouverycool
2022-02-14Applications: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-13Userland: Run gml-formatIdan Horowitz
This brings the existing GML files up to spec with the new requirements
2022-02-11LibConfig: Rename pledge_domains(String) => pledge_domain(String)Vitaly Dyachkov
pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here.
2022-02-07Meta+Userland: Run the GML formatter on CI and pre-commitkleines Filmröllchen
Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
2022-02-01LibGfx+Applications: Add human readable name helper for fontsthankyouverycool
This returns a more comprehensible name than raw weight and slope metrics and is intended for use in UIs. Now displays human readable font names in FontSettings, TerminalSettings and CharacterMap.
2022-01-28CharacterMap: Move display name strings into the search results objectTimothy Flynn
Now that we're passing the display name directly to the search results structure, let's move() the string instead of copying it.
2022-01-28CharacterMap: Change the search widget to display results in a TableViewTimothy Flynn
Code points that have a bidirectional attribute of right-to-left (e.g. some Arabic and Hebrew code points) were causing the code point to render at the end of the search result, rather than the beginning. To keep the results consistent, split the search results into two columns: the first for the code point, the second for its name.
2022-01-16CharacterMap+Base: Give Character Map an iconSam Atkins
2022-01-16CharacterMap+Base: Add man page for Character Map :^)Sam Atkins
2022-01-16CharacterMap: Add a find-by-name windowSam Atkins
This works the same way as the command-line usage, searching against the display name as provided by LibUnicode. I've modified the search loop to cover every possible unicode code-point, since my previous logic was flawed. Code-points are not dense, there are gaps, so simply iterating up to the count of them will skip ones with higher values. Surprisingly, iterating all 1,114,112 of them still runs in a third of a second. Computers are fast!
2022-01-16CharacterMap: Add previous, next, and go-to glyph buttonsSam Atkins
These work the same as in FontEditor, where I shamelessly stole them from. :^)
2022-01-16CharacterMap: Add output box for copying arbitrary character sequencesSam Atkins
This adds a TextBox along the bottom of the window. Double-clicking on a character will append it to this box, which you can edit as any other TextBox, or click the copy button to copy the output to the clipboard.
2022-01-16CharacterMap: Add new Character Map application :^)Sam Atkins