Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-15 | LibGUI: Don't leak every tooltip window ever :^) | Andreas Kling | |
2020-02-15 | LibGUI: Remove some header dependencies from Application.h | Andreas Kling | |
2020-02-15 | LibGfx: Remove unused Bitmap::load_from_file() for loading raw RGBA | Andreas Kling | |
This was not used anywhere but added unnecessary members to Bitmap. | |||
2020-02-15 | LibGfx: Reduce header dependencies of Bitmap and Font | Andreas Kling | |
2020-02-15 | LibGfx: Move a bunch of LogStream::operator<< to cpp files | Andreas Kling | |
2020-02-15 | LibCore: Move LogStream::operator<< overloads into cpp files | Andreas Kling | |
2020-02-15 | LibCore: Remove a bunch of unnecessary forward declarations | Andreas Kling | |
Now that we get LibCore forward declarations from <LibCore/Forward.h>, we don't need to declare things manually. | |||
2020-02-15 | LibGfx: Remove Utf8View.h dependency from Font.h | Andreas Kling | |
2020-02-15 | LibGUI: Remove more header dependencies from Widget.h | Andreas Kling | |
2020-02-15 | LibCore: Replace manual forward declarations with <LibCore/Forward.h> | Andreas Kling | |
2020-02-15 | AK: Remove manual forward declarations with <AK/Forward.h> | Andreas Kling | |
2020-02-15 | LibGfx: Replace manual forward declarations with <LibGfx/Forward.h> | Andreas Kling | |
2020-02-14 | LibGUI: Remove some header dependencies from Widget.h | Andreas Kling | |
2020-02-14 | LibGfx: More work on header dependency reduction | Andreas Kling | |
2020-02-14 | AK: Add Utf8View to Forward.h | Andreas Kling | |
2020-02-14 | AK: Add LogStream and DebugLogStream to Forward.h | Andreas Kling | |
2020-02-14 | LibGfx: Add forward declaration header | Andreas Kling | |
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx. | |||
2020-02-14 | AK: Add SharedBuffer to Forward.h | Andreas Kling | |
2020-02-14 | LibCore: Add a forward declaration header | Andreas Kling | |
This patch adds <LibCore/Forward.h> and uses it in various places to shrink the header dependency graph. | |||
2020-02-14 | AK: Add a forward declaration header | Andreas Kling | |
You can now #include <AK/Forward.h> to get most of the AK types as forward declarations. Header dependency explosion is one of the main contributors to compile times at the moment, so this is a step towards smaller include graphs. | |||
2020-02-14 | Userland: Fix typos in setting user id | Shannon Booth | |
Fixes: #1219 | |||
2020-02-14 | Userland: Fix error handling in rm program | Shannon Booth | |
Fixes: #1218 | |||
2020-02-14 | LibGUI: Add missing Event.cpp file | Andreas Kling | |
2020-02-14 | LibGUI: Port the drag&drop code to Core::MimeData | Andreas Kling | |
2020-02-14 | LibCore: Add Core::MimeData class | Andreas Kling | |
This object contains zero or more { mime_type, data } entries and will be used for clipboard data as well as drag & drop. | |||
2020-02-13 | FileManager: Copy item(s) when dragging and dropping them :^) | Andreas Kling | |
This patch implements basic drag & drop file management in a narrow set of cases. You can now drag & drop a file onto a folder in the same directory, and the dropped file will be copied into the directory. We'll need to support a lot more variations of this, but this is nice! | |||
2020-02-13 | FileManager: Run clang-format on main.cpp | Andreas Kling | |
2020-02-13 | LibGUI: Indicate ItemView drag acceptance with a little rectangle | Andreas Kling | |
If an index accepts a drag, we now draw a little rectangle around it when the drag moves over it. | |||
2020-02-13 | LibGUI: Allow dropping drags on AbstractView | Andreas Kling | |
You can now drop things on an AbstractView, which will ask its model if the drag is acceptable to drop at the index where it's dropped. If it's accepted by the model, the view will fire the on_drop hook. | |||
2020-02-13 | LibGUI: Have FileSystemModel accept url-list drags onto directories | Andreas Kling | |
2020-02-13 | LibGUI: Add GUI::Model::accepts_drag(index, data_type) | Andreas Kling | |
This allows a model to indicate whether it would accept a drag with a given data type being dropped on a given index. | |||
2020-02-13 | WindowServer+LibGUI: Add a "drag move" event | Andreas Kling | |
This allows windows/widgets to learn when something is being dragged over them. They can then repaint themselves somehow to indicate that they are willing to accept a drop. Currently this is piggybacking somewhat on the mouse event mechanism in WindowServer. I'm not sure that's the best design but it seemed easier to do it this way right now. | |||
2020-02-13 | WebServer: Ensure directory listing URLs end with a slash | Bogdan | |
We will now send a redirect (301) if a directory listing is requested and the request URL doesn't end with a slash character. This makes relative file URLs that we generate in directory listings actually work as expected. | |||
2020-02-13 | LibGUI: Don't assert when hovering spacing around single-child Splitter | Andreas Kling | |
Fixes #1215. | |||
2020-02-13 | WebServer: Remove debug spam in directory listing code | Andreas Kling | |
2020-02-13 | WebServer: Escape HTML entities in path names in directory listings | Andreas Kling | |
I left a FIXME in here about implementing URL encoding. | |||
2020-02-13 | AK: Move escape_html_entities() from LibHTML to AK | Andreas Kling | |
This sort of thing can be useful to things that don't want to link with all of LibHTML. | |||
2020-02-12 | WebServer: Show file size and modification time in directory listings | Andreas Kling | |
This exposed an issue with the unveil() implementation which currently short-circuits path resolution for any path containing "/..". This will cause the ".." entry to show up with a 1970-01-01 mtime for now. FIXME. Also add some rulers and a nice little footer. :^) | |||
2020-02-12 | WebServer: Add basic directory listings | Andreas Kling | |
If a directory does not have an index.html file, we will now generate a directory listing HTML document for that directory on the fly. :^) | |||
2020-02-12 | LibCore: Add "static bool Core::File::exists(filename)" | Andreas Kling | |
2020-02-12 | LibGUI: Always unhighlight table view column headers when cursor leaves | Andreas Kling | |
If the cursor left a table view column header while also pressing it, we would keep the header highlighted. This was not consistent with how regular buttons behaved. | |||
2020-02-12 | LibGUI: Make last auto-sized widget in a BoxLayout fill remaining space | Andreas Kling | |
Since space is divided evenly between widgets with SizePolicy::Fill, we were sometimes ending up with a couple of unused pixels after the last widget (due to rounding.) Fix this by always giving the slack pixels at the end to the very last auto-sized widget in the layout. This fixes an issue where it was sometimes possible to click on an "unreachable" part of a Splitter widget. :^) | |||
2020-02-12 | WindowServer: Move some menu related code into MenuManager | Shannon Booth | |
Shuffle around some menu related code from window manager into menu manager. This still is not perfect, and results in a little more of the window manager to be publically exposed - but this is another step towards better seperation of concerns between menu and window manager. We also move the mouse_event handling into a new function in menu manager as event handling was beginning to become a bit chunky. | |||
2020-02-11 | IRCClient: Use Core::DateTime | Andreas Kling | |
2020-02-11 | LibGUI: Use Core::DateTime in FileSystemModel | Andreas Kling | |
2020-02-11 | Userland: Use Core::DateTime | Andreas Kling | |
2020-02-11 | LibCore: Add DateTime::from_timestamp(time_t) | Andreas Kling | |
2020-02-11 | WebServer: Use Core::DateTime for logging timestamps | Andreas Kling | |
2020-02-11 | LibCore: Add a basic Core::DateTime class | Andreas Kling | |
This is just to have a pleasant way to print the current time for now: dbg() << Core::DateTime::now(); Or if you want it as a string: Core::DateTime::now().to_string(); | |||
2020-02-11 | LibC: Add localtime_r() | Andreas Kling | |