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 |
|
Matthew Wilber
|
1abb86b2ed
|
Initial check in for GIFTranslator, generously donated by Daniel Switkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-12-09 22:27:58 +00:00 |
|
Matthew Wilber
|
c04dd9b71c
|
Added Daniel Switkin's GIFTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5638 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-12-09 22:26:03 +00:00 |
|
Matthew Wilber
|
30060f173a
|
Changed Full Screen menu item shortcut to Alt-F and added BWindow shortcut for Full Screen using Alt-Enter so that Windows users can use the familar Alt-Enter and Be users will be able to use the familar Alt-F (MoviePlayer, ImageViewer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5498 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-29 14:37:43 +00:00 |
|
Matthew Wilber
|
bf84ef8841
|
Removed Keydown handler code that invoked the creation/removal of the thumbnail icons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5495 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-29 04:22:04 +00:00 |
|
Matthew Wilber
|
ee7b4f3983
|
Added checking for modified document and prompt the user if they try to close a document without saving.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-28 20:35:52 +00:00 |
|
Matthew Wilber
|
1f62b22aa0
|
Changed Cut behavior to match Be's version so that if the user Cuts a selection before moving it, the selection is cut, and a white rectangle is left in its place. If the selection is dragged before the Cut command is used, a white rectangle is not drawn.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5489 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-27 15:00:07 +00:00 |
|
Matthew Wilber
|
5196460539
|
Implemented Cut and Paste. Still need to implement Undo and check for a dirty document when the window or app is closed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5414 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-19 03:38:21 +00:00 |
|
Matthew Wilber
|
402c09e582
|
Added code to enable / disable the Edit->Paste menu item when the contents of the clipboard change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5413 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-19 01:46:00 +00:00 |
|
Matthew Wilber
|
2c2d7c8bdb
|
Removed Scale.cpp, no longer used
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5411 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-19 00:28:45 +00:00 |
|
Matthew Wilber
|
8ad30bcf80
|
Added code to merge selection with background image; removed Select None item, replaced it with Clear as Select None was behaving like Be ShowImage's Clear anyway; properly enabled/disabled Edit menu items when selection is made or cleared. Still no undo yet, but I'm planning to do that after Paste is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5403 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-18 02:48:53 +00:00 |
|
Matthew Wilber
|
9eec20bc4a
|
Changed fpBitmap to the more Be-ish notation of fBitmap, added code to allow the user to drag the bitmap selection around like in Be's ShowImage. However, no changes can be made yet to the underlying image. Need to resolve resize flickering of selected image and allow the user to modify the underlying image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5392 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-16 23:23:50 +00:00 |
|
Matthew Wilber
|
0e93ae51e9
|
Drag selection code can now move the selection inside the view, fixed selection drag code so that unwanted MouseUps don't affect the selection box movement. Though, drag selection code is not done yet, it is not yet copying the bitmap from where the selection was dragged from, it is just moving the selection rectangle. Dragging a selection to outside of the window still works the same.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-16 20:39:27 +00:00 |
|
Matthew Wilber
|
bf461dbeb4
|
Changed text for "Rotate Clockwise" and "Rotate Anticlockwise" to "Rotate +90" and "Rotate -90"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5387 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-16 17:08:48 +00:00 |
|
Matthew Wilber
|
d5be31007e
|
Fixed caption hiding method so that whenever any kind of scrolling is done, the caption is hidden in full screen mode. Previously, the caption would only hide during click-and-drag scrolling and using other scrolling would cause the caption to be painted in various places on top of the image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5384 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 18:06:24 +00:00 |
|
Matthew Wilber
|
2cb9af89a4
|
Changed page browsing keyboard shortcuts to make it possible to browse through files and pages without moving any hands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5383 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 16:14:19 +00:00 |
|
Matthew Wilber
|
89d164def7
|
Added comments to MouseWheelChanged function which explains how B_MOUSE_WHEEL_CHANGED behaves.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5376 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 13:33:26 +00:00 |
|
Matthew Wilber
|
868de40a82
|
Fixed issue where view scrolls to the left when mouse wheel is used, changed to scroll faster if the wheel is scrolled multiple clicks per B_MOUSE_WHEEL_CHANGED message, increased the scroll speed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5375 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 13:12:18 +00:00 |
|
Matthew Wilber
|
41b5b65875
|
Changed APP_FLAGS so that ShowImage will be a SINGLE LAUNCH application
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5368 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 00:56:42 +00:00 |
|
Matthew Wilber
|
60e5e3a209
|
Changed to have same APP_FLAGS as Be's ShowImage (SINGLE LAUNCH)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5365 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-15 00:42:47 +00:00 |
|
Matthew Wilber
|
ee727d5674
|
Added a setting which allows the user to ignore alpha data from TGA files. This is necessary when TGAs are created from certain programs that lie, saying they have an alpha channel, when they actually don't. Also, fixed usage of alpha data from color mapped TGA images. Some images were misread as having an alpha channel when they didn't, and some images were misread as not having an alpha channel, when they did.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-09 21:09:34 +00:00 |
|
Matthew Wilber
|
f1d75a87bd
|
Added -pixels option to dump pixel info to stdout and changed to accept multple input files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5291 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-09 18:41:37 +00:00 |
|
Matthew Wilber
|
6c3054116e
|
Added Go To Page submenu so the user can directly go to the page that they want. Also fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-09 14:10:26 +00:00 |
|
Matthew Wilber
|
1cb6ca0473
|
Fixed issue that caused some 32-bit TGA files to be converted to B_RGB32 (no alpha) instead of B_RGBA32 (alpha)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5284 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-08 17:03:06 +00:00 |
|
Matthew Wilber
|
735e7442a8
|
Changed to accept multiple command line parameters, added reading of extension info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5283 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-08 15:30:57 +00:00 |
|
Matthew Wilber
|
d61900aaa1
|
Initial check in for tgainfo, a command line program for displaying information about TGA image files. Useful for debugging the TGATranslator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5273 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-07 04:39:21 +00:00 |
|
Matthew Wilber
|
f05b9fa836
|
added tgainfo command line tool
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5272 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-07 04:37:33 +00:00 |
|
Matthew Wilber
|
a380109af0
|
Added workarounds for problems with Be's version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-11-01 13:59:02 +00:00 |
|
Matthew Wilber
|
7206521bed
|
Changed to reflect new behavior of BBitmapStream, and prevent testing of buggy behavior in Be's BBitmapStream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5212 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-30 13:17:27 +00:00 |
|
Matthew Wilber
|
c9cccf232a
|
Changed BBitmapStream to behave more like Be's implementation while still checking for bad input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5211 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-30 12:32:25 +00:00 |
|
Matthew Wilber
|
547692fa51
|
Fixed paths used by BTranslationUtils::GetBitmap[File] to work with the behavior of Be's and the fixed OBOS version of BTranslationUtils::GetBitmap[File]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5167 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-25 22:10:01 +00:00 |
|
Matthew Wilber
|
b95d8a76bc
|
Fixed bits->bits translation so that it no longer errors out due to reads at the end of the stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5166 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-25 22:05:23 +00:00 |
|
Matthew Wilber
|
9568e684a8
|
Fixed bits->bits translation so that it no longer errors out due to reading at the end of the stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5165 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-25 22:04:19 +00:00 |
|
Matthew Wilber
|
73e65d4da8
|
Changed TranslationUtils' manor of handling relative paths to match how Be's TranslationUtils handles them. Before, relative paths had the current directory as the base, now, relative paths use the folder containing the running application as the base. This issue prevented programs like Eden from loading properly with the OpenBeOS Translation Kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-25 15:35:54 +00:00 |
|
Matthew Wilber
|
0a3144ad6b
|
Changed selection box to use a checkered pattern, closer to what Be's ShowImage uses. Stopped using inversion to clear old selections, drawing the bitmap over them instead. Fixed the rect used in setting the view bitmap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5090 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-19 01:56:01 +00:00 |
|
Matthew Wilber
|
af2002bf8c
|
Implemented preliminary selection box skeleton code. Need to add marching ants and connect selection box status to Edit menu.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5083 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-10-18 22:58:34 +00:00 |
|
Matthew Wilber
|
a5eede3a67
|
Fix for PNGTranslator erroring on bad data following image data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-09-21 19:25:30 +00:00 |
|
Matthew Wilber
|
e789715f25
|
No longer returns B_NO_TRANSLATOR if it suspects the data is not text data, instead, it returns B_OK with a low capability rating. This is so that STXTTranslator can be used with OBOS StyledEdit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-09 13:40:51 +00:00 |
|
Matthew Wilber
|
1d5920700f
|
removed (page x of y) from status text, (page info should come from the identify string of translators that support multiple pages) added a border around the image (like Be's ShowImage has), added disabling of Page menu for single page images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4218 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-03 15:29:07 +00:00 |
|
Matthew Wilber
|
ab361b2efb
|
Changed identify string to include index of identified page and count of pages so that even when this translator is used with programs that don't support multiple pages, the user can see how many pages the TIFF has and what page is currently active. Also, fixed issue when ioExtension is supplied, but does not contain "/documentIndex" which caused B_NO_TRANSLATOR to be returned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4217 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-03 13:04:07 +00:00 |
|
Matthew Wilber
|
0383957902
|
Added multi-page support (as in OBOS TIFFTranslator). Made many changes to the way the app, window and view objects interface with each other. Still could use some polish.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4216 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-03 02:28:18 +00:00 |
|
Matthew Wilber
|
15f9dcadef
|
Fixed issue with multipage tiffs where if page 1 was requested, the last page of the tiff would be retrieved
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4215 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-03 01:57:33 +00:00 |
|
Matthew Wilber
|
cdb89ebbeb
|
Change to have a more consistent coding style, eliminated unused / unessecary code, added MIT license notice, prevented image window from closing when a save panel is open, prevented the user from opening multiple save panels for a single image window, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-02 20:04:53 +00:00 |
|
Matthew Wilber
|
07caaa8e88
|
Simplified / cleaned up code, fixed close window behavior, changed status view text to show identify string
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4212 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-02 16:53:13 +00:00 |
|
Matthew Wilber
|
67515cfb7d
|
Changed to use a BString for storing the status text instead of a char *
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4211 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-02 16:39:21 +00:00 |
|
Matthew Wilber
|
81f20b17b4
|
Removed selection box code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4210 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-02 16:37:20 +00:00 |
|
Matthew Wilber
|
6285166900
|
Changed application signature to match the signature specified in ShowImageConstants.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4209 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-02 16:35:45 +00:00 |
|
Matthew Wilber
|
fc0a275bdd
|
Changed Save AS sub menu to only show the available destination types for bitmap images, implemented Save As feature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4181 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-08-01 22:10:58 +00:00 |
|
Matthew Wilber
|
8e3121a82b
|
Changed to use Be's SupportDefs.h for integer typedefs instead of having tiff.h figure out what they should be. This prevents the typdefs from being both defined by Be and by libtiff, eliminating compiler warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-31 23:09:27 +00:00 |
|
Matthew Wilber
|
c9f996e088
|
Added support for bits->PNG conversion, both interlaced and non-interlaced
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-27 14:38:24 +00:00 |
|
Matthew Wilber
|
3783dc6eab
|
Cleaned up PNG->bits code, added PNG->PNG code, added PNG info to config panel, added PNG interlace option to config panel, added saving of settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4086 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-26 19:55:37 +00:00 |
|
Matthew Wilber
|
010b9fa36b
|
Changed to check for PNG signature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4082 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-26 02:40:14 +00:00 |
|
Matthew Wilber
|
34d6a0f784
|
Added read support for (hopefully) every variety of PNG that libpng supports
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4070 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-25 03:22:53 +00:00 |
|
Matthew Wilber
|
98fde4e893
|
Initial check in for PNGTranslator -- based on libpng library. It probably doesn't build properly with Jam yet, so I've left it out of the Jamfile in the parent directory. Currently, it can read some PNG images, but it falsly identifies everything that is not a Be Bitmap image as a PNG image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4052 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-22 02:56:56 +00:00 |
|
Matthew Wilber
|
a1cd43f854
|
using ByteOrder.h caused redfining of many types (like int32, uint32), so I switched to endian.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4028 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-20 14:34:15 +00:00 |
|
Matthew Wilber
|
566eea5a61
|
Changed input / output formats to match values from Be's R5 PPMTranslator and made cosmetic changes to config panel
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4023 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-20 01:31:53 +00:00 |
|
Matthew Wilber
|
58f77562c6
|
added dumping of input / output formats to Info Window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4017 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-19 17:52:23 +00:00 |
|
Matthew Wilber
|
78c02e525a
|
Initial check in for TIFFTranslator - libtiff (http://www.libtiff.org/) version. Old non-lib based TIFFTranslator remains, but is no longer part of build process. This translator provides the same TIFF reading capability as Be's version (as far as I can tell) with the addition of support for multi-page TIFF files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4016 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-19 16:40:33 +00:00 |
|
Matthew Wilber
|
67ae0ccc24
|
Changed to use new libtifftranslator for building the TIFFTranslator. Old TIFFTranslator still remains, but is not built from this Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4015 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-19 16:35:02 +00:00 |
|
Matthew Wilber
|
374c8f77d5
|
resolved memory leak which occured everytime the user switched pages or opened a new image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4013 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2003-07-19 04:13:12 +00:00 |
|