Axel Dörfler
0d58f3c284
BFont::IsFixed() doesn't seem to work correctly under the app_server yet
...
(though the implementation *looks* correct), so I've disabled this check
for now.
This let it draw the data correctly, although the line selection has
artifacts that are not present under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13290 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13290
2005-06-27 02:01:32 +00:00
Axel Dörfler
84d9f25ac5
The thread renaming was broken under R5. Cleaned it up a little.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13289 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13289
2005-06-27 01:58:56 +00:00
Axel Dörfler
9793d44045
Removed superfluous BView::findView() and moved its functionality to BView::FindView().
...
Fixed it on the way - it's a bad idea to pass NULL pointers to strcmp().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13288 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13288
2005-06-27 01:54:12 +00:00
Philippe Houdoin
75480b6bf8
Add Mesa & SGI's GLU copyrights.
...
Still need to investigate about precise GLUT copyright(s) situation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13287 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13287
2005-06-26 22:07:18 +00:00
Philippe Houdoin
0017390797
Add dependency to the pseudotarget 'obj' to improve MergeObjectFromObjects rule.
...
Thanks to Ingo for the hint.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13286 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13286
2005-06-26 21:52:51 +00:00
Philippe Houdoin
d5cf9b7feb
Removed GLX headers: was never there anyway!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13285 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13285
2005-06-26 21:48:15 +00:00
Philippe Houdoin
8e6b7c38fb
Add opengl kit to build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13284 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13284
2005-06-26 21:34:31 +00:00
Philippe Houdoin
006a9e008b
Add a first draft OpenGL kit.
...
The OpenGL software renderer add-on should follow soon.
Allow to link GLTeapot as native, but without renderer, nothing is displayed ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13283 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13283
2005-06-26 20:21:09 +00:00
Philippe Houdoin
9b531940b9
Link against native libGL.so. Native OpenGL headers too.
...
Changed the app signature to match resource one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13282 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13282
2005-06-26 15:53:49 +00:00
Philippe Houdoin
c17c7c0645
Internal Mesa3D's private declaration use everywhere in Mesa code.
...
Maybe this header will move in the future...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13281 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13281
2005-06-26 13:54:42 +00:00
Philippe Houdoin
0061feaff0
Import OpenGL kit headers, thanks to Mesa3D project.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13280 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13280
2005-06-26 13:50:18 +00:00
Stefano Ceccherini
025793417a
Added \n to the debug strings, so we get the output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13279 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13279
2005-06-26 06:26:03 +00:00
Stephan Aßmus
18cbc4ff3d
Using the read locking in DisplayDriver was a bit early. Painter itself is not thread safe, so while we use the HWInterface lock for locking, we can only do read locking once each window has its own Painter instance. I'm still investigating this possibility. It depends on the memory foot print of painter, of which I don't have a clear idea yet. Anyways, this quick change fixes Adis problems and is required at this time anyways. Sorry for the inconvenience.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13278 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13278
2005-06-25 22:56:24 +00:00
Adi Oanca
e3fbc7752f
integration of the new clipping code continues
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13277 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13277
2005-06-25 15:45:58 +00:00
Stefano Ceccherini
d06e1bff11
Fixed array initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13276 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13276
2005-06-25 14:13:30 +00:00
Stefano Ceccherini
89d0b3cdad
Safer code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13275 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13275
2005-06-25 13:58:55 +00:00
Stefano Ceccherini
55b222b0b0
Stephan already implemented the needed support for dpms stuff too, so why not implementing the client methods too?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13274 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13274
2005-06-25 13:53:48 +00:00
Adi Oanca
e603410b82
- simplified a little the update code/process.
...
- moved part of the update code from Layer to WinBorder. Fits better
there.
- renamed a couple members.
- some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13273 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13273
2005-06-25 13:09:19 +00:00
Adi Oanca
b62270533e
removed a printf
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13272 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13272
2005-06-25 08:47:51 +00:00
Adi Oanca
94fa2bd256
inlined a few methods in header file, otherwise app_server would not build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13271 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13271
2005-06-25 08:45:00 +00:00
Stefano Ceccherini
75de27f83b
more BScreen related stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13270 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13270
2005-06-25 06:30:09 +00:00
Stefano Ceccherini
583f6c3eba
Added server side support for BScreen::ProposeMode(), fixed client side too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13269 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13269
2005-06-25 05:58:43 +00:00
Stefano Ceccherini
4b7db694ce
RetraceSemaphore() doesn't need to be public
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13268 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13268
2005-06-25 05:40:59 +00:00
DarkWyrm
238e9fd71b
I didn't feel like working on the app_server today. 'Hope Sikosis doesn't mind. :D
...
Definitely a work in progress, but it'll play CDs at the moment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13267 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13267
2005-06-24 21:29:28 +00:00
Stefano Ceccherini
c641898150
implemented client/server side support for BScreen::GetDeviceInfo() and WaitForRetrace(), and (only client side) support for Bscreen::ProposeMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13266 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13266
2005-06-24 18:02:01 +00:00
Stefano Ceccherini
400a469bd9
Added Marcin Konicki aka Ahw... Shard to the contributors's list
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13265 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13265
2005-06-24 17:16:01 +00:00
Axel Dörfler
4fc80701bd
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13264 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13264
2005-06-24 16:15:27 +00:00
Axel Dörfler
a10cf76ef5
Renamed src/prefs to "preferences", as the directory is usually called in BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13263
2005-06-24 15:57:12 +00:00
Axel Dörfler
a44af5321f
Added libgame.so needed by Magnify and Sound.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13262 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13262
2005-06-24 15:35:00 +00:00
Stefano Ceccherini
171f28336b
The device name isn't allocated on the heap, so it shouldn't be freed. This also fixes the crash in case there is no serial mouse. Thanks to Oscar Lesta for providing the fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13261 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13261
2005-06-24 09:28:49 +00:00
Axel Dörfler
0ec4af2233
Improved AreaPool to have an initial size as well as well as a name that is
...
used for new area.
MemPool::AddToPool() now gracefully deals with NULL pointers (or a size of 0).
BitmapManager was deleting the area it transferred to AreaPool before - it
no longer needs an extra area, though.
Minor other cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13260 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13260
2005-06-24 04:01:16 +00:00
Axel Dörfler
b5436616a3
Fixed some style related functions and other oddities in FontServer.
...
Also applied our style guide on that class.
Renamed some public globals to match our style guide.
Made BitmapManager inherit from BLocker instead of duplicating its
functionality (incorrectly, did not check for B_INTERRUPTED) locally.
Some more cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13259 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13259
2005-06-24 03:31:41 +00:00
Axel Dörfler
83f9178dbd
Better rounding code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13258 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13258
2005-06-24 02:44:49 +00:00
Axel Dörfler
5029b563fd
Fixed pretty much broken AreaPool - I am not sure this class is that a good idea, anyway.
...
area_for() is not the cheapest call; the user better knows the area and deletes it directly.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13257 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13257
2005-06-24 02:13:32 +00:00
Axel Dörfler
0faef3aff9
Just to prove my point :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13256 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13256
2005-06-24 02:00:26 +00:00
Axel Dörfler
8ba7bedb43
Minor cleanup.
...
Since we will (almost) definitely forget some names, shouldn't we say sorry to be on the safe side? :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13255 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13255
2005-06-24 01:56:38 +00:00
Axel Dörfler
d830c752cc
Added missing team lead Michael Pfeiffer!
...
Added Michael Phipps to the list of contributors - at least he did
some coding some time ago ;-)) Anyone still not listed?
Applied the missing bits of our style guide (at least he tried :-)).
Removed the CPU detection code, as we have one at a central place
(headers/private/shared/cpu_type.h).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13254 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13254
2005-06-24 01:48:44 +00:00
Stephan Aßmus
2949ed1def
Thou shalt compile before thou commitst.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13253 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13253
2005-06-24 00:14:19 +00:00
Stephan Aßmus
3dcb3b079a
Added some root layer locking in ServerWindow.cpp when accessing the layer tree. Moved HWInterface management out of DisplayDriverPainter and into Desktop. Removed all the directly hardware related functions from DisplayDriver API. They just called the same HWInterface functions. Now DisplayDriver is much cleaner and ready for being attached to a yet to be written BitmapHWInterface. Clean up of the display mode stuff in Screen and the View-/AccelerantHWInterface. Frequency is now regarded on Haiku. AccelerantHWInterface::GetModeList now works before SetMode has been called. Added MultiLocker from the sample code. HWInterface uses it now in preparation to being used from multiple instances of DisplayDriver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13252 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13252
2005-06-23 23:46:17 +00:00
Axel Dörfler
1b53e8af26
The app_server now cleans up better after a team crashed; not only the
...
application and bitmaps are removed, the team's windows are now removed
as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13251 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13251
2005-06-23 23:21:10 +00:00
Axel Dörfler
d2e5d36050
fMenuSem was not initialized, and therefore, the window tried to delete some
...
arbitrary semaphore on destruction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13250 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13250
2005-06-23 23:18:17 +00:00
Stephan Aßmus
c69d4b2719
clean up, bug fixes and more robustness
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13249 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13249
2005-06-23 23:14:40 +00:00
Stephan Aßmus
ee9b01a01a
made the pool allocator thread safe
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13248 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13248
2005-06-23 23:13:09 +00:00
Axel Dörfler
ce1639b2bf
Some more cleanup:
...
- replaced fMsgSender/Receiver with a BPortLink fLink
- moved message loop into non-static method _MessageLooper()
- renamed Zoom()/Minimize()/Quit()/ScreenModeChanged() to Notify*(), and
Quit() to NotfiyQuitRequested() to make more clear what they do (they
don't operate on ServerWindow, they just notify its client)
- less insane way to init a window: there is no longer the constructor
and a separate method Init(); now there is the constructor (which
fully sets up the window), InitCheck(), and Run() which runs the
window's message loop
- moved the quitting stuff into a separate method Quit() and made
it callable from other threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13247 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13247
2005-06-23 22:43:11 +00:00
Adi Oanca
4801a9a97d
Fixed the problem Axel signaled with hidden views
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13246 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13246
2005-06-23 21:23:01 +00:00
DarkWyrm
d7a24c8147
Added icons for the app
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13245 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13245
2005-06-23 20:06:20 +00:00
Adi Oanca
8734d03e14
removed 3 printf(s) that I intruduced in my last checkin
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13244 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13244
2005-06-23 19:30:29 +00:00
DarkWyrm
2146e4d643
Removed Terminal from build and made Terminal2 the real app
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13243 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13243
2005-06-23 19:12:23 +00:00
DarkWyrm
3019790e7e
Fixed logo-loading issue
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13242 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13242
2005-06-23 19:07:13 +00:00
DarkWyrm
70bb3d4318
Undid an accidental change -- gotta remember svn revert after I twiddle with things. :P
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13241 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev13241
2005-06-23 19:06:38 +00:00