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
hrev13187
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
hrev13186
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
hrev13185
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
hrev13184
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
hrev13183
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
hrev13182
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
hrev13181
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
hrev13180
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
hrev13179
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
hrev13178
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
hrev13177
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
hrev13176
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
hrev13175
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
hrev13174
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
hrev13173
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
hrev13172
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
hrev13171
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
hrev13170
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
hrev13169
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
hrev13168
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
hrev13167
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
hrev13166
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
hrev13165
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
hrev13164
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
hrev13163
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
hrev13162
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
hrev13161
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
hrev13160
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
hrev13159
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
hrev13158
2005-06-15 18:56:02 +00:00
Adi Oanca
524c020956
Bounds() takes into account previous pushed states
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13157 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13157
2005-06-15 18:47:41 +00:00
DarkWyrm
e67e7dd995
Some cleanups to ColorSet in anticipation of future cleanups for Appearance app
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13156 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13156
2005-06-15 17:20:17 +00:00
Stephan Aßmus
cf5ff0c0d0
fixed memory corruption in the stuff I added to moreUTF8. This fixes GetEscapement crashes. The rest of the file needs reviewing as well, but I wanted to commit this ASAP
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13155 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13155
2005-06-15 17:09:00 +00:00
Axel Dörfler
2d4b179de5
Implemented B_TRUNCATE_MIDDLE, since truncate_strings() could corrupt memory
...
before in this mode. Some further cleanup, only B_TRUNCATE_BEGINNING is still
left.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13154 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13154
2005-06-15 16:49:04 +00:00
Adi Oanca
2e8bd79774
all view that have B_FULL_UPDATE_ON_RESIZE flag set invalidate their visible area now. not just the one being resized.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13153 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13153
2005-06-15 16:20:40 +00:00
Jérôme Duval
9d69de4c3d
inline functions aren't inlined when we have -g / -O0
...
we filter them for this directory
hopefully this fixes Darkwyrm's build problem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13152 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13152
2005-06-15 15:02:06 +00:00
Stefano Ceccherini
ba61835820
Fixed submenus for good
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13151 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13151
2005-06-15 12:09:40 +00:00
Stefano Ceccherini
757ce6e540
Greatly improved BMenuBar::Track(). Now it uses a simple tracking loop instad of two nested loops. BMenu will follow, someday.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13150 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13150
2005-06-15 11:37:05 +00:00
David McPaul
b497352618
Added compressed header support to movreader
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13149 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13149
2005-06-15 09:41:32 +00:00
Axel Dörfler
49a755ef15
The task manager is now completely font sensitive.
...
Enlarged the cancel button a bit.
Started counting mechanism (ie. later, when you really press Ctrl+Alt+Del,
the TMDescView counts down to zero). Ideally, this would be fed by the
keyboard device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13148 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13148
2005-06-15 08:36:51 +00:00
Axel Dörfler
73c9d940e7
Now groups by system components, ie. system components are added at the
...
bottom of the list while other teams are added at the top of the list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13147 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13147
2005-06-15 06:44:33 +00:00
Axel Dörfler
62f29f2d9b
Added test application for the task manager window.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13146 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13146
2005-06-15 06:40:13 +00:00
Axel Dörfler
5311273550
Refactoring: moved all controls into the TMView class (former TMBox).
...
It now also handles all messages relating to its controls.
The file path is now truncated to the view's bounds.
Fixed wrong update position of the TMDescView; it always took updateRect
as view bounds.
Enlarged item gap a bit so fit the BeOS task manager exactly.
Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13145 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13145
2005-06-15 06:37:14 +00:00
Axel Dörfler
9695be8f49
When you kill an item, it is no longer active.
...
TMBox::Pulse() will now only invalidate the view if something changed - this
completely removes the flickering that was visible with our app_server.
Fixed typo.
Added a ToDo comment since TMDescView::fItem is not correctly updated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13144 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13144
2005-06-15 05:39:39 +00:00
Axel Dörfler
d145df451e
Fixed some of the simpler font sensitivity problems. Looks much better on the real thing now.
...
Also no longer states that Haiku components would be part of "the BeOS" :-)
Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13143 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13143
2005-06-15 05:20:10 +00:00
Axel Dörfler
e8fbd2527f
Now checks if the window is out of the screen frame and move the window
...
back into it, if necessary.
Some more cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13142 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13142
2005-06-15 05:15:26 +00:00
Axel Dörfler
507ff76a65
Added empty stubs for shutdown_media_server() and launch_media_server(),
...
so that we could theoretically run the Media preferences app.
IMO, these belong into libmedia.so; they should be rarely needed with
the new media kit, anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13141 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13141
2005-06-15 04:33:39 +00:00
Axel Dörfler
da7bead8c6
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13140 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13140
2005-06-15 04:11:14 +00:00
Axel Dörfler
32d0dbbbf8
Made command line evaluation more robust, it now also accepts a "=" as separator between attribute name and value.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13139 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13139
2005-06-15 03:44:18 +00:00
Axel Dörfler
ffa1bb09e9
Now creates the People indices on all mounted volumes on startup (like R5's People).
...
Some more cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13138 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13138
2005-06-15 03:40:21 +00:00