Commit Graph

4268 Commits

Author SHA1 Message Date
shatty
8c33a25737 refactored code in anticipation of future functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 20:56:17 +00:00
shatty
a847fe8446 added font sensitivity and resources
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 20:26:07 +00:00
Stefano Ceccherini
bc0ea15dd4 On behalf of Jeremy Rand, BRegion tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 06:46:06 +00:00
shatty
f1f43f47d8 include resource usage window.cpp in the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 06:01:09 +00:00
Tyler Dauwalder
417b2882c9 No reason for err to be an ssize_t in this function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:41:18 +00:00
Tyler Dauwalder
282644b3ec Initial timestamp support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:39:10 +00:00
Tyler Dauwalder
fb8ce46910 Added make_time(), which converts a udf_timestamp() to a time_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:38:35 +00:00
Tyler Dauwalder
a0ff5accb6 Added AccessTime() and ModificationTime().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:37:10 +00:00
Tyler Dauwalder
83d7be1c6f Fixed some oversights in udf_timestamp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:36:36 +00:00
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
f31cbc2db6 Added SetTo() methods to the AutoLocker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:28:11 +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
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