Commit Graph

12823 Commits

Author SHA1 Message Date
Stefano Ceccherini
10c5dab807 Added client side support for BScreen::RetraceSemaphore() and BScreen::GetModeList(). Server side support isn't yet there, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-18 06:36:23 +00:00
Stefano Ceccherini
cd89e86a9d small change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-18 06:02:35 +00:00
DarkWyrm
53ba0acbb1 Fixed a TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 19:20:08 +00:00
DarkWyrm
550d6a5375 Cleanup for decorator management code
Updated a couple headers
Moved all decorator code to ServerApp where it belongs
Modified AppServer::Broadcast to allow ServerApps send messages to all apps without having to have a global AppServer instance


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 19:10:15 +00:00
Axel Dörfler
1b5aeb312e Renamed class FMWList to SubWindowList. Cleaned up SubWindowList a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 16:34:22 +00:00
Stephan Aßmus
579be6b83e will support setting the drawing mode per object sometimes soon...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 13:23:06 +00:00
Stephan Aßmus
2734243aca Preparation of more correct support for state stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 13:20:45 +00:00
Jérôme Duval
12f043c1e2 reverted to 12828
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 11:44:32 +00:00
Jérôme Duval
0e16d351bf Reverted Jambase to keep jam compatibility
StaticLibraryFromObjects is a copy-paste of LibraryFromObjects without grist on source files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 11:41:18 +00:00
Jérôme Duval
679778fdd8 comment out opengl defs, needed for future opengl additions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 09:57:08 +00:00
Jérôme Duval
dbf9692045 added util xsl sheets from BoostBook
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 09:38:09 +00:00
Axel Dörfler
1231504465 Fixed various problem of the BSlider class:
- _DrawTriangleThumb() was drawing outside of thumb frame in B_HORIZONTAL mode
- the focus mark was not updated on value changes
- MessageReceived() and FrameMoved() called themselves, resulting in an endless loop
- there were some drawing leftovers when moving the slider around (only in the thumb
  frame). The fix is not nice and may cause flickering (it's commented as such)
- Fixed triangle drawing problems due to anti-aliasing
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 02:33:47 +00:00
Axel Dörfler
01dfbc3a0c Reported some changes I did a while ago and forgot to commit.
There were more but that will come later (Thomas' RadeonScreen changes).
Vastly improved AlertView/AlertWindow to a cleaner design, the question
mark bitmap is no longer hardcoded, but retrieved in the same way BAlert
does it.
Added license headers to the files updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 02:00:00 +00:00
Axel Dörfler
f56083d8c0 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 01:45:51 +00:00
Jérôme Duval
587e093725 reworked registrar launch wait, avoids snoozing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 22:30:50 +00:00
Axel Dörfler
91515d2132 With the recent changes to the communication mechanism, fake_app_server
did not work anymore, and thus, the safemode with the current Bootscript
did not work.
It now does again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 21:33:29 +00:00
Axel Dörfler
dec3c805d9 No uses B_OP_OVER when drawing the arrows - this fixes the broken look
due to anti-aliasing. Have I mentioned that the arrows are very ugly
anyway right now, and don't match the rest of the look? :-)
Fixed a crashing bug in the "pressed button repeater" - it didn't lock
the looper when scrolling the view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 21:30:34 +00:00
Adi Oanca
5fcce1f54b renamed a few members so that I don't have problems later. removed more methods/members
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 20:43:53 +00:00
Jérôme Duval
458a8cb6dd added several tools
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 20:20:21 +00:00
Adi Oanca
e0911bbb29 yes, yes... removing unneeded methods/members.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 19:44:55 +00:00
Axel Dörfler
8095208973 Added poke driver, courtesy of Oscar Lesta. The "poke" command line application will follow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 19:12:46 +00:00
Adi Oanca
83265d84db More work for integrating the new clipping code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 18:58:14 +00:00
Axel Dörfler
5f8e562f04 Added a ToDo comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 18:53:24 +00:00
Axel Dörfler
837261c6bb This removes the "error: looper must be locked when quit" message.
I haven't yet fully investigated the looper quitting mechanism in
detail, so there might be more bugs left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 18:40:04 +00:00
Jérôme Duval
1831c12069 added libdevice.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 18:13:40 +00:00
Stephan Aßmus
c818183b7e _started_ implementing Tab sliding
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 16:44:58 +00:00
Nathan Whitehorn
e9aefeb8b1 Added the user cloneable area to the Voodoo 3 driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 16:18:30 +00:00
Stephan Aßmus
faaa62c751 update cached HW acceleration flags on mode changes. Fixes HW acc on ATI after Axels changes. Axel, is it working on Matrox as well now?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 15:10:24 +00:00
Stephan Aßmus
54cc0f1b56 reverted some unintentional changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 13:07:36 +00:00
Stefano Ceccherini
00087fc967 small change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 13:05:29 +00:00
Niels Sascha Reedijk
f42b34dc60 Make sure legacy support is disabled. This helps a lot :-), it keeps stray interrupts from occuring. I'm still not sure it is completely fixed though, the mouse I'm using still works fine even with control taken over. At least it doesn't interrupt anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:53:57 +00:00
Rudolf Cornelissen
a1d2fb778f modified 3d reload flag to support 32 clones, added clone counter as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:47:29 +00:00
Rudolf Cornelissen
332f986f39 modified 3d reload flag to support 32 clones, added clone counter as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:46:56 +00:00
Stephan Aßmus
4d67034226 a new graphics state is pushed before calling BView::Draw() and popped after it. So any state changes you do in your Draw() function will be forgotton when you're done, as on R5. I have not done a lot of testing for bugs in the state stack within the app_server though...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:37:30 +00:00
Stephan Aßmus
9b0c5e413c fixed a crash into the debugger because the looper was not locked in BMenuBar::Track(), Stefano, please review...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:34:46 +00:00
Stephan Aßmus
99b9d5ac8a a new state begins life as a copy from the previous state, fixed Scale(). Note that BoundsOrigin() (and therefor Scale()) is called _a lot_ so we should cache the value! I started to work on this, but our lack of encapsulation strikes again... Layer::fLayerData is used directly all over the place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 12:32:42 +00:00
Rudolf Cornelissen
512d251741 added shared_info flag to inform 3D add-on to reload it's rendering state.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 10:01:26 +00:00
Rudolf Cornelissen
d69078b4bf updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 10:00:46 +00:00
Rudolf Cornelissen
b7c592306b added shared_info flag to inform 3D add-on to reload it's rendering state, further improving 3D rendering speed: Quake2 is at 105fps (GF4MX440, 640x480x16), Teapot renders at close to 500fps now. Bumped version to 0.52.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 10:00:16 +00:00
Axel Dörfler
5d914f565f Now uses BLooper::check_lock() instead of BLooper::AssertLocked(), because it
doesn't have to check if the looper is valid (we wouldn't be its child if it
weren't).
ResizeTo() and MoveTo() are not supposed to call FrameResized() and FrameMoved()
manually when the view is not yet attached to the window.
BView::CountChildren() and BView::ChildAt() now check if the looper is locked.
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 03:00:44 +00:00
Axel Dörfler
410d5c37d5 Implemented BLooper::check_lock().
Use AssertLock() more often instead of varying debugger messages.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 02:56:03 +00:00
Axel Dörfler
1ae95ac872 Mixed up argument order - dunno why this didn't have any effect on R5,
but the frame wasn't visible in Haiku, and rightly so :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 01:01:23 +00:00
Axel Dörfler
68dcbfb983 Those commands were used but not defined, obviously some forgot to update this file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 00:58:12 +00:00
Axel Dörfler
53442520cc Fixed a bad bug in the app_server:
fCurrentLayer was used to determine to which layer a new one would be
added to, but BView::AddChild() would only set this correctly for the
current view, ie. all children of the new child were added to the
wrong layer in the app_server.
Now, AS_LAYER_CREATE sends the parent's token to the server, and the
server relies on this to build the layer hierarchy.
All of a sudden a lot of hidden views are visible now. I noticed the
bug while refactoring the task manager, but a lot of apps were affected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-16 00:46:02 +00:00
Jérôme Duval
6a6ab9b2e2 added Expander, SoundRecorder, Magnify, DiskProbe
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 23:25:45 +00:00
Adi Oanca
8dbc637219 cosmetic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 20:39:28 +00:00
Adi Oanca
d41a1e80b8 Integrated the new clipping code. It compiles but it does not work yet. Do not worry, it's guarded by a #define :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 20:36:43 +00:00
DarkWyrm
4399fd6025 Serious cleanup of the app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 19:04:52 +00:00
Adi Oanca
0f0232c767 Started adding new clipping code - not active ATM. Removed Virtual prefix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 19:01:43 +00:00
DarkWyrm
5021d2fe30 Added functions to replace current hacks in Appearance to handle decorators
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 18:56:02 +00:00