Linus Groh
ff324fe989
LibWeb: Fix .length of functions generated from IDL
...
Function::length() is computing the right function length based on its
parameters, but we never called it - instead the *function name length*
was being used, which is obviously wrong. How silly! :^)
2021-02-17 23:45:07 +01:00
Marcel Hernandez
b07799060f
Ports: Add tinyscheme 1.42 ( #5387 )
2021-02-17 23:07:34 +01:00
Nick Vella
bafb8b0be6
Run: Store and present recent Run command history in a ComboBox.
...
We now store the last 25 inputs ran in Run in a simple text file under
.config (~/.config/RunHistory.txt)
2021-02-17 23:06:19 +01:00
Nick Vella
05914d2e9a
LibGUI: Correctly handle ComboBox list windows of less than three items (~50px) in height.
...
By default, a Window has a minimum size of 50x50 - ComboBox lists aren't
always this tall. We now set the minimum height of the ComboBox Window
according to the height of three items, or the total height of all the
items in the list, whichever is smaller.
This means there is no longer any unpainted space in the list window
due to the shortfall between the ListBox widget and Window heights,
and the ComboBox list window always remains a comfortable height for
viewing. :^)
2021-02-17 23:06:19 +01:00
jonno85uk
2d1cfa7d11
Ports: Add bison 1.25 ( #5382 )
...
bison -h works. Not tried with any grammar files
2021-02-17 22:54:37 +01:00
jonno85uk
6e1117a688
Ports: Add libtiff ( #5383 )
2021-02-17 22:54:04 +01:00
Linus Groh
fe266e03b6
PixelPaint: Open image file passed as argument
...
This is obviously a requirement for #5374 , oops :^)
Also handle errors gracefully, opening a file that isn't PixelPaint JSON
would previously crash.
Closes #5388 .
2021-02-17 19:39:37 +01:00
Andreas Kling
c4438d6fd4
WindowServer: Unbreak "pick new active window" algorithm
...
We lost the ability to pick a suitable new active window when I added
the support for tool windows.
2021-02-17 16:52:08 +01:00
Andreas Kling
6c2f0316d9
Kernel: Convert snprintf() => String::formatted()/number()
2021-02-17 16:37:11 +01:00
Andreas Kling
5f610417d0
Kernel: Remove kprintf()
...
There are no remaining users of this API.
2021-02-17 16:33:43 +01:00
Andreas Kling
40e5210036
Kernel: Convert dbgprintf()/klog() => dbgln()/dmesgln() in UHCI code
2021-02-17 16:30:55 +01:00
Andreas Kling
e4d84b5e79
Kernel: Remove dbgprintf() from kernel
...
There are no remaining users of this API in the kernel.
2021-02-17 16:22:34 +01:00
Andreas Kling
d9bf4b4d41
Shell: Convert dbgprintf() => dbgln()
2021-02-17 16:18:53 +01:00
Andreas Kling
2d64ba7b9d
LibWeb: Convert dbgprintf() => dbgln()
2021-02-17 15:59:13 +01:00
Andreas Kling
1a4136c4ac
PreprocessorTest: Convert dbgprintf() => dbgln()
2021-02-17 15:50:34 +01:00
Andreas Kling
403b34d38e
LibC: Convert dbgprintf() => dbgln() in SSP handler
2021-02-17 15:48:55 +01:00
Andreas Kling
304f0fe5ee
LibGUI: Convert dbgprintf() => dbgln()
2021-02-17 15:47:00 +01:00
Andreas Kling
25a69d2b18
LibPthread: Convert dbgprintf() => dbgln_if()
2021-02-17 15:46:21 +01:00
Andreas Kling
c1dd5553a8
LibCore: Convert dbgprintf() => dbgln()
2021-02-17 15:40:52 +01:00
Andreas Kling
dffab4e034
LibC: Convert dbgprintf() => dbgln()
2021-02-17 15:39:32 +01:00
Andreas Kling
5a595ef134
Kernel: Use dbgln_if() in sys$fork()
2021-02-17 15:34:32 +01:00
Andreas Kling
ea81a4a529
LibJS: Avoid an unnecessary Vector copy in IndexedProperties::indices()
2021-02-17 15:23:32 +01:00
Andreas Kling
ee1b58bf41
LibJS: Use all_of() in JS::Value's BigInt validation
2021-02-17 15:22:21 +01:00
Andreas Kling
1f401def18
AK: Publish all_of()
2021-02-17 15:22:21 +01:00
AnotherTest
cc889b3976
DHCPClient: Set ServerIdentifier and RequestedAddress in DHCP REQUESTs
...
Some dhcp servers require these to be there - otherwise, the ack gets
dropped somewhere.
2021-02-17 14:41:36 +01:00
AnotherTest
ce3b24723a
DHCPClient: Set the client IP field of the DHCP DISCOVER message
...
This is the field that tells the DHCP server which IP we want, not
setting it is quite silly :P
2021-02-17 14:41:36 +01:00
AnotherTest
3440dbb1fc
DHCPClient: Don't reject packets smaller than the max size
...
It's acceptable to have less padding in a packet, the only requirement
is to have a single byte of 'END' in the DHCP fields.
2021-02-17 14:41:36 +01:00
AnotherTest
c0703f48fe
DHCPClient: Fix incorrect BOOTP Broadcast flag value
...
This is supposed to be the MSB, not the LSB.
2021-02-17 14:41:36 +01:00
AnotherTest
4043e770e5
Kernel: Don't go through ARP for IP broadcast messages
2021-02-17 14:41:36 +01:00
Emil Engler
ce13b258ca
Ports: Use new curl domain
...
curl switched it's domain to curl.se last year:
https://daniel.haxx.se/blog/2020/11/04/the-journey-to-a-curl-domain/
I think we should follow this change and adapt the new domain name.
2021-02-17 14:40:50 +01:00
Andreas Kling
525f472dc5
SystemMonitor: Remove pid-and-tid tuple concept from ProcessModel
...
This was an old relic from back when thread IDs were per-process
instead of globally unique.
2021-02-16 20:38:49 +01:00
Andreas Kling
5f81babad2
SystemMonitor: Remove some unused cruft in ProcessModel
2021-02-16 20:24:22 +01:00
Andreas Kling
db694491f3
LibGUI: Make Model::data_matches() take Variant by const-reference
2021-02-16 20:08:32 +01:00
Andreas Kling
36354406db
Browser: Don't show frame around the web view in full-screen mode
...
Let's use all the space we have available. :^)
2021-02-16 19:58:46 +01:00
Andreas Kling
5ddf7e993c
LibGUI: Add ScrollableWidget to forwarding header
2021-02-16 19:58:43 +01:00
Andreas Kling
4a5ebb89ea
Browser: Don't focus the "bookmark" button when clicked
2021-02-16 19:08:09 +01:00
Linus Groh
2a519722a9
Base: Make PixelPaint launch handler for .pp files
...
Closes #5374 .
2021-02-16 19:00:41 +01:00
Andreas Kling
5625a1d608
Lagom: Build LibTextCodec into Lagom
2021-02-16 19:00:02 +01:00
Andreas Kling
096cdf891b
Revert "Terminal: Drop "proc" and "exec" pledges after initializing"
...
This reverts commit dea0d22ab3
.
I'm dumb. We need these for utmpupdate, and for "new terminal" :^(
Fixes #5372 .
2021-02-16 17:44:40 +01:00
Andreas Kling
085696ea39
LibTTF: Interpret font names from Windows platform as UTF-16BE
...
This turns the admittedly aesthetic "T a h o m a" into "Tahoma" :^)
2021-02-16 17:32:42 +01:00
Andreas Kling
0538dc4e28
LibTextCodec: Add a simple UTF-16BE decoder
2021-02-16 17:31:22 +01:00
thankyouverycool
01e00bac9d
LibGUI: Set correct ranges for hidable scrollbars
...
Fixes vertical and horizontal overscroll in widgets that allow
unnecessary scrollbars to be hidden.
2021-02-16 17:17:12 +01:00
Andreas Kling
f24287e0e1
LibGfx: Oops, fix misaligned window buttons for WindowType::Normal
2021-02-16 16:57:45 +01:00
Andreas Kling
89c7886d1c
Terminal: Turn the "settings" and "find" popups into tool windows :^)
2021-02-16 16:26:29 +01:00
Andreas Kling
11c8596ad3
WindowServer+LibGUI+LibGfx: Add WindowType::ToolWindow
...
Tool windows are secondary windows with a smaller title bar. The sit on
the layer above normal windows, and cannot be minimized.
These are intended for complex yet non-modal interactions with the
content of a primary window, such as find/replace windows, property
windows, etc.
2021-02-16 16:26:29 +01:00
Nick Vella
15c1f7a40d
WindowServer, LibGUI: Variable minimum window sizes
...
Minimum window size can now be customised and set at runtime via the
SetWindowMinimumSize WindowServer message and the set_minimum_size
LibGUI::Window method. The default minimum size remains at 50x50.
Some behind-the-scenes mechanics had to be added to LibGUI::Window to
ensure that the minimum size is remembered if set before the window is
shown. WindowServer sends a resize event to the client if it requests a
size on create that's smaller than it's minimum size.
2021-02-16 15:46:03 +01:00
Andreas Kling
dea0d22ab3
Terminal: Drop "proc" and "exec" pledges after initializing
...
We shouldn't need these once we've got the shell process running. :^)
2021-02-16 13:39:03 +01:00
Andreas Kling
57a345a590
LibGfx: Remove debug spam from FontDatabase lookups
2021-02-16 13:12:41 +01:00
Andreas Kling
575c7ed414
Kernel: Make sys$msyscall() EFAULT on non-user address
...
Fixes #5361 .
2021-02-16 11:32:00 +01:00
AnotherTest
e438dd3c9b
LibC: Teach scanf how to read "%lu" and "%llu" (unsigned long{, long})
...
This makes the gcc port work again.
2021-02-16 10:38:52 +01:00