Commit graph

2458 commits

Author SHA1 Message Date
Liav A
2c84466ad8 Kernel/Storage: Introduce new boot device addressing modes
Before of this patch, we supported two methods to address a boot device:
1. Specifying root=/dev/hdXY, where X is a-z letter which corresponds to
a boot device, and Y as number from 1 to 16, to indicate the partition
number, which can be omitted to instruct the kernel to use a raw device
rather than a partition on a raw device.
2. Specifying root=PARTUUID: with a GUID string of a GUID partition. In
case of existing storage device with GPT partitions, this is most likely
the safest option to ensure booting from persistent storage.

While option 2 is more advanced and reliable, the first option has 2
caveats:
1. The string prefix "/dev/hd" doesn't mean anything beside a convention
on Linux installations, that was taken into use in Serenity. In Serenity
we don't mount DevTmpFS before we mount the boot device on /, so the
kernel doesn't really access /dev anyway, so this convention is only a
big misleading relic that can easily make the user to assume we access
/dev early on boot.
2. This convention although resemble the simple linux convention, is
quite limited in specifying a correct boot device across hardware setup
changes, so option 2 was recommended to ensure the system is always
bootable.

With these caveats in mind, this commit tries to fix the problem with
adding more addressing options as well as to remove the first option
being mentioned above of addressing.
To sum it up, there are 4 addressing options:
1. Hardware relative address - Each instance of StorageController is
assigned with a index number relative to the type of hardware it handles
which makes it possible to address storage devices with a prefix of the
commandset ("ata" for ATA, "nvme" for NVMe, "ramdisk" for Plain memory),
and then the number for the parent controller relative hardware index,
another number LUN target_id, and a third number for LUN disk_id.
2. LUN address - Similar to the previous option, but instead we rely on
the parent controller absolute index for the first number.
3. Block device major and minor numbers - by specifying the major and
minor numbers, the kernel can simply try to get the corresponding block
device and use it as the boot device.
4. GUID string, in the same fashion like before, so the user use the
"PARTUUID:" string prefix and add the GUID of the GPT partition.

For the new address modes 1 and 2, the user can choose to also specify a
partition out of the selected boot device. To do that, the user needs to
append the semicolon character and then add the string "partX" where X
is to be changed for the partition number. We start counting from 0, and
therefore the first partition number is 0 and not 1 in the kernel boot
argument.
2022-08-30 00:50:15 +01:00
djwisdom
e388d13c05 Base: Add Box Drawing glyphs to Csilla Regular+Bold12 2022-08-28 20:25:03 +01:00
djwisdom
681490c35c Base: Add new MouseSettings.md help document 2022-08-28 20:24:28 +01:00
djwisdom
88db594691 Base: Add new Mouse.md help document 2022-08-28 20:24:28 +01:00
djwisdom
83dd8f12de Base: Update Terminal's help documentation 2022-08-28 19:48:17 +01:00
crpz1
3d5300a25e Base: Horizontally center socket and remove pixel from CrashReporter 2022-08-28 16:38:57 +01:00
djwisdom
5297c22eaa Base: Add several new emojis
📤 - U+1F4E4 OUTBOX TRAY
📥 - U+1F4E5 INBOX TRAY
📦 - U+1F4E6 PACKAGE
📧 - U+1F4E7 E-MAIL
📨 - U+1F4E8 INCOMING ENVELOPE
📩 - U+1F4E9 ENVELOPE WITH DOWN ARROW
📪 - U+1F4EA CLOSED MAILBOX WITH LOWERED FLAG
📫 - U+1F4EB CLOSED MAILBOX WITH RAISED FLAG
📬 - U+1F4EC OPENED MAILBOX WITH RAISED FLAG
📭 - U+1F4ED OPENED MAILBOX WITH LOWERED FLAG

