shatty
fc6c18530a
changed iostreams to stdlib to fix linking problem under DEBUG=1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 01:12:16 +00:00
shadow303
17e6de7a37
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
shadow303
72f334d12f
gcc 3 fixes; strip ^M characters from TextView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:42:51 +00:00
Ingo Weinhold
00e2926fda
Uses a free list of semaphore slots for faster creation now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:06:54 +00:00
Ingo Weinhold
d40ced0e2e
Fixed a few smaller issues.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 22:21:00 +00:00
Ingo Weinhold
8d91b8087d
Improved the interaction between job queue and manager. Partitions should now be mark busy correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:39:12 +00:00
Ingo Weinhold
13ab290504
Fixed a potential memory leak. If any operation prior to the addition of the job queue to the manager failed, it wouldn't be deleted. Now the job generator deletes it by default and must be told via DetachJobQueue() to not do that.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:37:21 +00:00
Ingo Weinhold
cc6edbdf8f
* Added VisitEachDescendant().
...
* Added {Add,Clear}Flags() which are more comfortable than SetFlags() in
most cases.
* On construction the `busy' and `descendant busy' flags are set.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:27:33 +00:00
Ingo Weinhold
7e4c7d4350
Added KPartitionVisitor class used for advanced partition tree traversal.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:23:53 +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
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
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
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
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
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
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
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
shatty
31cd62fb1e
more and more error checks and helpful dialogs explaining what is happening when things go bad
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:33:33 +00:00
shatty
ae6fb3b6f5
remove stdio
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:08:48 +00:00
shatty
0b6b71e99a
flank more carefully change marking actions, return the result from convert_to_utf8
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:08:21 +00:00
shatty
fb2e95f496
dunno when beos changes the state, but it seems to leave at 0 for a while so I am going to have it be consistent that way
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:34:30 +00:00