alexmajor
6deb032335
sync: Port to LibMain
2022-02-01 04:58:24 +00:00
Timothy Flynn
6efbafa6e0
Everywhere: Update copyrights with my new serenityos.org e-mail :^)
2022-01-31 18:23:22 +00:00
Andreas Kling
7a742b17da
LibJS: Store ECMAScriptFunctionObject bytecode in an OwnPtr
...
Using an Optional was extremely wasteful for function objects that don't
even have a bytecode executable.
This allows ECMAScriptFunctionObject to fit in a smaller size class.
2022-01-31 16:19:23 +01:00
Kenneth Myhra
9773c3cabc
pape: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
0dc46da99f
open: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
71c004b75f
open: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
73f431a7cb
ntpquery: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
5d41f993cd
notify: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
a64b44377d
nl: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
cf207ad938
mount: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
9d48406312
mount: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
46c4988568
lsof: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
262161481f
lsof: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
6a7ffcddba
lsirq: Port to LibMain
2022-01-31 15:25:07 +01:00
Idan Horowitz
9802b16298
js: Implement pretty-printing of Intl Segments objects
2022-01-30 19:47:01 +00:00
Idan Horowitz
7cf3f11815
js: Implement pretty-printing of Intl.Segmenter
2022-01-30 19:47:01 +00:00
Timothy Flynn
5a1eefcc1d
js: Implement pretty-printing of Intl.Collator
2022-01-29 20:27:24 +00:00
Ali Mohammad Pur
6d64b13a1b
LibDebug+Everywhere: Avoid void* -> FlatPtr -> void* dance
...
And limit the `void*` to the functions that interface the system (i.e.
ptrace wrappers).
This generally makes the code less riddled with casts.
2022-01-28 22:51:27 +00:00
Timothy Flynn
5ca1c54c27
date: Use an explicit time format string for default option
...
This is to prepare for removing the time zone from DateTime's default
format string. The date utility on most system show time zone by default
so let's keep that.
2022-01-28 20:19:05 +00:00
Ali Mohammad Pur
58ed00f633
run-tests: Dump a backtrace for crashed tests
...
It only makes sense to see what a crashed test was up to, so generate a
backtrace if we can find the coredump and read it.
2022-01-28 20:18:46 +00:00
Ali Mohammad Pur
1c121d7488
js: Use generic reference instead of Variant<A,B>
...
As the two types are used in exactly the same way, just make the lambda
generic over the type instead of explicitly moving them into a variant
and then visiting with a generic lambda.
2022-01-28 20:18:46 +00:00
Timothy Flynn
624fad3821
js: Implement pretty-printing of Intl.PluralRules
2022-01-28 19:38:47 +00:00
Idan Horowitz
fa7ae7288b
zip: Ignore symlinks when recursively zipping files
...
This prevents infinite loops when symlinks point to a parent directory.
2022-01-28 19:05:52 +02:00
Timothy Flynn
0a1e717e40
Revert "ls: Display times in the user's local time zone"
...
This reverts commit 0c13a3a8ff
.
2022-01-28 15:13:35 +00:00
Timothy Flynn
8599ee3049
Revert "Userland: Invoke tzset in apps that care about time zones"
...
This reverts most of commit ede5c9548e
.
The one change not reverted is ClockWidget.h, so that the taskbar clock
can continue to notice time zone changes.
2022-01-28 15:13:35 +00:00
Timothy Flynn
0c13a3a8ff
ls: Display times in the user's local time zone
...
ls is already using local time, but needs tzset() for that to actually
work.
2022-01-28 12:25:20 +00:00
brapru
2af9a8e862
ping: Port to LibMain
2022-01-27 12:56:07 +01:00
Timothy Flynn
82509ca0c8
date: Display time zone information in all output formats
2022-01-25 23:21:30 +00:00
Idan Horowitz
971ab3b919
Kernel: Use u64 instead of size_t in the STORAGE_DEVICE_GET_SIZE ioctl
...
This ensures the device size doesn't get truncated on i686.
2022-01-25 22:41:17 +02:00
Timothy Flynn
47e9e7c2d0
js: Implement pretty-printing of Intl.RelativeTimeFormat
2022-01-25 19:02:59 +00:00
Timothy Flynn
a027ccad75
LibTimeZone+Userland: Rename current_time_zone to system_time_zone
...
This renames the current implementation of current_time_zone to
system_time_zone to more clearly indicate what it is. Then reimplements
current_time_zone to return whatever was set up by tzset, falling back
to UTC if something went awry, for convenience.
2022-01-25 18:39:36 +00:00
Timothy Flynn
ede5c9548e
Userland: Invoke tzset in applications that care about time zones
...
In most applications, we invoke tzset once at startup for now. Most of
these are short lived and don't need to know about time zone changes.
The exception is the ClockWidget in the taskbar. Here, we invoke tzset
each time we update the system time. This way, any time zone changes can
take effect immediately.
2022-01-25 18:39:36 +00:00
Timothy Flynn
40147c48be
timezone: Add an option to list all time zones
2022-01-25 18:39:36 +00:00
Idan Horowitz
67ce9e28a5
AK: Standardize the behaviour of GenericLexer::consume_until overloads
...
Before this commit all consume_until overloads aside from the Predicate
one would consume (and ignore) the stop char/string, while the
Predicate overload would not, in order to keep behaviour consistent,
the other overloads no longer consume the stop char/string as well.
2022-01-25 13:41:09 +03:30
Names4Noobs
a4495bdcba
tree: Port to LibMain
2022-01-25 04:26:56 +00:00
Ariel Abreu
790274d4a5
rmdir: Port to LibMain
2022-01-25 02:50:10 +00:00
Ariel Abreu
0fea2203dc
rm: Port to LibMain
2022-01-25 02:50:10 +00:00
Fabian INGREMEAU
5f602e39e9
md: Port to LibMain
2022-01-25 00:11:14 +00:00
Fabian INGREMEAU
dff6460373
mv: Port to LibMain
2022-01-25 00:11:14 +00:00
Fabian INGREMEAU
daf7f72ff3
tail: Port to LibMain
2022-01-25 00:11:14 +00:00
Rummskartoffel
f3341f48e3
less: Fix memory leak when scrolling to EOF
2022-01-24 21:57:58 +00:00
Sam Atkins
c388a879d7
AK+Userland: Make AK::decode_base64 return ErrorOr
2022-01-24 22:36:09 +01:00
Sam Atkins
45cf40653a
Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr
...
Apologies for the enormous commit, but I don't see a way to split this
up nicely. In the vast majority of cases it's a simple change. A few
extra places can use TRY instead of manual error checking though. :^)
2022-01-24 22:36:09 +01:00
Daniel Bertalan
b509d8a2f7
Utilities/readelf: Add support for printing the content of sections
2022-01-24 10:41:47 +00:00
Kenneth Myhra
eeb74e2578
mktemp: Port to LibMain
2022-01-24 14:01:58 +03:30
Kenneth Myhra
b4d55f2a55
mkfifo: Port to LibMain
2022-01-24 14:01:58 +03:30
Kenneth Myhra
3af7a5dd61
mknod: Port to LibMain
2022-01-24 14:01:58 +03:30
Michel Hermier
395d9a2702
sort: Port to LibMain
2022-01-24 05:38:30 +00:00
Michel Hermier
176de579f2
shuf: Port to LibMain
2022-01-24 05:38:30 +00:00
Michel Hermier
4e02b204ef
rev: Port to LibMain
2022-01-24 05:38:30 +00:00