Coverage: https://emoji.serenityos.net
2022-08-28 16:06:33 +01:00
kleines Filmröllchen
7a2b8d3d65 Base: Add a bunch of heart emoji and others
U+00A9 © COPYRIGHT SIGN
U+00AE ® REGISTERED SIGN
1F192 🆒 SQUARED COOL
1F193 🆓 SQUARED FREE
1F195 🆕 SQUARED NEW
1F493 💓 BEATING HEART
1F495 💕 TWO HEARTS
1F497 💗 GROWING HEART
1F498 💘 HEART WITH ARROW
1F49D 💝 HEART WITH RIBBON
2022-08-28 15:40:37 +01:00
kleines Filmröllchen
8d2823ca8d Base: Add a quote to the fortunes database 2022-08-28 15:39:56 +01:00
Xexxa
8ee1b2d127 Base: Add more emoji
🇱🇷 - U+1F1F1 U+1F1F7 LR Flag: Liberia
🪂 - U+1FA82 Parachute
🏖️ - U+1F3D6 Beach with Umbrella
🏕️ - U+1F3D5 Camping
🥌 - U+1F94C Curling Stone
2022-08-28 13:41:20 +02:00
electrikmilk
5f8def0f71 Base: Add 9 new emojis and improve 13 emojis
This adds 9 new emojis and improves 13 emojis.
2022-08-28 13:41:04 +02:00
Zorby
058ab81c24 Base: Add czech programmers keymap
This is just the en-us keymap with czech characters accessible in
combination with alt-gr, similar to the Czech Programmers Keyboard
in Windows.
2022-08-28 08:06:55 +00:00
Zorby
3c02f54c9c Base: Add czech QWERTZ keymap 2022-08-28 08:06:55 +00:00
Zorby
ea728a2588 Base: Add czech QWERTY keymap 2022-08-28 08:06:55 +00:00
davidot
ba5bcb67a5 LibWeb: Implement the HostEnsureCanAddPrivateElement JS hook
Also added a local test for ensuring this behavior since it is unique to
browsers. Since we don't actually use WindowProxy anywhere yet we just
test on location for now.
2022-08-27 20:33:27 +01:00
Xexxa
0d7b634313 Base: Add more emoji
☃️ - U+2603 Snowman
❄️ - U+2744 Snowflake
💐 - U+1F490 Bouquet
👸 - U+1F478 Princess
🐧 - U+1F427 Penguin
2022-08-25 20:12:20 +01:00
Xexxa
f3be312e7b Base: Improve emoji
🪢 - U+1FAA2 KNOT (the knot was not knotting)
🌲 - U+1F332 Evergreen Tree (adding some shadow)
2022-08-25 20:12:20 +01:00
Xexxa
f488726c82 Base: Add more emoji
 - U+267F Wheelchair Symbol
🪸 - U+1FAB8 Coral
🦐 - U+1F990 Shrimp
🐟 - U+1F41F Fish
🐠 - U+1F420 Tropical Fish
🐡 - U+1F421 Blowfish
🥬 - U+1F96C Leafy Green
🫖 - U+1FAD6 Teapot
🫐 - U+1FAD0 Blueberries
🫘 - U+1FAD8 Beans
🍞 - U+1F35E Bread
🥭 - U+1F96D Mango
🥗 - U+1F957 Green Salad
2022-08-25 16:16:25 +01:00
Xexxa
71b6c896d7 Base: Add more emoji
🖨️ - U+1F5A8 Printer
🛸 - U+1F6F8 Flying Saucer
🥚 - U+1F95A Egg
 - U+26C4 Snowman Without Snow
