Ingo Weinhold
efaa1f0e73
We now build a static library from the fs_shell sources. No need to compile them again for each FS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:35:57 +00:00
Ingo Weinhold
bc421eb5c9
Jam rule SetupFSShellIncludes that sets up the include search dirs for building the fs_shell. Reused, hence in a separate file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:34:29 +00:00
Ingo Weinhold
e6f3010336
A whole bunch of changes to make the fs_shell build (and work) under
...
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:32:35 +00:00
Adi Oanca
74d5a8f70e
Fixed a couple of crashes. app_server nicely quits now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:21:36 +00:00
Ingo Weinhold
9b3fd9f88c
Support for translating error codes between the build platform and the
...
emulated system (i.e. the FS).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:18:54 +00:00
Ingo Weinhold
81d91d7fcb
Missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:16:35 +00:00
Jérôme Duval
a15b332e3b
added an implementation for strptime from FreeBSD (1.35, 1.25, 1.11)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 15:51:05 +00:00
Axel Dörfler
f7eefd8207
Fixed warnings: possibly uninitialized variable, missing friend classifier (struct/class).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 06:18:12 +00:00
Axel Dörfler
cc8aae32ee
We're using now Ingo's new doubly linked list implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 06:15:16 +00:00
Axel Dörfler
0cbd4edc72
Fixed warning in the real time stuff. Added empty user debugger functions
...
to keep things building.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 06:04:59 +00:00
Axel Dörfler
1f6dcd134f
write_cached_block() would write the wrong block in case there was
...
a previous and unfinished transaction. It should now work correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 01:10:16 +00:00
Ingo Weinhold
d2df6f5a20
We compile the fs_shell with BuildPlatformMain, which is more correct. We
...
use all Haiku headers save the POSIX and STL headers. Let's see how we
fare on Linux with this change...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:47:39 +00:00
Ingo Weinhold
2585523bed
Changed since the fs_shell additional command mechanism has changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:44:59 +00:00
Ingo Weinhold
fc5863cce5
* Renamed fsh.c to fsh.cpp to have a more usable static initialization at
...
hand. Fixed all compiler errors.
* Changed the mechanism for including additional commands. Now an array
is exported by the instance code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:43:23 +00:00
Nathan Whitehorn
3ca956b5bb
Fixed a bug in executing control methods without return values.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:40:21 +00:00
Ingo Weinhold
ea8e6dbaab
Made C++ safe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:40:03 +00:00
Ingo Weinhold
25209a1365
Commented out iso9660 and udf tests for the time being.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:39:20 +00:00
Nathan Whitehorn
92ba8215d2
Added basic (i.e. argumentless) control method execution. Now we can read fan speeds, cpu temperatures, laptop lid states, and all sorts of other glorious things.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:01:35 +00:00
Ingo Weinhold
a57bb4edc8
Added fs_shell (for fs_shell_command).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:23:54 +00:00
Ingo Weinhold
50329cd67c
Added a BeOS specific command (using ports) to send commands to the
...
fs_shell. A Linux specific one will follow as soon as the fs_shell builds
under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:23:11 +00:00
Ingo Weinhold
ce13a6d573
Follow-up changes to make the fs_shell instances build after adding the scripting extension.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:20:51 +00:00
Ingo Weinhold
87580cd7ab
Extended fs_shell by an interface for external scripting.
...
This is the first step towards getting rid of the UserlandFS dependency
for building a HD image. Which is in turn the first step to being able to
build one under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:19:03 +00:00
Nathan Whitehorn
53403b7edc
ACPI bus manager interface, revision 3. Now allows full namespace traversal. Next is AML control method execution.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 19:31:30 +00:00
Axel Dörfler
23b6e06ac6
While the block list was written sorted to the log, the blocks were in
...
transaction order which caused corrupted disks when a log was replayed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 17:55:49 +00:00
Axel Dörfler
4bb67ad318
Added small test tool to dump the contents of a BFS log.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 17:26:01 +00:00
Jérôme Duval
d4fe9d12d0
added missing posix error messages
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 16:46:24 +00:00
Ingo Weinhold
121f7fb374
Allow setting a couple of EFLAGS bits.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 14:53:11 +00:00
Stefano Ceccherini
41d64d6792
Looks like I _HAD_ screwed something. Fixed some wrong stuff about printjob's settings, implemented more functions. Communication with the print_server should be ok, and also settings. Now comes the hard part: setting up the spool file. Any hint ?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 14:03:28 +00:00
Ingo Weinhold
59ad83d0d9
Don't allow changing the segment registers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 11:52:53 +00:00
Stefano Ceccherini
6bb758a26f
Implemented some basic BPrintJob methods (hope I didn't screw anything, is there any print server guy around ?). Is there any reason why it is left out of the build (besides being incomplete) ?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 11:15:41 +00:00
Nathan Whitehorn
c11886dbbe
Now we have a nice structure for handling ACPI fixed events. This means we can do things like make acpi_button block, instead of polling it. Direct register access has gone away. The next revision of the bus manager interface should include namespace traversal and AML control method execution.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 05:05:18 +00:00
Axel Dörfler
47761c4786
Adapted to match our style guide.
...
Fixed warnings.
Made gArchiveNameField static (and therefore changed the prefix to 's').
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 03:44:14 +00:00
Nathan Whitehorn
b53df54f50
Made the status register clear code work. Apparently you need to write 1 to the register to set it to zero. It doesn't make any sense to me either.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 01:45:02 +00:00
Ingo Weinhold
5d2536d2af
* Added functions for clearing/destroying the arch-specific thread debug
...
info.
* Implemented arch_set_cpu_state() (Axel, please check, what registers
the debugger should actually be allowed to modify).
* Fixed arch_get_cpu_state(). We now explicitly copy the registers
manually instead of using memcpy(). Added support for extended
registers (FPU,...).
* Completed break- and watchpoint support.
* Implemented handling of debug and breakpoint exceptions.
The x86 specific part of the userland debugging support should be complete
now. That is in theory the entire debugging interface is available on x86
machines now. It's almost completely untested yet, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 00:14:38 +00:00
Ingo Weinhold
edd0aaeaee
* Stop user debugging when entering the kernel and init it when leaving
...
it.
* Handle debug and breakpoint exceptions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 23:59:23 +00:00
Ingo Weinhold
98b14f8a6a
* Made i386_get_current_iframe() static again, since it wasn't what was
...
needed to get the topmost user iframe. Added i386_get_user_iframe() for
exactly that purpose.
* Added reinitialization of user debugging for the new thread when
switching the context.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 23:56:52 +00:00
Ingo Weinhold
c8d7534e5d
* Made C++ save.
...
* Made the parameter for restoring the FPU state const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 23:52:09 +00:00
Ingo Weinhold
ae7c619aae
* Added architecture specific structure to thread_debug_info.
...
* Added event callbacks for break- and watchpoints and single stepping.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 23:47:59 +00:00
Jérôme Duval
e6d5cc8d84
added binary keymap loading. Now you can type 'keymap -b /etc/Keymap/French'
...
it also checks for binary version number in case you try to load anything else (who knows ...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 14:30:29 +00:00
Jérôme Duval
c7cbf33821
added small error checking on keymap source loading
...
checks only the version number (should be 3 at the moment)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 01:07:48 +00:00
Stefano Ceccherini
1b26b72dba
Fixed warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 23:50:08 +00:00
Adi Oanca
e438905abd
New window manager comming in.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 20:23:51 +00:00
Stefano Ceccherini
f8411ab138
Implemented handler for B_APP_ACTIVATED and (but not really) for _SHOW_DRAG_HANDLES_
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 16:27:49 +00:00
François Revol
b1bfc5c69f
if you want to return something at least be consistent with the version of usleep which returns an int... (return -1 and set errno)
...
see http://www.die.net/doc/linux/man/man3/usleep.3.html
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 11:41:39 +00:00
Ingo Weinhold
feeee8dff5
Added function for setting the CPU state (not implemented yet) and
...
functions for setting break-/watchpoints (implemented).
Break-/watchpoints don't work yet, though. Missing is still the setting
of the debug control register DR7 somewhere in the interrupt code and
the handling of debug exceptions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:48:31 +00:00
Ingo Weinhold
336b15cf0f
Added musings about where to deal with debug registers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:42:01 +00:00
Ingo Weinhold
d906f5fc4b
* Atomic access to team debug flags.
...
* thread_exit_args::teamID -> original_team_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:39:51 +00:00
Ingo Weinhold
9707863cc9
* Changes due to new team debug info locking strategy.
...
* In team_delete_team() we no longer explicitly destroy the team debug
info. It is not necessary, since the terminating debug nub thread will
do that anyway. Moreover we access the debugger port in a safer manner
now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:37:16 +00:00
Ingo Weinhold
a7ad39fe09
* New locking strategy for the team debug info. It's no longer protected
...
by the team lock, but by a lock in the structure. This is necessary
since we can't acquire the team lock while thread switching, for then the
thread lock is already held.
* Added support for single stepping and break-/watchpoints.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:34:06 +00:00
Ingo Weinhold
bd3b16ee7b
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-28 00:21:59 +00:00
Axel Dörfler
a2634a4246
Actually, ports do support both, B_RELATIVE_TIMEOUT and B_ABSOLUTE_TIMEOUT -
...
thanks to Ingo for the hint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-27 16:18:07 +00:00
beveloper
8496c38a3d
MediaRoster::Roster() now sets out_error to B_OK if everything is OK
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-26 23:21:52 +00:00
Ingo Weinhold
37f7862ffb
Missing \n at the end of the usage message.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:35:54 +00:00
Ingo Weinhold
71a0e3788d
Compile the template madness with -O0. This significantly (by an order of
...
magnitude) reduces the compile time. It's almost acceptable now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:35:13 +00:00
Ingo Weinhold
11fcd6e40a
The size of the strace executable was ridiculous (1.8 MB). This attempt
...
to trim the templatized interface improves the situation, but we're still
quite heavy (400 KB).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:33:21 +00:00
Ingo Weinhold
50ff751805
* Don't use int32 in sources to be compiled for the build platform
...
(Daniel Furrer).
* The strace interface for the generated file changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:30:50 +00:00
Ingo Weinhold
35e49f2582
Initial version of our debug server. This is the guy that hangs around
...
waiting for teams to crash to show our favorite alert.
Due to the missing app_server we don't show a alert yet. We just print
something to /dev/dprintf and kill the team. Unlike R5's debug server
ours will probably not provide any debugging functionality itself, but
rather employ gdb directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:37:36 +00:00
Ingo Weinhold
6d3794c0a1
* Correctly set debug_origin::nub_port in all concerned functions.
...
* Now a debugged thread and the debug nub thread are not longer blocking
on ports when they receive a SIGKILL[THR] (we couldn't kill a debugged
team before).
* Small fixes. More correct cleanup when the debug nub thread terminates.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:30:16 +00:00
Ingo Weinhold
3b28d367cb
Implemented get_why_stopped_string().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:25:10 +00:00
Ingo Weinhold
f75dc555fd
* handle_signals(): If a SIGKILL[THR] is pending, ignore other signal.
...
* Added is_kill_signal_pending(). Can anyone tell me why the compiler
complains about a missing previous prototype for it? <ksignal.h> is
included, and when only preprocessing the file, the prototype is clearly
there. I'm clueless.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:20:47 +00:00
Ingo Weinhold
8c37e2348e
Added support for new flag B_KILL_CAN_INTERRUPT. (Do ports really not support absolute timeouts?)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:13:00 +00:00
Ingo Weinhold
013d79a1b9
Added support for new flag B_KILL_CAN_INTERRUPT.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 14:11:52 +00:00
Ingo Weinhold
448e975c5b
Some simplifications and cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 18:50:24 +00:00
Ingo Weinhold
433e1959ae
Introduced a debug_origin structure consisting of thread and team ID of the concerned thread, and being first member of all messages sent to the debugger. This simplifies handling of messages in the debugger a good deal.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 18:47:04 +00:00
Ingo Weinhold
013765b30a
Added ToDo regarding the handling of search paths like PATH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:34:00 +00:00
Ingo Weinhold
b9f16dcd93
Update due to debugger interface changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:32:15 +00:00
Ingo Weinhold
71a2d54820
In case of a page fault we now notify the debugger.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:30:17 +00:00
Ingo Weinhold
260ba6fdd3
* Dealt with two debugging related ToDos:
...
- If the thread's B_THREAD_DEBUG_STOP flag is set, it is now always
stopped before handling the signals. Unless a SIGKILL[THR] signal is
pending.
- Also notify the debugger, when a signal is ignored.
* The signal's sigaction structure is additionally passed to the debugger
now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:28:45 +00:00
Ingo Weinhold
9c448e2414
* Added debugger notifications for thread creation/deletion events.
...
* Now we deal correctly with thread debug flags (child threads inherit
the parent ones, save for syscall tracing in which case it needs to
be specified explicitly).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:14:18 +00:00
Ingo Weinhold
2ee487c82a
Added debugger notifications for team creation/deletion events.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:11:25 +00:00
Ingo Weinhold
43ad09219b
Added debugger notifications when images are registered/unregistered.
...
In the first case this is probably too early, since the image is not
really loaded at that time by the loader. We should probably introduce
a syscall the loader can invoke for that purpose.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:10:24 +00:00
Ingo Weinhold
e988d66022
* Added B_TEAM_DEBUG_DEFAULT_FLAGS and B_THREAD_DEBUG_DEFAULT_FLAGS for
...
convenience.
* Added/implemented callbacks for almost all missing debug events (team,
thread, image creation/deletion, exceptions/faults, signals).
* The debugger can now specify how to deal with the event that stopped an
event (ignore or handle signals, exceptions/faults).
* Implemented B_DEBUGGED_THREAD_GET_WHY_STOPPED debugger message.
* The cpu_state is now passed to the debugger with
B_DEBUGGER_MESSAGE_THREAD_STOPPED notifications.
* Completed _user_debugger() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:07:19 +00:00
Ingo Weinhold
05916979f9
Export i386_get_current_iframe() so it can be used in arch_user_debugger.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:49:41 +00:00
Ingo Weinhold
08fd6d69aa
Beginning of the x86 debugging support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 15:46:20 +00:00
Nathan Whitehorn
d86d43eba2
Added the beginnings of our power management daemon. Currently does nothing except tell the roster to shut down when you press the power button (in conjuction with acpi_button, of course). Eventually will do things like display low power warnings, spin down hard disks, and display the requisite power info deskbar replicant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 03:05:53 +00:00
Nathan Whitehorn
0a60ca24de
Fixed a hang on boot problem with bus manager initialization. Apparently the BeOS kernel doesn't seem to like using spinlocks as the ver first thing in the boot process, so I rolled my own. Everything is now working consistently.
...
I also fixed my power button, so I don't need to test acpi_button by shorting motherboard contacts with a screwdriver...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 02:40:06 +00:00
Nathan Whitehorn
a28a2204fb
Made acpi_button clear the button status register, if not properly, at least in a way that works.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 02:12:42 +00:00
Nathan Whitehorn
20a7c7863d
Fixed a crashing bug in GPE interrupt handlers, and cleaned up the error reporting code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 20:38:24 +00:00
Nathan Whitehorn
91fbc56d75
Reworked ACPI button routines to make them more flexible, and remove the need for the power management daemon to care about ACPI in particular.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 20:36:33 +00:00
Stefano Ceccherini
a84dde4cde
Implemeted some methods for BBitmaps which accepts views, got rid of "NOT_IMPLEMENTED". Fixed a warning in ListView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 11:23:41 +00:00
Nathan Whitehorn
94e3125a61
Fixed a stupid bug in setting registers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 05:57:16 +00:00
Nathan Whitehorn
3a3a6bb0a7
Added an ACPI power and sleep button driver, similar in purpose to the one on BeBits. Will be used by a power management daemon that is not yet in CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 04:26:23 +00:00
DarkWyrm
918a22d990
BTextControl labels use the plain font, not bold :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:57:29 +00:00
DarkWyrm
348f28e773
Removed the locking from RootLayer::Buttons -- caused a hang in the one place it is called. (doh!)
...
Implemented ServerApp handler for BFont::CountTuned and added a standby handler for BFont::Direction
Tweaked the ServerWindow debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:45:48 +00:00
DarkWyrm
135c6d41e1
A couple tweaks for testing without the registrar running - eliminates a crash
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-23 01:42:32 +00:00
Rudolf Cornelissen
860d572c2e
finalized documentation for driver release (as V0.41). All my cards confirmed OK and very fast compared to 'the old days'.
...
It's confirmed BTW that GeForce PCIe/AGP 6600GT is working OK (tested on 3 cards), and also GeForce AGP 6800GT is OK (one card tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 20:52:21 +00:00
Adi Oanca
0eed276cf7
'Attach' hooks are now called after the complete tree of children of the BView to be added is completely known by app_server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 20:08:27 +00:00
Jérôme Duval
abd010bc61
Moved mbstate to wchar.h
...
Restored glibc/wcsmbs/wchar.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 18:06:35 +00:00
Ingo Weinhold
2a862ff06f
Got rid of the temporary BMessage in BMessage::_send_().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 13:07:55 +00:00
Ingo Weinhold
592cc30168
* Implemented colorized output.
...
* Implemented finding programs in the PATH.
* Added human readable error codes for status_t and ssize_t return values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:37:24 +00:00
Ingo Weinhold
c9b3d41977
The Type class now knows the name of the type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:34:38 +00:00
Ingo Weinhold
3f38375acc
Write return and parameter type names into the generated strace file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:33:49 +00:00
Nathan Whitehorn
baf98f1cd8
The ACPI bus manager backend is now fully operational, tested on a Tyan Tiger i7505. Next up: adding useful operations to the public interface, and writing drivers for ACPI hardware.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 02:34:01 +00:00
Nathan Whitehorn
fe5117f99d
AML table parsing and discovery now works. AcpiEnableSubsystem() is still hangin
...
g my machine hard, probably due to it mucking with the PCI controller way after
boot. I'm going to try inserting it earlier in the boot process. Also added bett
er debugging tracers, and removed the kernel_debugger() trace calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 02:06:13 +00:00
Nathan Whitehorn
ddbd7b91b5
ACPI Bus Manager module, derived from Intel's ACPI CA. Has some very rough edges and the bus manager interface is currently incomplete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 20:29:17 +00:00
Michael Pfeiffer
5fc71589cf
Implemented RLE compression
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:45:24 +00:00
Michael Pfeiffer
e2bfe39dea
Unrolled most inner loop of ColorRasterizer::MergePlaneBuffersToCurrentLine to gain a total speed up of about 5 percent.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:43:59 +00:00
Michael Pfeiffer
b2086ea837
Removed debugging code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:39:33 +00:00
Michael Pfeiffer
367817c939
Added function pack_bits_size().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:34:21 +00:00
Michael Pfeiffer
5d4b78560b
Rewrote get_valid_rect because it contained bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:33:16 +00:00
Michael Pfeiffer
be79e3899d
Checked in missing function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:25:37 +00:00
Rudolf Cornelissen
4879571b0d
doc update. Version is now 0.41.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 16:24:41 +00:00
Rudolf Cornelissen
7540371dbb
the DMA acc sub-cmd-lists are now issued to a single engine command (except for blit because it's hardware can't do that), instead of to multiple issued engine commands. (one could say 'parallel processing' but that's not the case: it remains serial: it's just faster).
...
DMA acceleration speed is up another 10% for rect and span commands.
commencing more testing now: code is complete (I hope).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 16:20:40 +00:00
Rudolf Cornelissen
dffca5825b
doc update, version is now 0.40.
...
(still one more speed update to do before testing and release :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:36:51 +00:00
Rudolf Cornelissen
d0ef756a52
optimized DMA acc code more by splitting up command lists into sublists before issuing them to the engine. this further improves speed with upto about 70 percent, for a total of about doubling the speed by pure software optimation.
...
Note: code is now working the same as Thomas's ATI driver: he minimized calls in the same ways. (Curious how a benchmark contest would hold up now.. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 14:34:09 +00:00
Stefano Ceccherini
28362fed33
I just noticed this file had a weird license header...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:47:12 +00:00
Rudolf Cornelissen
361b304a02
... on slow CPU's it's also upto 15% gain apparantly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:15:42 +00:00
Rudolf Cornelissen
0702e3f652
(doc update..)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:02:05 +00:00
Rudolf Cornelissen
1554e5cb4c
applied DMA mode speed optimations 'step 1.5': incorporated all top-level acceleration functions inside the engine's code so minimal nested calls are made. Confirmed further speedup of about 15% on fast CPU's...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 13:00:14 +00:00
Stefano Ceccherini
e605d52661
Finally we draw something with our own code. It works only with vertical sliders, and it's still buggy, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 10:07:30 +00:00
Jérôme Duval
af095d7ba1
style fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 09:19:32 +00:00
Rudolf Cornelissen
9e7390ba4a
bumped version to 0.38.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:42:58 +00:00
Rudolf Cornelissen
18dfc8a2b0
optimizing DMA acc for speed ('step 1'). Also simplifies code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:40:56 +00:00
Rudolf Cornelissen
27fe7559f1
updated doc once more.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 12:57:54 +00:00
Rudolf Cornelissen
10988528d1
added fix (not yet completely tested) for NV40/NV45 artifacts on heavy acc engine use. Bumped driverversion to 0.37.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 12:50:09 +00:00
Rudolf Cornelissen
cb49723124
added one (still disabled) register for framebuffer config(?) on NV40/NV45 (in test)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 09:54:56 +00:00
Rudolf Cornelissen
93ae86bf61
replaced some occurances of BeOS with Haiku :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:48:09 +00:00
Rudolf Cornelissen
813524fb5a
updated driver documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:40:26 +00:00
Jérôme Duval
8ac049a845
Wacom devices are now not handled, uses devices preferences devices list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:29:19 +00:00
Jérôme Duval
91437c9ef8
added usb devices and vendors list from NetBSD version 1.395
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 20:27:26 +00:00
Jérôme Duval
834f7878aa
FindString is better than FindData (thanks axeld)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 17:27:34 +00:00
Stefano Ceccherini
2f197f3340
BHandler::MessageReceived handles also B_GET_SUPPORTED_SUITES as it should, and prints the message to the stream if it doesn't understand it. Restyled the function to follow our guidelines (more or less).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 11:34:52 +00:00
Jérôme Duval
997aa9ac18
error handling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 11:05:33 +00:00
Axel Dörfler
db5fbf2a6b
Fixed a possible crashing bug in case of a corrupt inode: the vnode was
...
removed twice from its mount's list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-18 03:57:08 +00:00
Jérôme Duval
76fa831165
fixes sscanf for decimal values, enables keymap to actually load source keymaps
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 16:57:12 +00:00
Rudolf Cornelissen
29e629c82e
shutdown panel DPMS for laptops: I don't like the looks of that!. Confirmed DPMS working OK for all DVI panels though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 16:51:35 +00:00
Stefano Ceccherini
0677ddf4a7
Now the slider correctly moves on mousedown/mousemoved. Note that currently it works only if the BWindow was created with the B_ASYNCHRONOUS_CONTROLS flag. Fixed drawing of the thumb when pressed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 14:10:52 +00:00
Rudolf Cornelissen
6072aa9f44
fixed PLL locking trouble on NV36 (confirmed) and problably more cards (NV31, NV40 and higher): those with extended PLL's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:47:54 +00:00
Jérôme Duval
cb9c0a693e
added a default constructor to init attributes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:43:19 +00:00
François Revol
c8cfedef94
undo showing major/minor (hmm that's a very bad idea...)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:37:37 +00:00
Rudolf Cornelissen
ecaef637fa
added preliminary DPMS support for all panels (still in test)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:34:13 +00:00
Rudolf Cornelissen
4157b3aeec
-added the NV40 arch screen connections limitations to the doc;
...
-added a fixme comment in the kerneldriver: it seems we must try to map cardBIOSes to memory ourselves if possible after all (should be PCI config manager work I'd say): encountered two systems now that don't have that done (by BIOS I guess). A old PCI-only system (Pentium200), and a brand new PCIe system: Both PCI and PCIe cardBIOSes don't get mapped here which prevents us from using coldstarts on secondary cards :-/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:53:25 +00:00
Rudolf Cornelissen
36ad4411a8
added some comments about NV40 architecture. We have several new unknown factors:
...
- DAC2 always detects a analog screen connected;
- it seems like there are at least two new registers we don't know about. One extra switch to place output on connectors, and one (extra) switch for pixelclock PLL to CRTC connections (one PLL drives both CRTC's in some cases, pre-programmed by the card BIOS determined on the screen configuration found at power-up.
- in a known register (TSTCTRL) b20 blocks/moves output on connectors (?).
All confirmed on NV43, GeForce PCIe 6600GT.
Driver status:
- one DVI monitor connected is OK;
- one analog screen connected on the DB15 connector is OK,
- two analog screens connected is OK and can be used for dualhead.
other combinations don't work well or at all. This is the status confirmed on
the NV43. Assuming same for other cards of NV40 architecture.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:39:07 +00:00
François Revol
1c5ea92404
don't mangle UTF-8 chars for __BEOS__, from the GG patch
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:39:40 +00:00
François Revol
5bea2b386b
we don't use major/minor, but that's not a reason to change the display. device sizes as reported by stat() are always 0 anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:15:46 +00:00
Stefano Ceccherini
93d52f14af
Now we fill BMenu::sMenuInfo with some default values. This should fix the problems with our BMenus on our app server. DarkWyrm, please check.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 08:26:20 +00:00
Axel Dörfler
be6b98a967
Since the mode commands are ignored anyway, we're now also accepting a "?"
...
starting parameter (or better, we silently ignore it) that's used for
private DEC modes. Vim uses those for whatever reason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 21:56:14 +00:00
Axel Dörfler
a7c89acd59
Some style cleanup. The usage text now looks more like those from other shell commands.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 20:58:42 +00:00
Axel Dörfler
b7624725ef
Added --copy-from option to take over the indexes of another volume.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 19:34:57 +00:00
Stefano Ceccherini
f32c74752d
A couple of small style changes, fixed a problem with some compilers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 08:27:27 +00:00
Axel Dörfler
a5b1bafc0b
New "error" command; unlike the previous, this should work :)
...
Added it to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:15:14 +00:00
Axel Dörfler
4b72e95292
getcwd() is actually implemented like elsewhere, and not strictly after
...
POSIX demands: if you pass in a NULL pointer, a buffer will now be
allocated for you.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:51:34 +00:00
Axel Dörfler
86e404324f
Fixed the build of the boot floppy and removed all input_server headers
...
when USE_INPUT_SERVER is not defined.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:22:12 +00:00
Axel Dörfler
a1537049b7
Changed the way we're resetting the machine: we're now first trying the
...
keyboard controller method, and only if that fails we fall back to what
we have before.
At least my SiS laptop now properly reboots, and doesn't just halt
anymore - doesn't seem to have a negative impact on other machines, but
please report any regressions :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 02:12:14 +00:00
DarkWyrm
6a1a734c5f
A small crash fix whilst testing with a stock People app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 00:48:07 +00:00
Jérôme Duval
7c49936aa6
Simplified pci bus manager Jamfiles
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 22:27:58 +00:00
Jérôme Duval
82698ec120
added support for arrows (from our Terminal impl)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 16:58:28 +00:00
Axel Dörfler
133c5b73a2
Obviously, my laptop (SiS 630 based) only reports all VESA modes when there
...
was one mode change before - took me quite some time to figure this out; now
we just do a mode change to the standard text mode; this is probably a good
idea anyway to make sure we're running in the correct text mode for the boot
menu.
The error check for the VESA BIOS calls were not really correct, even if
they worked. The vbe_mode_info structure is now cleared before the mode
info is requested (as suggested in Ralf Brown's interrupt list).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 15:35:59 +00:00
Axel Dörfler
f7958e552d
Now only echoes the input if ECHO is defined.
...
Ignores a "--login" argument (that's what consoled does).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 01:18:58 +00:00
Axel Dörfler
23cf00de23
Now starts consoled instead of a shell directly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 01:17:52 +00:00
Axel Dörfler
ca347bfce3
We report ourselves now as "beterm", so that we don't look as dumb as before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:28:43 +00:00
Axel Dörfler
c016d92ea1
Added the new console/vga_text driver/module stuff to the old boot floppy
...
method as well.
Removed libdrivers.a from the kernel, added kernel_debug.o to the kernel.
Renamed the boot floppy shell "sh", so that consoled doesn't need to be
changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:25:32 +00:00
Axel Dörfler
1ceb0f4da3
Added the new console driver to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:22:07 +00:00
Axel Dörfler
a621f3b6c1
Added the new (built-in) frame_buffer_console module to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:18:27 +00:00
Axel Dörfler
4cf2fd241c
The vga_text module is now part of the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:10:15 +00:00
Axel Dörfler
d156256cd6
console_module_info::clear() now honors the "attr" argument. Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:02:15 +00:00
Jérôme Duval
1c2b377163
adding a keymap_files target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 16:38:34 +00:00
Axel Dörfler
4efb3cc0f4
Now also support reading in cursor images (.CUR files seem to have the same
...
format as .ICO files). Now ignores the alpha channel mask if it couldn't be
read completely instead of not being able to read the image at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 15:09:46 +00:00
Rudolf Cornelissen
11058c2f96
fixed cursor visibility update on show/hide_cursor commands for secondary head on NV40 architecture (hardware bug workaround). Confirmed Dualhead up and working correctly with two analog connected screens on PCIe 6600 GT.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 14:16:50 +00:00
Jérôme Duval
0d0f1600ef
fixes forwards of BMessages
...
iroster now works successfully
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 11:47:55 +00:00
Matthew Wilber
3a85b92372
Fixed page changing, simplified entry_ref usage in SetImage()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 17:57:38 +00:00
Rudolf Cornelissen
de0194f56b
updated docs (working cards, DMA mode info).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 17:54:11 +00:00
Matthew Wilber
658ffe9fcf
Added BAlert manual test, used to make the BAlert unit tests and compare the behavior of Be's BAlert to Haiku's BAlert.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:49:03 +00:00
Matthew Wilber
82cbd5d87d
Added tests for the B_OFFSET_SPACING mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:22:04 +00:00
Rudolf Cornelissen
5857e1d66b
added a few ID comments ('sync' to Xorg 6.8.2)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 11:56:27 +00:00
Rudolf Cornelissen
3a1749827c
added a few ID comments ('sync' to Xorg6.8.2)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 11:55:11 +00:00
Matthew Wilber
b85443713f
Added tests for B_WIDTH_FROM_WIDEST mode
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 16:45:35 +00:00
Matthew Wilber
a4821468d6
Moved FuncTranslator.h to private headers, moved #include <FuncTranslator.h> from TranslatorRoster.h to TranslatorRoster.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 14:38:18 +00:00
Rudolf Cornelissen
2e73688338
blocking exporting overlay hooks on NV40 architecture cards that are not NV40 or NV45: these newer NV40 architecture cards have a new bes, but we don't know how to set it up yet. :-/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 13:26:57 +00:00
Rudolf Cornelissen
9b501a81b3
added some more PIO mode acceleration programming for NV40 and higher. This remains non-functional: aborting dev on this for now. Notes about the problem are in the code. For now I guess no-one cares about PIO mode nomore anyway... ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 13:06:46 +00:00
Axel Dörfler
f80973f6c2
Replaced the old frame buffer console driver with a built-in frame buffer
...
console module which is used by the console driver, and will be used by
the on-screen KDL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:45:01 +00:00
Axel Dörfler
c48c2a976f
Ported over the vga text console module from NewOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:40:03 +00:00
Axel Dörfler
825474c914
Ported over the console driver from NewOS - this one is a bit more capable
...
than our currently built-in one (colors and stuff). It won't be needed
later on for the distribution, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:25:03 +00:00
Axel Dörfler
1252c6cfae
No longer computes a wrong frame buffer size for 15 bit modes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:12:19 +00:00
Jérôme Duval
ec4fd18f03
_sPrintf implemented
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 13:04:13 +00:00
Ingo Weinhold
39c9d198ea
* Moved strace source into separate subdirectory.
...
* Now syscall names and parameters are printed. const char* parameters
and return values are retrieved from the client and printed as string.
* Missing are still color output (does consoled support that?) and
searching for given commands in the PATH. Nothing besides the standard
mode has been tested yet, so it's probably not working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:09:36 +00:00
Ingo Weinhold
20be402385
Moved strace sources into subdirectory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:02:22 +00:00
Ingo Weinhold
73df3c0847
* Turned off debug output.
...
* The syscall arguments are copied into the respective messages to the
debugger now.
* Optimized the nub thread memory reading command. Now only as many bytes
are sent to the debugger as were actually read.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:00:31 +00:00
Ingo Weinhold
6b2dcef3ec
Explicitly declare the inclusion of the syscall table file generated by gensyscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:57:38 +00:00
Ingo Weinhold
6432752755
Include the syscall info array generated by gensyscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:56:11 +00:00
Ingo Weinhold
747fcbd3e0
We generate two more files now: A simple array with the kernel function
...
pointers and overall parameters size for the kernel and some more
sophisticated code for strace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:53:31 +00:00
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
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
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
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
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
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
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
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
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
Axel Dörfler
2b05778c88
Translator for Windows ICO files with read/write support. Not yet complete, but
...
seems to work for all cases I tested it with :)
Now you can finally create favicon.ico files under BeOS :))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 15:12:57 +00:00
Jérôme Duval
dc8a124397
added ListItem.cpp and ListView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:54:44 +00:00
Jérôme Duval
49104a39cf
haiku build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:37:49 +00:00
Jérôme Duval
ce0102b7a6
now builds as a haiku target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:31:48 +00:00
Stefano Ceccherini
b7adead4eb
Removed the serial_mouse addon from the build (for now) as it causes the input server not to start if you don't have a serial mouse connected to the port.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 12:47:22 +00:00
Adi Oanca
0b9056c784
BMessages which reach BWindow now take full advantage of application_kit's power in sending BMessages to BHandlers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:45:59 +00:00
Adi Oanca
7b76dd8073
mouse & keyboard messages now use the full power of application_kit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:32:32 +00:00
Adi Oanca
fde1c7aa30
Sorry I did not know about BMessage::Private::SetTarget()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:23:36 +00:00
Nathan Whitehorn
7a480637d8
Added net_server compatibility to the Broadcom drivers (i.e. fixed non-blocking mode to actually work)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 21:18:51 +00:00
Adi Oanca
ecb03027eb
implemented _set_message_target_()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:41:12 +00:00
Rudolf Cornelissen
95883f1638
updated doc, added GeForce 6200 card recognition (NV44) for 10 types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:17:32 +00:00
Rudolf Cornelissen
f882db2e04
added recognition for 10 GeForce 6200 card types (NV44), version is 0.35 now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:15:19 +00:00
Michael Pfeiffer
2e86189f50
Added color dithering to reduce the size of data to be sent to printer by about 800 percent.
...
Added Add Printer dialog that allows the selection of the protocol class.
Made some features dependent on the chosen protocol class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:38:01 +00:00
Michael Pfeiffer
8c0bf01979
Added Add Printer dialog.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:22:40 +00:00
Matthew Wilber
db441663b3
Added tests for B_WIDTH_FROM_LABEL mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 14:10:50 +00:00
Rudolf Cornelissen
36b7db70d1
updated a few register defines for NV44 type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:45:10 +00:00
Rudolf Cornelissen
94e32479c0
fixed NV44 and NV45 programming for acceleration
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:33:17 +00:00
Matthew Wilber
485f31599b
Added B_EMPTY_ALERT tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:34:10 +00:00
Matthew Wilber
8ebac7a655
Added B_EMPTY_ALERT mode tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:32:18 +00:00
DarkWyrm
a7870927a4
Implemented AS_SET_FAMILY_AND_STYLE_FROM_ID. One more thing that works better than R5. ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 22:46:54 +00:00
DarkWyrm
ee1240b38e
RootLayer now tracks which mouse buttons are down
...
Implemented ServerWindow code for GetMouse
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:39:39 +00:00
DarkWyrm
61d65d37ea
GetMouse works properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:38:24 +00:00
Axel Dörfler
a5042101ea
Now uses the new translation kit version macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:12:22 +00:00
DarkWyrm
fac4ccbae7
Made Layer::RequestDraw actually request a screen update
...
Added a second method for ServerFont::SetFamilyAndStyle and added return codes
Removed a couple memory leaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:12:05 +00:00
DarkWyrm
6b3838e6f1
Tweaks to GetStringWidth()'s server protocol
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:09:11 +00:00
Rudolf Cornelissen
a6632f1605
added PCIe legacy PCI-config-space configuration registers. Some logged interpretation comes at later date, using a PCIE.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:55:52 +00:00
Matthew Wilber
dfb8c585c6
Updated with new Translation Kit version macro names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:22:17 +00:00
Stephan Aßmus
6c1ebb0fcb
huge cleanup and more style guide conformance, removed agg namespace, used marcos for inlined blending functions to avoid dereferencing, which gives a small speedup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:52:46 +00:00