History log of /haiku/src/preferences/backgrounds/ImageFilePanel.h
Revision Date Author Comments
# 1a61e82b 23-Jul-2022 John Scipione <jscipione@gmail.com>

Backgrounds: Rename CustomRefFilter to ImageFilter

... and simplify Filter() logic. Check that GuessMimeType()
status is B_OK. Rename imageFiltering variable to filtering.

No functional change intended unless GuessMimeType() errors.

Change-Id: Ie29f8408a62ee65bf64db5c0bfcc8a13ef89aa15
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5496
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 0a669f8c 29-Dec-2013 John Scipione <jscipione@gmail.com>

Backgrounds: style fixes only

* Update copyright headers
* Fill in pragmas
* Eliminate superfluous B_USE_DEFAULT_SPACING, 80 char limit too
* rename msg variable to message


# dca191e9 05-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33910 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bcfe344c 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30830 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fffc7e3e 03-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix probable memory leaks



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27849 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb377cd5 26-Feb-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20243 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca480700 25-Jan-2007 Jérôme Duval <korli@users.berlios.de>

fix for warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c5611a0 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15713 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd2d1ffd 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Renamed BGView to BackgroundsView, etc.
* Moved ImageFilePanel code to its own file, so that it can be reused easily.
* Moved BGWindow stuff into Backgrounds.cpp.
* Cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15712 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a669f8cd8c354dfe1b4c9553454543e36ea9d0b 29-Dec-2013 John Scipione <jscipione@gmail.com>

Backgrounds: style fixes only

* Update copyright headers
* Fill in pragmas
* Eliminate superfluous B_USE_DEFAULT_SPACING, 80 char limit too
* rename msg variable to message


# dca191e9b75fa7c5d70177042a7bc29983e93836 05-Nov-2009 Jonas Sundström <jonas@kirilla.com>

Partial clean-up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33910 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bcfe344c537cb0dcee183c5a9afb4c362f5abe86 22-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
(as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
stat_beos*, and and made it private. Added a new version (using up a
reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
for sake of binary compatibility. This breaks source compatibility, though,
which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
BRefFilter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30830 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fffc7e3e42bab8e83d93be99416131799834ff93 03-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* fix probable memory leaks



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27849 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb377cd514b55c8230edae50687da627de3aff22 26-Feb-2007 Jérôme Duval <korli@users.berlios.de>

fixing indenting style issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20243 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ca48070032a39e3e084fda40c8c110874bd61e1f 25-Jan-2007 Jérôme Duval <korli@users.berlios.de>

fix for warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c5611a064ab08ac103671deed9e412745e48bf6 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15713 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd2d1ffddaf52a626186ee4b15320e9415fe5d0b 29-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

* Renamed BGView to BackgroundsView, etc.
* Moved ImageFilePanel code to its own file, so that it can be reused easily.
* Moved BGWindow stuff into Backgrounds.cpp.
* Cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15712 a95241bf-73f2-0310-859d-f6bbb57e9c96