🐍 - U+1F40D Snake
🇲🇱 - U+1F1F2 U+1F1F1 ML Flag: Mali
🇹🇯 - U+1F1F9 U+1F1EF TJ Flag: Tajikistan
🇯🇲 - U+1F1EF U+1F1F2 JM Flag: Jamaica
🇲🇺 - U+1F1F2 U+1F1FA MU Flag: Mauritius
🇸🇨 - U+1F1F8 U+1F1E8 SC Flag: Seychelles
🇸🇩 - U+1F1F8 U+1F1E9 SD Flag: Sudan
🇷🇼 - U+1F1F7 U+1F1FC RW Flag: Rwanda
🇲🇬 - U+1F1F2 U+1F1EC MG Flag: Madagascar
🇸🇷 - U+1F1F8 U+1F1F7 SR Flag: Suriname
🇸🇳 - U+1F1F8 U+1F1F3 SN Flag: Senegal
🇸🇸 - U+1F1F8 U+1F1F8 SS Flag: South Sudan
🇧🇦 - U+1F1E7 U+1F1E6 BA Flag: Bosnia & Herzegovina
🇷🇪 - U+1F1F7 U+1F1EA RE Flag: Réunion
🇸🇱 - U+1F1F8 U+1F1F1 SL Flag: Sierra Leone
🇦🇴 - U+1F1E6 U+1F1F4 AO Flag: Angola
🇦🇬 - U+1F1E6 U+1F1EC AG Flag: Antigua & Barbuda
🇨🇼 - U+1F1E8 U+1F1FC CW Flag: Curaçao
🇹🇹 - U+1F1F9 U+1F1F9 TT Flag: Trinidad & Tobago
🇳🇷 - U+1F1F3 U+1F1F7 NR Flag: Nauru
2022-08-25 15:07:40 +01:00
martinfalisse
a7f5b6b15b Base: Add display grid test page 2022-08-25 13:47:48 +02:00
MacDue
ffc0f9550d Base: Add the -h/--hide-window option to the Eyes manpage 2022-08-25 13:42:17 +02:00
James Bellamy
352d6545a9 WindowServer+DisplaySettings: Capitalize display mode dropdown
Every other dropdown in settings is capitalized apart from this one.
This commit fixes that.
2022-08-24 12:17:30 +02:00
electrikmilk
b0eabae52e Base: Add more emojis
Adds 16 new emojis, improves 4 emojis, and respectfully adds U+1F595 :^)
2022-08-24 12:16:33 +02:00
electrikmilk
1a9d4ffecf PixelPaint: Add more icons
This adds menu item icons for Add Mask, Flatten Image, Fit Image To
View, and Generic 5x5 Convolution.

This modifies the menu item icon for Swap Colors to make the action more
obvious and improve accessibility.
2022-08-24 12:01:19 +02:00
djwisdom
f3cec9de75 Base: Add five new emojis
 - U+26A1 HIGH VOLTAGE
 - U+26AA WHITE CIRCLE
 - U+26AB BLACK CIRCLE
 - U+26BE BASEBALL
✉ - U+2709 ENVELOPE

Coverage: https://emoji.serenityos.net
2022-08-23 13:27:58 +01:00
Ryan Liptak
b4856a4070 Base: Add 5 new emojis
🌡 - U+1F321 THERMOMETER
🌞 - U+1F31E SUN WITH FACE
 - U+26C5 SUN BEHIND CLOUD
⛈ - U+26C8 CLOUD WITH LIGHTNING AND RAIN
🌪 - U+1F32A TORNADO
2022-08-23 13:27:40 +01:00
electrikmilk
0abe4d8b97 Base: Add More Emojis
This adds 16 emojis, and improves the emoji for Wine Glass.
2022-08-23 09:36:49 +01:00
Xexxa
0d05569257 Base: Add more emoji
🫶🏿 - U+1FAF6 U+1F3FF Heart Hands: Dark Skin Tone
🫶🏾 - U+1FAF6 U+1F3FE Heart Hands: Medium-Dark Skin Tone
🫶🏽 - U+1FAF6 U+1F3FD Heart Hands: Medium Skin Tone
🫶🏼 - U+1FAF6 U+1F3FC Heart Hands: Medium-Light Skin Tone
🫶🏻 - U+1FAF6 U+1F3FB Heart Hands: Light Skin Tone
2022-08-23 06:59:46 +00:00
MacDue
be9d3f9aa4 Base: Add an example linear-gradient with double-position color stops 2022-08-23 01:02:49 +02:00
Sam Atkins
deeef8c412 GamesSettings: Add a setting for the card-back image
And also add a couple of images so there's more than one option. :^)

