Matthew Wilber
ae25cd6c51
added more testing, remove tests that didn't do anything productive, made style changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:01:20 +00:00
shadow303
63683bae80
Initialize & Cursor bug fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 00:50:16 +00:00
Axel Dörfler
d3ca8eec8d
The new block bitmap is now written using through the log for chkbfs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 20:30:18 +00:00
Axel Dörfler
a576ea9bba
Made the B+tree test a bit harder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 20:28:33 +00:00
Matthew Wilber
d5b36fec12
added a few little tests, made existing tests a bit more thorough
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 03:41:14 +00:00
Axel Dörfler
424880282f
Fixed a warning.
...
Replaced "int state" with "cpu_status state" where appropriate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 16:40:07 +00:00
Stefano Ceccherini
d7f0501f78
Fixed a bug which caused the selected resolution not to last between reboots, and an incorrect string placement
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 14:26:01 +00:00
shadow303
7348e71fc3
Fix initialization and memory issues
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 01:16:15 +00:00
DarkWyrm
325a5f6bb6
Fixed MoveToBack/MoveToFront crasher
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 22:54:16 +00:00
François Revol
8c852f3236
Added addattr to the build (source was here, but no Jamfile).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 19:56:29 +00:00
François Revol
30dbdd96f9
Added quit, code by Carlos Hasan.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 19:33:52 +00:00
François Revol
9fbdca8c2b
Added ffm, code by Carlos Hasan.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 19:25:26 +00:00
François Revol
358f694bee
Cleanup: alpha sorting.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 18:46:45 +00:00
François Revol
888e8fca59
Forgot to add iroster.cpp :^)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 18:42:53 +00:00
François Revol
e4f2e7fa7d
Added iroster, code by Carlos Hasan.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 18:41:25 +00:00
Axel Dörfler
11d4dc0bf5
Added a module_test() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:59:30 +00:00
Axel Dörfler
fb101ff170
Completely rewritten the module iterator code. Fixed many bugs in that
...
code and made it much simpler (it now just uses a stack of path names
instead of this complex doubly-linked module_iterator_dir list).
Now works together with the rest of the code without making any problems.
Added a module_test() function which iterates over all existing modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:54:09 +00:00
Axel Dörfler
ac5b2b4ece
bootfs_read_dir() and devfs_read_dir() both returned B_ENTRY_NOT_FOUND
...
instead of B_OK for the last directory entry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:49:28 +00:00
Ingo Weinhold
bc1aaab684
AutoResize() parameter was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:20:12 +00:00
Ingo Weinhold
e10ff8948f
Added BTextView sources to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:19:25 +00:00
Ingo Weinhold
467cfff600
Added BVolume tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:07:33 +00:00
Axel Dörfler
744761bf27
Removed the team->path variable. Renamed ioctx to io_context.
...
Some cleanups, moved user_*() functions to the end of the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:17:53 +00:00
Axel Dörfler
1291a19d84
thread->page_faults_allowed is now initialized.
...
Updated due to the ioctx -> io_context change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:11:35 +00:00
Axel Dörfler
5cdaa5176e
Now panics if page faults are forbidden and happen anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:10:34 +00:00
Axel Dörfler
52bd3fc17c
Implemented forbid_page_faults() and permit_page_faults(), added a new
...
field to the thread structure to keep track of the current state.
forbids/permits can be nested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:09:43 +00:00
Axel Dörfler
420a6221ec
Moved thread_types.h to this place.
...
Changed fd.h inlines because team->ioctx is now team->io_context.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:07:35 +00:00
Axel Dörfler
6ba1dc2341
Moved it to private/kernel/, this is no public header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:06:21 +00:00
Axel Dörfler
c5cf4e87b6
Removed the "path" field in the team structure. Renamed "ioctx" to "io_context".
...
Added a "page_faults_allowed" field in the thread structure.
Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:05:21 +00:00
Stefano Ceccherini
da4ffe5d0b
removing the header from here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 07:35:50 +00:00
jrand
eae4530961
Add final test for BPolygon, update Marc's BPolygon implementation a bit
...
and integrate it into the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 04:07:21 +00:00
Axel Dörfler
1a72f541b5
Added function prototypes for forbid_page_faults() and permit_page_faults().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 01:51:39 +00:00
Axel Dörfler
aeb5053982
Added empty (until TLS steps in) function stubs for:
...
permit_page_faults(), and forbid_page_faults().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 01:50:55 +00:00
beveloper
353b9f6bce
changed map and list templates to be more useable, however, they will
...
be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:59:42 +00:00
DarkWyrm
68bb610bbc
More redraw fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:23:04 +00:00
DarkWyrm
63034805fd
Removed a bug in Layer::Invalidate()
...
Fixed a bunch of redraw problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:21:19 +00:00
DarkWyrm
57dd5feac4
Redraw tweaks for sliding tabs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 23:00:45 +00:00
DarkWyrm
a68816fa27
Fixed GetFootprint to return proper window layout
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 22:56:17 +00:00
beveloper
00ae25d974
removed duplicate
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 22:27:31 +00:00
Stefano Ceccherini
94be8cb515
BTextView implementation by Marc Flerackers (with few additions of mine). Still incomplete, it works, tough.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 20:14:03 +00:00
François Revol
c70ca4fc3d
Added --mkindex option, outputs a list of mkindex commands needed to recreate the indices.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-30 16:51:48 +00:00
beveloper
7d9fdf5918
make sure that the stack page is in place before disabling interrupts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-30 02:36:31 +00:00
beveloper
c0d31b20ab
Fixed the detection of page faults that happen while interrupts were
...
disabled. If a page fault happend while a interrupt handler is executed,
or while a section of code is running with interrupts disabled (with the
exception of the initial kernel startup), the page fault handler will
now panic, to give you the chance to fix the bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-30 02:01:29 +00:00
shadow303
f7052c0ec3
Fix StrokeArc
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 23:16:03 +00:00
Axel Dörfler
af9ba303e4
bfs_walk() now prints the file name if it couldn't locate a file with debug
...
output turned on.
bfs_open_dir() now accepts again all containers, because bfs_open_index_dir()
is using it, too (too bad when you forgot about your own code).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 20:03:49 +00:00
Axel Dörfler
006928f81b
Fixed the bug in the query code: B_MIME_STRING_TYPE was not correctly
...
translated into B_STRING_TYPE for the key comparison (it was translated
but not saved under the new type).
compareKeys() will now return -1 if it didn't know the type to compare.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 19:22:52 +00:00
Axel Dörfler
edd97f84ad
Fixed return code (using errno) of readdir().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:47:01 +00:00
Axel Dörfler
750a82c5d3
Added new debug output macros (TRACE()).
...
thread_exit() for now prints a warning if it was called with interrupts
disabled.
Fixed a bug in thread_exit2() that restored the interrupts too early,
instead of simply enabling them (and restoring them later) [found by
Marcus O. great debug additions].
Fixes for the khash changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:42:52 +00:00
Axel Dörfler
14d9bcd728
Fixed two warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:39:34 +00:00
Axel Dörfler
3ae9bebe33
Fixes for the khash changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:38:52 +00:00
Axel Dörfler
fc88dc959f
Added a missing include (and fixed a warning this way).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:37:19 +00:00