1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-13 10:02:08 +00:00
Commit graph

40024 commits

Author SHA1 Message Date
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
Brian Gianforcaro
09d5360be3 Kernel: Validate the sys$alarm signal send always succeeds
Previously we were ignoring this return code, instead use MUST(..)
to make sure it always succeeds.
2022-08-10 11:38:18 -04:00
Brian Gianforcaro
00936e151e Kernel: Make failure to write coredump or perfcore a regular dmesg
This does not need to be a critical dmesg, as the system stays up
it makes more sense for it to be a normal dmesg message.

Luke mentioned this on discord, they really deserve the credit :^)

Reported-by: Luke Wilde <lukew@serenityos.org>
2022-08-10 11:38:18 -04:00
Junior Rantila
9c42a75381 HackStudio: Add fullscreen shortcut 2022-08-10 08:42:53 +01:00
Junior Rantila
d40b0439d8 Terminal: Propagate more errors 2022-08-09 20:09:33 -04:00
Timothy Flynn
407a88ebf6 CI: Enable downloading the Azure remote data cache for Fuzzer builds
This cache was disabled in 3127454 because it wasn't needed and there
was a race between the builders for this cache. Then commit 0c95d99
started fuzzing the generated Unicode / TZDB data. Since then, we've
been pulling this data from the live servers instead of Azure's cache.
2022-08-09 20:06:34 -04:00
Timothy Flynn
5c0f1d5b8a CI: Add a restoration key for Azure's remote data caches
We do a similar trick for the compiler cache. This allows each builder
to separately push their local data cache (if it changed) while pulling
a shared cache, without the race outlined in commit 3127454. This is
needed for a subsequent commit which will enable this cache for Fuzzer
builds.
2022-08-09 20:06:34 -04:00
Brian Gianforcaro
2d06f6399f Kernel: Fix SMP deadlock in MM::allocate_contiguous_physical_pages
This deadlock was introduced with the creation of this API. The lock
order is such that we always need to take the page directory lock
before we ever take the MM lock.

This function violated that, as both Region creation and region
destruction require the pd and mm locks, but with the mm lock
already acquired we deadlocked with SMP mode enabled while other
threads were allocating regions.

With this change SMP boots to the desktop successfully for me,
(and then subsequently has other issues). :^)
2022-08-09 12:09:59 +02:00
thankyouverycool
d11ce1d808 WindowServer: Let WindowManager set serverside effects
Menu and Window animations can now be disabled and the geometry
overlay made conditional. Shadow options are dependent on the
current theme actually supplying bitmaps, but they provide a fast
way to toggle those that do without having to edit theme files.
2022-08-09 12:08:21 +02:00
thankyouverycool
5917545633 LibGUI+LibGfx: Let Desktop::the() set widget effects
Scrolling can now be set Coarse or Smooth system-wide, Splitter
knurls and Tab accents toggled on and off, and Menu flashing
disabled.
2022-08-09 12:08:21 +02:00
thankyouverycool
1d445356b6 DisplaySettings: Add an Effects tab
Effects tab provides the UI for setting SystemEffects.
DisplaySettings is getting a bit crowded and might need a re-org
at some point, but this seems like a good home for effects while
the settings mature.
2022-08-09 12:08:21 +02:00
thankyouverycool
8b5280b5dd Base: Add icons for animation and theming options 2022-08-09 12:08:21 +02:00
thankyouverycool
841d06f676 LibGUI+WindowServer: Create IPC calls for passing SystemEffects
SystemEffects are sent to the WindowManager through
set_system_effects() and broadcast to Desktop clients with
update_system_effects(). WindowManager is reponsible for saving,
loading and rebroadcasting effects from WindowServer.ini on
config changes.
2022-08-09 12:08:21 +02:00
thankyouverycool
e2318dffe3 LibGUI: Let Desktop:the() manage SystemEffects inside LibGUI
These settings might well ultimately be factored into a dedicated
settings manager, but until then, a charitable interpretation of
Desktop::the() as the desktop environment will suffice.
2022-08-09 12:08:21 +02:00
thankyouverycool
8904a61d71 LibGUI+WindowServer: Add a SystemEffects wrapper and helpers
SystemEffects provides a tidy way to work with system-wide
visual options passed through IPC.
2022-08-09 12:08:21 +02:00
Karol Kosek
9d7345d17b Chess: Import/Export chessboards using LibFileSystemAccessClient
With this change, the wpath and cpath promises as well as unveiling
user's entire home directory are no longer needed. :^)
2022-08-08 22:03:30 -04:00
MacDue
613feb1854 Base: Replace linear-gradient() pattern demo with cooler one
The previous demo didn't work that well, not due to any LibWeb
issue (same in other browsers), it just was a broken demo.

