Commit Graph

4347 Commits

Author SHA1 Message Date
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
DarkWyrm
f5eabf0502 build fix as suggested by Andrew Bachmann
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 18:52:24 +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
shatty
5517b3034e ignore bin.beosx86
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 09:34:51 +00:00
shatty
28f10fcaac no const for now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 09:01:13 +00:00
shatty
5506f765ae removed #include <OS.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:52:30 +00:00
shatty
9027cb99aa fixed static_cast to preserve constness
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:44:48 +00:00
shatty
4b45d1a25c include StorageDefs.h for B_WRITE_ONLY and related friends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:38:48 +00:00
shatty
80a9c4f4c3 include OS.h directly from fs_interface.h in prep for removal from sys/stat.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:33:05 +00:00
shatty
e9004ce2e9 include sys/param.h for MAXPATHLEN
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:11:16 +00:00
shatty
3a79ea54e8 more posix compatibility in stdint.h prevents build problems in jpeg2000translator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:00:01 +00:00
shatty
220ac08aa6 gnu free rewrite of stddef.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:47:24 +00:00
shatty
71f8d587d2 removed unnecessary #include <OS.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:34:06 +00:00
shatty
48103d3411 changed to use stdint and intX_t types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:24:37 +00:00
shatty
4a53d0ba81 reduce dependence on ByteOrder.h by removing B_HOST_IS_BENDIAN and using BYTE_ORDER instead
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:03:20 +00:00
shatty
b5dc136f9a remove OS.h since it is already included through socketvar.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:02:20 +00:00
shatty
e704a20367 posix files get posix types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 05:12:35 +00:00
shatty
7626aaf1a5 fixed unsetenv prototype to match posix standard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 04:55:14 +00:00
shatty
99a35090bd added least and fast types
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 04:54:11 +00:00
shatty
6318b9ea17 posix standard stdbool.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 04:53:24 +00:00
Philippe Houdoin
6b23a6cea3 New "atomizer" add-on faked-kernel module installation instructions added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:37:22 +00:00
Philippe Houdoin
6e520af3a1 Commit Be Inc. sample code string atomizer module, as we need it in userland
(add-on) version too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:35:03 +00:00
Philippe Houdoin
aec1a1ebb1 Start to use new buffer attributs feature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:28:06 +00:00
DarkWyrm
5b1de832bd Changed temporary font scan directories to home/config/psfonts and ttfonts
Added installation of official OBOS fonts to proper location in hierarchy


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:13:30 +00:00
Ingo Weinhold
a2a6c4bdd7 Moved and documented compare_string().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:01:57 +00:00
Ingo Weinhold
572b5b77d3 Implemented _kern_commit_disk_device_modifications() (save the notification related part).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:01:37 +00:00
Ingo Weinhold
af314d827a Implementing generation of remaining jobs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:00:49 +00:00
Ingo Weinhold
a7ef3b5651 Added compare_string().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:59:56 +00:00
Ingo Weinhold
84ba3a5265 Added JobFactory().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:59:26 +00:00
Ingo Weinhold
1217079c31 Changed parameter name only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:58:46 +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
DarkWyrm
e2c2a10c48 Another good, free Bitstream font for our use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:35:50 +00:00
DarkWyrm
94cb09f31a added documentation for system fonts added to the tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:25:18 +00:00
DarkWyrm
824c757a50 Added some free system fonts for OpenBeOS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:23:09 +00:00
shatty
65035166ae improve feedback and add shortcuts for alerts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 01:09:50 +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
Ingo Weinhold
a10abc1e14 Added KDiskDeviceJobGenerator.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:48:51 +00:00
Ingo Weinhold
bdbbcfaf16 Added CountDescendants().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:48:08 +00:00
Ingo Weinhold
e37159e2db Added min() and max() functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:47:17 +00:00
Ingo Weinhold
ec4ef3525f Added a KDiskDevice* parameter to the constructor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:46:38 +00:00
Ingo Weinhold
57c8af057e Replaced the Vector parameter of CreateMoveJob() by a simple array. Added CreateUninitializeJob() (empty implementation).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:45:26 +00:00
Ingo Weinhold
6ae0077c0d This class compares a KDiskDevice with its shadow partition hierarchy and
generates the jobs needed to transform the former to the state of the
latter. Currently only the jobs for deleting partitions and resizing
and moving existing ones are generated. Resizing and moving was the
hard part, though, the rest should be much easier. Completely untested
yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:41:50 +00:00
shatty
12dc86bf35 fix typo in checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 19:09:59 +00:00
shatty
e4f90625cc fixed the "find does not work" bug on newly opened files by setting the cursor to the start of the file on opening
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 19:09:11 +00:00
shatty
cf629a4037 at least tell the user that saving failed, if writing the file did, all the other returns should notify as well but I am tired and it is time to sleep :-P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:41:29 +00:00