AnotherTest
173c65660a
LibLine: Properly show and cleanup suggestions
...
Prior to this, we would display them and never clean then up.
2020-04-11 14:29:25 +02:00
Brendan Coles
502299919a
IRCClient: Add channel member context menus for common CTCP requests
...
Add menu items for CTCP: USERINFO, FINGER, TIME, VERSION, CLIENTINFO
2020-04-11 14:26:36 +02:00
Linus Groh
3b21c4aa56
LibJS: Add console.trace()
2020-04-11 14:10:42 +02:00
Linus Groh
eece424694
LibJS: Make Function and CallFrame aware of their function name
2020-04-11 14:10:42 +02:00
Andreas Kling
4eceea7c62
LibX86: When there are multiple REPZ/REPNZ prefixes, the last one wins
2020-04-11 14:05:10 +02:00
Andreas Kling
1924112d7d
LibX86: Tolerate invalid segment register indices when disassembling
...
While #6 and #7 are not valid segment register, they can still be
encoded in otherwise-valid instructions, so let's tolerate it.
2020-04-11 14:00:20 +02:00
Andreas Kling
d7d7a32d47
LibX86: Disassemble unknown opcodes as "db %#02x"
2020-04-11 13:57:28 +02:00
Andreas Kling
95df0847c5
LibX86: Decode PADDB, PADDW and PADDD
2020-04-11 13:57:20 +02:00
Andreas Kling
16455e91db
LibX86: Don't choke on invalid LOCK prefixes for now
...
This might be interesting information later, but I'm not sure how to
encode it at the moment.
2020-04-11 13:53:12 +02:00
Andreas Kling
f115416db3
LibX86: Fix backwards arguments to ENTER imm16,imm8
2020-04-11 13:51:00 +02:00
Andreas Kling
cf7d042e0f
LibX86: Add 8-bit CMPXCHG and allow LOCK CMPXCHG
2020-04-11 13:46:30 +02:00
Andreas Kling
2ce38d4699
LibX86: Support decoding basic MMX instructions like MOVQ
2020-04-11 13:42:18 +02:00
Andreas Kling
e5cde0082a
LibX86: Run the instruction decoder in 32-bit mode by default
...
Let's assume a 32-bit execution environment unless otherwise specified.
2020-04-11 13:24:55 +02:00
Andreas Kling
8f503da93f
LibX86: Remove some unnecessary stuff from Disassembler.h
2020-04-11 13:23:52 +02:00
Andreas Kling
32d83fdee4
LibX86: Add an X86 instruction decoder library + basic disassembler
...
This will be very useful for developer tools like ProfileView, and also
for future tools like debuggers and such. :^)
2020-04-11 13:16:17 +02:00
Brian Gianforcaro
7cc7d303e3
Kernel: Add $SERENITY_KERNEL_CUSTOM_{CXXFLAGS/LDFLAGS} for build customization
...
I normally want to build with debug symbols for the kernel so I can use
a debugger. Add a hook to allow me to do so, but to impact no-one else.
2020-04-11 10:03:19 +02:00
Linus Groh
54fc972a72
MenuApplets: Support memory usage and custom colors in ResourceGraph
...
The ResourceGraph menu applet now supports a few command line options:
--cpu / -C to display a CPU usage graph
--memory / -M to display a memory usage graph
--name / -n to set a name which is used to order applets
--color / -c to set the graph color (supports anything
Gfx::Color::from_string() understands)
The SystemServer.ini and WindowServer.ini config files have been updated
to spawn and show two ResourceGraph menu applets, one for CPU usage
(green) and one for memory usage (cyan) - this matches the colors in the
SystemMonitor graphs.
2020-04-11 10:03:12 +02:00
Linus Groh
b46a8d7335
MenuApplets: Rename CPUGraph to ResourceGraph
...
The plan is to extend what currently is known as "CPUGraph" and let the
SystemServer spawn multiple instances of it - which then can show memory
or network usages as well :^)
Simply renaming the applet is the first step.
2020-04-11 10:03:12 +02:00
Liav A
ea58563970
Kernel: Instantiate network adapters in their own detect() methods
...
This commit is one step forward for pluggable driver modules.
Instead of creating instances of network adapter classes, we let
their detect() methods to figure out if there are existing devices
to initialize.
2020-04-11 10:02:31 +02:00
Liav A
65f939b55c
Kernel: Keep records of PCI::Address & PCI::ID pairs for enumeration
2020-04-11 10:02:31 +02:00
Liav A
688dd9ea66
Kernel: Simplify a message in PATAChannel::create()
2020-04-11 10:02:31 +02:00
Liav A
e9df6189f4
Kernel: Assert if we try to initialize VMWareBackdoor more than once
2020-04-11 10:02:31 +02:00
4ourbit
02c9f4c951
LibJS: Improve Object.defineProperty test
2020-04-10 23:33:02 +02:00
Linus Groh
31505dde7e
LibJS: Add String.prototype.pad{Start,End}()
2020-04-10 16:37:04 +02:00
Linus Groh
7636dee2cb
LibJS: Remove assert function from Object.defineProperty() test
2020-04-10 16:37:04 +02:00
Andreas Kling
dec352dacd
Kernel: Ignore zero-length PROGBITS sections in sys$module_load()
2020-04-10 16:36:01 +02:00
Andreas Kling
0fea525373
LibJS: Key shape transitions on both property name and attributes
...
This allows us to cache forward transitions that reconfigure existing
properties as well, leading to better shape reuse.
2020-04-10 16:33:44 +02:00
Andreas Kling
8cbb8491cb
AK: Add FlyString::hash()
2020-04-10 16:26:59 +02:00
Linus Groh
0243ac5d04
LibJS: Remove mock String.prototype from tests
2020-04-10 15:51:39 +02:00
Linus Groh
32c27afdf0
LibJS: Add String.prototype.toString()
2020-04-10 15:49:40 +02:00
Andreas Kling
6f3ea75569
LibJS: Add String constructor :^)
2020-04-10 14:14:02 +02:00
Andreas Kling
cb0dfd8f72
LibJS: Use enumerator macros for boilerplate code around native types
2020-04-10 14:06:52 +02:00
Andreas Kling
0bdfb952c5
Meta: Add supercomputer7 to contributor list in ReadMe
2020-04-10 14:06:29 +02:00
Brendan Coles
63f8cbfb56
IRCClient: Add NotifyOnMessage/NotifyOnMention config options
...
Allow IRCClient user to opt out of notifications.
2020-04-10 13:16:07 +02:00
Andreas Kling
070a8f2689
LibJS: Boolean, Number and String prototypes should have values too
...
It appears that calling .valueOf() on an objectified primitive's
prototype should return a value after all.
This matches what other engines are doing.
2020-04-10 13:09:35 +02:00
Andreas Kling
c06d5ef114
Kernel+LibC: Remove ESUCCESS
...
There's no official ESUCCESS==0 errno code, and it keeps breaking the
Lagom build when we use it, so let's just say 0 instead.
2020-04-10 13:09:35 +02:00
Andreas Kling
e5da1cc566
LibJS: Throw real TypeError, ReferenceError, etc objects
...
Instead of just throwing Error objects with a name string, we now throw
the real Error subclass types. :^)
2020-04-10 13:09:35 +02:00
Andreas Kling
58ab76269c
LibJS: Add all the Error subclasses
...
This patch adds instance, constructor and prototype classes for:
- EvalError
- InternalError
- RangeError
- ReferenceError
- SyntaxError
- TypeError
- URIError
Enumerator macros are used to reduce the amount of typing. :^)
2020-04-10 13:09:35 +02:00
Brendan Coles
df7b617ba1
IRCClient: Add ShowNickChangeMessages/ShowJoinPartMessages conf options
...
Allow IRCClient to hide nick change spam and join/part spam
2020-04-10 12:56:19 +02:00
Conrad Pankoff
a3edeb5868
Kernel: Add explicit offset parameter to File::read etc
2020-04-10 11:59:30 +02:00
Brendan Coles
68c7ca7d3b
IRCClient: Autojoin channels after client registration
...
Wait for the server to advise negotiation was successful (RPL_WELCOME)
before autojoining channels.
Fixes #1713
2020-04-10 11:29:46 +02:00
rhin123
cd84544706
Calendar: Implement add event action
2020-04-10 11:28:34 +02:00
rhin123
06604c3786
Calendar: Implement add event UI
2020-04-10 11:28:34 +02:00
Barney Wilks
4f48fcdb94
LibJS: Add tests for exception if assignment LHS is invalid
2020-04-10 11:27:10 +02:00
Barney Wilks
56474bab15
LibJS: Throw exception if LHS of assignment is of unexpected type
2020-04-10 11:27:10 +02:00
AnotherTest
2315f789cc
LibLine: Appropriately react to window size changes
2020-04-10 11:26:44 +02:00
AnotherTest
1b422315fa
LibLine: Fix regression with moving around in history misplacing cursor
...
This commit fixes a regression where the prompt would not be cleared
upon substitution of lines from the history
2020-04-10 11:26:44 +02:00
Hüseyin ASLITÜRK
870936085a
DisplayProperties: Replace TextBox with ColorInput.
...
Use new ColorInput component. Delete unnecessary code lines. Fix local variable names.
2020-04-10 11:25:49 +02:00
Hüseyin ASLITÜRK
bc323c488e
LibGUI: Add ColorInput component
...
ColorInput is a new GUI component for selecting color using ColorPicker dialog.
It is simplify usage of ColorPicker dialog and more elegant view of current selected color.
2020-04-10 11:25:49 +02:00
AnotherTest
6545a74743
JS repl: Fix indentation when a line starts with '})]'
2020-04-10 00:58:59 +02:00