(My yak silhouette isn't very good, so please replace that, artists!)
2022-08-22 12:50:41 +02:00
Sam Atkins
a01c4c50d1 GamesSettings: Introduce a new GamesSettings application :^)
This currently has exactly one setting: The background colour for card
games. My thinking is, it's better to not have a Settings application
for each individual game we include in the system, since most will only
have a small number of settings, all Settings windows have tabs anyway,
and I don't want to flood the Settings app list unnecessarily.

As for having a single setting for all the card games: it's nice when
things match. :^)
2022-08-22 12:50:41 +02:00
Sam Atkins
0737d217cb Base: Add a 32x32 version of the Games icon 2022-08-22 12:50:41 +02:00
Xexxa
0335829e71 Base: Add more emoji
> #️⃣ - U+23 U+FE0F U+20E3 Keycap Number Sign
*️⃣ - U+2A U+FE0F U+20E3 Keycap Asterisk
0️⃣ - U+30 U+FE0F U+20E3 Keycap Digit Zero
1️⃣ - U+31 U+FE0F U+20E3 Keycap Digit One
2️⃣ - U+32 U+FE0F U+20E3 Keycap Digit Two
3️⃣ - U+33 U+FE0F U+20E3 Keycap Digit Three
4️⃣ - U+34 U+FE0F U+20E3 Keycap Digit Four
5️⃣ - U+35 U+FE0F U+20E3 Keycap Digit Five
6️⃣ - U+36 U+FE0F U+20E3 Keycap Digit Six
7️⃣ - U+37 U+FE0F U+20E3 Keycap Digit Seven
8️⃣ - U+38 U+FE0F U+20E3 Keycap Digit Eight
9️⃣ - U+39 U+FE0F U+20E3 Keycap Digit Nine
🇨🇲 - U+1F1E8 U+1F1F2 CM Cameroon
🇳🇵 - U+1F1F3 U+1F1F5 NP Nepal
🇲🇲 - U+1F1F2 U+1F1F2 MM Myanmar (Burma)
🇧🇧 - U+1F1E7 U+1F1E7 BB Barbados
🇬🇼 - U+1F1EC U+1F1FC GW Guinea-Bissau
🇹🇬 - U+1F1F9 U+1F1EC TG Togo
🇸🇴 - U+1F1F8 U+1F1F4 SO Somalia
🇦🇼 - U+1F1E6 U+1F1FC AW Aruba
💈 - U+1F488 Barber Pole
📯 - U+1F4EF Postal Horn
🥫 - U+1F96B Canned Food
🪓 - U+1FA93 Axe
🧀 - U+1F9C0 Cheese Wedge
 - U+2614 Umbrella with Rain Drops
🧨 - U+1F9E8 Firecracker
⛸️ - U+26F8 U+FE0F Ice Skate
🪧 - U+1FAA7 Placard
🇯🇪 - U+1F1EF U+1F1EA JE Jersey
🪨 - U+1FAA8 Rock
📮 - U+1F4EE Postbox
🇻🇨 - U+1F1FB U+1F1E8 VC St. Vincent & Grenadines
2022-08-22 08:43:06 +01:00
Ryan Liptak
221d9089e9 Meta: Generate emoji.txt at build time from Unicode's emoji-test.txt
Instead of manually updating emoji.txt whenever new emoji are added,
we use Unicode's emoji-test.txt to generate emoji.txt on each build,
including only the emojis that Serenity supports at that time.

