Adam Hodgen
0fa0367a39
LibWeb: Implement HTMLTableElement caption attributes
...
* caption - Getter and setter for the caption element
* createCaption - If necessary, creates a new caption element
and add it to the table
* deleteCaption - If a caption element exists in the table, delete it
2021-05-09 18:38:34 +02:00
Adam Hodgen
887fa18e32
LibWeb: Implement HTMLTableElement row attributes
...
rows returns a HTMLCollection of all the tr elements contained within
the table.
We leave the SameObject attribute off the attribute in the IDL as we
cannot currently return the same HTMLCollection every time (see the
FIXME on DOM::Document::applets)
The WrapperGenerator currently does not correctly handle the default
value for the type long on insertRow. Currently not specifying the
index will insert a row at index 0.
2021-05-09 18:38:34 +02:00
Gunnar Beutner
2d600a8675
Ports: Add port for libopenal
2021-05-09 17:26:50 +01:00
Gunnar Beutner
8603041ed8
Ports: Add missing .so extension for ffmpeg library SONAMEs
2021-05-09 17:26:50 +01:00
Linus Groh
80a742b1b3
Ports: Remove obsolete patch for dropbear
2021-05-09 17:25:41 +01:00
Gunnar Beutner
52861226c3
Ports: Remove obsolete patches for stress-ng
2021-05-09 17:21:38 +01:00
Gunnar Beutner
93431b861a
LibC: Add definition for the rlim_t type
...
The missing type caused the binutils and dash ports to fail to build.
2021-05-09 17:21:38 +01:00
Linus Groh
25cf59f2f6
Ports: Add note about Python webbrowser patch upstreaming
2021-05-09 17:15:15 +01:00
Linus Groh
2cbe510e89
Ports: Remove obsolete rlimit patch for Python
...
Stubs for getrlimit()/setrlimit() have been added in 1c3c072
.
2021-05-09 17:11:02 +01:00
Mathieu Gaillard
cf93512abe
Demos: Implement basic Lambertian lighting for the GLTeapot
...
The teapot now looks more realistic
2021-05-09 16:14:15 +01:00
Mathieu Gaillard
7426c2fe45
Demos: Add indexed meshes in GLTeapot Demos
...
Improved the basic Wavefront OBJ loader to index vertices.
Uses less memory for the same mesh.
2021-05-09 16:14:15 +01:00
Egor Ananyin
782dc348fd
LibGfx: Fix clipping in fill_ellipse
...
fill_ellipse used to clip the bounding box, so instead of drawing a
part of an ellipse it drew a smaller ellipse. This commit fixes this
behaviour.
2021-05-09 16:14:01 +01:00
Linus Groh
5eb062d8d3
Documentation: Update sync-local.sh keyboard layout example
2021-05-09 15:31:52 +01:00
Stephan Unverwerth
e4db18e644
Demos: GLTeapot: Enable depth testing in demo
2021-05-09 15:58:35 +02:00
Stephan Unverwerth
e8f66f821c
LibGL: Add depth tests and writes to SoftwareRasterizer
...
Tests against and writes to the depth buffer when GL_DEPTH_TEST is
enabled via glEnable(). Currently fragment z is always compared against
existing depth with GL_LESS.
2021-05-09 15:58:35 +02:00
Stephan Unverwerth
608f81e6c2
LibGL: Add depth buffer class
2021-05-09 15:58:35 +02:00
Stephan Unverwerth
a8fc4be47a
LibGL: Add supporting code for depth buffer
...
This adds glClearDepth() and new caps for enabling and disabling
the depth buffer with glEnable() and glDisable()
2021-05-09 15:58:35 +02:00
Ömer Kurttekin
d922c2f5f3
Userland: Preserve keyboard mapping preference on reboot ( #6955 )
2021-05-09 15:56:03 +02:00
Erlend
4c43fc0515
AnalogClock: New analog clock application ( #6760 )
2021-05-09 15:51:36 +02:00
Andreas Kling
c53e937014
WindowServer: Constrain popup menu Y position within screen rect
...
This fixes an issue where large popup menus would open upwards despite
there not being enough space for that.
2021-05-09 15:47:21 +02:00
Andreas Kling
4c6e3d0c59
WindowServer: Fix a handful of clang-tidy warnings in the menu code
...
Some avoidable signed/unsigned mismatch, String move construction,
and functions that can be static constexpr.
2021-05-09 15:47:21 +02:00
faxe1008
cbb06d7014
tac: Support concatenating multiple files ( #6970 )
2021-05-09 15:47:16 +02:00
Eric Butler
5d14636b95
WindowServer: Open window menu on Alt+Space
...
Adds a keyboard shortcut Alt+Space that opens the window menu.
2021-05-09 15:38:32 +02:00
Eric Butler
967cd6afd2
WindowServer: Select last menu item when up key pressed if no selection
...
When a menu is first opened and has no selected item, pressing the "up"
key now selects the last menu item instead of the first.
2021-05-09 15:38:32 +02:00
Gunnar Beutner
dae2a59c77
LibC: Add declarations for various C11 math functions
2021-05-09 15:35:01 +02:00
Gunnar Beutner
b223233b15
Toolchain+Ports: Skip link tests for libstdc++v3
...
This makes stdlib.h and stdio.h functions available in the std
namespace for C++.
libstdc++v3's link tests can fail if you don't have an up-to-date
build directory, for example:
1. Have libc with missing _Exit symbol because you haven't done
a build since that was added.
2. Run toolchain rebuild. libstdc++v3's configure script will
realize that it can do link tests in general but will fail
later on when it tries to link a program that tests for _Exit.
Even though this is a toolchain patch this does not necessarily
require rebuilding the toolchain right away. This is only required
once we start using any of these new members in the std namespace,
e.g. for ports.
2021-05-09 15:35:01 +02:00
Gunnar Beutner
9ffc2fe840
LibC: Implement the _Exit function
...
libstdc++v3 checks whether this function is available and makes
certain functions available in the std namespace if so.
2021-05-09 15:35:01 +02:00
Gunnar Beutner
4c6a91d0c0
LibC: Implement vscanf
...
libstdc++v3 checks whether vscanf is available and only then makes C99
stdio functions available in the std namespace.
2021-05-09 15:35:01 +02:00
Gunnar Beutner
e6747fefa7
Toolchain+LibM: Make C++ standard library math functions available
...
With this fixed we get libstdc++v3's aliases for C99 math functions
in the std namespace. Unfortunately for this to work the toolchain
needs to be rebuilt.
The good news are that this by itself does not require a toolchain
rebuild just yet.
2021-05-09 15:35:01 +02:00
Eric Butler
bf31b0da7d
Documentation: Suggest using genext2fs on macos
...
This is a nice alternative to dealing with fuse, and a step forward
towards not requiring root.
2021-05-09 15:34:12 +02:00
Eric Butler
1a48609c6b
Meta: Always try genext2fs as fallback to build disk image
...
If mounting disk image fails (e.g. fuse is not available on macos),
always try using genext2fs before giving up.
2021-05-09 15:34:12 +02:00
Gunnar Beutner
e0fe38ea25
CatDog: Help the user debug their programs
...
This adds helpful speech bubbles to CatDog. CatDog just wants to
help, that's all.
2021-05-09 15:21:23 +02:00
Gunnar Beutner
da5923bc54
CatDog: Rename root_widget to catdog_widget
2021-05-09 15:21:23 +02:00
Gunnar Beutner
e229914a74
CatDog: Move the main widget into its own file
2021-05-09 15:21:23 +02:00
miere43
c5ceff33b5
Browser: Add :nth-child test document
2021-05-09 11:24:04 +02:00
miere43
aa83539d7b
LibWeb: Implement :nth-child pseudo-class
2021-05-09 11:24:04 +02:00
miere43
1e0e8b27c0
LibWeb: Allow white space inside pseudo-class arguments
2021-05-09 11:24:04 +02:00
Brian Gianforcaro
10a594e6fe
Tests: Fix install of test-js and test-web
...
When these were moved, there was a copy paste bug in the install
directives of both of these binaries.
2021-05-09 11:04:38 +02:00
Andreas Kling
5007d7bb38
WindowServer: Don't ignore MouseMove events for pressed window buttons
...
Without this change, window buttons would get stuck in the "pressed"
state as long as the left mouse button was pressed, even if you moved
the mouse cursor out of the button rect.
2021-05-09 10:34:40 +02:00
Andreas Kling
41dc73adc4
Demos: Fix a bunch of incorrect use of GUI::PaintEvent::rect()
...
A bunch of programs were using the paint event rect as the rect
to draw into. Since the event rect could be any invalidated part
of the widget, we need to be passing the full Widget::rect().
2021-05-09 10:11:30 +02:00
Andreas Kling
6998fa5c54
LibGfx: Change "white_space" => "whitespace"
...
Whitespace is one word. :^)
2021-05-09 09:59:22 +02:00
Brendan Coles
57c96ce501
UserspaceEmulator: Allow running executables not in PATH
2021-05-09 09:39:40 +02:00
Dylan Katz
3ab37674c6
TextEditor: Add support for SQL highlighting
2021-05-09 09:39:05 +02:00
Dylan Katz
984b6e08cf
LibSQL: Add a syntax highlighter
2021-05-09 09:39:05 +02:00
Andreas Kling
5423aba4ef
Meta: Fix broken FAQ link in README
2021-05-09 09:15:56 +02:00
Andreas Kling
9d8aa2a57a
Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel
...
Make the taskbar 27 pixels tall instead of 28. This makes the button
icons and applets vertically centered.
On a related note, this required touching *way* too many places..
2021-05-09 00:11:37 +02:00
Andreas Kling
fbe6c275c9
LibGUI: Clear GUI::TextEditor selection before performing undo/redo
...
Fixes #6972 .
2021-05-08 23:38:46 +02:00
Andreas Kling
194a90884c
LibGUI: Remove now-unused undo coalescing timer from GUI::TextEditor
...
This is no longer used since commands handle merging themselves.
2021-05-08 22:17:51 +02:00
Andreas Kling
ce90d87eb6
LibGUI: Show command name in GUI::TextEditor undo/redo action text
...
We can now show things like "Undo Insert Text" and "Redo Remove Text"
instead of just "Undo" and "Redo" in menu items. Pretty neat! :^)
2021-05-08 22:17:51 +02:00
Andreas Kling
c670d8c56d
LibGUI: Add UndoStack::{undo,redo}_action_text()
...
These return the action_text() for the current undo and redo commands,
if available.
2021-05-08 22:17:51 +02:00