Axel Dörfler
ebf5be407a
Reworked and cleaned the khash; completely removed the new_hash_table
...
implementation that was buggy, not very flexible, and incomplete.
Changed some variable types, and function names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:25:08 +00:00
Axel Dörfler
717eabde1f
Added comments to the fields of the dirent structure. Most important one
...
is d_reclen which points out that this field is not the name length but
the one of the whole record (this is also handled incorrectly by the kernel
file systems right now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 02:49:58 +00:00
beveloper
0010bfc64f
the new_hash_table code has a larger number of problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 17:34:55 +00:00
Axel Dörfler
c78d05895c
Removed some debug output I accidently added to the repository.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:13:08 +00:00
beveloper
428f0ce25c
last cleanup of pool code before rewriting it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:05:58 +00:00
beveloper
9c2992c73b
fixed debug function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:41:06 +00:00
beveloper
9eb6ed8082
disable interrupt check when in a panic() context
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:11:08 +00:00
beveloper
3b70f94330
added a magic value to check clobbering of the free list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:10:20 +00:00
beveloper
60d9ed9e3b
fixed the ASSERT macro, it did not even compile if DEBUG was defined
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:07:28 +00:00
beveloper
0ff867c242
if you specify DEBUG as environment variable, the DEBUG macro
...
will be defined with the same value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:06:11 +00:00
Stefano Ceccherini
a42a3ab57f
A skeleton for the BBufferIO class.
...
(Since we have a header, I think we should also have an implementation...
;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 09:26:32 +00:00
beveloper
7991b1a031
added a lot of debugging functions that should help fixing bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 02:25:04 +00:00
Axel Dörfler
363999a1eb
Thanks to Bruno, we fixed a bug in Inode::Create() that happened with newly
...
created files that already existed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 22:40:04 +00:00
Stefano Ceccherini
30d9eb3baf
Screen now uses the same preference file as R5's one, and it's compatible with it. Now revert works as it should. Some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 15:45:32 +00:00
Stefano Ceccherini
22eb56e099
I accidentally broke the build. Fixed now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 14:41:16 +00:00
Stefano Ceccherini
b2c7cb6f60
In the R4's bebook, they say BScreen objects shouldn't be
...
constructed on the heap, and a BScreen object should be keep for
as little time as possible, because it locks the screen.
This doesn't seem to be the case in R5, but I am happier this way...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 11:57:39 +00:00
Michael Pfeiffer
87f0c75967
Clean up.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:32:04 +00:00
Michael Pfeiffer
af09bc0a28
Implemented job list handling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:21:28 +00:00
Michael Pfeiffer
367265f7f0
Added shared source code for print kit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:12:19 +00:00
Michael Pfeiffer
2440d2c1cf
Removed or created shared header files used by print kit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:03:14 +00:00
Stefano Ceccherini
e14977562f
Maximum refresh selectable at compile time, some minor fixes, some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 06:21:36 +00:00
Matthew Wilber
e1403feb25
added a few little tests, made style changes in order to fit on printed pages more easily, added some TODOs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 04:22:33 +00:00
Axel Dörfler
98138634aa
Added the private ioctl calls to get the 64-bit create and modified time.
...
Most probably these are used by the kernel to identify changes in a shared
library or something like this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 23:51:03 +00:00
Axel Dörfler
cb0a9fe094
Fixed a stupid bug, used Inode::Name() without locking.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 23:30:54 +00:00
Axel Dörfler
2ad0108fbe
Now uses Inode::GetName() and strlcpy().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:43:11 +00:00
Axel Dörfler
c0f2928e7d
Now uses Inode::GetName() where appropriate.
...
Fixed a bigger race condition when matching against the name index.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:42:40 +00:00
Axel Dörfler
97d569f0de
Now uses strlcpy() rather than strcpy() where appropriate.
...
The inode is now locked in bfs_close() (when the indices are updated).
Moved the special cases for INODE_NO_CACHE and INODE_CHKBFS_RUNNING into
bfs_free_cookie() - should probably do that with the index update as well.
Updated some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 18:07:35 +00:00
Axel Dörfler
0606e6e197
Added a new method Inode::GetName() which safely copies the inode's name
...
to the provided buffer.
Inode::Name() no longer locks the small_data region anymore.
Added ASSERTs that the small_data region is locked for the methods requiring
that.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:38:19 +00:00
Axel Dörfler
d88937ace2
Added a SimpleLock.IsLocked() method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:36:53 +00:00
Axel Dörfler
0f374ebc88
Added a strlcpy() call for usage in BeOS (OpenBeOS has it built-in already).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:35:21 +00:00
Axel Dörfler
d369893781
Removed the usage of Inode::Name() in the debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 17:33:43 +00:00
Axel Dörfler
bb5a5c05ec
Added a document describing/specifying the (future) boot process for
...
OpenBeOS on x86 systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 13:58:24 +00:00
DarkWyrm
2dc78c1fc1
#Include tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-25 01:54:53 +00:00
shadow303
8081366ed4
Fix up cursor stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 22:02:37 +00:00
DarkWyrm
380f52921d
Adding initial BWindow implementation by John Hedditch
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 12:03:44 +00:00
Michael Phipps
42ff0425a7
Fixed more bugs; simpleTest now seems to work correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 05:12:50 +00:00
Michael Phipps
cc22bcb449
Fixed some bugs. Yet another checkpoint.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 04:16:06 +00:00
beveloper
08d612b66b
media_server.h was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:50:15 +00:00
Stefano Ceccherini
dab5a2c577
Forgot those :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:34 +00:00
beveloper
41ba915d42
various small changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:09 +00:00
Stefano Ceccherini
a4cd2d3f33
Huge commit. Fixed screen preflet. It does work now. Still has some minor bugs, but it's fully functional.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:26:55 +00:00
Axel Dörfler
673ecc16e5
Added some more output (that should help users not that familiar with BFS).
...
Now supports fixing errors as well (and introduced a new option -e to fix
some additional errors).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 18:39:25 +00:00
beveloper
d8dd74308e
Optimized (yes, we shouldn't do it now) to consume less power on P4,
...
and to have better performance on Hyper Threading systems. Should be
backward compatible with all x86 systems, according to Intel documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 17:43:36 +00:00
jrand
f7081347c5
Adding the first tests for BPolygon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 04:42:57 +00:00
DarkWyrm
f0577aea09
Complete server update.
...
Fix for garbage text in window titles
Updates to decorator and API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 01:23:43 +00:00
Axel Dörfler
2b99433ef9
Added a basic "chkbfs" command to the repository, doesn't fix anything yet,
...
though (boy, I am so lazy...).
Cleaned up the Jamfile a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 20:15:12 +00:00
shatty
d470934c95
fixed changing color reset font bug and made the menus update for font and family and font size
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 09:32:34 +00:00
shatty
8776558763
update font menu for color based on selection or cursor location
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 09:04:25 +00:00
shatty
8f63353baf
lots of font related changes to reduce memory consumption and speed up initialization. also fixes for word wrapping screen width.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 07:52:00 +00:00
shatty
0b46ec9848
improved soft wrapping, now saves alignment and wrapping states
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 05:53:58 +00:00