Andreas Kling
25db315b29
LibIPC: Use NonnullOwnPtrVector<Message> in IPC::ServerConnection
...
We never want to store null messages, so make it impossible to do so.
2020-05-08 21:40:06 +02:00
Sergey Bugaev
628777f94a
LibIPC: Abort on connection failure
...
...instead of looping for (effectively) ever.
Fixes https://github.com/SerenityOS/serenity/issues/1869
2020-05-02 15:59:37 +02:00
Andreas Kling
4f200def9c
AK: Stop allowing implicit downcast with OwnPtr and NonnullOwnPtr
...
Same issue here as we had with RefPtr and NonnullRefPtr.
Since we can't make copies of an owning pointer, we don't get quite the
same static_ptr_cast<T> here. Instead I've only added a new templated
version of OwnPtr::release_nonnull() in this patch, to solve the only
issue that popped up.
I'm not sure what the best solution here is, but this works for now.
2020-04-05 11:32:30 +02:00
Andreas Kling
22d0a6d92f
AK: Remove unnecessary casts to size_t, after Vector changes
...
Now that Vector uses size_t, we can remove a whole bunch of redundant
casts to size_t.
2020-03-01 12:58:22 +01:00
Andreas Kling
ceec1a7d38
AK: Make Vector use size_t for its size and capacity
2020-02-25 14:52:35 +01:00
Andreas Kling
2143da6434
LibGUI: Add forwarding header
...
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
2020-02-16 09:41:56 +01:00
Andreas Kling
8f7333f080
LibCore: Add a forward declaration header
...
This patch adds <LibCore/Forward.h> and uses it in various places to
shrink the header dependency graph.
2020-02-14 23:31:18 +01:00
Andreas Kling
258d798b34
LibCore: Merge the CSyscallUtils namespace into Core
2020-02-06 15:04:57 +01:00
Andreas Kling
d17e23bd27
LibCore: Remove leading C from filenames
2020-02-06 15:04:03 +01:00
Andreas Kling
7415e6ef9f
LibIPC: Remove leading I from filenames
2020-02-06 14:54:09 +01:00