Commit Graph

22206 Commits

Author SHA1 Message Date
Marcus Overhagen
4b4e08cc67 added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 14:52:49 +00:00
Stephan Aßmus
099fb2d3be * removed declarations for methods which are not used/implemented in View.h
* improved naming of some private BView functions and used our underscore
  prefix
* added a _DrawAfterChildren method to BView which does the necessary setup
  and calls the DrawAfterChildren hook
* call the new _DrawAfterChildren method in the BWindow implementation, this
  was easy since the view tokens are already hierachically sorted
* implement support for B_DRAW_ON_CHILDREN in the app_server's ViewLayer, it
  simply means that children are ignored for the views clipping region, any
  drawing methods will paint over children (therefor the B_DRAW_ON_CHILDREN
  flag is even properly named)

With these changes, support for B_DRAW_ON_CHILDREN and the DrawAfterChildren()
hook are implemented and behave exactly as on R5 as far as I can tell, also
for the view background painting.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 14:47:06 +00:00
Stephan Aßmus
11dbc914f7 * added a test for B_DRAW_ON_CHILDREN view flag and documented the observed
behaviour in R5 and my conclusions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 11:58:11 +00:00
Stephan Aßmus
966510fd6b * remove these targets from the app_server test environment, they are not
really needed in this context anymore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 01:21:32 +00:00
Stephan Aßmus
de114fc764 * remove Mail from the libbe_test/install-test-apps target, it was not
correctly setup anyways, since libmail.so was not part of it (at least
  not commited to the repo)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 00:51:26 +00:00
Marcus Overhagen
2e4a883509 Disabled setting Intel IDE mode to AHCI until the PCI manager can assign new resources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-24 00:38:06 +00:00
Marcus Overhagen
434785951a better debug output during device scanning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-24 00:36:07 +00:00
Marcus Overhagen
fbdeb12ca0 Properly restore IRQ setting for JMicron PATA function.
No longer reconfigure JMB360 and JMB362, those have no PATA function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-23 23:22:54 +00:00
Marcus Overhagen
edfb3c00bc disabled some debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-23 22:21:25 +00:00
François Revol
a82ef11df5 Add BSnow to the image, as a demo app, it actually demonstrates an unusual application of replicants, as well as scripting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-20 23:31:41 +00:00
François Revol
b53838ba7c Add 2dmov and BSnow to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-20 23:29:55 +00:00
François Revol
251a065e2b A small demo app I wrote that is quite appropriate for the season :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-20 23:29:09 +00:00
Marcus Overhagen
b53df1b383 Although this should simply enable IO decoding and bus master
functionality when not set by bios, it currently crashes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-19 22:22:23 +00:00
Marcus Overhagen
5aa9034e50 Moved masking of PCI ressource bits into a single place.
Improved debug output and error reporting for I/O and interrupts resources.
Init of ISA IDE or PCI IDE driver can now be seen in debug output, too.
Verified that both still work with Vmware


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-19 21:33:30 +00:00
Michael Lotz
b938008fe1 * Update the PAUSE macro from "rep; nop;" to "pause;" which is the same bytecode wise but more readable
* Insert the pause op in all spin wait loops (as macro for platform independent sources or as inline assembly on x86 only files)
* Fix some warnings with tracing on and extended some output
* Minor cleanups here and there

