Matthew Olsson
091c2cfdca
PDFViewer: Add page mode option
2022-04-04 14:59:37 +02:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Matthew Olsson
6bed20f456
PDFViewer: Use ArgsParser
2022-03-31 18:10:45 +02:00
Mustafa Quraish
effb19f996
PDFViewer: Use FileSystemAccessClient::try_* APIs
2022-01-20 10:39:12 +01:00
creator1creeper1
a76e97df64
PDFViewer: Propagate errors using try_set_main_widget in main
2022-01-09 00:56:11 +01:00
Andreas Kling
e815bf5d1f
PDFViewer: Add a basic set of pledges
2021-12-25 10:58:30 +01:00
Andreas Kling
21a5fb0fa2
LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore
...
With this change, System::foo() becomes Core::System::foo().
Since LibCore builds on other systems than SerenityOS, we now have to
make sure that wrappers work with just a standard C library underneath.
2021-11-23 11:33:36 +01:00
Mustafa Quraish
4d302e0e88
Everywhere: Use Application::construct() with Main::Arguments directly
...
Use the updated API everywhere we are currently manually passing in
`arguments.argc` and `arguments.argv`.
2021-11-22 21:13:42 -08:00
Pascal Puffke
61408e2397
PDFViewer: Port to LibMain
2021-11-22 23:56:22 +01:00
Mustafa Quraish
0f749681a9
Everywhere: Use my fancy new serenityos.org email :^)
2021-09-13 20:51:50 +00:00
Mustafa Quraish
63ff5873d8
PDFViewer: Open CLI files through FileSystemAccessServer without prompt
...
Use `request_file_read_only_approved()` for the file (if any) is
specified through a command line argument.
2021-09-10 20:46:50 +04:30
Mustafa Quraish
eae21c7e31
PDFViewer: Use FileSystemAccessClient to open files
2021-09-04 03:32:30 +02:00
Andreas Kling
687a12d7fb
Userland: Add GUI::Window::add_menu() and use it everywhere
...
Applications previously had to create a GUI::Menubar object, add menus
to it, and then call GUI::Window::set_menubar().
This patch introduces GUI::Window::add_menu() which creates the menubar
automatically and adds items to it. Application code becomes slightly
simpler as a result. :^)
2021-07-21 21:24:26 +02:00
Andreas Kling
df29d58e19
PDFViewer+Base: Display application title as "PDF Viewer"
...
This matches other applications in the system. :^)
2021-05-18 21:00:32 +02:00
Matthew Olsson
f7ea1eb610
Applications: Add a very simple PDFViewer
2021-05-18 16:35:23 +02:00