Sergey Bugaev
c00076de82
LibWeb: Update the CSS prefix to -libweb
2020-05-21 14:15:49 +02:00
Andreas Kling
80f43ffc27
LibGUI: Move AbstractTableView::keydown_event() down to TableView
...
We can't really share this stuff with TreeView anyway, since tables
and trees have very different spatial relationships between indexes.
2020-05-21 13:40:52 +02:00
Andreas Kling
9d9a31384e
LibGUI: Allow expand/collapse subtrees in TreeView with Alt+Left/Right
...
This makes TreeView a lot more keyboard friendly.
2020-05-21 13:36:08 +02:00
Andreas Kling
63d98bbd76
LibWeb: Send User-Agent in HTTP requests
...
Coming soon to a Browser Market Share graph near you! :^)
2020-05-21 12:58:57 +02:00
Andreas Kling
897998017a
ProtocolServer: Support request headers
...
You can now pass a dictionary of request headers when starting a new
download in ProtocolServer.
The HTTP and HTTPS protocol will include the headers in their requests.
2020-05-21 12:27:42 +02:00
Andreas Kling
25cfdf3f67
LibWeb: Parse " into '"'
2020-05-21 12:27:08 +02:00
AnotherTest
0751592a18
LibLine: Correctly track the completion start and end
...
To achieve this, the API was tweaked a bit to allow for easier tracking
of completions.
This API change is non-disruptive to any application that does not use
anchored styles.
2020-05-21 10:52:11 +02:00
AnotherTest
5358608a94
Shell: Attach links to completed paths
...
```
ls ./Ter<tab>
```
gets you a link to ./Terminal.ini, right in the prompt.
2020-05-21 01:37:19 +02:00
AnotherTest
88f542dc30
LibLine: Support applying styles to suggestions
...
This commit also adds the concept of "anchored" styles, which are
applied to a specific part of the line, and are tracked to always stay
applied to that specific part.
Inserting text in the middle of an anchored style extends it, and
removing the styled substring causes the style to be removed as well.
2020-05-21 01:37:19 +02:00
Linus Groh
a0f3e3c50e
LibWeb: Add CanvasRenderingContext2D.canvas
2020-05-21 01:24:36 +02:00
Linus Groh
abb33d425e
LibWeb: Let HTMLCanvasElement.getContext() return null for unknown types
...
Currently we would assert. Also make it case sensitive.
2020-05-21 01:24:36 +02:00
AnotherTest
50c0944767
LibHTTP: Handle chunk sizes that start with zeros correctly
...
Apparently that's allowed and the RFC is just unclear about it.
Some servers seem to zero-pad the chunk size for whatever reason, and
previously, we interpreted that as the last chunk.
2020-05-21 01:21:39 +02:00
AnotherTest
7d76299ca9
LibTLS: Do not call on_tls_finished until the client has read app data
2020-05-21 01:21:39 +02:00
Hüseyin ASLITÜRK
ef49309807
Applications: Convert 256 char font to 384 char font
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
8b3bd1a54b
LibGfx: Font, extend fonts to 384 character to support LatinExtendedA
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
840a64e2f9
LibGfx: Painter, extend fonts to 384 character to support LatinExtendedA
...
Replace codepoint variable type from char to u32.
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
8790d6bafc
Base: Extend fonts to 384 character to support LatinExtendedA
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
ec9f1af0fb
Base: Add HTML character escape test document
...
Test page for Turkish and Swedish custom characters.
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
241df7206e
LibWeb: HTML Parser, handle html escaped characters
...
Convert HTML escaped (&#XXX;) characters to string.
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
738235574f
AK: StringUtils, add "convert_to_uint_from_hex" method
...
New method to convert hex string unsigned integer.
2020-05-21 01:19:42 +02:00
Hüseyin ASLITÜRK
9300a8cfe5
LibGUI: FileSystemModel, markdown file icon for .md files.
2020-05-21 01:19:13 +02:00
Hüseyin ASLITÜRK
7aa9cf472b
Base: Add markdown file icon
2020-05-21 01:19:13 +02:00
Andreas Kling
bf9e190533
PixelPaint: Support panning and scaling the image we're working on :^)
...
ImageEditor now supports panning (Ctrl+MiddleMouse) and scaling (Wheel)
the image. This took a lot of unpleasant coordinate math, but now it
actually kinda works and feels awesome! :^)
2020-05-20 22:30:42 +02:00
Andreas Kling
58fa9c6e89
PixelPaint: Rename from PaintBrush :^)
2020-05-20 20:35:35 +02:00
Andreas Kling
ff4eaa12b4
ClipboardHistory: Always place the applet at the same location :^)
2020-05-20 20:24:44 +02:00
Andreas Kling
21cfa9acd4
ResourceGraph: Add a thin frame around the graphs
...
Make the graph widgets into 1px GUI::Frames for a pleasant 90's feel.
2020-05-20 20:22:22 +02:00
Andreas Kling
57b86fd082
Kernel: Fix invalid jump in case RDRAND fails
...
If RDRAND doesn't give us data, we want to try again, not jump to some
low address like 0x80 :^)
2020-05-20 19:54:56 +02:00
Linus Groh
a51adf27bf
Base: Add more characters to Katica10 and CsillaThin7x10
...
£, ×, ÷, Ä, à, á, â, ã, ä, ñ, ò, ó, ô, õ, ù, ú, û, ß
2020-05-20 19:19:16 +02:00
Andreas Kling
b55b26a2bc
Revert "AK: Add InitializerList, an implementation of std::initializer_list"
...
This reverts commit 0a2cab0928
.
2020-05-20 16:24:26 +02:00
Andreas Kling
bded472ec4
Revert "AK+LibC: Move non-placement new/delete into LibC"
...
This reverts commit 2c82347393
.
2020-05-20 16:24:26 +02:00
Andreas Kling
0c5e441a0b
Revert "Kernel: Add implementation of operator new and delete to kmalloc.cpp"
...
This reverts commit 6d0d848720
.
2020-05-20 16:24:26 +02:00
Andreas Kling
21c3045c47
Revert "Kernel: Don't link against libstdc++"
...
This reverts commit bde7bc3472
.
2020-05-20 16:24:26 +02:00
Andreas Kling
67cc7d09a2
Revert "AK: Add AtomicRef, for atomically accesing a reference to a varaible"
...
This reverts commit aff594f1e7
.
2020-05-20 16:24:26 +02:00
Andreas Kling
8876bfc3ac
Revert "AK: Don't demangle in serenity :("
...
This reverts commit 4361a50225
.
2020-05-20 16:24:26 +02:00
Andreas Kling
ef776c1e68
Revert "LibC: Implement Itanium C++ ABI for static variable guards"
...
This reverts commit cdbbe14062
.
2020-05-20 16:24:26 +02:00
Andreas Kling
250c3b363d
Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem"
...
This reverts commit c1eb744ff0
.
2020-05-20 16:24:26 +02:00
Andreas Kling
3d02b23af5
Revert "Toolchain: Don't pre-build LibC and LibM, nor pre-install their headers"
...
This reverts commit 4e051c6c15
.
2020-05-20 16:24:26 +02:00
Andreas Kling
59c3b3b702
Revert "Meta: Restore instructions to create build directory for CMake"
...
This reverts commit 83137f76de
.
2020-05-20 16:24:26 +02:00
Sergey Bugaev
7d8bfe4f3a
Base: Tweak SystemServer.ini
...
Notably, adjust service priorities.
2020-05-20 15:42:48 +02:00
Andreas Kling
81d35c6891
Kernel: Always inline stac(), clac() and SmapDisabler
...
Let's not be paying the function call overhead for these tiny ops.
Maybe there's an argument for having fewer gadgets in the kernel but
for now we're actually seeing stac() in profiles so let's put
that above theoretical security issues.
2020-05-20 14:17:01 +02:00
Andreas Kling
e10183a6c5
AK: Include Platform.h in RefCounted.h so we have ALWAYS_INLINE
...
Otherwise Lagom doesn't build on my host machine.
2020-05-20 14:13:39 +02:00
Sergey Bugaev
746db0bedb
Kernel: Validate access to whole regions
2020-05-20 14:11:13 +02:00
Sergey Bugaev
0dd68a2949
Kernel: Look for a user region first
...
We're far more likely to be looking for a user region than otherwise, so
optimize for that case.
2020-05-20 14:11:13 +02:00
Sergey Bugaev
d2b500fbcb
AK+Kernel: Help the compiler inline a bunch of trivial methods
...
If these methods get inlined, the compiler is able to statically eliminate most
of the assertions. Alas, it doesn't realize this, and believes inlining them to
be too expensive. So give it a strong hint that it's not the case.
This *decreases* the kernel binary size.
2020-05-20 14:11:13 +02:00
Sergey Bugaev
36dcbce161
LibC: Claim some copyright for stdio
...
I've written a large part of the new stdio, so I'm (partly) to blame for it now.
2020-05-20 14:11:13 +02:00
Sergey Bugaev
776275a747
LibC: Handle fgets(size = 0)
...
I accidentally broke this in the recent rewrite. This reinstantiates the
behavior implemented in 6571468525
.
2020-05-20 14:11:13 +02:00
Hüseyin ASLITÜRK
da23514431
Base: Add MessageBox question icon
2020-05-20 13:54:10 +02:00
Hüseyin ASLITÜRK
63539d655c
Demos: WidgetGallery, Add MessageBox question icon option
2020-05-20 13:54:10 +02:00
Hüseyin ASLITÜRK
25227ee284
LibGUI: Add MessageBox question icon
2020-05-20 13:54:10 +02:00
AnotherTest
7fba21aefc
LibLine: Unify completion hooks and adapt its users
...
LibLine should ultimately not care about what a "token" means in the
context of its user, so force the user to split the buffer itself.
This also allows the users to pick up contextual clues as well, since
they have to lex the line themselves.
This commit pacthes Shell and the JS repl to better handle completions,
so certain wrong behaviours are now corrected as well:
- JS repl can now complete "Object . getOw<tab>"
- Shell can now complete "echo | ca<tab>" and paths inside strings
2020-05-20 13:41:37 +02:00