By using emoji-test.txt, we can also include all forms of each emoji
(fully-qualified, minimally-qualified, and unqualified) which can be
helpful when double-checking how certain forms are handled.
2022-08-22 08:42:54 +01:00
Ryan Liptak
8f4317e207 Base: Move Serenity-specific emoji from emoji.txt to emoji-serenity.txt 2022-08-22 08:42:54 +01:00
djwisdom
66489ba4ad Base: Update Chillychilly theme use calming background 2022-08-21 10:53:25 +01:00
Ryan Liptak
f64f5e79a8 Base: Fix all emoji filenames according to check-emoji rules 2022-08-20 23:50:41 +01:00
Ryan Liptak
548c23ded3 Base: Add 10 new (mostly weather-related) emojis
☀️ - U+2600 U+FE0F SUN
☁️ - U+2601 U+FE0F CLOUD
🌤️ - U+1F324 U+FE0F SUN BEHIND SMALL CLOUD
🌥️ - U+1F325 U+FE0F SUN BEHIND LARGE CLOUD
🌦️ - U+1F326 U+FE0F SUN BEHIND RAIN CLOUD
🌧️ - U+1F327 U+FE0F CLOUD WITH RAIN
🌨️ - U+1F328 U+FE0F CLOUD WITH SNOW
🌩️ - U+1F329 U+FE0F CLOUD WITH LIGHTNING
💯 - U+1F4AF HUNDRED POINTS
🫧 - U+1FAE7 BUBBLES
2022-08-20 09:11:21 +01:00
djwisdom
037f1ae979 Base: Add new emojis U+1F58A-U1F58D U+1F5DD U+1F5DE U+1F5E1 2022-08-19 10:31:07 +01:00
electrikmilk
1da13b6247 Base: Correct Flag Code Points
This corrects code points for the English, Scottish and Wales flags.
2022-08-19 10:19:09 +01:00
MacDue
d26203ff90 Base: Add some repeating-linear-gradient() examples 2022-08-18 15:58:05 +02:00
djwisdom
77a135491e Base: Add new globe emojis U+1F30D-U+1F30F
🌍 - U+1F30D GLOBE SHOWING EUROPE-AFRICA
🌎 - U+1F30E GLOBE SHOWING AMERICAS
🌏 - U+1F30F GLOBE SHOWING ASIA-AUSTRALIA

Coverage: https://emoji.serenityos.net
2022-08-18 09:59:06 +01:00
Xexxa
d3621ac177 Base: Add more emoji
 - U+2693 ANCHOR