This demo shows the neat tricks you can do with linear-gradient()s
much better.
2022-08-08 21:56:08 -04:00
Matthew B. Jones
79a5a1c209 LibGUI: Correct cursor index during mouseup_event
Previously, during a m_might_drag mouse_up event, we were updating
the selection directly, which caused the selection to be accurate
but the location of the cursor index to be stale/incorrect. The
side effect of this is then future events may point to the wrong
index.

Instead, call the set_cursor function with SelectionUpdate::Set,
which handles both updating the cursor index as well as the
selection index.
2022-08-08 16:41:36 -04:00
MacDue
ff6f56ef7a Base: Add linear-gradient + background-size demo 2022-08-08 22:39:06 +02:00
MacDue
4b9c0aac7a Base: Add linear-gradient list-marker demo 2022-08-08 22:39:06 +02:00
MacDue
da79883b60 Base: Add the styled progress bar demo from css-tricks.com
See: https://css-tricks.com/html5-progress-element/ this is a neat
demo of a pure CSS progress bar that makes use of linear-gradients,
background-repeat, and background-size. All of which now work :^)
2022-08-08 22:39:06 +02:00
MacDue
d0511ec650 LibWeb: Avoid painting background-images under opaque borders
Without this the background-image can be painted up to 8 extra
times, that contribute nothing to the final image.
2022-08-08 22:39:06 +02:00
MacDue
6a6475673f LibWeb: Convert images to common AbstractImageStyleValue base
This commit moves both the ImageStyleValue and LinearGradientStyleValue
to a common base class of AbstractImageStyleValue. This abstracts
getting the natural_width/height, loading/resolving, and painting
the image.

Now for 'free' you get:

 - Linear gradients working with the various background sizing/repeat
   properties.
 - Linear gradients working as list-markers :^) -- best feature ever!

P.s. This commit is a little large as it's tricky to make this change
incrementally without breaking things.
2022-08-08 22:39:06 +02:00
MacDue
264543b90a LibGfx: Add Size<T>::to_rounded<I>()
Currently this is only specialized for rounding to integer types.
2022-08-08 22:39:06 +02:00
Riyyi
77f0a66d2f Documentation: Add clang-format variant to EmacsConfiguration.md
Add a variant of auto formatting using clang-format that doesn't use
additional packages. It works by adding a buffer-local hook to
`'before-save` for all C++ project files.
2022-08-08 16:36:23 -04:00
demostanis
6744402dbf Base: Replace getopt with getopt_long in man page 2022-08-08 16:35:28 -04:00
MacDue
361fc56632 LibWeb: Don't allow mixed commas/no commas in rect() css values
This fixes the clip-rect-comma-002, clip-rect-comma-003, and
clip-rect-comma-004 web platform tests.
2022-08-08 14:03:29 +02:00
MacDue
9c8aa5b777 LibWeb: Fix resolution of CSS clip rect
Previously the clip rect was not relative to the top/left egdes
of the element, which lead to it being positioned incorrectly.

This fixes the clip-rect-auto-004 and clip-rect-auto-005 web
platform tests.
2022-08-08 14:03:29 +02:00
MacDue
038017ce11 LibWeb: Enable CSS clip for position: fixed elements
This fixes the clip-absolute-positioned-002 web platform test.
2022-08-08 14:03:29 +02:00
Tom
6b2e93eb7c LibWeb: Fix RectStyleValue to_string() implementation
Fix implementation of to_string() for RectStyleValue so that it can be
used by JS.
2022-08-08 12:16:36 +02:00
Liav A
cf33d0b5f7 Kernel/FileSystem: Use a new debug flag for SysFS debug messages 2022-08-08 02:33:25 +00:00