Commit Graph

22038 Commits

Author SHA1 Message Date
François Revol
171a03646d Some more fields that helps compiling, but I'll have to sort that out later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 13:01:14 +00:00
François Revol
5eeaf46777 Minimal headers for atari_m68k
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 12:58:32 +00:00
Stefano Ceccherini
9834e99c64 AddChild() was called too early for the replicant and the dragger, in
BShelf::_AddReplicant(). Now it's called near the end of the function. 
This way we don't have to call RemoveSelf() in case 
BShelf::CanAcceptReplicantView() return false. This also fixes a glitch 
in BSnow, which calls MoveTo() in AttachedToWindow(). Simplified the 
code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 15:37:51 +00:00
François Revol
56eb8e78cc The php script I wrote to demo Haiku online with a VNC applet...
Not as slick as http://live.oszoo.org/ but does the job.
Maybe we should consider submitting an image to oszoo...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 14:38:45 +00:00
Stefano Ceccherini
eb885e0680 removed useless OffsetTo()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 11:48:35 +00:00
Stefano Ceccherini
d73c4e9fb1 Put the code to Extract a replicant into its own function.
BShelf::_AddReplicant() is finally getting acceptable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 11:07:28 +00:00
Stefano Ceccherini
898edb5ba7 Split BShelf::_AddReplicant() functionality into smaller methods. Not
yet done, but I hope it's getting better


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 10:49:04 +00:00
Stefano Ceccherini
0a9d19b17f Added a comment about the bug in BSnow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 08:20:39 +00:00
François Revol
7b27100746 Bored at 4 am,
Into this cold winder,
Here comes an easter egg.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 02:42:53 +00:00
François Revol
f7ef520ff5 Any reason not to use ui_color() there ??
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 01:22:16 +00:00
François Revol
7ea2bdd3ff Add a list of installed apps and their copyrights to the credits view, using a query.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-28 00:05:27 +00:00
Axel Dörfler
73ad280ad3 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 22:56:44 +00:00
Salvatore Benedetto
e78f31ebbe * Partially implemented interrupt handler routine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 22:26:29 +00:00
François Revol
4016bc0e47 Clean up and factor out adding the copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 21:50:32 +00:00
François Revol
f5bb448a26 make it buildable under R5/dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 21:11:55 +00:00
Axel Dörfler
2157e06c63 * Moved code to remove the parent to the Partition destructor - this should fix
the problem that the parent partition was still referenced in some cases.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 18:20:33 +00:00
Axel Dörfler
96689a5cb8 * If DEBUG_ALLOCATIONS is defined, freed memory is now filled with 0xcc,
and it's checked if a chunk is already in the free list, and if any chunk
  has an invalid size. It's defined for now.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 16:56:28 +00:00
Niels Sascha Reedijk
6fd8b07afc Add a note about using messages for data storage. Thanks to mlotz for telling me this functionality was underexposed in the current docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 13:30:30 +00:00
Niels Sascha Reedijk
3f56983aa8 Small typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 13:19:45 +00:00
Niels Sascha Reedijk
301744b8ac Phase I of the BHandler documentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-27 13:17:20 +00:00
Marcus Overhagen
fc205e9717 added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 22:35:26 +00:00
Marcus Overhagen
65751aad16 Increased keypress detection time to 750ms. The old 50ms value never worked for me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 22:30:41 +00:00
Marcus Overhagen
882123356b Added more debugging code. The partition code appears to be using objects that have been destroyed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 22:26:08 +00:00
Marcus Overhagen
37502d0f9f added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 22:24:40 +00:00
François Revol
5aa3090bfb Don't ifdef on an enum.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 21:46:11 +00:00
Marcus Overhagen
61d902eaf9 improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 15:26:38 +00:00
Marcus Overhagen
518772739f dump all found devices and partitions to serial debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 15:25:05 +00:00
François Revol
46f38a7d4b This helps, but only on Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 14:19:49 +00:00
Stephan Aßmus
a4d578c4cb * small cleanups for more coding style consistency
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-26 14:12:12 +00:00
Stefano Ceccherini
1d4722b73a After some testing on beos, I fixed bug #952. Please check but I think
it's correct now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 23:09:22 +00:00
Stefano Ceccherini
cf42e48ef1 call Draw() between PushState/PopState. Added some Todo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 22:47:19 +00:00
Stephan Aßmus
c9198a4cce * I am pretty sure this was a bug... spotted by pure chance, should have
caused messed up undo/redo when removing multibyte UTF8 glyphs via forward
  backspace


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-25 21:56:14 +00:00
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