The pause instruction is implemented since P4 systems but is fully backwards compatible (it's a no-op prior to P4). According to Intel specs it reduces performance penalties as memory order violations can be avoided. Also power consumption is reduced. Most of all this will be beneficial to hyper-threading systems as it frees resources to the other logical processor when one logical processor executes a fast spinning loop.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-18 19:46:26 +00:00
Michael Lotz
9e0b9fbda5 * Fix the mem driver to not always return invalid argument
* Cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-18 18:48:50 +00:00
Marcus Overhagen
35f6af0388 PCI bus enumeration shouldn't be required on x86, thus enable it only for PPC an M68k
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 22:49:45 +00:00
Marcus Overhagen
39ee19ec0c preserve IRQ when splitting Jmicron devices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 22:15:46 +00:00
Axel Dörfler
120453cdd0 Forgot to add the SWI taskqueues - this should fix #1668.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 19:42:26 +00:00
Jérôme Duval
3ae5aef980 forgot to update version info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 18:38:28 +00:00
Jérôme Duval
28fab8364b merging coreutils-6.9 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 18:32:10 +00:00
Jérôme Duval
1d1b561b4b reverted r21883. the bug #1368 is now fixed for real in r23127 (needs to rebuild of gcc2.95 or a manual fix of its float.h)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 17:40:14 +00:00
Axel Dörfler
1607b8e503 * Added Broadcom BCM570x driver from FreeBSD (bge). Does not compile yet, needs
a bit more work on the compatibility layer.
* Added nVidia nForce MCP driver (nfe) from FreeBSD. Compiles and might even
  work - please test. It would also be nice to know if your PHY is detected
  correctly (see syslog output).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-16 10:56:30 +00:00
François Revol
3fffcad10d Use LC_ALL=C to really make sure the locale isn't used on svn info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-14 21:21:55 +00:00
Axel Dörfler
81abd45c3e There was no space when the buffer was completely empty...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 19:27:05 +00:00
Axel Dörfler
b879372352 Added the timeout to QueueCommand::MakeSpace() as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 15:44:41 +00:00
Axel Dörfler
8818c50507 * Made QueueCommands::Write() and MakeSpace() public.
* Implemented MakeSpace() (not yet tested).
* Changed intel_wait_engine_idle() to spin() between reads and to timeout
  after 1 second of waiting (could probably be done way earlier).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 14:56:28 +00:00
Stephan Aßmus
216310852f * I think I needed this change to compile this for ZETA
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-12 21:55:40 +00:00
Michael Lotz
fd0986401e Ignore disabled local APICs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-12 18:39:41 +00:00
Michael Lotz
d5f56f7d69 Remove 2 CPU limit from ACPI MP detection in the bootloader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 21:57:02 +00:00
Michael Lotz
7ce6a420b7 Make the initial size of the slab depend on the CPU count. This avoids running out of initial space with more than two CPUs. I haven't fully tracked down the usage of this space, probably it is used to allocate some per CPU construct.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 21:54:54 +00:00
Axel Dörfler
9b13056ba2 * Print the resolution the boot loader has chosen.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 21:14:26 +00:00
Jérôme Duval
59b17b6be1 creates the dststatus file with 600 as permissions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 20:20:45 +00:00
Jérôme Duval
e9edc48ddf fixes misuses of snooze()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-11 16:56:17 +00:00
Marcus Overhagen
b571493666 drop into debugger when things go wrong
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-10 22:04:34 +00:00
Stefano Ceccherini
d246d9be88 Some old changes I forgot to commit... BInputServerDevice::InitCheck()
now checks if the fOwner allocation went fine (and returns B_NO_MEMORY 
in case it didn't). Since it can fail, inherited classes should call it 
as well (I modified MouseInputDevice's and KeyboardInputDevice's 
versions for now)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-10 21:20:25 +00:00
Michael Lotz
f6c512f8e3 Avoid adding more CPUs than the kernel args can hold (and therefore overwriting other kernel args stuff). Doesn't fix my problems though as the current maximum is 4 CPUs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-10 20:37:20 +00:00
Axel Dörfler
7825641a7b Now clears the frame buffer before setting the mode; at least when testing,
one sometimes could still see previous contents of the screen during boot up
for some time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-10 18:42:14 +00:00
Michael Lotz
7846435ed2 Use a more generous snooze time when waiting for the initial explore to complete.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 22:22:45 +00:00
Michael Lotz
d4cecb1787 Removed wrong and now unnecessary condition to add safemode option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 22:21:09 +00:00
Michael Lotz
f108445b5e * Initial support for ACPI tables to detect multiprocessor configurations
* ACPI is evaluated first as it also handles things like multi core or hyper threading setups
* Removed other (disabled) hyper threading code per the notes in the corresponding ToDo
* Limit the detected CPU count to 2 for now as I wasn't able to get it working in either emulation nor real hardware with more than 2 CPUs
* Added a reserved byte to the mp_config_table struct, it worked only by luck as the compiler did padding there to get to the same size

I can now boot my Core 2 Quad with two out of four processors active :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 21:01:55 +00:00
Michael Lotz
1a802bca9d * Use the rescan function when compiled for Haiku
* Move waiting for the first explore to complete
* Small cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 20:42:47 +00:00
François Revol
1ca1c1fb08 Add Links as an optional package. Text mode only but it will help waiting for WebKit to be usable :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 18:58:48 +00:00
Stephan Aßmus
bec6af721f * some work in progress to display a view of the selected disk device
* build DriveSetup for the test environment, though it doesn't display anything
  in that mode... just to work on some general things, maybe I add a fake
  partition tree just to test things later
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 15:41:31 +00:00
Stephan Aßmus
c9d5e8255e * it's now fine to display icons at 256x256
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 15:37:16 +00:00
Stephan Aßmus
12a257d7f8 * make sure that the ApproximationScale() implementation of any Transformer
not negative
* PathSource can now remember a global scale, and the IconRenderer sets
  it, since this value is used in the curve converter for on the fly
  generation of vertices, this change does not affect anything and doesn't
  create the need to "update" the conversion pipeline to render an icon at
  different sizes (like Icon-O-Matic does)

-> this change fixes edgy curves on icons rendered bigger than 64x64 as
  reported by Axel some time ago


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 15:36:28 +00:00
François Revol
9226faeadb Fix return code and some style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-09 01:56:39 +00:00
Stephan Aßmus
48882cec96 * lock pattern drawing to the true view origin, independend of the views
position on screen (fixes drawing glitches in patterns when the view
  was moved on screen (for example because the parent window got moved))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 22:59:04 +00:00
François Revol
8a21dd58b6 One more oldie I found when digging old code...
A filepanel command allowing scripts to ask the user where to load or save a file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 22:15:12 +00:00
Axel Dörfler
5f23ba4ac9 If either the path or the resolved path is NULL, realpath() now returns
EINVAL. This also fixes bug #1659.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 21:45:40 +00:00