Commit Graph

9337 Commits

Author SHA1 Message Date
Axel Dörfler
8df71f7876 Fixed compilation with debug output enabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-19 00:31:54 +00:00
Jérôme Duval
7cc945c1ef added debug stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 22:46:50 +00:00
Jérôme Duval
7dcdcad2c0 Fixed mouse device naming, it now iterates from 1 :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 22:35:11 +00:00
Stefano Ceccherini
7bb5b0eaed Fixed a bad bug in WidthBuffer, which would make BTextView behave in a weird way.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 21:37:00 +00:00
DarkWyrm
134d6bb787 Removed a couple stupid cursor-related bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 21:31:15 +00:00
Rudolf Cornelissen
20d6c8266b restored leaving AGP mode alone on coldstart script exec: removed forced AGP disable in script types #1 and #2 as that actually is prohibited the way it's done!
Note: this should restore coldstarts on all cards that worked before, NV28 still not OK, but it's finally coming (two more errors to remove).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 20:10:55 +00:00
Rudolf Cornelissen
2b8e37ece9 added first widescreen_TV specific modeline, including checking if such a dev is connected. Modeline is not yet tuned, but driver will work already: internal checking will correct the modeline to work (if all is right).
Note: widescreen modes are ONLY exported if ALL output devices connected are widescreen type(!). (app_server restriction).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 20:00:35 +00:00
Axel Dörfler
db01e67532 Added a comment about what vm_alloc_from_ka_struct() is used for.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:56:08 +00:00
Axel Dörfler
0d2dca3b56 That requirement hasn't changed with the name :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:43:16 +00:00
Axel Dörfler
2fdc57b522 BeGeistert checkin: fixed broken allocation length as found by the USE_WALL
feature.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:39:21 +00:00
Axel Dörfler
cc0c987a28 No longer relies on certain allocation aligments of malloc(), and instead
uses the new memalign() call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:36:31 +00:00
Axel Dörfler
09ff55a821 BeGeistert checkin: we now have memalign() - and because of that, the
USE_WALL feature can now be used.
Started implementing a USE_CHECKING_WALLS feature, that has a kernel
daemon running that periodically checks the walls of *all* memory
allocations - does not work yet (because of some initialization order
problems).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:29:17 +00:00
Axel Dörfler
4976718d0e We now have a memalign() call in the kernel, too (since there already was
some code that relied on malloc() to return memory with some alignment
restrictions fulfilled).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:23:34 +00:00
Axel Dörfler
e1e5a66bc2 BeGeistert checkin: wait_for_child() does now work as expected for any
team and process group IDs as well.
Added a ToDo item that process groups do only work well as long as
their group leader is still active.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:16:00 +00:00
Axel Dörfler
b767f41204 BeGeistert checkin: if B_RELEASE_ALL is used, the "count" argument should be
ignored completely (so that zero and below become valid).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 15:14:03 +00:00
Stefano Ceccherini
99a5b57a50 Style and license fixes, added Marc Flerackers to the authors list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 13:39:20 +00:00
Stefano Ceccherini
058691d409 Style changes, updated license header,
now uses the correct constants (B_FONT_FAMILY_AND_STYLE, etc.) instead of the numbers directly... tsk, tsk :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 10:21:46 +00:00
shatty
c811895a7e static functions need static prototypes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 09:10:20 +00:00
shatty
8c1dffa05b remove unnecessary defines related to R5 compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 03:03:08 +00:00
shatty
be1aef42d3 when target platform is r5, define COMPILE_FOR_R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 03:01:19 +00:00
shatty
cb14d59346 patches for building for different targets
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 02:31:12 +00:00
shatty
0566c7b352 quit taskbar closer to install and restart after install
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 02:27:27 +00:00
shatty
614026d717 first cut target identification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 01:59:54 +00:00
DarkWyrm
a0fdabc807 <smacks forehead> Kevin's changes also affected the ScrollBar prefs. Fixed build. *sigh*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 23:05:05 +00:00
DarkWyrm
720dc8a4d1 DrawString updates the pen position
Removed a bug preventing use of antialiasing in DrawString
StrokeLine updates the pen position now
Added a couple forgotten break statements to a few cases in DispatchMessage


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 22:42:08 +00:00
DarkWyrm
ce3a18db3d Added the forgotten length parameter to DrawString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 22:39:41 +00:00
DarkWyrm
8373d74bdc Updated DrawString to modify the pen position in the DrawData parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 22:38:43 +00:00
Nathan Whitehorn
8dbc8c1979 Added a highly experimental USB audio driver on behalf of Mikael Jansson (a.k.a. tic). This should probably be converted to the multi_audio API, among other changes, in future.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 19:29:53 +00:00
Nathan Whitehorn
c60f83369f Renamed BMailRemoteStorageProtocol to BRemoteMailStorageProtocol. Because I like it better. This should complete the API modifications from the Haiku import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 17:21:26 +00:00
DarkWyrm
37aec728fa Updated the various drivers to match the DisplayDriver::StrokeLineArray changes
Removed dead code from ServerApp.h
Added to ServerWindow support for area-based messages and implemented code for AS_STROKE_LINEARRAY


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 02:02:27 +00:00
DarkWyrm
11620a7e4c Fixed the message code for making LineArray calls in the server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 01:59:40 +00:00
DarkWyrm
ad398ac272 Updated to match changes to DisplayDriver::StrokeLineArray
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 01:58:44 +00:00
DarkWyrm
6f70fc00b6 Updated to match the change to DisplayDriver::StrokeLineArray
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 01:58:03 +00:00
DarkWyrm
cf5f46ff73 Updated StrokeLineArray API to make life easier in calling on server side
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 01:57:13 +00:00
Nathan Whitehorn
a622d7bb47 Fixed the everlasting IMAP crash-on-timeout bug and the everlasting zombie-chain bug. This eliminates all known bugs in the MDR network layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 00:29:32 +00:00
Axel Dörfler
85fa73ff32 stdio does work, too.
Now uses waitpid() instead of wait_for_thread() - and surprise, it doesn't
work yet :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 17:00:51 +00:00
Axel Dörfler
2b6c3301f7 Forgot to put the forked team into its parent group in fork_team() - which
resulted in a nice crash on exit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 16:14:51 +00:00
Axel Dörfler
8cab02c5ce Removed the TRACEPFAULT macro, as it's not really that useful.
Fixed some warnings with debug output enabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 16:06:14 +00:00
Axel Dörfler
8593dcc214 Being on a kernel stack doesn't mean we didn't come from userland: we now
no longer pop %fs from the iframe in that case, too.
When we restore a custom stack, however, we'll now pop %fs from the iframe
as such strange threads may even do their own business with it.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 15:50:41 +00:00
Axel Dörfler
d296d770a3 %fs won't be adopted from the iframe anymore, we don't need to change it there.
We also should disable interrupts in arch_restore_fork_frame().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 15:47:34 +00:00
Axel Dörfler
ba9c55b555 Sure, that bug waited *that* long to pop up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 14:20:51 +00:00
Philippe Houdoin
4907c35be7 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 11:49:02 +00:00
Philippe Houdoin
085a73c43c Fixed some minor warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 11:42:47 +00:00
Jérôme Duval
fbe27baa4c removed B_PULSE_NEEDED flag, fixed BRect size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 09:54:15 +00:00
Axel Dörfler
a7fa05a54b Since arguments may on the stack even in the kernel, load_image() now
always copies the arguments and environment arrays.
No need for the "owns_arrays" in team_arg anymore - it now always owns
them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-15 01:52:07 +00:00
Nathan Whitehorn
b1cec3747c Fixed SSL compilation, a compiler warning, and eliminated a crashing bug that would happen on connection timeouts or failures.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 21:03:42 +00:00
Axel Dörfler
4578da13a4 main() now waits until interrupts are available before bringing the device drivers up.
Switched to load_image() instad of using the old team_create_team() to start "init".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 18:18:22 +00:00
Axel Dörfler
bd4b903e57 Switched from the old team_create_team() to a load_image() compatible mechanism.
The path name is now always taken from the provided argument list (except for
_user_exec() which now replaces args[0] with the path argument).
The team_arg structure know nows if it must delete its arguments or not - this
also fixes a memory leak in case team_create_team() failed when invoked from
userland.
load_image() is now also exported for the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 18:07:04 +00:00
Axel Dörfler
4496669366 Added minimal fork() test app.
Enhanced exec_test.c to use some process functions as well.
Switched to load_image() instead of using the old _kern_create_team() syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 17:52:41 +00:00
Axel Dörfler
dc0f47e390 Implemented load_image() using the new _kern_load_image() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 17:49:58 +00:00