Commit Graph
100 Commits
Author SHA1 Message Date
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
Matthew Wilber fc54fa7117 reset selected document to 1 when new image is selected so that if the number of documents between the old image and the new image varies, it will not say that the new image can't be loaded
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 00:44:45 +00:00
Matthew Wilber 095b7731f4 added support for multiple images in a single stream, such as in multi-page TIFF files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 03:21:20 +00:00
Matthew Wilber a08b357442 Added support for multi-page TIFF files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 03:19:07 +00:00
Matthew Wilber 6cef630541 Added reading of next IFD entry offset in order to make it convenient to read all IFD entries in a TIFF file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 04:12:14 +00:00
Matthew Wilber e5ef530596 The ActiveTranslatorsWindow now allows you to select which Translators to be loaded, added ShowImage-like border around the image, changed a few member variable names to be more readable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 20:31:31 +00:00
Matthew Wilber d1360823ff Added beginnings of Active Translators window -- allows the user to select which translators will be active when an image is opened or saved
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 03:48:17 +00:00
Matthew Wilber d1de8bd2d4 info window now shows useful information about the currently open image. This information includes bitmap colorspace and dimensions, image type and translator name and version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 03:25:51 +00:00
Matthew Wilber ce5a2573d3 added beginnings of InfoWindow -- window that displays as much info as possible for currently open document
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:20:43 +00:00
Matthew Wilber 8cfb94cd04 removed tracker to app user feedback, added comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 02:15:47 +00:00
Matthew Wilber ca699cf3d4 initial check in for Inspector - image viewer (and later on, hopefully documents in general viewer) for developers of Translators and users of the Translation Kit in general
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 22:23:58 +00:00
Matthew Wilber ce189e5c0b added Inspector
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 02:48:47 +00:00
Matthew Wilber 60afeeca54 initial check in for PPMTranslator from BeOS R5 sample-code folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:17:30 +00:00
Matthew Wilber fae8d042d5 added PPMTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:15:26 +00:00
Matthew Wilber 8636b80151 changed identify string from "TIFF Image*" to "TIFF image*" so that it is more like Be's
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:45:34 +00:00
Matthew Wilber 8397ee2c8b added support for Fax Group 3 TIFF images that use the EOL ends on a byte boundary option and changed identify string from "TIFF Image*" to "TIFF image*" (more like Be's)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 16:43:54 +00:00
Matthew Wilber 239df88d60 added test for image that uses T4 fill EOL byte
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:43:54 +00:00
Matthew Wilber b87195f2a4 added signed types, fixed printing for unsigned types, added more detail for some fields, other minor improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:42:04 +00:00
Matthew Wilber cb455797b8 Now, stxtinfo reads the "styles" attribute that StyleEdit uses. So, this program can now be used to see information about what text styles are used in a text file created by StyledEdit. Also, it still can read the Be styled text format that the STXTTranslator works with.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 00:19:47 +00:00
Matthew Wilber b17c6f4bc0 added BApplication object to TranslationTest so that the call to system_colors() in TGATranslator would succeed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:53 +00:00
Matthew Wilber fe2aacfad7 added BApplication object so that the system_colors() function call in BMPTranslator code would succeed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:48:00 +00:00
Matthew Wilber 8ec8ccef8e added constructor test where bitmap is passed, changed to use typedef when added tests to the suite to clean things up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:30:11 +00:00
Matthew Wilber 96a13ed121 added checking for memory allocation failure in MakeConfigurationView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 18:07:29 +00:00
Matthew Wilber d7be1587b7 initial check in for stxtinfo, a command line program to display information about Be styled text data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:55:27 +00:00
Matthew Wilber 8ceceb19ed added stxtinfo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:53:26 +00:00
Matthew Wilber fd6e40cd0e added GetConfigurationMessage test and removed an entry for a test file that doesn't exist
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:38:27 +00:00
Matthew Wilber bedcc99335 added GetConfigurationMessage test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 03:26:49 +00:00
Matthew Wilber 8e2f0a9a0a added checking and printing of magic number, printing of bounding rectangle, changed member names to be more descriptive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:44:28 +00:00
Matthew Wilber 3650ecf0a6 added more Translate testing, added tests with RLE compression on and off using a BMessage to specify which option, added tests translating from "bits" to TGA
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:28 +00:00
Matthew Wilber c30acb53ce fix for the segment violation that is caused when the system color map is unavailable and set deleted pointers to NULL just to be safe
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:18:38 +00:00
Matthew Wilber 4409942491 added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber 610eca212f initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber 069801512a initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber a5c45f9618 initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber 4e2b1a4594 added translation subdirectory for tools used in developing translators
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
Matthew Wilber c9088353af removed old tests (many of which didn't work) and replaced many of them with better, cleaner tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:09:06 +00:00
Matthew Wilber f3aa49b1b1 improved performance of CompareFiles function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:03:40 +00:00
Matthew Wilber 9edca8f79e added more checking for corrupt headers, reduced code redundancy, made a number of small tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:02:19 +00:00
Matthew Wilber f4949fca43 moved common translator tests into TranslatorTestAddOn.cpp to reduce duplicate code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-22 03:58:56 +00:00
Matthew Wilber bb0ced7d76 fixed output capability check, corrected some test image file names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:06:23 +00:00
Matthew Wilber 955d1422bc fixed TGA to TGA translation so that it no longer fails to write the entire file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:03:59 +00:00
Matthew Wilber 59cd2ee4ef added new line at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:02:10 +00:00
Matthew Wilber 5fdd39d609 changed name of CheckBits function to CheckBits_Tiff to avoid problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:39:43 +00:00
Matthew Wilber 8322820bd7 initial check in for TGATranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:38:15 +00:00