Commit Graph

649 Commits

Author SHA1 Message Date
Adi Oanca
37811ae65e little fix for the cursor to be displayed better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:19:45 +00:00
Adi Oanca
766a6dfd11 modified resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:17:34 +00:00
Adi Oanca
56f043ed2d modified Resize methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:15:36 +00:00
mahlzeit
78a088fe02 Added Christian Packmann's code for parsing raw MIDI streams.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 14:47:55 +00:00
mahlzeit
5de1932a25 Fixed warnings of the geekgadgets compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 18:16:06 +00:00
DarkWyrm
bcb8907775 I'm baaaaaack! :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 10:55:47 +00:00
Michael Phipps
f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
DarkWyrm
da08bdd09d Checkin for Caz (without pain, even!) which adds rudimentary DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:52:31 +00:00
Waldemar Kornewald
0a628cf2fc Nothing special. Just bringing the cvs version up-to-date with my private version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:05:40 +00:00
Waldemar Kornewald
64002c3e10 Thank you, Jack Burton, for telling me. Sorry. Did not checkin this file.
BTW, this is the first checkin with our own netstack and ppp implementation!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 11:13:14 +00:00
Adi Oanca
0029e79802 added a small but important comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:32:23 +00:00
Adi Oanca
24cbcac721 added support for moving with the help of the mouse.
added preliminary support for DEcorator buttons


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:30:20 +00:00
Adi Oanca
4251c0e465 added a memeber to know the WinBorder wich received the mouse down event
used that memeber to move the window arroud - with the help of the mouse


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:28:14 +00:00
Adi Oanca
9baac8ab74 small fix to make a WinBorder unhidden
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:26:17 +00:00
Adi Oanca
cf00cb08ee fixed some bugs and workarrounds
added support for resolution change - in fact, fixed it


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:24:59 +00:00
Adi Oanca
faf78a3ae0 removed fBackColor member
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:09:10 +00:00
Adi Oanca
950e269c8e modified PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:08:09 +00:00
Adi Oanca
009bee6435 nothing important . Really! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:06:45 +00:00
Adi Oanca
3350f57dd7 modified the way BView data is received.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:05:49 +00:00
Adi Oanca
979f50e101 added a PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:01:10 +00:00
Adi Oanca
51adcc8405 consted a few parameters
modified line functions - made them work


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:00:16 +00:00
Waldemar Kornewald
60abfca048 Initial checkin of skeleton net_server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 11:12:36 +00:00
Waldemar Kornewald
4823831392 Some "virtual"s were missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 08:57:07 +00:00
Michael Phipps
711c2f0843 Minor changes to support the code sharing effort
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 00:33:46 +00:00
Adi Oanca
be76d636d4 small fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:04:01 +00:00
Adi Oanca
1610897948 * rewritten big parts to blend with the new clipping code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:03:34 +00:00
Adi Oanca
82cc45c032 * made the desturctor virtual
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:03:15 +00:00
Adi Oanca
cd916e88f6 * little fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:02:53 +00:00
Adi Oanca
76f9576971 * added a temporaly method for constraining the clipping region.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:02:31 +00:00
Adi Oanca
47e76f9bba * added 2 methods:...
* made one virtual


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:46 +00:00
Adi Oanca
8a725f55d1 * fixes for region rebuiding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:27 +00:00
Adi Oanca
7f788bd639 * fixes to the redrawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:08 +00:00
Adi Oanca
4b97b66984 * added a call to ServerWindow::Init();
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:48 +00:00
Adi Oanca
c125512504 * lots of fixes mainly to region rebuilding, because WinBorder and is a bit special Layer subclass.
* clarified Layer creating process.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:31 +00:00
Adi Oanca
293c278ef5 * added 3 methods for more clearty in Layer buiding process, also for easier attribute seting.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:08 +00:00
Adi Oanca
5e9ce9fe93 * added/implemented void ViewDriver::ConstrainClippingRegion(BRegion *reg) defined by DisplayDriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:59:11 +00:00
Adi Oanca
e9c79f8def * fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:58:39 +00:00
Adi Oanca
9599477715 * made RebuildFullREgion virtual
* added some friends... temporaly


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:58:19 +00:00
Michael Phipps
0eb03b604f Removed Thread and Prefs, since they should now be in libscreensaver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-20 19:05:26 +00:00
Michael Phipps
a512f86017 SSthread is obsolete. The others were promoted to libscreensaver.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-20 18:59:22 +00:00
Ingo Weinhold
0bc631db27 Added missing source files and fixed the reference to libscreensaver.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-19 23:49:50 +00:00
Michael Phipps
d9e07e352f Many changes and fixes. Includes the password window work. Everything now works in here AFAIK.
Some people have reported Jam issues - the build is trying to use Be's headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-17 03:43:30 +00:00
Michael Phipps
65f6430e0c Complete rewrite. Works pretty well. NOTE - if you play with this without the
input_server addon (which isn't done), you have to kill the process manually.
Does not do password validation.
Does not stop you from jumping to another workspace to kill the SS (which would
allow you to circumvent password protection).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-09 01:23:02 +00:00
mahlzeit
ac8402f0ea Added about box message.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-08 20:56:03 +00:00
shadow303
f0446088b3 Begin transfering implementations to the new API functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:21:14 +00:00
Adi Oanca
6cb226fd44 small shnages because of the new redrawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 12:03:51 +00:00
Adi Oanca
296a7f991d completely rewritten!
This is the CORE of the NEW drawing code, which WORKS very well! :-)
ATM, only WinBorder remains to be rewritten, but that would be an easy job, because the core is here in Layer class and WinBorder is just a subclass of it...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 12:02:47 +00:00
Adi Oanca
6844f6d0eb small changes because of the new redrawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:59:11 +00:00
Adi Oanca
91cf2bda4a Modified a few constrctors so this is the actualized version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:58:25 +00:00
Adi Oanca
e0947c82c8 small fixes because of the new redrawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:56:43 +00:00
Adi Oanca
01f14b6c8c reduced to a minimum. It's the next on my TODO list to make redrawing code work it also.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:56:03 +00:00
Adi Oanca
8fca004965 replaced PortLink with BSession as the default hanlding system in DispatchMessage()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:54:44 +00:00
Adi Oanca
a00a89d9c6 fixed a virtual method to method to return properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:53:35 +00:00
Axel Dörfler
0a6895778a Fixed warning (reordered constructors).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 07:36:49 +00:00
beveloper
fce6c4e478 start soundcard time source
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 23:33:36 +00:00
DarkWyrm
67387a90b7 Removed the crash in ViewDriver when moving the cursor off the bottom edge of the screen
Replaced LayerData component of Decorator with DrawData
Fixed unfocused draw bug in DefaultDecorator::DrawBlendedRect
Added some copying methods to FBBitmap and ServerBitmap
Removed a lot of disabled code from ViewDriver file
Implemented and fixed font functions in DisplayDriver
Updates to the BitmapDriver to the reflect changes in DisplayDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:27:26 +00:00
Michael Pfeiffer
fdee402d25 Moved functions from BeUtils.cpp that require libtranslation.so into a separate source file, so that an application that uses function from BeUtils.cpp only has not to link to libtranslation.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:44:50 +00:00
DarkWyrm
9e7c0e5d01 Removed unnecessary methods in ServerScreen and DisplayDriver
Bugfixes - cursor now works under new DisplayDriver cursor management
Currently still searching for a clipping bug in ViewDriver::CopyToBitmap


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:25:41 +00:00
DarkWyrm
b7af05771d Added UtilityBitmap class for general-purpose bitmaps in the server
Implemented  blit methods in ViewDriver - doesn't quite work yet :(
Implmemented cursor methods in DisplayDriver - doesn't quite work yet, but wil be fixed later
Color tweak to DefaultDecorator


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 13:50:36 +00:00
shatty
8f975d5e5f axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:43:46 +00:00
DarkWyrm
e56432f3cd More work done on ViewDriver - most stuff implemented, but not yet done.
Same for DisplayDriver
Moved Angle to libappserver for DisplayDriver code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:52:40 +00:00
shatty
fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
beveloper
6c6da58bf4 be more careful when searching for a decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:01 +00:00
DarkWyrm
5d0cc8ac2e Implmented a couple more methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:20:12 +00:00
DarkWyrm
dfd2e47c90 Updated sources to remove Pattern parameter from DisplayDriver function calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:07:28 +00:00
Axel Dörfler
2726d4732e This should fix the syslog_daemon build under R5 (compiles strlcpy() in).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 09:41:41 +00:00
DarkWyrm
b4fe4d74fe Major overhaul of DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:39:01 +00:00
DarkWyrm
06d841d5ea Major overhaul of DisplayDriver API - fewer virtual functions and less duplicated code
Removed Clipper from build
Removed ScreenDriver from build for the moment


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:38:14 +00:00
beveloper
9806a571a3 removed ogg format and meta format description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:29:53 +00:00
Axel Dörfler
7c02339d2c Rewritten the FormatManager class.
It now implements the new format registration needed for the BMediaFormats
class.
Does not yet implement a settings file, and does not yet support removing
of existing decoders/encoders.
Also, it currently replies in FormatManager::GetFormats() in the tread of
the media server with a timeout of 5 seconds...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:43:33 +00:00
Axel Dörfler
20e3dd9dbe Almost rewritten the AddOnManager. It now works together with the new
media decoder detection code and the FormatManager.
It now stores all registered formats from a decoder, and uses this
information to implement GetDecoderForFormat().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:40:35 +00:00
Axel Dörfler
61dec6a5c7 Removed now unused GET_FORMAT_FOR_DESCRIPTION and GET_DESCRIPTION_FOR_FORMAT
stuff.
Simplified ServerApp::MessageReceived() and added MEDIA_SERVER_GET_FORMATS
to it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:34:25 +00:00
Axel Dörfler
a898baf0cc Added missing AddOnManager and FormatManager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:31:57 +00:00
DarkWyrm
da1903328a Updated look so inactive window tabs look right
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 02:23:08 +00:00
DarkWyrm
dbd08f22ac Moved keyboard message handling from AppServer to Desktop class
Moved style to more like OpenTracker in Deskbar class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 00:32:07 +00:00
DarkWyrm
31b34533a7 Converted numerous printf() calls to STRACE(()) calls
Added some mouse click handling code to WinBorder
Made WinBorder mouse hooks simpler
Added some mouse handling code to ServerWindow


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 02:58:39 +00:00
DarkWyrm
2120f0b38d Eliminated a crash because of a race condition on server shutdown
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 01:17:12 +00:00
Axel Dörfler
0c6beeacb4 Added some debug output in case Reader::RegisterPlugin() failed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:38:23 +00:00
Axel Dörfler
0df774c143 Fixed warnings (added newlines to the end of the file).
Removed extra "root" reference in the Jamfile - libroot.so is linked
against automatically by ld.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:36:52 +00:00
shatty
4bea0cb151 added audiocodec/speex and videocodec/mpeg4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 06:35:45 +00:00
DarkWyrm
dd82cdacbb Fix from Adi to display a window only on the current workspace
Finished converting ServerWindow::DispatchMessage() to PortMessage use
removed a forgotten breakpoint from ServerApp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 02:02:01 +00:00
shatty
c19e6dd93f add 'vorb' family -> 'audiocodec/vorbis'
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:30:55 +00:00
DarkWyrm
247a93434e ViewDriver functions won't do anything if not initialized
Style tweaks to a number of files to better match OT guidelines
Added MsgCodeToBString to Utils.cpp
Removed a crash on new_decorator


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:18:37 +00:00
DarkWyrm
43c4c1eead Added header and credits to some files
made debug printfs in RootLayer to STRACE calls
Minor ServerApp and AppServer tweaks
comment fixes in many places


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-17 18:37:57 +00:00
Adi Oanca
0a8120dd1c * fixed some bugs, and improved some things.
* rendered BWindow::RemoveFromSubset operationable
That's it! I seems regular windows NORMAL/FLOATING/MODAL windows are shown when and how they should be.
There are other kind of windows, to be precise B_SYSTEM_LAST and B_SYSTEM_FIRST, with witch I played very little. I'll be back on them 2 weks from now when I hope I'll start codeing again. Till then... happy coding! :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-17 16:33:22 +00:00
Adi Oanca
34168867a4 solved some problems with floating subset windows
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-16 16:09:36 +00:00
Adi Oanca
fa554b7dd8 Fixed focusing problem
some optimizations to "drawing code"(not the real one) because of more efficient locking.
... other improvements.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 15:55:10 +00:00
DarkWyrm
7d09d0620c Removed a couple of warnings from Accelerant, Screen, and BitmapDrivers
Beginning style changes to resemble OpenTracker guidelines
Added header to some files
Removed temporary code from ViewDriver and re-enabled cursor movement in Desktopmouse message handler


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 00:54:45 +00:00
Adi Oanca
47007fb071 MANY improvements since yesterday!
Now, we can have EVERY kind of window properly displayed in the *right* order!
You can even use BWindow::AddToSubset and - it works!

