Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-11 | LibGfx: Add Rect::operator!=(Rect) | Andreas Kling | |
2020-02-11 | LibGUI: Add a Widget::did_layout() that gets called after layout | Andreas Kling | |
This will allow widgets to implement post-layout behaviors. | |||
2020-02-11 | LibGUI: Factor out Splitter hit testing into a separate function | Andreas Kling | |
2020-02-11 | WindowServer: Ensure on a menu key press invalid items are not hovered | Shannon Booth | |
Whenever a new menu item is hovered through a up or down key press, we should always end up hovering a valid item. | |||
2020-02-11 | LibGfx: Assert that an empty bitmap is not created | Shannon Booth | |
2020-02-11 | WindowServer: Assert that a window is not being set as empty | Shannon Booth | |
2020-02-11 | WindowServer: Remove unimplemented header function | Shannon Booth | |
2020-02-11 | WindowServer: Use early return to reduce nesting | Shannon Booth | |
2020-02-10 | Terminal: Set up a nice $PROMPT for the shell :^) | Andreas Kling | |
2020-02-10 | Shell: Build prompt based on the PROMPT environment variable if present | Andreas Kling | |
2020-02-10 | Kernel: Remove some commented-out code in Scheduler::yield() | Andreas Kling | |
2020-02-10 | Kernel: Remove outdated FIXME from Scheduler | Andreas Kling | |
2020-02-10 | Kernel: Add getter and setter for the X86 CR3 register | Andreas Kling | |
This gets rid of a bunch of inline assembly. | |||
2020-02-10 | LibGUI: Single-line GUI::TextEditor should not have "go to line" action | Andreas Kling | |
2020-02-10 | Kernel+LibC: Merge sys$stat() and sys$lstat() | Andreas Kling | |
There is now only one sys$stat() instead of two separate syscalls. | |||
2020-02-10 | Calculator: Accept more keyboard input (#1207) | ignas-sa | |
Allow user to clear/remove last numeral from input (Esc/Backspace respectively) and type the decimal point. | |||
2020-02-10 | WindowServer: Move applet code from MenuManager to AppletManager. | asliturk | |
Move applet logic to the own class. Remove applet code from MenuManager. With new AppletManager applet order is configurable via WindowManager.ini file. | |||
2020-02-10 | Audio.MenuApplet: Add window title. | = | |
2020-02-10 | CPUGraph.MenuApplet: Add window title. | = | |
2020-02-10 | Clock.MenuApplet: Add window title. | = | |
2020-02-10 | UserName.MenuApplet: Add window title. | = | |
2020-02-10 | LibCore: TCP and UDP servers should parent Notifiers to themselves | Andreas Kling | |
This makes things look a little more neat in Inspector. :^) | |||
2020-02-10 | LibAudio/Piano: Replace floats with doubles | William McPherson | |
We should default to double-precision so that clients can make the choice to use float or double. | |||
2020-02-10 | LibAudio/aplay: Handle WAV header errors properly | William McPherson | |
We shouldn't just ASSERT() if the header parse fails. This was crashing Piano completely. | |||
2020-02-10 | Piano: Draw stereo waves | William McPherson | |
Draw two waves in different colors. | |||
2020-02-10 | Piano: Try to be more stereo-oriented | William McPherson | |
2020-02-10 | Piano: Add nice scale factor to WaveWidget | William McPherson | |
2020-02-10 | Piano: Ensure WaveWidget paints in-bounds | William McPherson | |
Letting GUI::Frame::paint_event() cover up your mistakes is tacky :P | |||
2020-02-10 | Piano: Put reset() with other setters | William McPherson | |
2020-02-10 | Piano: Add sampler | William McPherson | |
This commit adds basic support for importing, viewing and playing WAV samples at different pitches. Naming issues: - We are using the Sample struct from Music.h, but also the Sample struct from LibAudio (Audio::Sample). This is a little confusing. set_recorded_sample() finds the peak sample and then divides all the samples by that peak to get a guaranteed min/max of -1/1. This is nice because our other waves are also bound between these values and we can just do the same stuff. This is why we're using Audio::Sample, because it uses floats, whereas Music.h's Sample uses i16s. It's a little annoying that we have to use a mixture of floats and doubles though. For playback at lower frequencies, we're calculating in-between samples, rather than just playing samples multiple times. Basically, you get the current sample and add the difference between the current sample and the next sample multiplied by the distance from the current sample. This is like drawing the hypotenuse of a right-angled triangle. | |||
2020-02-10 | Ports: Disable JACK for SDL2 in `configopts` | Jesse Buhagiar | |
This is causing build errors for myself and a few other people. This config option disables the SDL2 port from trying to compile with the JACK audio server (which we don't need). | |||
2020-02-10 | Kernel: Remove more <LibBareMetal/Output/kstdio.h> includes | Andreas Kling | |
2020-02-10 | AK: Remove bitrotted Traits::dump() mechanism | Andreas Kling | |
This was only used by HashTable::dump() which I used when doing the first HashTable implementation. Removing this allows us to also remove most includes of <AK/kstdio.h>. | |||
2020-02-10 | Userland: Fix segfault in chown | William McPherson | |
chown takes 2 arguments, not 1. | |||
2020-02-10 | Meta: Integrate Shellcheck into Travis | Shannon Booth | |
lint-shell-scripts searches over the repository looking for shell scripts. On those found, shellcheck is run against them. If any linting fails print those warnings and exit with a non-zero exit code. Run this script automatically in Travis. | |||
2020-02-10 | Meta: Fix shellcheck warnings in various scripts | Shannon Booth | |
Warnings fixed: * SC2086: Double quote to prevent globbing and word splitting. * SC2006: Use $(...) notation instead of legacy backticked `...` * SC2039: In POSIX sh, echo flags are undefined * SC2209: Use var=$(command) to assign output (or quote to assign string) * SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails * SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. * SC2034: i appears unused. Verify use (or export if used externally) * SC2046: Quote this to prevent word splitting. * SC2236: Use -z instead of ! -n. There are still a lot of warnings in Kernel/run about: - SC2086: Double quote to prevent globbing and word splitting. However, splitting on space is intentional in this case, and not trivial to change. Therefore ignore the warning for now - but we should fix this in the future. | |||
2020-02-10 | Build: clean .d files based on SUFFIXED_OBJS and EXTRA_OBJS | joshua stein | |
Fixes #1198 | |||
2020-02-09 | Kernel: Use VirtualAddress & PhysicalAddress classes from LibBareMetal | Liav A | |
2020-02-09 | LibELF: Use VirtualAddress class from LibBareMetal | Liav A | |
2020-02-09 | LibBareMetal: Add Memory definitions | Liav A | |
Add classes of VirtualAddress & PhysicalAddress. | |||
2020-02-09 | LibC: Apply a change for the Bootstrapper environment | Liav A | |
2020-02-09 | Build Environment: Add a definition for the Bootstrapper environment | Liav A | |
2020-02-09 | AK: Apply changes for the Bootstrapper environment | Liav A | |
2020-02-09 | Userland: Use IO helpers from LibBareMetal | Liav A | |
2020-02-09 | Kernel: Apply changes to use LibBareMetal definitions | Liav A | |
2020-02-09 | LibBareMetal: Creating a new library for freestanding environments | Liav A | |
2020-02-09 | WebServer: Add missing space to HTTP error responses | Andreas Kling | |
Fixes #1200. | |||
2020-02-09 | Net: Short-circuit routing to the IPv4 address of a local adapter | Andreas Kling | |
This makes it possible to open http://localhost:8000/ in Browser. :^) | |||
2020-02-09 | WebServer: Send the HTTP response headers in a single packet | Andreas Kling | |
This makes it easier to observe the protocol in packet logs. | |||
2020-02-09 | WebServer: Tighten things up with pledge() and unveil() | Andreas Kling | |