Axel Dörfler
d5b04e50f8
First step into a new block allocation strategy for the block_cache
...
(right now, it's still malloc/free, just encapsulated in an allocator class).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 18:18:28 +00:00
Stephan Aßmus
1db49f8a7a
added a function to count the bytes in a string if the number of UTF8 chars is already known
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 17:30:59 +00:00
Jérôme Duval
94e9712aa7
Shell tools guide try
...
the place for these files isn't final
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:57:46 +00:00
Jérôme Duval
86e9bb7a5f
added a coreutils chapter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:46:15 +00:00
Jérôme Duval
c45801ff45
moved Man2doc rules
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:43:18 +00:00
Jérôme Duval
95086a3efd
added Man2Doc rules
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:42:21 +00:00
Jérôme Duval
57ce68cc52
added man pages from 5.3
...
added Jamfile for man2doc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:41:51 +00:00
Stefano Ceccherini
ddbbb2e76d
Fixed an off-by-one bug which could've been triggered only in some particular (and probably very rare) circumstances, extended a TODO items, improved the readability of some code (hopefully).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 09:27:49 +00:00
Axel Dörfler
f95eb77cef
Another mini-update to at least correct the updated part of the text :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 00:01:00 +00:00
Axel Dörfler
0faec19e8a
Cleanup, turned off debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 23:43:39 +00:00
Axel Dörfler
6bdc405f75
Whenever KPath is used, it will now be tested if it could be initialized
...
(thanks to Ingo for the reminder...).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 23:31:04 +00:00
Axel Dörfler
90a0e0b9d9
Cleanup, turned off debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 23:29:28 +00:00
Rudolf Cornelissen
6efe4e121f
fixed introduced error for TNT1. DMA mode is a bit flaky ATM though here.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 19:02:23 +00:00
Michael Lotz
8f3f38367e
Buildfixes for the blkman -> block_io change. Also fixes the non TRACE_PCI version of the PCI add-on.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 18:09:37 +00:00
Stephan Aßmus
7a70a2d6d6
This fixes the child text view re-layout, I didn't test on R5, but my changes make sense to me and are much simpler than what was there before. The BTextControl works now on Haiku, with some problems in the redraw code, that I'm pretty sure are related to our app_server.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 16:32:03 +00:00
Stephan Aßmus
55354b0f60
This change makes libopenbeos.so update in the home folder when it was rebuild for some reason.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 16:29:21 +00:00
Axel Dörfler
879d9c6b6e
Renamed the "blkman" module to "block_io".
...
Also renamed some defines and structures, although the structure and some other names are still odd.
This module should probably be moved into the kernel anyway, as it provides basic and crucial services.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 15:43:02 +00:00
Stephan Aßmus
9bdb0522c1
Implemented BFont::GetEscapments() float version. It is pretty rough yet, but appears to handle UTF8 correctly. The optional escapement_delta is currently ignored. I didn't touch other functionality too much, until I know more about it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 15:09:30 +00:00
Stephan Aßmus
2309ba4c1f
my current playground
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 15:04:11 +00:00
Axel Dörfler
c3a92c3186
Renamed blkman to block_io - the module name etc. will follow.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 14:28:43 +00:00
Rudolf Cornelissen
00b2e25e62
more colorspace dependand engine cmd programming for 3D. Now 15,16 and 32bit mode are up again: 15/16bit: teapot 320fps, 32: 280fps (tnt2). All demos run.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 14:07:12 +00:00
Rudolf Cornelissen
1252f57f61
added DMA surface cmd's colorspace dependant programming. These commands were still down at last 3D test, but already the Teapot is spinning at 300fps in DMA mode ona TNT2 over here!!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 13:39:50 +00:00
Stephan Aßmus
b3d3da708d
more cleanup, fixed a bug in AS_GET_ESCAPEMENTS_AS_FLOATS that caused a lockup. DarkWyrm - I'm looking at you. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 10:31:48 +00:00
Rudolf Cornelissen
d4189794fe
more DMA 3D related engine command defines (completed).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 08:24:06 +00:00
Axel Dörfler
6094d89f2f
Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 03:27:44 +00:00
Axel Dörfler
cbd1d9977f
Changed all _kern_*() calls to use KPath instead of a path buffer on the stack.
...
This reduces the stack usage quite a lot, and since file system calls could be
nested (for example, a mounted image on a volume), definitely a must, too.
Might be a good idea for user calls, too, though, although it's not urgent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-12 01:14:01 +00:00
Rudolf Cornelissen
50fdc6cbe7
adding 3D DMA cmd offset defines: in progress.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 20:25:13 +00:00
Axel Dörfler
24cea645f1
Moved all documentation out of the device_manager.h header file to this place.
...
We might want to use it as a basis for the device manager documentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 16:40:13 +00:00
Stefano Ceccherini
ffe7181e7c
Added a TODO item in GetMouse(). I hope to fix the problems
...
this weekend, if no one does it before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 11:00:27 +00:00
Stephan Aßmus
8b0aee9f12
MiniTerminal can redraw itself.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 10:26:35 +00:00
Axel Dörfler
3a5624e900
Replaced the strange BEOS_ADD_ONS_BUSMASTERS with BEOS_ADD_ONS_BUS_MANAGERS and
...
BEOS_ADD_ONS_KERNEL_MISC.
Added PCI IDE modules to the build and boot links.
The config_manager can now be handled like every other bus manager.
The config_manager appeared twice in the jam argument list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 02:03:18 +00:00
Axel Dörfler
ad5caf291f
Updated the config_manager Jamfile to use the KernelAddon rule instead of KernelObjects/KernelLd.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 02:00:37 +00:00
Rudolf Cornelissen
e22e2de123
added new 'register'definitions needed for largest number of acceleration engine commands ever defined simultaneously (AFAIK) (3D DMA attempt).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 20:16:41 +00:00
Rudolf Cornelissen
372f7c3b9e
added all 3D related commands found in PIO acceleration code to DMA pre-NV40 code as well. Bumped version to 0.46: experimental, should be fully OK though (for 2D).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 20:13:20 +00:00
Rudolf Cornelissen
fbcb1d9d39
updated info for card 0x014f to be more correct
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 19:06:40 +00:00
Rudolf Cornelissen
85f0f8b10b
updated info for card 0x014f to be more correct
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 19:06:11 +00:00
Stephan Aßmus
3c6c2f8adb
Found the problem in my hardware acceleration code (pretty lame bug...), now we have hardware accelerated single buffer mode (still with a software cursor) under Haiku, and it feels quite nice already. For me, this is the right direction to go. That being said, I still have no clue how the sync_token should work, so if someone can point me to some documentation about accelerants, particularly the cursor related stuff now, I'd be grateful!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 12:52:13 +00:00
Stephan Aßmus
1f112d2ae0
removed forgotten printf
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 12:11:27 +00:00
Stephan Aßmus
a13cbaabe5
fixed grammar
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:35:09 +00:00
Stephan Aßmus
f6f44f5538
incorporated fix from AGG mailing list, the problem only showed on Sun hardware though...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:34:26 +00:00
Stephan Aßmus
587d699c28
It seemed to me that the MakeFocus() implementation was overly complicated and even incorrect (cyclic) if the view in question already had focus.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:33:14 +00:00
Stephan Aßmus
5b5e713f82
Skip synchronous mouse polling if the window has B_ASYNCHRONOUS_CONTROLS in its flags. Added a TODO comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:31:44 +00:00
Jérôme Duval
608ee6c43c
fix noticed by [Beta]. thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:31:08 +00:00
Stephan Aßmus
f571c4aee6
fixed typo
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:30:17 +00:00
Stephan Aßmus
65d5fe56f6
found some obsolete stuff when looking through code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:28:21 +00:00
Stephan Aßmus
90d6295906
Ingo spotted this when we tried to make Haiku boot on my machine some time ago.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:27:01 +00:00
Stefano Ceccherini
17f3c5335a
Improved the colors (which were really ugly): now the value looks like a tooltip.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 10:12:09 +00:00
Stefano Ceccherini
bc3465f998
Some experiments with drawing the slider's value:
...
Now we draw it over the thumb. The old implementation is there, just ifdeffed out. I'd like some feedback on this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 09:53:01 +00:00
Jérôme Duval
168bee472e
added nominal level controls (only when available)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-09 22:46:57 +00:00
Rudolf Cornelissen
7c216bed2a
updated docs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-09 12:53:01 +00:00