⛓️ - U+26D3 CHAINS
⛰️ - U+26F0 MOUNTAIN
⛱️ - U+26F1 UMBRELLA ON GROUND
🇩🇯 - U+1F1E9 U+1F1EF DJ DJIBOUTI
🌋 - U+1F30B VOLCANO
🌵 - U+1F335 CACTUS
🍹 - U+1F379 TROPICAL DRINK
🎹 - U+1F3B9 MUSICAL KEYBOARD
🏔️ - U+1F3D4 SNOW-CAPPED MOUNTAIN
🐙 - U+1F419 OCTOPUS
💌 - U+1F48C LOVE LETTER
📺 - U+1F4FA TELEVISION
📻 - U+1F4FB RADIO
🕳️ - U+1F573 HOLE
🕶️ - U+1F576 SUNGLASSES
🪀 - U+1FA80 YO-YO
🪢 - U+1FAA2 KNOT
🪤 - U+1FAA4 MOUSE TRAP
🛖 - U+1F6D6 HUT
🛠️ - U+1F6E0 HAMMER AND WRENCH
📷 - U+1F4F7 CAMERA
📸 - U+1F4F8 CAMERA WITH FLASH
🇨🇬 - U+1F1E8 U+1F1EC CG Congo - Brazzaville
🇪🇦 - U+1F1EA U+1F1E6 EA Ceuta & Melilla
🇪🇭 - U+1F1EA U+1F1ED EH Western Sahara
🇬🇫 - U+1F1EC U+1F1EB GF French Guiana
🇬🇬 - U+1F1EC U+1F1EC GG Guernsey
🇬🇹 - U+1F1EC U+1F1F9 GT Guatemala
🇯🇴 - U+1F1EF U+1F1F4 JO Jordan
🇳🇫 - U+1F1F3 U+1F1EB NF Norfolk Island
2022-08-17 14:06:03 +01:00
Xexxa
cf6a564be9 Base: Replace emoji U+1F47D.png with U+1F470.png, remove U+1F470.png 2022-08-17 14:06:03 +01:00
Xexxa
54b98d9841 Base: Adjust transparency for emoji U+1F1EA_U+1F1EC.png 2022-08-17 14:06:03 +01:00
Ryan Liptak
2ea61185e7 Base: Add 6 new emojis
✌️ - U+270C U+FE0F VICTORY HAND
👌 - U+1F44C OK HAND
💀 - U+1F480 SKULL
📈 - U+1F4C8 CHART INCREASING
📉 - U+1F4C9 CHART DECREASING
🫶 - U+1FAF6 HEART HANDS
2022-08-17 11:29:01 +01:00
djwisdom
ac6fb84082 Base: Add new emojis U+1F311-U+1F31A U+1F31D
🌑 - U+1F311 NEW MOON
🌒 - U+1F312 WAXING CRESCENT MOON
🌓 - U+1F313 FIRST QUARTER MOON
🌔 - U+1F314 WAXING GIBBOUS MOON
🌕 - U+1F315 FULL MOON
🌖 - U+1F316 WANING GIBBOUS MOON
🌗 - U+1F317 LAST QUARTER MOON
🌘 - U+1F318 WANING CRESCENT MOON
🌙 - U+1F319 CRESCENT MOON
🌚 - U+1F31A NEW MOON FACE
🌝 - U+1F31D FULL MOON FACE

Coverage: https://emoji.serenityos.net
2022-08-17 11:09:43 +01:00
Ryan Liptak
64543c3667 Base: Add 16 new hand emojis
✍️ - U+270D U+FE0F WRITING HAND
👆 - U+1F446 BACKHAND INDEX POINTING UP
👇 - U+1F447 BACKHAND INDEX POINTING DOWN
👈 - U+1F448 BACKHAND INDEX POINTING LEFT
👉 - U+1F449 BACKHAND INDEX POINTING RIGHT
👋 - U+1F44B WAVING HAND
👏 - U+1F44F CLAPPING HANDS
🖐️ - U+1F590 HAND WITH FINGERS SPLAYED
🤏 - U+1F90F PINCHING HAND
🤙 - U+1F919 CALL ME HAND
🤚 - U+1F91A RAISED BACK OF HAND
🤝 - U+1F91D HANDSHAKE
🫱 - U+1FAF1 RIGHTWARDS HAND
🫲 - U+1FAF2 LEFTWARDS HAND
🫳 - U+1FAF3 PALM DOWN HAND
🫴 - U+1FAF4 PALM UP HAND
2022-08-17 09:02:13 +01:00
Ryan Liptak
b89cd4215e Base: Add 10 new emojis
☹️ - U+2639 U+FE0F FROWNING FACE
☺️ - U+263A U+FE0F SMILING FACE
🤡 - U+1F921 CLOWN FACE
🥹 - U+1F979 FACE HOLDING BACK TEARS
🫠 - U+1FAE0 MELTING FACE
🫡 - U+1FAE1 SALUTING FACE
🫢 - U+1FAE2 FACE WITH OPEN EYES AND HAND OVER MOUTH
🫣 - U+1FAE3 FACE WITH PEEKING EYE
🫤 - U+1FAE4 FACE WITH DIAGONAL MOUTH
🫥 - U+1FAE5 DOTTED LINE FACE
2022-08-16 23:09:49 +01:00
Ryan Liptak
2eda84c56e Base: Update tongue color of emoji U+1F923 to match others 2022-08-16 23:09:49 +01:00