Matthew Wilber
|
32898e2a71
|
made [Input | Output]Formats() better handle the case where out_count is NULL and made the functions better handle the cas
e when the number of input or output formats changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2315 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-29 14:57:27 +00:00 |
|
Matthew Wilber
|
d4dd380232
|
made [Input | Output]Formats() better handle the case where out_count is NULL and made the functions better handle the case when the number of input or output formats changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2314 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-29 14:56:53 +00:00 |
|
Matthew Wilber
|
fb11b6e180
|
added code so that when text is translated from a plain BFile (with a styles attribute) the STXTTranslator casts the input to a BFile and uses the attributes to write the style information to the output stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2308 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-28 03:30:18 +00:00 |
|
Matthew Wilber
|
6eed52aa01
|
added code so that the Translate() function actually Translates. It now translates to/from plain and styled text. It passes most of the Translate tests, but Be's STXTTranslator includes font information with some of the styled text files it generates, and I haven't decided how to deal with that yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2294 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-25 03:18:52 +00:00 |
|
Matthew Wilber
|
aa29ed9aa1
|
fixed failure to properly identify styled files with no 'STYL' data, changed plain text identify to search first 64 bytes for unsupported characters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-23 03:01:02 +00:00 |
|
Matthew Wilber
|
ce1e628f36
|
added a little bit of actual functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2258 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-16 03:21:35 +00:00 |
|
Matthew Wilber
|
be4c146060
|
initial checkin for STXTTranslator (StyledEdit files). does nothing yet, but should compile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-15 13:54:17 +00:00 |
|
Matthew Wilber
|
8efc7be48e
|
initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2254 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-15 13:53:07 +00:00 |
|
Matthew Wilber
|
af532bce19
|
added STXTTranslator (StyledEdit files)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2253 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-15 13:51:33 +00:00 |
|
Matthew Wilber
|
2674719b33
|
added several classes that I forgot to add earlier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2247 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-15 01:21:16 +00:00 |
|
Matthew Wilber
|
3885ec4fe4
|
added TGATranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2246 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-15 01:20:15 +00:00 |
|
Matthew Wilber
|
a0bf29354d
|
added a few comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2231 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-12 03:53:49 +00:00 |
|
Matthew Wilber
|
3b42b980c8
|
added comments and a bit more error checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2230 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-12-12 03:52:57 +00:00 |
|
Matthew Wilber
|
78b736e8bc
|
I'm not sure why that return was there in the first place
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1967 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-11-16 22:06:03 +00:00 |
|
Matthew Wilber
|
0f2c902adb
|
I'm not sure what that return was doing there in the first place
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1966 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-11-16 22:05:26 +00:00 |
|
Matthew Wilber
|
940ff9b93c
|
changed C-style casting to the C++ standard style casting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1553 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-17 01:23:05 +00:00 |
|
Matthew Wilber
|
7266c9b6ec
|
forget paranthesis in two places, next time, I won't forget to try to compile before I check in code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1552 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-17 01:06:28 +00:00 |
|
Matthew Wilber
|
2861a868b9
|
changed old C-style casting to the C++ standard style casting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1551 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-17 01:03:00 +00:00 |
|
Matthew Wilber
|
b8f9ee8199
|
Added a checkbox for turning on/off Save as RLE, saves TGA Translator settings to a file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1427 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-07 00:02:46 +00:00 |
|
Matthew Wilber
|
e5497a45ce
|
added a checkbox for turning on/off save as RLE, saves TGA Translator settings to a file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1426 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-07 00:02:06 +00:00 |
|
Matthew Wilber
|
34bec321e8
|
added support for saving settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-07 00:00:12 +00:00 |
|
Matthew Wilber
|
d3d8762333
|
added support for saving settings, in various ways
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1424 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-06 23:59:37 +00:00 |
|
Matthew Wilber
|
ce992c6d0f
|
initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1423 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-06 23:58:41 +00:00 |
|
Matthew Wilber
|
0d5d2ca494
|
fixed Save As RLE and added Save As RLE support to low color images and removed some redundant code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1365 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-04 01:46:42 +00:00 |
|
Matthew Wilber
|
225f93a081
|
the RLE stuff still doesn't exactly work, but I'm getting somewhere
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1350 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-10-03 04:11:38 +00:00 |
|
Matthew Wilber
|
5d4da381b0
|
added support for saving as RLE comrpessed TGA images for some types of Be Bitmap Images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1303 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-30 02:15:01 +00:00 |
|
shatty
|
ce832bb128
|
fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1239 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-28 08:50:32 +00:00 |
|
shatty
|
4e2492b438
|
fixed newline at the end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1238 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-28 08:46:37 +00:00 |
|
Matthew Wilber
|
6092a116e9
|
moved the pixel conversion logic out of translate_from_bits_to_tgatc and into a new function (pix_bits_to_tga) in order to make the code easier to read and easier to add the option for saving as RLE compressed TGAs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1166 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-25 00:59:39 +00:00 |
|
Matthew Wilber
|
2ac3396c5d
|
change the names of the member variables to use the OpenTracker guidelines rather than the MFC-ish m_ notation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1165 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-25 00:56:25 +00:00 |
|
Matthew Wilber
|
ba97a8bdec
|
changed the names of the member variables to use the OpenTracker guidlines instead of using the MFC-ish m_ notation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1164 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-25 00:55:45 +00:00 |
|
Matthew Wilber
|
a2ad856f52
|
added extra buffering to improve RLE image load times
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1086 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-19 03:01:37 +00:00 |
|
Matthew Wilber
|
38bf7c3d50
|
added extra buffering to RLE image processing to improve performance
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1085 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-19 03:01:05 +00:00 |
|
Matthew Wilber
|
6ecc367b9f
|
initial check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1084 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-19 02:59:59 +00:00 |
|
Matthew Wilber
|
1f10fa18ae
|
initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1083 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-19 02:59:26 +00:00 |
|
Matthew Wilber
|
6085f1efd6
|
removed a few areas of redundancy and attempted to improve performance
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1078 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-18 02:44:24 +00:00 |
|
Matthew Wilber
|
6b1d82e29e
|
Added support for opening RLE compressed TGA images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1077 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-18 00:15:03 +00:00 |
|
Matthew Wilber
|
1538999d55
|
added support for opening RLE compressed TGA images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1076 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-18 00:14:38 +00:00 |
|
Matthew Wilber
|
a34a6d9c9f
|
added capability to open 15, 16, 24 and 32 bit "true color" TGA images and 8-bit color mapped TGA images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1052 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-16 03:33:58 +00:00 |
|
Matthew Wilber
|
343a35cc2d
|
added capability to open 15, 16, 24, and 32-bit "true color" TGA images and 8-bit color mapped TGA images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1051 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-16 03:33:15 +00:00 |
|
Matthew Wilber
|
f124f0a2a1
|
initial program check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1045 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-15 04:11:43 +00:00 |
|
Matthew Wilber
|
9d1ceba3bd
|
initial Jamfile check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1044 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-15 04:07:24 +00:00 |
|
Matthew Wilber
|
dff79725e4
|
Fixed conversion from B_RGB16_BIG to BMP, I had a 1 where I was supposed to have a 0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1043 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-09-15 02:48:41 +00:00 |
|
Matthew Wilber
|
ff994c86da
|
changed the BMP -> Be Bitmap translation to always store 0xFF (opaque) as the alpha value for each pixel in the image. this value should be ignored, so it shouldn't matter, but I did this so that the alpha value would not vary (which would make Unit Testing harder)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-28 02:53:53 +00:00 |
|
Matthew Wilber
|
8678adcbd9
|
Marcus Overhagen pointed out that I had no idea how memset worked, so I fixed that problem by not using memset at all and used memcpy instead
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@731 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-13 02:16:20 +00:00 |
|
Matthew Wilber
|
4f3f050465
|
added some code that allowed buggy images from Photoshop 6.0.1 to work, fixed RLE pixel skipping code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@726 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-12 21:54:31 +00:00 |
|
Matthew Wilber
|
94b76b85a6
|
Initial check in, allows translators to be found when doing a build from the current directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@705 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-11 14:46:34 +00:00 |
|
Matthew Wilber
|
cb8100931b
|
removed the Translator rule because it is now in the Jamrules
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@598 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-06 00:51:22 +00:00 |
|
Matthew Wilber
|
abcf3e8a75
|
changed translator quality and capabilities to more reasonable levels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@552 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-01 21:23:04 +00:00 |
|
Matthew Wilber
|
9c95784eb3
|
change translator quality and capabilities to more reasonable levels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@551 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2002-08-01 21:22:27 +00:00 |
|