Also Mouse click works to change front/focus state between windows.

Unfortunately window movement hasn''t yet been implemented and there are *minor* problems with the focus.
That's all! If you want to see something... construct a project and use:
* new BWindow()
*BWindow::Show()
*BWindow::AddToSubset[Of]()
and link against libopenbeos.so.

Ok now, bye!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 00:26:15 +00:00
Adi Oanca
79cc4c5ae6 just #include "ServerScreen.h" instead of #include "Screen.h"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 11:58:41 +00:00
Adi Oanca
ab8297f827 remove
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 11:01:19 +00:00
Adi Oanca
8ee0c850de I put all that was found in Screen.h and Screen.cpp because there is another Screen.h on the system. BScren's one!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 11:00:22 +00:00
Adi Oanca
037eadad77 new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 01:03:29 +00:00
Adi Oanca
158c46331a new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:56:36 +00:00
Adi Oanca
67e7217c89 new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:38:42 +00:00
Adi Oanca
6b19651048 new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:29:47 +00:00
Adi Oanca
155cec7523 addapted it to use the new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:25:54 +00:00
Adi Oanca
d1ae1e49ae modified a little to make the cursor appear.
should be revised later to use internal cursor emulation(software cursor)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:23:21 +00:00
Ingo Weinhold
239662215c Fixed signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 23:45:54 +00:00
DarkWyrm
a0f01f6cba Integrated Adi's new desktop code into the server
Implemented a bunch of BScreen-related functions in ViewDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-11 22:12:55 +00:00
DarkWyrm
49916ae455 Minor API tweak - RGBColor &color -> const RGBColor &color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 13:39:22 +00:00
Axel Dörfler
ca4d42ee54 Switched to the text resource files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 08:42:54 +00:00
haydentech
1a4e801adc Minor cleanup of comments and duplicate includes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 22:43:46 +00:00
haydentech
bdfe7cf5d2 Minor cleanup of erroneous comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 22:41:50 +00:00
shatty
0b18a76480 remove just annoying debugger call
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 14:33:55 +00:00
shatty
3af72f3503 expand format types handled in FormatManager::GetDescriptionForFormat
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 10:27:48 +00:00
beveloper
77611e5145 small hack to support mp3 in wav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 21:32:15 +00:00
mahlzeit
4c20e0e8ad Simplified app_flags.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 17:51:32 +00:00
mahlzeit
c22b900f03 Simplified the rdef.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 16:53:03 +00:00
beveloper
046f31f91f update to the codec api, docoder assignment is now handled in the server
multiple reader add-ons are probed to recognize a media file
FormatManager does the translation from media_format to media_description


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-14 19:23:16 +00:00
Jérôme Duval
f1c6cd32f0 Fixes the Connect bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 08:41:36 +00:00
DarkWyrm
ab21b1ec0c Messaging fixes - removed inappropriate BSession use and converted to PortMessage and PortLink as necessary.
Life sucks when you can't sleep. :(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 05:40:51 +00:00
shadow303
4106b3dbdc Convert to LayerData independent drawing API
Implement clipping routines for Lines and Rectangles
Fix workspace initialization problem
it's saturday night and I am writing code... bummer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 03:22:15 +00:00
beveloper
1b1b7ddf8f remove warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:26:08 +00:00
beveloper
d23c804c82 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:11:01 +00:00
Jérôme Duval
1dbb61270b DestroyInstantiatedFlavors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 08:41:26 +00:00
Jérôme Duval
3a8fae2fb7 Debug info useless
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 13:39:42 +00:00
Jérôme Duval
96ee2f2de0 SaveState is now called from the media_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 10:27:12 +00:00
Axel Dörfler
3c39dc6e6e Forgot to add the syslog_daemon to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 11:49:05 +00:00
Jérôme Duval
f5ac08241f Handling invalid entry_ref
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 10:12:22 +00:00
DarkWyrm
2d6fb9b82d Added methods for DPMS and device capabilities
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-22 00:47:01 +00:00
Philippe Houdoin
dcb98eaf2d Mistaken midi ports icon as midi_server icon!
Fixed now. Rollback to previous midi_server signature.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 21:19:30 +00:00
Philippe Houdoin
9842b3ba58 Keep moving from binary resource format to source resource (.rdef) files.
Fix midi_server.rdef file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 01:40:54 +00:00
Jérôme Duval
85918d337e DefaultManager now stores its state, MMediaFilesManager store fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:51 +00:00
Jérôme Duval
89e7bc1e71 Added icons to the media_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:03 +00:00
Jérôme Duval
00b302f31f Added icons to the media_addon_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:15:34 +00:00
Adi Oanca
e9c5b47ef4 changed code for mouse input funtions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:29:14 +00:00
Adi Oanca
5580db514e very small changes: ordered code and liminated error because of the change if Decorator.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:28:40 +00:00
Adi Oanca
cfc7b758e0 Changed the names for some constants in Decorator.h so... here too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:27:26 +00:00
DarkWyrm
98a70bba4b Converted all BSessions used for replies to PortLinks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 01:41:04 +00:00
Adi Oanca
7052fe60fa new optinized clipping code
new optimized redrawing code
changes in some handlers in ServerWindow.
other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:15:29 +00:00
Jérôme Duval
36a4855350 Added a 3 seconds delayed save to disk
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 09:13:08 +00:00
Axel Dörfler
8afbc3212d Fixed some bugs concerning switching the log when it's getting too large:
never closed old file - with BeOS, it would only get deleted if the server
would be restarted... good for disk fragmentation etc.
Also, renaming failed if there already was a syslog.old file - it's now
removed first.
Furthermore, the first time the syslog was opened, its size was not checked,
the first output always went through.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 03:33:24 +00:00
Axel Dörfler
1cb317b43c Implemented syslog output. For now, it will be put into /tmp (i.e. the tests
won't clobber your existing syslog).
The time stamp is currently #ifdef'd out. We might think about adding some
prefs; the facility could also only printed for kernel messages (like in
Be's implementation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:56:57 +00:00
Axel Dörfler
95f0fd9010 Implemented the syslog_daemon. Actual syslog output is not yet implemented;
it currently only puts out everything to stdout.
Is able to accept listeners who will get the syslog notes as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 01:14:19 +00:00
DarkWyrm
a7ec3bbbea Added reader class for BSession message streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 23:57:14 +00:00
Jérôme Duval
4691dc7ff8 MediaFiles support added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 10:24:42 +00:00
haydentech
2ef7083364 Janitorial work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:50:27 +00:00
shadow303
a8cb43fea1 Reduce redundant code in drivers (we can unvirtualize stuff as speed requires after implementation is complete)
Fix some color handling for 15/16 bit.
Implement HLine functions for BitmapDriver.
I forget what I did to Clipper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:51:50 +00:00
shadow303
922ec7f318 clean up some warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-27 00:47:01 +00:00
DarkWyrm
2cd26ed941 Changes to integrate with app_server:
Added code to send more than just mouse move messages
Removed the input_server's dependency on local PortLink sources
Broke the BeIDE project by removing the PortLink dependency (oh well) -- see me for a fix if you run into problems building locally


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-19 00:46:44 +00:00
DarkWyrm
d6e461f029 Added system color, system font, and decorator update notification
Added a little server-side code to handle system color updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-19 00:03:06 +00:00
DarkWyrm
7d4ebd1ef0 Implemented some more handler code for different BPicture opcodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 22:44:44 +00:00
shadow303
a9af2b0df0 Add GetDrawData function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 22:25:06 +00:00
shadow303
4c4cad9f02 Add clipping wrapper for display drivers.
Fix minor bug with AccelerantDriver opening the stub device


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-15 00:25:24 +00:00
DarkWyrm
40b7eb39b2 Tweaks to handle the changes in messaging protocol formats
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 23:34:54 +00:00
shadow303
3ed46bec8c Disable screen mode change when not in TEST_MODE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 20:29:39 +00:00
DarkWyrm
836656bf86 API tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 02:33:38 +00:00
DarkWyrm
a93fbc5951 Added handler code for AppServer::PollerThread to handle messages to get/set UI colors and decorators
Added a color_which lookup to ColorSet - will be necessary to look up system colors via ui_color()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 23:18:30 +00:00
DarkWyrm
e735d45a6a Removed a stupid typo bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 00:19:24 +00:00