Matthew Wilber
7fb3685ba6
Fixed low-depth grayscale issue, PNGTranslator can now read grayscale PNG images that are less than 8 bpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 23:09:19 +00:00
Matthew Wilber
1b56ef303a
Removed "unsupported images" test, as those images are now supported by the PNGTranslator. Also, removed the folder from the image paths to reduce redundancy and improve readability
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 23:07:29 +00:00
Matthew Wilber
e497624c0c
Added test to make certain PNGTranslator handles unsupported grayscale images properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 13:35:55 +00:00
Matthew Wilber
efbdb56bb0
Added comments to clarify transparency features of PNG images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:48:17 +00:00
Matthew Wilber
5de6376dca
Initial check in for PNGTranslator tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:46:32 +00:00
Matthew Wilber
cc0dc2a277
Added PNGTranslator tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:45:38 +00:00
Matthew Wilber
85eea08ac9
decreased whitespace between files, modified error message text
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:35:57 +00:00
Matthew Wilber
e2ed67d283
removed debugger call
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:08:28 +00:00
Matthew Wilber
1c47da1361
Initial check in for pnginfo, command line program for displaying info about PNG image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:05:21 +00:00
Matthew Wilber
7678994136
Added pnginfo tool
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:03:34 +00:00
Matthew Wilber
9f33f8e014
Disabled support for grayscale images with bit depths less than 8. This is because libpng does not support these images when it does gray to RGB conversion. Will need to enhance libpng or add workarounds to PNGTranslator to fix this issue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 19:59:10 +00:00
Matthew Wilber
75b172d82d
Added SGITranslator to list of included files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-10 19:58:09 +00:00
Matthew Wilber
92fd335690
Fixed to check if refs are directories and to error properly if they are
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 03:19:03 +00:00
Matthew Wilber
5a253979d3
Fixed window title to match Be's version, removed bits->bits translation code (this should be handled in the BaseTranslator.cpp anyway) and removed hardcoding of config view bg color
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:12:13 +00:00
Matthew Wilber
2058c6c754
Changed window title to be consistent with the other translators
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:09:40 +00:00
Matthew Wilber
3d5b4968bd
Fixed window title to match Be's version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:08:35 +00:00
Matthew Wilber
c1a96ad26c
Made window title just like Be's, removed bits->bits translation code (should never be called, this case should be handled in BaseTranslator.cpp), fixed hardcoding of config view bg color
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:06:40 +00:00
Matthew Wilber
edd8878638
Changed to use shared translator code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:03:52 +00:00
Matthew Wilber
54abea93f0
Changed to use shared translator code, these files are no longer needed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 23:49:10 +00:00
Matthew Wilber
862e3ac371
Changed to use shared translator code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 23:48:26 +00:00
Matthew Wilber
28cac36c73
Updated config message test for new STXTTranslator behavior
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 23:38:17 +00:00
Matthew Wilber
a1fd38b277
changed to use shared translator code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 04:38:21 +00:00
Matthew Wilber
c36e6575c8
moved translate_direct_copy function from PNGTranslator to BaseTranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 04:23:26 +00:00
Matthew Wilber
d02fdb8eb5
Fixed bug preventing PNGTranslator from opening PNG images, fixed version number text in config panel
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 03:16:34 +00:00
Matthew Wilber
40bf8c0ae5
Changed to use shared translator code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:58:18 +00:00
Matthew Wilber
8d21fd135f
Corrected a few comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:43:25 +00:00
Matthew Wilber
ec5034e71f
Changed to use shared translator code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:42:01 +00:00
Matthew Wilber
8241861213
improved magic number variable names
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:40:02 +00:00
Matthew Wilber
dd5f74defc
updated config message test to include new "ignore alpha" setting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:38:09 +00:00
Matthew Wilber
be510fa83f
updated test to reflect new config message behavior
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 01:37:11 +00:00
Matthew Wilber
51c15c1cad
Changed TGATranslator to use shared translator code instead of duplicating code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 19:32:34 +00:00
Matthew Wilber
c56079fb22
Initial checking for shared translator code. Many of the translators share many lines of the same code. This code helps eliminate duplicate code, and should help the process of making translators easier
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 19:29:57 +00:00
Matthew Wilber
ba25ca5cf0
Fixed & / | mixup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:12:29 +00:00
Matthew Wilber
f08ccd9586
updated quality/capability numbers, changed for new version test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:10:58 +00:00
Matthew Wilber
ba75d70283
udpated quality/capability numbers, changed for new version test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:09:17 +00:00
Matthew Wilber
39bd440993
updated for new version test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:08:29 +00:00
Matthew Wilber
4380aa029e
Fixed translator version test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:06:47 +00:00
Matthew Wilber
d796ec827a
Updated for version macro name changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 16:55:12 +00:00
Matthew Wilber
ab71ec93c8
Changed version macros to use Be naming scheme
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 16:54:11 +00:00
Matthew Wilber
d5b989f7ff
Changed to use version macros
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 19:17:11 +00:00
Matthew Wilber
ed2a34c44f
Added version macros to be used by the translation kit / translators for making and decoding version numbers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 19:13:20 +00:00
Matthew Wilber
8dee39bf9a
Removed GPL text as permission was obtained from Michael Sweet to allow this derivative work to be distributed under the OpenBeOS license.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:52:18 +00:00
Matthew Wilber
b309d0de79
Fixed version number calculations, disabled headerOnly and dataOnly options
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:29:01 +00:00
Matthew Wilber
f29673f8ae
Initial check in for Stephan Assmus' SGITranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:55:38 +00:00
Matthew Wilber
fbf9f5c51e
added SGITranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:53:54 +00:00
Matthew Wilber
9f92d9c62b
Corrected the quality/capability values which I set when I misunderstood them.
...
These values are described best in the BeBook: TranslatorRoster.html
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:26:25 +00:00
Matthew Wilber
a7e78e3b64
Fixed file saving code so that it is only in one place, (instead of two) and fixed File-->Save As so that it now writes out the type attribute
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:15:59 +00:00
Matthew Wilber
01a21f2027
Fixed GetTranslators to return the list of output formats in the order of most capable to least capable instead of before, where the list's order was the reverse of the order in which the translators were loaded.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:06:59 +00:00
Matthew Wilber
d551902916
Changed the quality/capability comments to more clearly explain what they are for
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 02:56:04 +00:00
Matthew Wilber
869e256d67
Added feature where a file dropped from the Tracker becomes the current selection
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 00:32:51 +00:00
Matthew Wilber
147fecb0db
Fixed application signature inconsistency and fixed a typo
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-17 16:52:19 +00:00
Matthew Wilber
2a90041c24
Fixed Find/Replace mix-up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-16 02:09:38 +00:00
Matthew Wilber
462cf13ce7
Added Stephan Assmus' TIFF writing code. Now the TIFFTranslator can write TIFF images with a few different compression options.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-16 02:04:30 +00:00
Matthew Wilber
023968853e
Changed to ignore dubious values in the fileSize and imagesize fields. These fields are not needed in the actual decoding of BMP images anyway. Some Windows image viewers are equally forgiving with these fields, as there are programs that write dubious BMPs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 02:03:48 +00:00
Matthew Wilber
74f9d75678
Changed the test to not care about dubious values in the fileSize field
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 01:59:31 +00:00
Matthew Wilber
dae7c017c5
Initial check in for bmpinfo, a program that displays the header information from BMP image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 01:42:30 +00:00
Matthew Wilber
06a2af8a70
added bmpinfo (shows info about BMP image files)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 01:39:57 +00:00
Matthew Wilber
ccb32f11fb
Updated Jamfile to use zlib version 1.2.1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 02:20:59 +00:00
Matthew Wilber
0d1f289373
Updated zlib from version 1.1.4 to 1.2.1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 02:20:08 +00:00
Matthew Wilber
f073093624
Added README file to Translation Kit Package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-11 15:22:08 +00:00
Matthew Wilber
7d181dbc57
Created openbeos-translationkit-cvs Package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-11 07:15:48 +00:00
Matthew Wilber
61ac0c3523
Changed GetAllTranslators to generate the list of Translators in the same order they were read in (instead of the reverse). This should cause the list of Translators in the DataTranslations pref and in Save As submenus to be in the same order as when using Be's version of the Translation Kit. Also changed the Translation Kit version string calculations to match those for the Translators. So, for R5, the version string becomes "Translation Kit v5.0.0" instead of "Translation Kit v12.8.0", which is what Be's version does, but doesn't appear right because it doesn't match the calculations the Translators use.. Note that the version number is still the same, only how it appears in the string is different.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 21:03:36 +00:00
Matthew Wilber
b6aabb5c95
Fixed AddTranslator to behave like Be's version: Translators passed to the function are added even if they are already in the list.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 19:47:28 +00:00
Matthew Wilber
3b5dd3bc32
Fixed LoadTranslator so that Translators won't be added to the roster if there is already a Translator loaded that has the same filename. Now Translators in /system/add-ons/Translators will not be loaded if there are Translators with the same names in /home/config/add-ons/Translators.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 04:40:52 +00:00
Matthew Wilber
6439a8fc6d
Changed to always write out full image, ignoring the headerOnly/dataOnly settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:45:24 +00:00
Matthew Wilber
293357ae2a
Changed to always write out the entire image and ignore the headerOnly/dataOnly settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:34:20 +00:00
Matthew Wilber
2c00fcbb62
Fixed QuickRes/headerOnly issue by ignoring headerOnly/dataOnly settings and always writting out the whole image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:23:49 +00:00
Matthew Wilber
e17553b84d
Fix for blank PNG images appearing in QuickRes. Apparently, when QuickRes asks for headerOnly, it really means that it wants the entire image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-09 02:06:38 +00:00
Matthew Wilber
176d835a41
Fixed version number format and calculations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 04:17:30 +00:00
Matthew Wilber
deef293945
Fixed version number format and calculations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:54:17 +00:00
Matthew Wilber
caff577d6a
Fixed version format and calculations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:47:09 +00:00
Matthew Wilber
0e292355ba
Fixed version format and calculations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:41:53 +00:00
Matthew Wilber
ead4b1fa60
Fixed version number format and calculations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 03:35:54 +00:00
Matthew Wilber
66cc749dfc
Fixed PNGTranslator Jamfile so that you can now build the PNGTranslator using Jam.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 23:40:52 +00:00
Matthew Wilber
18d77fc7c0
Finally added PNGTranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 23:39:12 +00:00
Matthew Wilber
e108d38cc1
Made translator able to tollerate interlaced PNG images that error in the call to png_read_end(), but have image data that is valid. This was the problem that prevented programs like BeBattle and Eric's Ultimate Solitare from working with the OBOS PNGTranslator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 04:01:37 +00:00
Matthew Wilber
8fc7439cef
Changed BMPTranslator to be less picky about the msheader.imagesize value. It now accepts the value if it is not less than the minimum possible imagesize.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 02:35:44 +00:00
Matthew Wilber
d2c9e14c64
Added bitmap with odd size values in its header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 02:32:33 +00:00
Matthew Wilber
c8057f9baa
Changed WriteStyledEditFile to be able to write plain text files on volumes that don't support attributes. Contributed by Andrew Bachmann
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:20:14 +00:00
Matthew Wilber
055b763078
Removed the debugging code mistakenly added in the last check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:18:10 +00:00
Matthew Wilber
0192d8f363
Oops! I didn't intend to check this in yet, I'm in the middle of debugging.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:50:08 +00:00
Matthew Wilber
a0c057d441
Updated Identify and Translate tests to match current behavior of the STXTTranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 19:40:14 +00:00
Matthew Wilber
01c931e6cb
Fixed bug in FindNextImage where -1 is returned instead of false
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 04:22:23 +00:00
Matthew Wilber
64d3ef5ff2
Fixed bug which occured when the Next or Previous image command was used with an image that failed to translate. Changed Next/Previous image behavior to skip past images that fail to translate.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 21:25:05 +00:00
Matthew Wilber
c98aac40f6
Updated libtiff to release version 3.6.1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 15:22:08 +00:00
Matthew Wilber
1de4129887
Shrunk initial window rectangle so that the scrolling operation performed in fImageView->FlushToLeftTop() will execute properly for certain small images.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 00:40:58 +00:00
Matthew Wilber
43ed8070bb
Removed ShowImage.rsrc. ShowImage.rdef should instead be used for ShowImage's resources.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-24 20:40:23 +00:00
Matthew Wilber
52c287f01b
Removed makefile, it was checked in by mistake. It has nothing to do with ShowImage.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-24 20:36:34 +00:00
Matthew Wilber
28b149e57c
Removed ShowImageX.proj BeIDE project file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-24 20:31:07 +00:00
Matthew Wilber
0916ab535d
Adjusted menu bar, scrollbars and view frame so that there are no longer double borders
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-24 20:27:09 +00:00
Matthew Wilber
6574ee0747
Removed some debug print statements, set the maximum allowed Zoom to 1600%
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 23:45:26 +00:00
Matthew Wilber
16b663b7ab
Disable the Invert menu item for B_CMAP8 bitmaps because they are currently unsupported by the invert algorithm.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 01:56:27 +00:00
Matthew Wilber
9f54b9718e
Cleared the Undo buffer when actions that are reversable are performed. Disabled Invert command for B_CMAP8 bitmaps, as they are not properly inverted
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 01:39:01 +00:00
Matthew Wilber
75238186d7
Fixed Edit-->Clear to leave behind a white box if the selection box is not moved after it is made, added Undo capability for Cut and Clear actions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-21 19:44:13 +00:00
Matthew Wilber
7598450e4f
Added initial implementation of Undo for OBOS ShowImage! Now, users can Undo/Redo merge/paste operations. Still need to enhance Undo further so that other operations can be undone, also need to account for image rotations and similar operations.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 03:31:28 +00:00
Matthew Wilber
16cb489052
Fixed default window location so that it now appears in the top left corner, like Be's ShowImage. Also, window is now properly aligned to the top left corner when it is zoomed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 00:26:29 +00:00
Matthew Wilber
55f2e33b2d
Changed Paste/DragDrop code so that a clip does not have to be pasted entirely within the bounds of the background bitmap
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 04:26:52 +00:00
Matthew Wilber
169c19d6f7
Implemented drag/drop from one ShowImage window to another
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 03:39:21 +00:00
Matthew Wilber
664c5b6911
Removed unneeded calls to Invalidate(), changed minimum size for selection rectangle so that users can click in an empty section of the window to unselect the selection
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 01:33:50 +00:00
Matthew Wilber
187f0b8a33
Fixed bug where the close confirmation would still appear after a changed document was closed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-10 22:47:10 +00:00