Commit Graph

11120 Commits

Author SHA1 Message Date
Ingo Weinhold
ee524c9864 We now also store the names of syscall parameters. This is used for strace. Well, not yet, but it would make a nice extension. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:51:08 +00:00
Ingo Weinhold
16df67022a Fixed UseArchHeaders.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:46:14 +00:00
Axel Dörfler
febccfbfc6 If update_mime_info() could not determine the MIME type, it now just set
the information it has from the translator itself. Maybe this functionality
should be done in the Translation Kit as well if the output stream is a file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:37:01 +00:00
Axel Dörfler
9cbe0af410 Identify() returned wrong MIME type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:35:44 +00:00
Axel Dörfler
fbef8d31d3 Added support for the "/documentCount" and "/documentIndex" extension used
by the TIFF translator. Thanks again to BiPolar for the note about this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:38:15 +00:00
Axel Dörfler
5fa46a457c Reading 24 bit images was broken - thanks to BiPolar for finding and reporting this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:18:07 +00:00
Axel Dörfler
ab78c7cbc5 Added partition type constants for HFS/HFS+ file systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:11:19 +00:00
Axel Dörfler
90bce836e0 Changed the way user/kernel time is tracked for threads. Now, thread_at_kernel_entry()
and thread_at_kernel_exit() are always called for userland threads at the appropriate
situation (note, I've renamed those from *_atkernel_*).
The timing should be more accurate this way, and the thread::last_time_type field
is no longer needed: all interrupts are now added to the kernel time (where the
time is actually spent).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:10:21 +00:00
Jérôme Duval
4265bb4b19 we now check for error from get_input_devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:26:05 +00:00
Jérôme Duval
20776cc6cf fix : status wasn't taken into account
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:24:16 +00:00
Rudolf Cornelissen
7139e38e41 updated a few comments, added some acc stuff for NV40+ for PIO mode: trying to get that up as well briefle now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 19:40:26 +00:00
Axel Dörfler
5ff65f9b40 Added a work-around for broken ICO files that report a wrong icon height.
Fixed a wrong return code in case writing file data failed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:52:52 +00:00
Axel Dörfler
71aa315c95 First round of hoard changes to change it exactly to what we need.
Removed the arch-specific stuff for all other platforms.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:47:16 +00:00
Jérôme Duval
577c5fac30 Removed unused files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:53 +00:00
Jérôme Duval
dcccb4e3c6 Sadly echo generic driver is now GPL
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:22 +00:00
Jérôme Duval
c2ddc71cc5 Update to EchoGenericDriverB0
Added IDs for 3g cards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:05:47 +00:00
Jérôme Duval
27a5e88b50 introduced a R5 style communication flag
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 15:37:23 +00:00
Ingo Weinhold
22bfa26c00 Added strace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:46 +00:00
Ingo Weinhold
bd432c793a Added strace to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:01 +00:00
Ingo Weinhold
33e89d7cf8 The beginnings of strace. At the moment prints only syscall number and
return value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:07:33 +00:00
Ingo Weinhold
e23a6f58af Added syscall tracing support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:06:05 +00:00
Ingo Weinhold
a102c86e08 Init and cleanup the thread related debugging structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:04:53 +00:00
Ingo Weinhold
bea87e89d4 Init and cleanup the team related debugging structure. Send the debugger
a respective message, when the debugged team has been deleted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:03:53 +00:00
Ingo Weinhold
032fea39cb Added userland debugging support structures to thread and team structures.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:00:52 +00:00
Ingo Weinhold
f19279abda Danger! The size of empty structures differs between C and C++, so we have to put something in, if we want to use them from both.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:59:37 +00:00
Ingo Weinhold
734e07cedb Added user_debugger.cpp to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:57:46 +00:00
Ingo Weinhold
4661ae6c69 Added/implemented debugging related API functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:56:49 +00:00
Ingo Weinhold
44ed1270a3 Added debugging related syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:55:02 +00:00
Ingo Weinhold
6b13343035 Some additions for user debugger support. Several of ToDos. This is far from being final, but just something we can work with for the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:53:48 +00:00
Ingo Weinhold
1ec1e1185b handle_signals() now takes a pointer to a cpu_state, so that after restoring and re-disabling interrupts the state can be propagated back to the caller.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:49:41 +00:00
Ingo Weinhold
bc797a9ee5 The beginnings of userland debugger support. Currently basically only what is needed for strace is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:47:46 +00:00
Ingo Weinhold
c53b50023a Trashed the old header and started a new one from the scratch.
Unless a good reason appears not to, we'll break binary compatibility here.
BDB could be considered one, but we need a replacement for it anyway. We
strive to port GDB and a couple of changes in the debugger API will make
that easier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:45:18 +00:00
Axel Dörfler
8f0882a2e1 Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:11:44 +00:00
Axel Dörfler
f4a87ad575 As Ingo pointed out correctly, B_INTERRUPTED is never returned when a semaphore
goes away; therefore we must not return B_BAD_PORT_ID in this case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:08:55 +00:00
Jérôme Duval
c3b0c1efca added iroster and keymap
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 23:13:54 +00:00
Jérôme Duval
7d3f2fc424 haiku build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 21:52:20 +00:00
Rudolf Cornelissen
c9df9f3086 updated fixes documentation. DMA acceleration is now the default, previously it was PIO mode: DMA now works (much) better than PIO mode overall... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:29:05 +00:00
Rudolf Cornelissen
306bf14447 added updated acc engine constraints for DMA use (mode validation). Version of driver is now 0.36.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:24:26 +00:00
Axel Dörfler
c59cdc87d9 Added some not-yet-connected configuration check boxes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:28:55 +00:00
Rudolf Cornelissen
3f17567e63 reverting to software retrace-sync for cursor position updates on pre-GeForce cards: it turns out there's no hardware sync here after all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:08:03 +00:00
Axel Dörfler
942d411b67 Fixed kernel version of load_driver_setting(): the lock was not properly
released under certain conditions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:56:21 +00:00
Axel Dörfler
b885799ce7 Support for the input_server (R5 style) instead of using the (old) keyboard driver
directly, done by Jerome Duval.
When the USE_INPUT_SERVER constant is defined, it will try to get its input from
there. Currently disabled since it's not yet working.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:53:16 +00:00
Axel Dörfler
29ad57a6c0 Renamed main.c to console.cpp and link it against libbe.so
(in anticipation of future changes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:20:08 +00:00
Axel Dörfler
36129be090 Fixed/implemented support for reading and writing true color ICO images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:52:39 +00:00
Jérôme Duval
db3e07c9e8 implemented _xdebugPrintf and _debugPrintf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:02:05 +00:00
Rudolf Cornelissen
4f985adf3a added NV04(TNT1) DMA workaround code. TNT1 now also works with DMA acceleration. TNT2-M64 has been confirmed up also. This means all cards should work now! (Except for a NV40 artifact on blits..).
Still some finetuning to do.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 20:30:56 +00:00
Rudolf Cornelissen
e7b37d0211 added pre-NV10 screen location and size for completeness. NV05 (TNT2) is confirmed up and running speedy now :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 19:31:49 +00:00
Stefano Ceccherini
e005dc757f Simplified the code for input method highlighting. This had the nice side effect of fixing the multi line highlighting bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:43:56 +00:00
Rudolf Cornelissen
c1d1fdbc43 added preliminary pre-NV10 specific DMA acceleration code. Not finished, not tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:09:01 +00:00
Axel Dörfler
79b649126a Fine tuned the alpha channel handling - it should now work as expected,
even with stupid apps like ArtPaint that use the alpha channel with
B_RGB32 bitmaps.
May now need some work for apps that use B_RGB32 as it should be used, though :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 16:58:16 +00:00