Commit Graph

10227 Commits

Author SHA1 Message Date
Axel Dörfler
c44645aa42 vm.h was not used anywhere.
Introduced new arch_vm.h ("public" arch headers have the arch_ prefix).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-10 18:43:26 +00:00
DarkWyrm
41f6b937f7 Submission of Stefano's BApplication patch - archiving support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-09 22:54:46 +00:00
Rudolf Cornelissen
cba5bd4452 corrected some colorspace related info, added first 3D specific comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-09 20:01:25 +00:00
shatty
d9c9c29b59 do not block program-invoked edits when read-only
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-09 19:03:17 +00:00
Axel Dörfler
247c75991c The block selection is now drawn incrementally if possible which removes flicker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-09 02:34:35 +00:00
Nathan Whitehorn
d72c6cc87b Fixed issue with old libtextencodings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 23:42:06 +00:00
Nathan Whitehorn
def182781d Fixed spam server launch problem
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 23:34:51 +00:00
Axel Dörfler
d48f7182eb Enabled full attribute support under the Haiku kernel.
It's not as clean as it could, but it works for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 04:18:44 +00:00
Axel Dörfler
1bcd71834b I can even mess up command line parsing :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:51:25 +00:00
Axel Dörfler
19ab5531d8 messages.h no longer exists.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:46:26 +00:00
Axel Dörfler
2ae45f0c5f Brought "addattr" command into shape, and got rid off a lot of
weird stuff - and libbe.so; it now uses the attribute functions
as exported by libroot.so :)
Improved handling of boolean values, improved error messages a lot.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:44:30 +00:00
Axel Dörfler
e96f985d95 fs_read_attr() and fs_write_attr() transferred bytes from/to the provided
file descriptor, not from/to the attribute...
Added ToDo comment about eventually adding syscalls for these functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 02:15:09 +00:00
Axel Dörfler
a3d814e271 "catattr" no longer needs additional libraries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:34:45 +00:00
Axel Dörfler
983e69d5dd Improved error messages (and how they are done).
No longer locks the file during attribute retrieval.
No longer needs libbe.so.
Added support for some additional types.
Will no longer try to read in a 4GB attribute - at max, it will read
64 kB from an attribute. Also changed output style of the raw data
type - please contact me if you desperately think we should revert
that back (ie. in case the old output was actually of use for something).
As the original author suggested, we're now using isgraph() to improve
the character preview of the raw data.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:34:09 +00:00
Axel Dörfler
b075015208 Removed unneeded include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:28:35 +00:00
Jérôme Duval
c6d555add9 added _tolower and _toupper
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 17:24:16 +00:00
Axel Dörfler
6780f6f417 The open attr dir syscalls didn't work correctly in the FD modes.
fd_and_path_to_vnode() now accepts NULL as path argument.
Added some more debug output and comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 16:15:57 +00:00
Axel Dörfler
4e0e3bf35d Some cosmetics. The string for unknown types no longer tries to print
unprintable characters, but replaces them with '.'; when there is more
than one unprintable character in the type code, it will show the hexcode
instead.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 16:10:03 +00:00
Stefano Ceccherini
4ce5abc64b Stupid me: kBlackColor is a static, and so it's initialized to 0, so text was drawn in a transparent color, if no default color was specified.
Added +1 to the pen position to draw text more correctly.
Thanks to Andrew for reporting


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 10:32:04 +00:00
Nathan Whitehorn
98757be96d Updated install script to deal with new spam filter, updated README, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 04:14:44 +00:00
Nathan Whitehorn
90ccec14e5 Fixed net_server compilation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 03:41:38 +00:00
Axel Dörfler
8a9c92207f Minor fix: the return value of BNode::GetAttrInfo() was not checked.
Now understands a lot more types than before.
Accepts "--help" and "-h" on the command line to print out usage info.
Prints out how many bytes the attributes add up to.
Instead of printing out the hex value, the attribute type is now
printed as %c%c%c%c 4-character tupel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 02:31:03 +00:00
Nathan Whitehorn
69d6550b12 Fixed the spam filter so it works correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 01:14:05 +00:00
Axel Dörfler
069694a22a Rounding up a value can be soooo hard...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 00:57:45 +00:00
Stefano Ceccherini
5bac5044b7 Fixed warnings and added a comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-06 12:37:11 +00:00
Oliver Tappe
37e9be2eb0 - fixed compilation issue with gcc-2.95.3, resulting code needs testing to
see if the problems are indeed fixed now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-05 13:44:07 +00:00
Nathan Whitehorn
a951c69316 Fixed a typo that caused creating distros not in /haiku to fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-05 00:50:48 +00:00
Stefano Ceccherini
322853c8d3 Last fix screwed selection in other places: Fixed. Some more cleanups. Inline inputted text now highlights at least line, in case of multiple lines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-04 17:49:09 +00:00
Axel Dörfler
e15a7ad3a3 Fixed a big allocation leak: preallocation was done for all streams, but
only regular files were stripped back when bfs_close() was called.
Now, we don't preallocate any blocks for attributes, attribute directories,
and symbolic links (which do have a stream when longer than 144 bytes).
Also, bfs_release_vnode() now trims back all streams that need to be
trimmed - this catches standard directories, which could also slip through
before.
Removed the remaining blocks of INODE_NO_CACHE support as this is not
needed for Haiku.
Added method Inode::NeedsTrimming() that determines if its data stream
can be trimmed (indices are never trimmed to reduce fragmentation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-04 01:21:12 +00:00
Axel Dörfler
32d759d782 No longer deletes all data on the target directory, but only everything
in beos/ - this makes the update function useful again. Also took all
the blame on why Jerome introduced this :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-03 22:32:58 +00:00
Axel Dörfler
7c012c2316 Accidently used level 2 cache format to print out level 1 instruction cache
on AMD and other CPUs - thanks to BiPolar for reporting this!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-03 08:25:34 +00:00
Stefano Ceccherini
6e6f8fff95 Line wrapping didn't work with multi byte charachters. Fixed.
If the view was resized when there was a selection, the selection disappeared. Fixed.
Added some more documentation and some more comments. Improved comments.
Removed some debug output.
Improved some code here and there.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 18:26:49 +00:00
Jérôme Duval
b29be238cd added some bins, config driver, removed more link, done by jam
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 10:50:26 +00:00
Axel Dörfler
e4f5a3a3b0 Turned off debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 03:21:05 +00:00
Jérôme Duval
7335fda5b4 Everyone should have read chgrp instead of chgroup :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:37:05 +00:00
Jérôme Duval
08f17bb51b Everyone should have read chown instead of chmod :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:31:06 +00:00
Ingo Weinhold
3f6a966e41 I apparently misunderstood Matthijs. This re-adds the app version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:15:57 +00:00
Ingo Weinhold
2d4896f90e Simplified as suggested by Matthijs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:54:40 +00:00
Ingo Weinhold
eea1d4c47d Add the resources to the StatCacheServer, so that it is a background app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:39:38 +00:00
Ingo Weinhold
f08f5b9bd3 Make the server a BApplication for a smoother shutdown (I've never
experienced this problem, but others have). Original changes by Axel,
though edited quite a bit by myself.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:38:12 +00:00
Axel Dörfler
53b0609a4a Initial support for cache modules.
Also fixed a minor bug in dec_vnode_ref_count(): the unusued vnode counter
was not decremented again when one vnode was removed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:41:07 +00:00
Axel Dörfler
324fc66b90 Fixed another stupid bug in cache_io(): if one request needed new pages
more than once, the size requested was only correct for the first time.
Added preliminary support for cache modules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:38:27 +00:00
Axel Dörfler
a16bf97a7d Added preliminary support for cache modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:35:20 +00:00
Axel Dörfler
097fa44066 Now also prints out power management information for AMD CPUs if present.
For Intel CPUs, the cache code 0x40 is now handled manually, as it changes
its meaning depending on the cpu type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:29:12 +00:00
Axel Dörfler
1ec6a65f39 No longer prints out the extended processor signature on Intel CPUs as
it's only reserved but not defined or used for those.
If you have a stupid BIOS, the name string might not have been set; this
is now supported, and the standard vendor string is used in that case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:00:50 +00:00
Axel Dörfler
2e507eba4a Factored out printing the processor signature.
The processor signature now correctly handles the extended family/model fields.
The cpuid 0x80000001 field is actually the same as cpuid_info::eax_1, so
dumping it now behaves in the same way, too.
Added printing of Transmeta specific features.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 06:35:05 +00:00
Axel Dörfler
b99d92939a Fixed some minor bugs that made it into the last version; for example
the 0x80000001 generation/model/stepping was displayed incorrectly.
Only the new features in cpuid 0x80000001 are printed, added support for
No-Execute ("NX") and Long Mode ("64").
Improved non-Intel TLB display, added page sizes, 2nd level cache is now
also displayed correctly (unlike the BeOS version which has a wrong
associativity).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 06:12:38 +00:00
Axel Dörfler
78ba30ed0e sysinfo needs private/shared headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 04:50:06 +00:00
Axel Dörfler
26a78aa41d Removed broken _user_exit(), and implemented working _user_exit_team().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 04:26:10 +00:00
Axel Dörfler
71463c834e Now uses _kern_exit_team().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 04:24:15 +00:00