summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-15LibGUI: Don't leak every tooltip window ever :^)Andreas Kling
2020-02-15LibGUI: Remove some header dependencies from Application.hAndreas Kling
2020-02-15LibGfx: Remove unused Bitmap::load_from_file() for loading raw RGBAAndreas Kling
This was not used anywhere but added unnecessary members to Bitmap.
2020-02-15LibGfx: Reduce header dependencies of Bitmap and FontAndreas Kling
2020-02-15LibGfx: Move a bunch of LogStream::operator<< to cpp filesAndreas Kling
2020-02-15LibCore: Move LogStream::operator<< overloads into cpp filesAndreas Kling
2020-02-15LibCore: Remove a bunch of unnecessary forward declarationsAndreas Kling
Now that we get LibCore forward declarations from <LibCore/Forward.h>, we don't need to declare things manually.
2020-02-15LibGfx: Remove Utf8View.h dependency from Font.hAndreas Kling
2020-02-15LibGUI: Remove more header dependencies from Widget.hAndreas Kling
2020-02-15LibCore: Replace manual forward declarations with <LibCore/Forward.h>Andreas Kling
2020-02-15AK: Remove manual forward declarations with <AK/Forward.h>Andreas Kling
2020-02-15LibGfx: Replace manual forward declarations with <LibGfx/Forward.h>Andreas Kling
2020-02-14LibGUI: Remove some header dependencies from Widget.hAndreas Kling
2020-02-14LibGfx: More work on header dependency reductionAndreas Kling
2020-02-14AK: Add Utf8View to Forward.hAndreas Kling
2020-02-14AK: Add LogStream and DebugLogStream to Forward.hAndreas Kling
2020-02-14LibGfx: Add forward declaration headerAndreas Kling
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx.
2020-02-14AK: Add SharedBuffer to Forward.hAndreas Kling
2020-02-14LibCore: Add a forward declaration headerAndreas Kling
This patch adds <LibCore/Forward.h> and uses it in various places to shrink the header dependency graph.
2020-02-14AK: Add a forward declaration headerAndreas 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-14Userland: Fix typos in setting user idShannon Booth
Fixes: #1219
2020-02-14Userland: Fix error handling in rm programShannon Booth
Fixes: #1218
2020-02-14LibGUI: Add missing Event.cpp fileAndreas Kling
2020-02-14LibGUI: Port the drag&drop code to Core::MimeDataAndreas Kling
2020-02-14LibCore: Add Core::MimeData classAndreas 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-13FileManager: 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-13FileManager: Run clang-format on main.cppAndreas Kling
2020-02-13LibGUI: Indicate ItemView drag acceptance with a little rectangleAndreas Kling
If an index accepts a drag, we now draw a little rectangle around it when the drag moves over it.
2020-02-13LibGUI: Allow dropping drags on AbstractViewAndreas 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-13LibGUI: Have FileSystemModel accept url-list drags onto directoriesAndreas Kling
2020-02-13LibGUI: 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-13WindowServer+LibGUI: Add a "drag move" eventAndreas 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-13WebServer: Ensure directory listing URLs end with a slashBogdan
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-13LibGUI: Don't assert when hovering spacing around single-child SplitterAndreas Kling
Fixes #1215.
2020-02-13WebServer: Remove debug spam in directory listing codeAndreas Kling
2020-02-13WebServer: Escape HTML entities in path names in directory listingsAndreas Kling
I left a FIXME in here about implementing URL encoding.
2020-02-13AK: Move escape_html_entities() from LibHTML to AKAndreas Kling
This sort of thing can be useful to things that don't want to link with all of LibHTML.
2020-02-12WebServer: Show file size and modification time in directory listingsAndreas 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-12WebServer: Add basic directory listingsAndreas 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-12LibCore: Add "static bool Core::File::exists(filename)"Andreas Kling
2020-02-12LibGUI: Always unhighlight table view column headers when cursor leavesAndreas 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-12LibGUI: Make last auto-sized widget in a BoxLayout fill remaining spaceAndreas 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-12WindowServer: Move some menu related code into MenuManagerShannon 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-11IRCClient: Use Core::DateTimeAndreas Kling
2020-02-11LibGUI: Use Core::DateTime in FileSystemModelAndreas Kling
2020-02-11Userland: Use Core::DateTimeAndreas Kling
2020-02-11LibCore: Add DateTime::from_timestamp(time_t)Andreas Kling
2020-02-11WebServer: Use Core::DateTime for logging timestampsAndreas Kling
2020-02-11LibCore: Add a basic Core::DateTime classAndreas 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-11LibC: Add localtime_r()Andreas Kling