Waldemar Kornewald
75d0f2ba9b
Finished the UI stuff. Not tested, though. If everything works as expected (I doubt it ;) you should see a little window prompting your login before connecting. It also allows canceling a connection attempt. After you establish a connection you should see an ugly Deskbar replicant. Click on it to see connection statistics and to disconnect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:50:50 +00:00
Waldemar Kornewald
484a5f0ec2
Fixed some stupid bugs. Added atomic.S (only atomic_xxx64 functions). This will be removed later because Haiku has it built-in.
...
Added some little functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:48:11 +00:00
Waldemar Kornewald
29dcffdf80
Fixed some bugs. Setting a default interface now actually works, but the functionality is hidden because we do not yet have kernel-side IPCP support for ConnectOnDemand (COD).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:42:57 +00:00
Ingo Weinhold
625ffa198e
* Re-enabled the tests for data-only-based MIME type sniffing. Had to
...
disable the special test for sniffing a MIME type file (as stored in the
MIME DB), since the framework is not really prepared to deal with that.
* Removed left-over debug code.
* Fixed a nasty `use of member of temporary object' bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 04:01:59 +00:00
Ingo Weinhold
42e66e22c7
Really, a static BLooper attribute is not exactly a brilliant choice. Now every time the App Kit test add-on is loaded a BLooper is constructed. And it seems we somehow leak those loopers, since when some test actually starts, already six or seven looper threads do exist. Added only a comment, since I didn't dare to meddle with those templated BMessage unit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:55:33 +00:00
Ingo Weinhold
9ed278d664
The unit test framework supports catching debugger() invocations and we need to make use of that here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:49:50 +00:00
Ingo Weinhold
26409756a9
Our warning in case of mismatching app signatures is formatted more nicely.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:47:48 +00:00
Ingo Weinhold
77b9927bb4
The BTestApp class from libcppunit always uses R5's BApplication, but here a Haiku BMessenger is tried to be created from it, which can't work. Can probably be rewritten to work, but I'm too lazy at the moment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:46:14 +00:00
Ingo Weinhold
c10206311d
The case for data-only-based MIME type sniffing was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:42:21 +00:00
Ingo Weinhold
132c664be7
Added TODO. The implementation should be revised. BClipboard::{Local,System}Count() is broken and I can see why. Instead of just fixing that a reimiplementation is probably best.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:41:06 +00:00
Ingo Weinhold
4536dd81ff
Fixed standard 'backward iteration with unsigned var' bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:37:26 +00:00
Ingo Weinhold
0660acfd9c
Must have accidently implemented BQuery::Rewind() when migrating to our syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:35:48 +00:00
Ingo Weinhold
f5b1fba063
Yuck! Bad typo. I wonder why the respective unit test ever passed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:34:28 +00:00
Ingo Weinhold
a368fecb8d
When opening the node O_RDWR failed, we try again O_RDONLY, but we did that only, if the returned error code was B_READ_ONLY_DEVICE or B_PERMISSION_DENIED. Some FS return other error codes though, so we are completely ignorant now and always retry on error. Maybe we shouldn't for obvious cases like B_ENTRY_NOT_FOUND.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:33:25 +00:00
Ingo Weinhold
51634653c6
* Fixed BMessageBody::GetInfo(): Indexed based iteration was broken for
...
two different reasons.
* Fixed BMessageBody::FindData() in case of type B_ANY_TYPE, which should
match any matchingly-named field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:25:48 +00:00
Ingo Weinhold
c9f9a6b20d
* fReplyTo.target (the handler token) is internally checked even, if the
...
preferred handler is addressed. So make sure, it has a usable value in
this case, otherwise ReturnAddress() usually won't work.
* If the message to be read from the port is bigger than the on-stack
buffer, the chunk of memory to be allocated on the heap has to be the
size of the message, not the size of the on-stack buffer. This caused
all kind of nasty, hard-trackable problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:20:15 +00:00
Ingo Weinhold
c5c962d426
Enhanced debugging output to print also the thread ID.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:13:52 +00:00
Axel Dörfler
e9bd14d444
Turned off debugging.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:42:22 +00:00
Axel Dörfler
1bf35f0f75
Added missing returns (forgot to commit this...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:41:49 +00:00
Axel Dörfler
9c4f4c037d
Changes because of renaming various data structures (pnp_node -> device_node, ...).
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:28:38 +00:00
Axel Dörfler
08ec614080
Changes because of renaming various data structures (pnp_node -> device_node, ...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:26:00 +00:00
Rudolf Cornelissen
4abeaa0554
added a few NV40 arch specific comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 20:16:24 +00:00
Axel Dörfler
b8877975aa
Added some code to dump the node tree. This is currently done always
...
after hardware recognition (but will be moved into a debugger command
later).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 16:19:59 +00:00
Rudolf Cornelissen
daaa769853
added checking for engine idle: which is actually the case over here :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 14:32:46 +00:00
Jérôme Duval
e3c78aded7
Added input method key switching (alt+space)
...
Added code to enable deskbar replicant loading after input_server is started
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:34:37 +00:00
Michael Pfeiffer
dcab43435a
Implemented delta row compression. Added media sources. Enabled duplex mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:29:07 +00:00
Michael Pfeiffer
1ee14bea49
Added DeltaRowCompression.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:26:27 +00:00
Rudolf Cornelissen
4610db2600
added DMA engine initialisation code for NV40 and higher. Still disabled, and needs support from driver (reserve DMA buffer RAM etc)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:41:36 +00:00
Axel Dörfler
d1f630f624
Fixed some typos, minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:30:37 +00:00
Michael Pfeiffer
30ec9a55ef
Added 'Go to page' control. Contributed by Hartmut Reh.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:26:13 +00:00
Axel Dörfler
f1a1d6e98a
Implemented get_safemode_option() (not yet tested).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:06:25 +00:00
Jérôme Duval
91f8300536
Add some method switching support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 17:08:27 +00:00
Rudolf Cornelissen
af26d6420e
fixed arch typo. _now_ NV40 and higher should work, although still without acc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 14:22:29 +00:00
Stefano Ceccherini
4339dcab52
Removed some wrong code and added a comment. Small style fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 14:18:53 +00:00
Rudolf Cornelissen
a48b31824b
doc update
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:12:01 +00:00
Rudolf Cornelissen
dd43fd34c1
added cursor HW bug workaround for NV40 and higher on CRTC1; added seperate acc file for DMA test setup for NV40 and higher (for now).
...
The driver now works by default on NV40 and higher, but without acceleration.
If someone tests using overlay, let me know if it actually works: NV43 seems to have a new engine, NV40 _might_ still have the old, and so, useable engine.
NV40-plus overlay is something we will NOT have any time soon!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:04:17 +00:00
Rudolf Cornelissen
0b7b8998b2
finalized HW cursor sync: now tested and found OK on all my pre-NV40 cards.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 11:24:33 +00:00
Rudolf Cornelissen
e36daaab07
doc update
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:43:22 +00:00
Rudolf Cornelissen
dcd66b8944
fixed committing..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:42:21 +00:00
Rudolf Cornelissen
df7dbd1d4e
completed cursor hardware retrace syncing, confirmed working fully OK on FX5200. Other cards will be tested shortly. Note: this also seems to fix losing screen sync for short bursts with DVI connectors on some DVI encoders.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:38:53 +00:00
Axel Dörfler
57af9fc29e
Added a small program to control the cache (using the generic syscall mechanism).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 08:08:14 +00:00
Axel Dörfler
104de70bd8
Oops, the driver name was not propagated as needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 08:01:39 +00:00
Axel Dörfler
00fb471d52
Fixed typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:59:14 +00:00
Axel Dörfler
c51144040d
The BOCHS_DEBUG_HACK definition now only enables support for the bochs
...
debug output - to activate it, you now have to enable it in the kernel
settings file ("bochs_debug_output true").
Reimplemented the serial output so that it's flexible towards the base
port at run time.
Implemented support for kernel settings "serial_debug_port" (which can
now also be an index in the BIOS provided serial ports list), and
"serial_debug_speed".
That also means that you can finally use the same kernel executable
under BeOS Bochs and on a real system without any restrictions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:53:22 +00:00
Axel Dörfler
163338aef6
Now calls the new arch_dbg_con_init_settings() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:48:44 +00:00
Axel Dörfler
b15a7e8e0a
Now initializes the driver_settings services (so that it can find the
...
settings passed over by the boot loader).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:47:51 +00:00
Axel Dörfler
74272e4c46
mutex_lock() will no longer panic() if acquire_sem() failed and the mutex
...
holder did not change (required for booting properly).
Also added a ToDo comment about a required mutex API change in order to
be able to return a status that indicates failure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:46:48 +00:00
Axel Dörfler
486c7eddeb
Added driver_settings support: it will now read in the vesa kernel driver
...
settings and use that one as standard video size (but ignores the depth
parameter for now).
It will be the app_server's responsibility to keep this file up to date.
This file should no longer be edited by users.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:41:01 +00:00
Axel Dörfler
4c89c923bf
For now doesn't switch to text mode and back to the logo anymore when the
...
menu is shown - the logo is now shown after the menu anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:38:01 +00:00
Axel Dörfler
78c5ef46fc
Added driver_settings support.
...
It will now load all settings in the kernel driver settings directory
and pass them over to the kernel (unparsed).
Additionally, it allows other parts of the boot loader to access
driver_settings just like in the kernel.
Moved the switch to the logo in the boot loader much further to the end
of the boot loader's life cycle. This is done so that the boot loader
can directly use the video mode as configured in Haiku, without a jumping
logo. Since the delay will be noticeable on a real system, we might want
to introduce a second different boot logo, though. We'll see.
stdio.cpp now also exports errno (and _errnop). Might be changed to a
different approach later as well (it's now done this way so that strtol.o
can be taken over unchanged from libroot.so).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:32:54 +00:00
Axel Dörfler
a2940337b4
Added strcasecmp(), strlcat(), and strtol() to the boot loader in order to
...
be able to use the driver settings in a useful way.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:26:50 +00:00
Axel Dörfler
f753d9c494
Updated to export all the functionality we need from within the kernel
...
and the boot loader.
When compiled in the kernel, driver settings are cached and may be used
without disk access at all.
Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:25:23 +00:00
Axel Dörfler
42340683af
The identify hook must return an error in case of an error, not 0.0f - or
...
else the scan partition hook will be called with an invalid cookie.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:22:36 +00:00
Axel Dörfler
381c5247e0
Fixed compilation in debug mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:21:08 +00:00
Axel Dörfler
f04715b8fe
Command queueing is now generally disabled in PIO modes. No matter what
...
the cause is, it didn't work over here at all in this combination.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:17:55 +00:00
Axel Dörfler
c776c35a04
Added a temporary way to differentiate between kernel and userland builds for
...
parts of kernel_os_main.o.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 01:32:11 +00:00
Axel Dörfler
0f6c560eec
Removed the upper restriction of maximum cache transfers (was restricted
...
to 32 pages at a time out of pure lazyness).
Also fixed a potential bug when reading across page bounds (pageOffset
might not have been properly reset).
Added some more comments and ToDo items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 22:40:30 +00:00
Rudolf Cornelissen
7d457f8e19
added new cursor sync for CRTC1: it turns out the cards have hardware for that. This will lower CPU load much when moving the mouse around :-)
...
Still testing, will finalize and add CRTC2 soon I hope..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 20:32:10 +00:00
Michael Pfeiffer
4259e26f8a
Disabled building of PCL6 printer driver until we get permission from HP to include the jetlib\!\!\!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 18:07:48 +00:00
Michael Pfeiffer
fca41c6c35
Added Hartmut Reh to list of authors. Updated copyright information.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:55:32 +00:00
Michael Pfeiffer
d24243b3d4
Updated copyright information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:54:15 +00:00
Michael Pfeiffer
be15dcda7f
Added class PagesView for visualization of the options Reverse and Collate.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:46:28 +00:00
Michael Pfeiffer
d225778e9a
Added scaling ability and visualization of the options Reverse and Collate.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:42:53 +00:00
Michael Pfeiffer
0826cc43ae
Added first/last page buttons contributed by Dr.H.Reh.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:08:54 +00:00
Michael Pfeiffer
66a207d9bd
Set upper bound for scaling factor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:07:23 +00:00
Michael Pfeiffer
43a3d8de3f
Changed the scaling ability to mimic the scaling behaviour of the Epson printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 09:12:12 +00:00
Jérôme Duval
034a4d2e0d
we now keep a copy of modifiers and key_states around to be able to fill incomplete messages and get_key_info requests
...
because of this, 4th bug from axeld is fixed, and R5 Keymap preferences is now working correctly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 01:50:11 +00:00
Rudolf Cornelissen
ea71c0b480
added some unknown stuff for NV45(?)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:46:58 +00:00
Rudolf Cornelissen
adafd6c770
mode DMA related programming (currently disabled I hope..)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:07:11 +00:00
Michael Pfeiffer
dc8938772a
Show current displayed page number and added ability to scale the page contents contributed by Dr.H.Reh.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:11:35 +00:00
Michael Pfeiffer
fe970f9d5d
Added method GetScale
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:07:41 +00:00
Michael Pfeiffer
5eb50e4689
Fixed printing related bug. Image was offset by the left, top corner of the printable rectangle.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:02:23 +00:00
Jérôme Duval
34720c47f1
Added kernel benchmarks from bsd
...
The purpose is to compare Haiku and BeOS R5 on specific operations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 15:28:48 +00:00
Stephan Aßmus
36351e2d44
cosmetic changes, and removal of some unnecessary vector conversion pipelines in Stroke and FillRoundRect
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 02:43:24 +00:00
Stephan Aßmus
4569b90da0
Initial version of the Painter framework, which should be usable as a drawing backend.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 01:58:36 +00:00
Axel Dörfler
f3d2f0ffa2
cache_module_info::node_opened() was called with the wrong argument order.
...
Added generic syscall to control the cache. Right now, only setting/removing
cache modules is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 00:55:08 +00:00
Axel Dörfler
2a5dafa804
recurse_directory() is no longer part of the build if SUPPORT_BOOTFS is
...
not defined. It will now also skip about all entries called "boot" (to
not load the boot modules again).
The path of preloaded images is now hacked together so that the module
image hash contains the correct path in case the images get replaced
while being used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 21:46:03 +00:00
Axel Dörfler
b1e252f77f
Added a SUPPORT_BOOTFS definition and made the vfs_get_module_path() the new
...
standard mechanism - recurse_directory() is now only used if SUPPORT_BOOTFS
is defined and vfs_get_module_path() failed.
Added standard system kernel add-ons directory to the search path list.
Renamed USER_MODULE_PATHS to FIRST_USER_MODULE_PATH as that's what it is.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 20:31:22 +00:00
Axel Dörfler
fb77bc372f
vfs_get_module_path() now actually works: it failed to create a valid full
...
path, since it didn't take into account that vnode_path_to_vnode() may
actually change the provided buffer.
Also fixed a potential buffer overrun in that function (bufferSize was
not correctly changed), and added a comment about a previously undocumented
property of vnode_path_to_vnode() that vfs_get_module_path() relies on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 20:20:48 +00:00
Rudolf Cornelissen
a3d7b2a4ad
more NV40 arch stuff for the acc engine (not yet working)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 19:13:39 +00:00
haydentech
e25d0ac8e6
Change FT cache manager calls to conform to the new FreeType 2.1.8 API
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 18:29:02 +00:00
Rudolf Cornelissen
cc3ced500f
added NV40 arch specific engine init stuff (not finished, not working yet).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 16:17:11 +00:00
Axel Dörfler
73bcca6b32
Added a small command to set the volume of the master gain in the audio mixer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:32:59 +00:00
Rudolf Cornelissen
d96acb0dde
more DMA related info, modified PLL type detection: all NV40+ have extended PLL's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:09:11 +00:00
Rudolf Cornelissen
2bfa04fe4a
added some info about possible DMA setup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 10:10:07 +00:00
Jérôme Duval
df76730ea2
comment typo
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:06:26 +00:00
Jérôme Duval
431461e9d1
fix for gcc-2.95.3_binutils-2.15
...
version 20041202 is needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:02:24 +00:00
Jérôme Duval
9964bf44e8
adding a haiku-cannaIM-cvs package
...
adding cannaIM to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 14:12:53 +00:00
Matthew Wilber
969d816792
Removed silly PPMTranslator hack because it caused issues with the Haiku RTF-Translator and it really never should have been added in the first place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 02:14:09 +00:00
Stefano Ceccherini
4ff5ade253
Many visual fixes to BMenu. Now it's almost undistinguable from the real thing. SeparatorItems were being drawn too dark. Fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 14:42:19 +00:00
Stefano Ceccherini
b282b9018e
Implemented separator style 2, courtesy of Olivier Milla
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 13:13:42 +00:00
Stefano Ceccherini
5b7528754d
The frame around the BMenu is now drawn by a special class (as happens in beos), and not by BMenu::DrawBackground(). Refactored BMenuWindow to support scrolling (not implemented yet). The AddItem() functions now call the private _AddItem(). Implemented AddList(), but it's not tested. BMenus are now offsetted by 2, 2, as in BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 12:59:49 +00:00
François Revol
a583b8b54d
added a script to build the table from setmime; fix (c)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 10:38:32 +00:00
François Revol
d9574bb892
A kernel mime_table module, so not every fs will bundle its own.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 10:08:27 +00:00
François Revol
8a90bc6132
puni is already pointing outside of the string, no need for +1 here!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 09:21:21 +00:00
Axel Dörfler
0bf9534d45
Now stacks up group text_runs correctly - previously, the run on the stack could
...
still be changed by the new group (which lead, surprisingly, to wrong results :).
Added \line and \'hh commands (first part of charset support beyond plain ASCII).
Renamed GetStyle() to PrepareTextRun().
Added some support functions to copy and compare text_runs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 23:55:39 +00:00
Axel Dörfler
37ec8144ed
The \'hh command is now also correctly interpreted (it's not a standard command).
...
The Text class no longer likes '\n' and '\r' and will throw those away happily.
parse_integer() can now parse integers with different radix.
Improved debug output a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 23:46:08 +00:00
François Revol
11ad2d6866
because uni_str is incremented in utf8_to_u_hostendian() UNICODE is moved inside the loop in _utf8_to_sjis_bendian() to avoid crashing. (it points to a single unicode char!!) (other option is to not increment uni_str, but it's kept for consistency).
...
some cosmetic changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 22:37:46 +00:00
Stefano Ceccherini
1664b981f2
Added some todo items, cleanups. Removed the frame parameter from BMenuWindow as it's not needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 16:05:05 +00:00
François Revol
a565beb2d9
report error correctly (*len = 0) when read()ing a dir; some comments; don't tell BEOS:TYPE changed for folders since they don't have it.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 15:27:18 +00:00