Sam Atkins
5fbcda950b
Documentation: Add missing step when creating a new IDL type
...
If you use your new IDL class as a type in an IDL file without doing
this, you'll get confusing error messages.
2022-08-14 11:30:40 +02:00
Sam Atkins
9075dea3a8
Base: Add a test page for Path2D
...
Neither of the tests here actually passes properly right now. It's a
little more aspirational...
In the first one, the circle draws in the wrong place due apparently to
existing bugs in `CanvasRenderingContext2D::ellipse()`.
In the second, I just haven't yet implemented creating a Path2D from an
SVG path string, because that's going to take a fair bit of untangling
first.
2022-08-14 11:30:40 +02:00
Sam Atkins
6644f3ab44
LibWeb: Teach CRC2D to draw Path2Ds :^)
2022-08-14 11:30:40 +02:00
Sam Atkins
389f1ee6f5
LibGfx: Add method for copying a Path with a transform applied
...
The Web's CanvasRenderingContext2D needs a way to draw a path with a
transform applied to it, without modifying the original path, so here
it is. :^)
2022-08-14 11:30:40 +02:00
Sam Atkins
2ec52bbbd5
LibWeb: Implement Path2D class
2022-08-14 11:30:40 +02:00
Sam Atkins
a37ab7b9f8
LibWeb: Extract CanvasPath class from CRC2D
...
This better matches the spec, and makes it possible for things like
Path2D to reuse the same implementation without duplicate code. :^)
2022-08-14 11:30:40 +02:00
Sam Atkins
8fd83b56d5
LibWeb: Use "unrestricted float/double" where we should in IDL
2022-08-14 11:30:40 +02:00
Sam Atkins
504d221e4a
LibWeb: Allow "unrestricted" floats and doubles in IDL
...
For now, we don't treat them any differently from regular floats and
doubles.
2022-08-14 11:30:40 +02:00
martinfalisse
eef0edae7a
Base: Clean up Clip test page after absolutely positioned divs fix
...
Clean up the Clip test page after adding the logic necessary so that
absolutely positioned divs are correctly positioned.
2022-08-14 11:22:52 +02:00
martinfalisse
872b6369c4
LibWeb: Use parent and sibling positions for absolutely positioned div
...
If absolutely positioned divs do not have a fixed position, then their
position must be calculated based off of the position of their parent
and their siblings.
2022-08-14 11:22:52 +02:00
martinfalisse
65e7126c48
LibWeb: Factor out compute_y_position
...
Factor out the code that computes the vertical position of a Box with
respect to its siblings so that it can be used when computing the
absolutely positioned divs as well.
2022-08-14 11:22:52 +02:00
Filiph Sandström
99ae4fa161
Kernel: Move TrapFrame into its own header on aarch64
2022-08-14 09:44:48 +01:00
Filiph Sandström
4aaf38e4f7
Kernel: Stub Spinlock is_locked
on aarch64
2022-08-14 09:44:48 +01:00
cflip
0822bf5580
FileManager: Add 'Set as Desktop Wallpaper' action to file context menu
2022-08-14 09:44:08 +01:00
David Smith
ac034bdf7d
LibGUI: Avoid too large tooltip when switching to shorter text
...
The tooltip window didn't resize when setting a shorter text, or moving
to a widget with shorter text, so it had extra space on the sides.
Fix by allowing the window to resize without obeying the minimum size
of the (previous) tooltip.
2022-08-14 09:39:30 +01:00
Andreas Kling
2121760700
WorkspacePicker: Allow opening workspace settings via a context menu
...
Previously you had to open Display Settings and navigate to the
"Workspaces" tab in order to edit workspace settings. This patch adds a
context menu shortcut to the same place.
2022-08-14 02:28:25 +02:00
Liav A
c3eaa73113
Kernel/Storage: Remove InterfaceType enum
...
This enum was created to help put distinction between the commandset and
the interface type, as ATAPI devices are simply ATA devices utilizing
the SCSI commandset. Because we don't support ATAPI, putting such type
of distinction is pointless, so let's remove this for now.
2022-08-14 01:09:03 +01:00
Liav A
c85f81bc9d
Utilities/lsblk: Remove Interface Type column
...
We are going to remove this slice of data from the SysFS later on, so
lsblk must not try to read it.
2022-08-14 01:09:03 +01:00
Liav A
423dc71cc8
Kernel/Storage: Remove the stale ATAPIDiscDevice class
...
We don't really support ATAPI (SCSI packets over ATA channels) and it's
uncertain if we ever will support such type of media. For this reason,
there's basically no reason to keep this code.
If we ever introduce ATAPI support into the Kernel, we can simply put
this back into the codebase.
2022-08-14 01:09:03 +01:00
Liav A
1102089f9f
Kernel/Storage: Don't hardcode a maximum of 16 partitions per drive
...
In the near future, we will be able to figure out connections between
storage devices and their partitions, so there's no need to hardcode 16
partitions per storage device - each storage device should be able to
have "infinite" count of partitions in it, and we should be able to use
and figure out about them.
2022-08-14 01:09:03 +01:00
Liav A
cb68619b7f
Kernel/Storage: Safely increment the Controller atomic ID counter
2022-08-14 01:09:03 +01:00
Liav A
0d6315dcc8
Kernel/Storage: Safely increment the Device atomic minor number
2022-08-14 01:09:03 +01:00
Liav A
d4bfb479fd
Kernel/Commandline: Remove a remainder of the removed boot_mode flag
2022-08-14 01:03:23 +01:00
Liav A
6164729d06
Everywhere: Get rid of the fbdev kernel boot argument remainders
2022-08-14 01:03:23 +01:00
electrikmilk
a5cef2c41a
Base: Add Icon for Partition Editor
...
This adds a 16x16 and 32x32 icon that is missing for the Partition
Editor.
2022-08-14 00:52:56 +01:00
Linus Groh
849495915b
LibJS: Make Function.prototype a callable function object
...
20.2.3 Properties of the Function Prototype Object
https://tc39.es/ecma262/#sec-properties-of-the-function-prototype-object
The Function prototype object:
- is itself a built-in function object.
2022-08-14 00:44:27 +01:00
Sam Atkins
913412e0c5
Browser+Base: Allow opening multiple URLs at once from command line
...
This lets you run `br example.com wikipedia.org some/local/file.html` in
one go and have them all opened as tabs.
2022-08-13 23:32:52 +02:00
Lucas CHOLLET
9df81e20d7
ThemeEditor: Use FileSystemAccessServer
instead of unveiling files
2022-08-13 21:04:06 +01:00
Federico Guerinoni
8753dc72e8
HackStudio: Fix update modified document on tab widget
...
Closes #14297
2022-08-13 16:43:18 +01:00
cflip
272917de28
PixelPaint: Allow configuration of default image size through GUI
...
This adds a checkbox to the new image dialog that allows the user to
set the default values without needing to manually edit the config file
2022-08-13 09:10:29 +01:00
Hendiadyoin1
e62e01ccec
Base: Add a quote to the fortunes database
2022-08-13 09:09:28 +01:00
Xexxa
5b7736f5c4
Base: Add more emoji
...
🇮🇩 - U+1F1EE_U+1F1E9 ID Indonesia
🇲🇫 - U+1F1F2_U+1F1EB MF St. Martin
🇺🇲 - U+1F1FA_U+1F1F2 UM U.S. Outlying Islands
🅰️ - U+1F170 A BUTTON (BLOOD TYPE)
🅱️ - U+1F171 B BUTTON (BLOOD TYPE)
🅾️ - U+1F17E O BUTTON (BLOOD TYPE)
🅿️ - U+1F17F P BUTTON
🆎 - U+1F18E AB BUTTON (BLOOD TYPE)
🆑 - U+1F191 CL BUTTON
🆔 - U+1F194 ID BUTTON
🆖 - U+1F196 NG BUTTON
🆗 - U+1F197 OK BUTTON
🆘 - U+1F198 SOS BUTTON
🆙 - U+1F199 UP! BUTTON
🆚 - U+1F19A VS BUTTON
🈁 - U+1F201 JAPANESE “HERE” BUTTON
🈂️ - U+1F202 JAPANESE “SERVICE CHARGE” BUTTON
🈳 - U+1F233 JAPANESE “VACANCY” BUTTON
🈴 - U+1F234 JAPANESE “PASSING GRADE” BUTTON
🈶 - U+1F236 JAPANESE “NOT FREE OF CHARGE” BUTTON
🈷️ - U+1F237 JAPANESE “MONTHLY AMOUNT” BUTTON
🈸 - U+1F238 JAPANESE “APPLICATION” BUTTON
🉑 - U+1F251 JAPANESE “ACCEPTABLE” BUTTON
🌱 - U+1F331 SEEDLING
📊 - U+1F4CA BAR CHART
🕐 - U+1F550 ONE O’CLOCK
🕑 - U+1F551 TWO O’CLOCK
🕒 - U+1F552 THREE O’CLOCK
🕓 - U+1F553 FOUR O’CLOCK
🕔 - U+1F554 FIVE O’CLOCK
🕕 - U+1F555 SIX O’CLOCK
🕖 - U+1F556 SEVEN O’CLOCK
🕗 - U+1F557 EIGHT O’CLOCK
🕘 - U+1F558 NINE O’CLOCK
🕙 - U+1F559 TEN O’CLOCK
🕚 - U+1F55A ELEVEN O’CLOCK
🕛 - U+1F55B TWELVE O’CLOCK
🕜 - U+1F55C ONE-THIRTY
🕝 - U+1F55D TWO-THIRTY
🕞 - U+1F55E THREE-THIRTY
🕟 - U+1F55F FOUR-THIRTY
🕠 - U+1F560 FIVE-THIRTY
🕡 - U+1F561 SIX-THIRTY
🕢 - U+1F562 SEVEN-THIRTY
🕣 - U+1F563 EIGHT-THIRTY
🕤 - U+1F564 NINE-THIRTY
🕥 - U+1F565 TEN-THIRTY
🕦 - U+1F566 ELEVEN-THIRTY
🕧 - U+1F567 TWELVE-THIRTY
🪜 - U+1FA9C LADDER
2022-08-13 08:10:51 +01:00
Kristiyan Stoimenov
9e1bea50ee
Kernel/VFS: Check that mount-point is not in use
...
Before committing the mount, verify that this host i-node is not already
a mount-point.
2022-08-12 19:57:18 -07:00
Tim Schumacher
7e245b74f1
Ports: Remove two getprogname patches that are no longer needed
2022-08-12 19:51:45 -07:00
Beckett Normington
2e0ed98bc5
Base: Add seven new emoji
...
This commit adds seven more emojis to the system.
🌈 - U+1F308 RAINBOW
🌲 - U+1F332 EVERGREEN TREE
🔺 - U+1F53A UP-POINTING RED TRIANGLE
🔻 - U+1F53B DOWN-POINTING RED TRIANGLE
🚥 - U+1F6A5 HORIZONTAL TRAFFIC LIGHT
🚦 - U+1F6A6 VERTICAL TRAFFIC LIGHT
🇨🇮 - U+1F1E8 U+1F1EE CI Côte d'Ivoire
2022-08-12 12:48:07 +01:00
Liav A
488f22941b
SystemMonitor: Remove GML references to the deleted Hardware tab
2022-08-12 12:24:40 +02:00
MacDue
c5d1cf7a5a
Base: Add some more linear-gradient()
transition hint demos
...
This adds a demo of making a 'rainbow' with hard edges using
transition hints, along with an animated demo of moving the
transition hint.
2022-08-12 12:24:15 +02:00
MacDue
b205cf967d
LibWeb: Implement linear-gradient()
transition hints
...
These allow you to specify the point were the gradient transitions
from one color to the next (without a transition hint the transition
occurs at the point 50% of the way between the two colors).
There is a little bit of guesswork in this implementation as the
specification left out how hints work with the color stop fixup,
though it appears that they are treated the same as color stops.
2022-08-12 12:24:15 +02:00
MacDue
4f83b70c7f
Base: Remove modifications from fancy progress bar demo
...
This restores the demo to being the same as on css-tricks.com.
2022-08-12 12:24:15 +02:00
Xexxa
18258a53c6
Base: Add more emoji
...
🌭 - U+1F32D HOT DOG
🌮 - U+1F32E TACO
🌯 - U+1F32F BURRITO
🌴 - U+1F334 PALM TREE
🍟 - U+1F35F FRENCH FRIES
🍪 - U+1F36A COOKIE
🍳 - U+1F373 COOKING
🏜️ - U+1F3DC DESERT
🏝️ - U+1F3DD DESERT ISLAND
💾 - U+1F4BE FLOPPY DISK
🥦 - U+1F966 BROCCOLI
🧱 - U+1F9F1 BRICK
🪑 - U+1FA91 CHAIR
🪵 - U+1FAB5 WOOD
🫑 - U+1FAD1 BELL PEPPER
🫒 - U+1FAD2 OLIVE
⭐ - U+2B50 STAR
2022-08-12 11:18:22 +01:00
djwisdom
7a91105270
Ports: Update serenity-theming use latest commit 018356b
...
Improve theming support include color-palettes, wallpapers and
terminal-colors folders
2022-08-12 01:04:15 -04:00
Xexxa
5099f1da2a
Base: Add more emoji
...
🗽 - U+1F5FD STATUE OF LIBERTY
🌛 - U+1F31B FIRST QUARTER MOON FACE
🕊 - U+1F54A DOVE
✋ - U+270B RAISED HAND
🍔 - U+1F354 HAMBURGER
⛽ - U+26FD FUEL PUMP
🌜 - U+1F31C LAST QUARTER MOON FACE
💣 - U+1F4A3 BOMB
🤖 - U+1F916 ROBOT
👽 - U+1F47D ALIEN
🧲 - U+1F9F2 MAGNET
🕯 - U+1F56F CANDLE
🛡 - U+1F6E1 SHIELD
🍍 - U+1F34D PINEAPPLE
🍓 - U+1F353 STRAWBERRY
📌 - U+1F4CC PUSHPIN
📍 - U+1F4CD ROUND PUSHPIN
🇦🇪 - U+1F1E6 U+1F1EA AE United Arab Emirates
🇧🇻 - U+1F1E7 U+1F1FB BV BOUVET ISLAND
🇧🇮 - U+1F1E7 U+1F1EE BI Burundi
🇨🇵 - U+1F1E8 U+1F1F5 CP Clipperton Island
🇨🇷 - U+1F1E8 U+1F1F7 CR Costa Rica
🇨🇺 - U+1F1E8 U+1F1FA CU Cuba
🇩🇴 - U+1F1E9 U+1F1F4 DO Dominican Republic
🇰🇳 - U+1F1F0 U+1F1F3 KN St. Kitts & Nevis
🇱🇦 - U+1F1F1 U+1F1E6 LA Laos
🇱🇧 - U+1F1F1 U+1F1E7 LB Lebanon
🇵🇦 - U+1F1F5 U+1F1E6 PA Panama
🇵🇼 - U+1F1F5 U+1F1FC PW Palau
🇸🇯 - U+1F1F8 U+1F1EF SJ SVALBARD & JAN MAYEN
🇸🇹 - U+1F1F8 U+1F1F9 ST São Tomé & Príncipe
🇸🇾 - U+1F1F8 U+1F1FE SY Syria
🐱 🐶 - U+1F431 U+200D U+1F436 CATDOG FACE
2022-08-11 21:23:24 +01:00
djwisdom
37c5fd42ae
Base: Add new emojis U+1FA71-73,U+1FA79
...
First time emoji contribution using mostly PixelPaint
https://unicode.org/charts/PDF/U1FA70.pdf
U+1FA71 - ONE-PIECE SWIMSUIT
U+1FA72 - BRIEFS
U+1FA73 - SHORTS
U+1FA79 - ADHESIVE BANDAGE
2022-08-11 20:43:53 +01:00
Beckett Normington
bf53c47fd7
Base: Add a few fun emojis
...
This commit adds a few useful emojis to the system.
🍎 - U+1F34E RED APPLE
🍏 - U+1F34E GREEN APPLE
🍐 - U+1F350 PEAR
🍷 - U+1F377 WINE GLASS
💖 - U+1F496 SPARKLING HEART
☕ - U+2615 HOT BEVERAGE
✨ - U+2728 SPARKLES
2022-08-11 20:43:17 +01:00
Timothy Flynn
d54e3a1cc0
LibTimeZone: Update to TZDB version 2022b
...
https://mm.icann.org/pipermail/tz-announce/2022-August/000071.html
2022-08-11 15:13:11 -04:00
Ali Mohammad Pur
c90cf67dc6
Shell: Avoid StringView OOB access in Formatter ctor
2022-08-11 14:12:55 +00:00
Ali Mohammad Pur
bbce061a61
Shell: Stop printing 'sh -c' commands
...
That's getting too spammy and too useless.
2022-08-11 14:12:55 +00:00
Filiph Sandström
c14047034b
Kernel: Remove leftover reference to prekernel on aarch64
...
This commit essentially just renames `init_prekernel_page_tables` to
`init_page_tables`.
2022-08-10 15:20:56 -04:00
MacDue
1473842b56
LibWeb: Follow image-rendering
when painting image style values
2022-08-10 19:39:07 +02:00
Brian Gianforcaro
22f7e800d2
Kernel: Fix a typo and a grammar issue in code comments
2022-08-10 11:38:18 -04:00