1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 14:05:11 +00:00
serenity/Userland/Libraries/LibGUI
Nico Weber 58838db445 LibGfx: Add the start of a JBIG2 loader
JBIG2 is infamous for two things:

1. It's used in xerox scanners were it falsifies scanned numbers:

https://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_are_switching_written_numbers_when_scanning

2. It was allegedly used in an iOS zero day, in a very cool way:

https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html

Needless to say, we need support for it in Serenity. (...because it's
used in PDF files.)

This adds all the scaffolding, but no actual implementation yet.

It's enough for `file` to print the mime type of .jb2 files, but `image`
can't do anything with the files yet.
2024-03-09 16:01:22 +01:00
..
GML Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Wizards Userland: Use non-fallible EventReceiver::add() where possible 2023-09-25 10:58:31 +02:00
AboutDialog.cpp AboutDialog: Port to GML Complier 2024-02-26 13:20:42 -07:00
AboutDialog.gml AboutDialog: Port to GML Complier 2024-02-26 13:20:42 -07:00
AboutDialog.h
AboutDialogWidget.h AboutDialog: Port to GML Complier 2024-02-26 13:20:42 -07:00
AbstractButton.cpp
AbstractButton.h
AbstractScrollableWidget.cpp
AbstractScrollableWidget.h
AbstractSlider.cpp
AbstractSlider.h
AbstractTableView.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
AbstractTableView.h
AbstractThemePreview.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AbstractThemePreview.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AbstractView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AbstractView.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AbstractZoomPanWidget.cpp
AbstractZoomPanWidget.h
Action.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Action.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ActionGroup.cpp
ActionGroup.h
Application.cpp LibGUI: Consider carriage returns when counting lines in a label 2024-03-08 14:43:33 -05:00
Application.h LibGUI+Userland: Take ByteString in set_most_recently_open_file() 2024-01-24 11:07:03 +00:00
AutocompleteProvider.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AutocompleteProvider.h
BoxLayout.cpp LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
BoxLayout.h
Breadcrumbbar.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Breadcrumbbar.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Button.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Button.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Calendar.cpp LibGUI: Add Calendar property for mode 2024-02-24 18:54:51 -07:00
Calendar.h LibGUI: Add Calendar property for mode 2024-02-24 18:54:51 -07:00
CheckBox.cpp
CheckBox.h
Clipboard.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Clipboard.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CMakeLists.txt AboutDialog: Port to GML Complier 2024-02-26 13:20:42 -07:00
ColorFilterer.h
ColorInput.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ColorInput.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ColorPicker.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ColorPicker.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ColumnsView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ColumnsView.h
ComboBox.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ComboBox.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Command.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CommandPalette.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CommandPalette.h
CommonActions.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CommonLocationsProvider.cpp Base: Create user default Music and Pictures directories 2024-02-05 16:30:52 +01:00
CommonLocationsProvider.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CommonMenus.cpp
ConnectionToWindowManagerServer.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ConnectionToWindowManagerServer.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ConnectionToWindowServer.cpp Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
ConnectionToWindowServer.h Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
DatePicker.cpp LibGUI: Remove redundant Widget::update calls from DatePicker 2024-02-24 18:54:51 -07:00
DatePicker.h Calendar: Move MonthListModel into Calendar.h 2024-01-06 10:37:53 -07:00
DatePickerDialog.gml LibGUI: Add Calendar property for mode 2024-02-24 18:54:51 -07:00
Desktop.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Desktop.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Dialog.cpp
Dialog.h LibGUI: Add a MessageBox type to reveal a file 2024-01-06 20:11:12 +00:00
DisplayLink.cpp
DisplayLink.h
DragOperation.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DragOperation.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DynamicWidgetContainer.cpp Everywhere: Add deprecated_ prefix to JsonValue::to_byte_string 2024-01-12 17:41:34 -07:00
DynamicWidgetContainer.h LibGUI: Add DynamicWidgetContainter 2023-12-14 09:07:20 -07:00
DynamicWidgetContainerControls.gml LibGUI: Add DynamicWidgetContainter 2023-12-14 09:07:20 -07:00
DynamicWidgetContainerControls.h LibGUI: Add DynamicWidgetContainter 2023-12-14 09:07:20 -07:00
EditingEngine.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
EditingEngine.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
EmojiInputDialog.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
EmojiInputDialog.gml
EmojiInputDialog.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Event.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Event.h LibGUI: Define bitwise operations for GUI::MouseButton 2024-03-06 07:46:18 +01:00
FileIconProvider.cpp LibFileSystem+Everywhere: Return ByteString from read_link() 2024-01-16 08:42:34 +00:00
FileIconProvider.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FilePicker.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FilePicker.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FilePickerDialog.gml
FileSystemModel.cpp LibFileSystem+Everywhere: Return ByteString from read_link() 2024-01-16 08:42:34 +00:00
FileSystemModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileTypeFilter.h LibGfx: Add the start of a JBIG2 loader 2024-03-09 16:01:22 +01:00
FilteringProxyModel.cpp LibGUI: Display commands on CommandPalette's start up 2023-12-20 12:22:05 +01:00
FilteringProxyModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FocusPolicy.h
FocusSource.h
FontPicker.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FontPicker.h
FontPickerDialog.gml LibGUI+Applications: Default the SpinBox min/max to the full int range 2024-01-14 13:46:14 +00:00
Forward.h LibGUI: Add a date picker dialog 2024-01-06 10:37:53 -07:00
Frame.cpp
Frame.h
GitCommitLexer.cpp
GitCommitLexer.h
GitCommitSyntaxHighlighter.cpp
GitCommitSyntaxHighlighter.h
GlyphMapWidget.cpp Userland: Draw tooltip over glyph to show UTF-8 code point 2023-10-26 11:12:49 +02:00
GlyphMapWidget.h Userland: Draw tooltip over glyph to show UTF-8 code point 2023-10-26 11:12:49 +02:00
GroupBox.cpp
GroupBox.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HeaderView.cpp LibGUI: Allow HeaderView column selectability to be toggled 2024-01-14 15:01:47 -07:00
HeaderView.h LibGUI: Allow HeaderView column selectability to be toggled 2024-01-14 15:01:47 -07:00
HorizontalSlider.h LibGUI: Split HorizontalSlider to separate header 2023-12-08 01:06:09 +01:00
Icon.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Icon.h LibGUI: Use HashMap::keys() to hand out the available sizes of icons 2024-03-01 14:05:53 -07:00
IconView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
IconView.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ImageWidget.cpp LibGfx+Fallout: Make ImageDecoder return ErrorOr 2024-03-07 11:20:06 -05:00
ImageWidget.h
IncrementalSearchBanner.cpp
IncrementalSearchBanner.gml
IncrementalSearchBanner.h
INILexer.cpp
INILexer.h
INISyntaxHighlighter.cpp
INISyntaxHighlighter.h
InputBox.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
InputBox.h
ItemListModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
JsonArrayModel.cpp LibGUI: Remove GUI::Variant::Variant(JsonValue const&) 2024-01-21 15:47:53 -07:00
JsonArrayModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Label.cpp LibGUI: Consider carriage returns when counting lines in a label 2024-03-08 14:43:33 -05:00
Label.h
LabelWithEventDispatcher.cpp LibGUI: Add DynamicWidgetContainter 2023-12-14 09:07:20 -07:00
LabelWithEventDispatcher.h LibGUI: Add DynamicWidgetContainter 2023-12-14 09:07:20 -07:00
Layout.cpp LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
Layout.h
LazyWidget.cpp
LazyWidget.h
LinkLabel.cpp Applications: Stop calling set_tooltip_deprecated when we do have String 2023-10-06 08:20:11 +02:00
LinkLabel.h
ListView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ListView.h
Margins.h LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
Menu.cpp LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
Menu.h LibGUI+WindowServer: Add menu minimum width support 2024-01-29 05:29:41 -07:00
Menubar.cpp
Menubar.h
MenuItem.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
MenuItem.h
MessageBox.cpp LibGUI: Add a MessageBox type to reveal a file 2024-01-06 20:11:12 +00:00
MessageBox.h LibGUI: Add a MessageBox type to reveal a file 2024-01-06 20:11:12 +00:00
Model.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Model.h Userland: Port lists of mime types to String 2023-09-29 14:40:21 +01:00
ModelEditingDelegate.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ModelIndex.cpp
ModelIndex.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
ModelRole.h
ModelSelection.cpp
ModelSelection.h
MouseTracker.cpp
MouseTracker.h
MultiView.cpp
MultiView.h
Notification.cpp
Notification.h
NumericInput.cpp LibGUI: Make NumericInput work well in GML 2024-01-10 13:13:27 +00:00
NumericInput.h LibGUI: Make NumericInput work well in GML 2024-01-10 13:13:27 +00:00
Object.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Object.h LibGUI: Make old register_property a private method of Object 2024-01-06 09:15:37 -07:00
OpacitySlider.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
OpacitySlider.h
Painter.cpp
Painter.h
PasswordInputDialog.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PasswordInputDialog.gml
PasswordInputDialog.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PathBreadcrumbbar.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PathBreadcrumbbar.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PersistentModelIndex.cpp
PersistentModelIndex.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
Process.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Process.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ProcessChooser.cpp
ProcessChooser.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Progressbar.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Progressbar.h LibGUI: Add set_text(String) method to ProgressBar 2023-12-27 15:29:50 +01:00
Property.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Property.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PropertyDeserializer.cpp AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
PropertyDeserializer.h AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
RadioButton.cpp
RadioButton.h
RangeSlider.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
RangeSlider.h
RegularEditingEngine.cpp
RegularEditingEngine.h
ResizeCorner.cpp
ResizeCorner.h
ResizeDirection.h
RunningProcessesModel.cpp
RunningProcessesModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ScreenLayout.cpp
ScrollableContainerWidget.cpp
ScrollableContainerWidget.h
Scrollbar.cpp
Scrollbar.h
SeparatorWidget.cpp
SeparatorWidget.h
SettingsWindow.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SettingsWindow.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Shortcut.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Shortcut.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Slider.cpp LibGUI: Split HorizontalSlider to separate header 2023-12-08 01:06:09 +01:00
Slider.h LibGUI: Split HorizontalSlider to separate header 2023-12-08 01:06:09 +01:00
SortingProxyModel.cpp Userland: Port lists of mime types to String 2023-09-29 14:40:21 +01:00
SortingProxyModel.h Userland: Port lists of mime types to String 2023-09-29 14:40:21 +01:00
SpinBox.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
SpinBox.h LibGUI+Applications: Default the SpinBox min/max to the full int range 2024-01-14 13:46:14 +00:00
Splitter.cpp
Splitter.h GMLCompiler: Add enum initializer for opportunistic_resizee property 2023-12-08 01:06:09 +01:00
StackWidget.cpp
StackWidget.h
Statusbar.cpp
Statusbar.h LibGUI: Make Statusbar::set_segment_count() public 2023-10-07 11:36:57 +02:00
SystemEffects.h
TableView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TableView.h
TabWidget.cpp LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
TabWidget.h LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
TextBox.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextBox.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextDocument.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextDocument.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextEditor.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextEditor.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TextPosition.h
TextRange.h
Toolbar.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Toolbar.h
ToolbarContainer.cpp
ToolbarContainer.h
Tray.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Tray.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TreeView.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TreeView.h
TreeViewModel.cpp
TreeViewModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
UIDimensions.h LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
UndoStack.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
UndoStack.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ValueSlider.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
ValueSlider.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Variant.cpp LibGUI: Remove GUI::Variant::Variant(JsonValue const&) 2024-01-21 15:47:53 -07:00
Variant.h LibGUI: Remove GUI::Variant::Variant(JsonValue const&) 2024-01-21 15:47:53 -07:00
VimEditingEngine.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
VimEditingEngine.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Widget.cpp LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
Widget.h GMLCompiler: Add common pattern for a user-defined fallible initializer 2024-01-29 05:21:48 -07:00
Window.cpp LibGUI: Port rest of the classes to property deserializers 2024-01-06 09:15:37 -07:00
Window.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WindowMode.h
WindowType.h