Commit Graph

12461 Commits

Author SHA1 Message Date
Stephan Aßmus
0b6fe6d3a9 Reverted my change for the INFORM define.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-17 08:50:53 +00:00
Axel Dörfler
62d6961672 Renamed vm.c to vm.cpp and made all the changes to let it compile without
errors. Also made the VM headers C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 23:17:45 +00:00
Axel Dörfler
8f8d46a3ff vm_put_area() now gives feedback wether it deleted the area or not (it
will return true in the former case).
vm_delete_areas() is now using this information to print out a warning
in this case (so that a missing vm_put_area() can now be found easier).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 22:37:34 +00:00
Axel Dörfler
4393552b4d The heap is now located at 384 MB, and creates a reserved range that spans over the
following 1152 MB - that area only guarantees that the heap can grow this much before
the application need the memory for something else. And even then, the heap range
is reused from top-to-bottom, allowing for maximum heap usage. Of course, if the
memory after the heap range is not claimed yet, it can still be claimed by the heap,
too. Added new syscall to create the reserved range.
Fixed a bug in vm_delete_areas(): when it removed reserved areas, the area list
could get messed up.
Fixed a bug in resize_area(): resized areas could never be deleted (missing vm_put_area())!
resize_area() now supports reserved regions (but not perfectly yet, see ToDo items).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 22:15:13 +00:00
Adi Oanca
4bdd131ac5 my test app for new clipping code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 18:31:01 +00:00
Stephan Aßmus
fef11f270b The registrar was always in debug mode, no matter what was defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 17:49:19 +00:00
Stephan Aßmus
ad6b480400 Work in Progress. The server keeps the client window up to date on layer movement/resizing. This fixes quite a few problems and brings support for FrameMoved and Resized hooks. But implementing it this way has its own set of problem, most importantly: When a BView calles Window()->CurrentMessage() in its FrameMoved/Resized hooks, it will see something very different from what it would see in R5. This needs to be fixed, but I have not had a good idea how to do this other than faking the current message in BWindow, which I didn't look into.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 15:39:58 +00:00
Stephan Aßmus
a1c5fb3432 Added a note in GetEscapements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 15:02:20 +00:00
Stephan Aßmus
67f6c84d16 since we depend on FrameResized() to be called, we should make sure that our flags contain B_FRAME_EVENTS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 15:01:47 +00:00
Stephan Aßmus
5f50ffd65c The real fix for taking anti-aliasing into account, though what my previous commit said was true as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 13:28:59 +00:00
Stephan Aßmus
6d8d6cad9d Work in progress to improve BTextView and BTextControl. I don't know what _BTextInput_::AlignTextRect() was thought to do. Some of the fixes are Haiku specific and we need to make sure that we don't need them later on (flushing drawing commands).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 12:02:23 +00:00
Stephan Aßmus
3c2fddee4e cosmetic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 12:00:15 +00:00
Stephan Aßmus
d557af5b96 Fixes to my fixes of BView::MakeFocus(), the previous focus BView needs to be unfocused of course so the derived classes implementation gets called. Simplified BWindow::setFocus(). BView calls FrameResized() and FrameMoved() if it has no parent, I don't know how R5 handles it, but I added a TODO...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 11:59:42 +00:00
Stephan Aßmus
dcf0c6ebd6 The anti-aliasing in Haiku requires the same carefulness with B_OP_COPY for line drawing as text drawing does in R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 11:57:13 +00:00
Stephan Aßmus
1f738c5b4e Used other font metrics members in the GetEscapement implementation in order to support white spaces. As suggested by DarkWyrm. It seems to work better now, but I realised that DisplayDriverPainter::StringWidth() is broken in the same way. Will be fixed next.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 11:03:28 +00:00
Stephan Aßmus
92acca78db Finally nailed a graphics bug I was looking for for quite some time. The only one I'm still seeing is with text. Sometimes the last line of text is not drawn.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 11:00:50 +00:00
Jérôme Duval
c6b83b8027 added kernel kit sections
fix license search


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 10:25:40 +00:00
Jérôme Duval
21f7f8581b added docbook install tips and requirements (not sure it's a good place for this)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 10:03:16 +00:00
Jérôme Duval
6ec2b7b427 added a haiku book template
moved Shell_Tools in its own directory
added a variable to set the output directory


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-16 10:01:15 +00:00
Marcus Overhagen
c26b5613f9 Fixed some IRQ sharing bugs. There may be more that are still undetected.
Unfortunately, IDE in compatiblitiy (non-native) mode doesn't use IRQ sharing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 23:32:14 +00:00
Axel Dörfler
a3e9996e9d Added support for special reserved address ranges: they will be used
only if memory becomes tight, and then the range is used from end to
start.
This is useful to reserve heap address ranges.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 15:56:55 +00:00
Axel Dörfler
20a6e5473b Renamed RESERVED_REGION_ID to RESERVED_AREA_ID.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 15:06:57 +00:00
Axel Dörfler
ccc8865ba2 Added an additional flag B_OVERCOMMITTING_AREA (currently to be specified
along the protection flags).
Changed the handling of B_STACK_AREA types and anonymous vm_areas: now
every area can overcommit if B_OVERCOMMITTING_AREA was specified.
B_STACK_AREA areas are still automatically overcommitting, but
B_KERNEL_STACK_AREA areas no longer.
vm_store_anonymous_noswap.c now only tests for guard pages if there were
any specified which is only done for B_STACK_AREA areas.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 15:03:44 +00:00
Stephan Aßmus
afd1024aef fixed build, thanks to [Beta] for the patches.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 14:11:48 +00:00
Bruno G. Albuquerque
7359ef201a Got SMTP to work with some broken SMTP servers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 13:57:03 +00:00
Stephan Aßmus
85e7619148 added syncing to HW acceleration, so that nothing gets drawn by the CPU before the HW commands have been executed. Works here with Radeon. Removed a debugger call from app_server when the mouse position changed in UP/DOWN events compared to the last MOVED event. replaced it with an fprintf and updated the on-screen mouse position. IMHO, all debugger calls should be replaced with fprintf when compiling for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 11:59:14 +00:00
Jérôme Duval
f62b833c30 moved pseudo target
upgraded to docbook 4.2


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 02:00:18 +00:00
Jérôme Duval
586a6dbe43 added a MIT license file
added a rule to transform a file with a stylesheet
search paths, xslsheet are set with variables, this can be changed
dependency with coreutils.xml is included (don't know another mean atm)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:48:58 +00:00
Jérôme Duval
f35b607dd6 docbook files go in objects dir
added a doc_files target
spaces in directory names don't please path xsltproc syntax


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:44:35 +00:00
Jérôme Duval
c7bc803f52 added chapter file dependency, this chapter file could eventually be generated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:41:54 +00:00
Stephan Aßmus
151ebb14dd just a little cleanup, made PNG screenshots work
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 00:22:55 +00:00
Stefano Ceccherini
d4045331c8 some minor cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-14 16:04:49 +00:00
Stefano Ceccherini
cb80e15b3c ServerWindow is no more a ServerApp's friend. Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-14 13:22:26 +00:00
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