Commit Graph

3553 Commits

Author SHA1 Message Date
Michael Pfeiffer
87f0c75967 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:32:04 +00:00
shadow303
8081366ed4 Fix up cursor stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 22:02:37 +00:00
beveloper
08d612b66b media_server.h was missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:50:15 +00:00
beveloper
41ba915d42 various small changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:09 +00:00
DarkWyrm
f0577aea09 Complete server update.
Fix for garbage text in window titles
Updates to decorator and API


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 01:23:43 +00:00
beveloper
6396865dcd added automatic media_addon_server launching and termination.
added detection of and cleanup after application crashes.
if the media_addon_server crashes, it will be restarted.
removed preleminary volume control functions.
removed unneeded media_server functions.
changed application registration to use port based messaging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 01:28:23 +00:00
DarkWyrm
eb8218b543 Added StringWidth() and StringHeight() calls
Removed redundant DrawChar() implementation from ScreenDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 00:52:40 +00:00
DarkWyrm
9177ec787d Removed a cast warning from StrokeArc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 23:26:43 +00:00
shadow303
8f3cf68703 Added extra pixel setting routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:12:33 +00:00
shadow303
a27f9ebd60 Fix value of ANGLE_PI
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:11:32 +00:00
Ingo Weinhold
50a2831740 Use a known target (the symlink in ~/config/lib) for LinkSharedOSLibs instead of the anonymous `freetype'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 23:12:55 +00:00
Philippe Houdoin
d70d5d9869 Remove src/servers/net from build, as it was moved to
src/tests/servers/net/net_server instead, as it belong.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:53:16 +00:00
shadow303
7eae9afc01 Remove include ServerCursor.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:49:28 +00:00
shadow303
eede6bce57 Add StrokeArc and StrokeBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:48:33 +00:00
DarkWyrm
0daf473e42 ViewDriver::DrawString now utilizes FreeType2 code
More bugfixes leftover from ServerCursor elimination


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 01:09:26 +00:00
DarkWyrm
08463035d2 Forgot to add Angle class to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:28:02 +00:00
DarkWyrm
ab225173d8 (Theoretically) fixed the build
Replaced ServerCursor class with ServerBitmap use
DisplayDriver updated
ScreenDriver now does DrawString and DrawChar (!) and looks good
Fixed stupid jamfile mistakes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:26:34 +00:00
shadow303
6cdadea727 Added missing instances of "case"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:19:49 +00:00
Tyler Dauwalder
8528ca2e2a Added default app flags to Add() so I could be lazy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:21 +00:00
Tyler Dauwalder
b2589492d0 Added code to Get() to filter out all but the most recent of any duplicate
matching entries with differing "opened with" app sigs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:37:56 +00:00
Tyler Dauwalder
1bde02ae7b Fleshed out any missing pieces of BRoster::
- ClearRecent{Docs,Folders,Apps}
- AddToRecentApps()
- {Load,Save}RecentLists()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:36:08 +00:00
Tyler Dauwalder
4f03f5d268 Implemented loading and saving of recent docs, folders, and apps lists
from and to disk in the ~/config/settings/Roster/RosterSettings format.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:43:58 +00:00
DarkWyrm
fc8dfd798a Added prototype #7 and test application to tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:52:04 +00:00
DarkWyrm
54b288ebda Added prototyp #7 and test application to tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:50:38 +00:00
mahlzeit
65829454fb Removed the .rsrc file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:43:15 +00:00
mahlzeit
27d7456273 Got rid of the .rsrc file for now, because it
is rather unconvenient to update from the CVS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:39:20 +00:00
Philippe Houdoin
073b7c62a6 Silly me. How to build something without a Jamfile these days!?!...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 17:30:55 +00:00
jerl1
96462df1ad I add function that I have wrote
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:17:50 +00:00
Philippe Houdoin
df1cbf3cc4 Make the debug/tests net_server to build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 02:32:32 +00:00
Michael Pfeiffer
1d7af7aad4 Changed GUI of configuration window a little (bitmaps will be designed by CDT).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 23:58:32 +00:00
beveloper
dfb2ad6148 code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 16:03:23 +00:00
DarkWyrm
e4840f5bd2 Checkin for Gabe Yoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-02 23:33:33 +00:00
mahlzeit
7c27cd32b5 Added Doxygen file headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 16:13:08 +00:00
Tyler Dauwalder
fde0f1b873 Implemented HandleGetRecent{Documents,Folders}()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:10:02 +00:00
Tyler Dauwalder
85c4b39407 Added RecentEntries.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:08:56 +00:00
Tyler Dauwalder
15a66e61ce RecentEntries class; handles recent documents and folders.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:08:25 +00:00
mahlzeit
37192de9c0 Added the beginnings of the midi_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 15:37:29 +00:00
Tyler Dauwalder
230719b573 - Added Handle{Get,AddTo,Clear}Recent{Apps,Documents,Folders}() skeleton functions.
- Implemented HandleGetRecentApps()
- Added fRecentApps member to TRoster


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:52:28 +00:00
Tyler Dauwalder
7c82774099 Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} cases to main message loop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:50:27 +00:00
Tyler Dauwalder
24a2d24f46 Added RecentApps.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:49:40 +00:00
Tyler Dauwalder
4c2f542522 RecentApps class that manages the system list of recently
launched applications.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:44:11 +00:00
Michael Pfeiffer
5def119705 Refinement of ConfigWindow.
Some bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:51:40 +00:00
Michael Pfeiffer
6ec7a3e7be Made ConfigWindow position and whether it should be used persistent.
Small bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 15:14:32 +00:00
beveloper
9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
Michael Pfeiffer
7b362730d7 Removed unnecessary code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:21:33 +00:00
Ingo Weinhold
5f20a509b4 Added documentation. Some smaller fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 01:06:13 +00:00
Michael Pfeiffer
7977efcf98 Added ability to select printer inside of application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:03:31 +00:00
Michael Pfeiffer
5108df6e12 Added scripting support to enable/disable configuration window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:59:19 +00:00
Michael Pfeiffer
aba0d179c7 Handle moving of job file correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:55 +00:00
Michael Pfeiffer
4e776836cd Added new source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:12 +00:00
Michael Pfeiffer
dda672d898 Added class AutoReply.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:56:40 +00:00
DarkWyrm
b010ca6720 Checkin for Gabe Yoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
Ingo Weinhold
7a0335c8a3 Added support for roster watching.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:05:25 +00:00
Ingo Weinhold
6d8943122a Generic watching support classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:01:09 +00:00
beveloper
f19a36df3e better or worse?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 22:41:34 +00:00
Ingo Weinhold
56d4d6378e Added handling for broadcast request (BRoster::Broadcast()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:31:55 +00:00
Michael Pfeiffer
dfb355568e Added GetDefaultSettings().
Fixed start print_server from terminal only if it is not already running.
Fixed use pointers to BBitmap in application class. To prevent destruction of BBitmap without valid BApplication object, if BApplication constructor has failed.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 16:06:43 +00:00
Michael Pfeiffer
f2ee553c1b Added GetDefaultSettings().
Fixed return correct error code in ConfigurePage().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:57:45 +00:00
Michael Pfeiffer
a744b32df3 Fixed race condition in Release(), supplied by Marcus Overhangen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:53:49 +00:00
Ingo Weinhold
b48b6fb598 Added method CheckSanity() which checks whether the (pre-)registered apps are still alive and removes obsolete entries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:21:06 +00:00
Ingo Weinhold
463322c288 Added methods GetEventQueue() and App() (static). Added a sanity event for checking the roster for killed apps.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:19:43 +00:00
Ingo Weinhold
40a1dc4c7f Documented the class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:14:24 +00:00
Ingo Weinhold
1607957935 * Documented the class.
* Added helper methods and rewrote Remove() to take advantage of the fact
  that the event list is ordered.
* Introduced a termination flag to shutdown the thread as early as
  possible.
* Event::Do() get a pointer to the queue as parameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:13:24 +00:00
Ingo Weinhold
c2b2c7d9f7 Documented the class. Do() now gets a pointer to the event queue as parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:08:53 +00:00
Ingo Weinhold
15a2383ff8 Added MakeEmpty() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:06:39 +00:00
Ingo Weinhold
5293aa41b4 Added the class MessageEvent, which is an Event sending a message when executed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:01:47 +00:00
Ingo Weinhold
44c3726b9d Added EventQueue and Event and MessageRunnerManager classes used for the
registrar side message runner support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:37:07 +00:00
beveloper
570f7d0456 updated to include the same features/bugs as the screenshot in today's news.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-10 18:55:47 +00:00
beveloper
1299bfb29f added real media_server node management, removed bugs, added debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 23:59:43 +00:00
beveloper
d9b7ae2154 moved node management functions into the NodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:27:32 +00:00
Ingo Weinhold
af8eec4080 Added support for the B_REG_SET_SIGNATURE request (BRoster::SetSignature()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:03:11 +00:00
Ingo Weinhold
4000397895 More debugging output. Yeah!!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:57:09 +00:00
beveloper
85dfab2ba8 even more BMediaRoster functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
beveloper
9e9417d205 more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 13:02:26 +00:00
beveloper
3620737cb7 added more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:45:20 +00:00
beveloper
5edd2016f8 removed some warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 12:17:47 +00:00
beveloper
8c6a6096e7 rewrote BMediaRoster::Connect() and a few related functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
beveloper
e66fda405a finished notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00
beveloper
1d616657b9 changed the notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 12:01:37 +00:00
beveloper
fd2581121b changed media kit internal messaging and notification support
these files will be replaced soon


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:08:54 +00:00
beveloper
f492510482 changed media kit internal messaging and notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:04:48 +00:00
Tyler Dauwalder
6fe0c83d38 Updated to use RegistrarThreadManager instead of ThreadManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:36:08 +00:00
Tyler Dauwalder
a95d0e50a1 Removed ThreadManager from the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:35:28 +00:00
Tyler Dauwalder
c76034e178 + Renamed to RegistrarThreadManager to avoid conflicts with tools/cppunit/ThreadManager
+ Moved into app kit directories for inclusion in libopenbeos.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:20:38 +00:00
Michael Phipps
5894646a95 Per Jason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 17:52:57 +00:00
beveloper
682db4a4c5 add some framework to broadcast and manage notification messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 00:12:11 +00:00
beveloper
7dd8568e6a adding a simple queue needed for the media server's handling of notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:07:10 +00:00
Tyler Dauwalder
4a94b7bbb3 + Added ThreadManager object to MIMEManager
+ Reimplemented mime update calls to now handle both synchronous
  and asynchronous calls, as well as work with RegistrarThreads and
  the ThreadManager.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:17:29 +00:00
Tyler Dauwalder
5720cd9c75 Added ThreadManager to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:56 +00:00
Tyler Dauwalder
e177c2c89a ThreadManager class, which is responsible for managing all the
RegistrarThread objects created by the registrar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:20 +00:00
shatty
455ac6375c fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:43:52 +00:00
shatty
dece452ee7 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 01:48:03 +00:00
Michael Pfeiffer
c615771892 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:46:13 +00:00
Michael Pfeiffer
57e88ee89b Bug fix for memory leak. BMessage returned by take_job was not deleted.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:45:24 +00:00
Michael Pfeiffer
d16c075486 Bug fix to avoid null pointer access.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:40:46 +00:00
Michael Pfeiffer
a039d985c9 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:27:54 +00:00
Michael Pfeiffer
f0ac1e5a7e Bug fix for HP PCL3 printer add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:26:46 +00:00
Tyler Dauwalder
1bd963b6c2 + Added file-extension based mime type guessing
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
  non-recursive; forcing, non-forcing; you name it we got it :-)
  update_mime_info() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Ingo Weinhold
afac6ebecb Initialize the global be_roster for the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 19:46:15 +00:00
Michael Phipps
8f13f87bf7 For Michael Pfeiffer, ready for beta...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-21 18:57:19 +00:00
Tyler Dauwalder
e3a2f2069e + Added SetSupportedTypes() test
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 08:12:03 +00:00
Ingo Weinhold
77bb876f71 libstorage.so is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:14:11 +00:00
beveloper
a294926ce0 more notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:05:43 +00:00
Tyler Dauwalder
d7526269d7 Added B_REG_MIME_GET_SUPPORTING_APPS functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:59:57 +00:00
Philippe Houdoin
a225fd0942 Let's move the userland version (net_server-like) of the net stack here, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 07:53:49 +00:00
Ingo Weinhold
cf07767393 Added B_REG_MIME_UNSUPPORT_TYPES case in MessageReceived(). No implementation for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:51:50 +00:00
Tyler Dauwalder
e20a514ae9 After implementing the BMimeType::GetInstalled[Super]Types()
functionality, it became apparent that some restructuring was
needed if I wanted to keep things clean and managble.
storage/MimeDatabase.{h,cpp} have been broken into:

storage/mime/database_support.{h,cpp}
+ MIME database constants
+ high-level database access functions like open_type(),
  read_mime_attr(), etc.

storage/mime/database_access.{h,cpp}
+ atomic read functions
+ is_installed()
+ get_icon_data()

storage/mime/Database.{h,cpp}
+ Mime::Database class, which is responsible for all write,
  non-atomic read, and mime monitor functionality.

storage/mime/InstalledTypes.{h,cpp}
+ Helper class for Mime::Database::GetInstalled[Super]Types()

storage/mime/Supertype.{h,cpp}
+ Helper class for Mime::InstalledTypes

I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types
implementation into the new setup yet. That comes next, and it ought
to be a more graceful implementation now.

I also implemented BMimeType::Get/SetSupportingTypes(), though
they haven't been tested yet (sorry).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:04:02 +00:00
Tyler Dauwalder
3155eae222 + Added code/updated tests for
- AttrInfo
  - FileExtensions
+ Updated Delete() code to send monitor updates
+ Tenatively added "be:action" field to monitor messages
+ Added data type constants


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:55:20 +00:00
Tyler Dauwalder
1ed04c7ce3 Added code for:
+ {Get,Set}IconForType()
+ Delete*() functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:37:04 +00:00
Tyler Dauwalder
7cf4e78a5d + Updated doxygen
+ Added code for:
  - B_REG_MIME_SET_PARAM::B_REG_MIME_PREFERRED_APP
  - B_REG_MIME_SET_PARAM::B_REG_MIME_APP_HINT
  - B_REG_MIME_SET_PARAM::B_REG_MIME_ICON


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:42:14 +00:00
Tyler Dauwalder
f978bce0b0 + Added fMimeDatabase member
+ Updated MessageReceived to handle:
  - B_REG_MIME_SET_PARAM.B_REG_MIME_DESCRIPTION
  - B_REG_MIME_{START,STOP}_WATCHING
  - B_REG_MIME_{INSTALL,DELETE}


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:08:49 +00:00
Tyler Dauwalder
533a64a210 Registrar now links to libstorage for MimeDatabase class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:02:55 +00:00
beveloper
16b7eea41a Add some experimental media add-on instantiating support, more debugging and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:21:32 +00:00
beveloper
d6b71edf06 Updated to make media_addon_server work with the DormantNodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 00:38:09 +00:00
Michael Phipps
f85924fecf This fleshes out the HandleSetMousePosition() and the input_server now tracks the current position of the mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 23:32:30 +00:00
beveloper
e2c48499a6 Changed to use the DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:05:18 +00:00
Michael Pfeiffer
ed7c14bac2 Use rule AddResources instead of XRes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:41:06 +00:00
Michael Phipps
5b87d86af3 Added some necessary files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:51:06 +00:00
Michael Phipps
f8faba8667 Doesn't build without PortLink in the Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:40:57 +00:00
Ingo Weinhold
5ca9f21f13 More debugging output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:20:42 +00:00
Ingo Weinhold
5e949b7dfc Added method Init(), which adds the registrar to the roster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:37:24 +00:00
Ingo Weinhold
60aa4feab5 * Lock() the looper in application destructor. Otherwise RemoveHandler()
complains.
* Call the TRoster::Init() to add the registrar itself to the roster.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:05 +00:00
Michael Pfeiffer
2c0d45d7c1 Async. start Page/Printer Config Dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:05:03 +00:00
Ingo Weinhold
d744dd13ab * Changed the return value in HandleCompleteRegistration() in case of
not found or already completely registered applications from
  B_REG_APP_NOT_REGISTERED to B_REG_APP_NOT_PRE_REGISTERED.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:42:03 +00:00
Ingo Weinhold
2ad75c74f9 Added doxygen comments and moved the initialization of child objects from
the constructor into ReadyToRun().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:39:26 +00:00
Ingo Weinhold
c09fb4b971 Added doxygen comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:37:26 +00:00
Ingo Weinhold
e56ea20210 * Added doxygen comments.
* Moved the index returning/expecting methods into a private section and
  implemented a Iterator class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:36:28 +00:00
Ingo Weinhold
a12aef2bee * Added handling of running app querying requests.
* Added methods Add/Remove/ActivateApp().
* Added hook methods _AppAdded/Removed/Activated/Deactivated().
* Turned fActivateApp into a RosterAppInfo* which is more useful.
* Added doxygen comments for the class and all methods.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:33:36 +00:00
Ingo Weinhold
bf41b2a2ef Replace APP_STATE_INVALID by APP_STATE_UNREGISTERED which makes more sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:28:14 +00:00
Ingo Weinhold
2e042baa93 Added dispatching of the running app querying requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:26:39 +00:00
Ingo Weinhold
ab2e0d7d3f Removed the optional index parameter from AddInfo(). It wasn't used and would avoid to replace the list implementation by one that e.g. maintains a sorted list or a hash table or whatever. Think about changing the other methods operating on indices to use iterators.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:25:33 +00:00
Ingo Weinhold
1d32138d6f Implemented processing of the app registration requests and Get{Running,Active}AppInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:04:52 +00:00
Ingo Weinhold
3a5e755532 Added token and registration_time fields and Init() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:03:14 +00:00
Ingo Weinhold
c39e453222 Added dispatching of some now implemented roster requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:02:10 +00:00
Ingo Weinhold
71ba5e917b We use STL now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:01:21 +00:00
Ingo Weinhold
96fd394e57 Added SET_ERROR macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:40 +00:00
Ingo Weinhold
679ac7ab0d Added a couple of methods for app_info finding.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:15 +00:00
Ingo Weinhold
51d6b22ec1 Added TRoster instance to the registrar application and dispatching of the application registration messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:40:12 +00:00
Ingo Weinhold
f9fd58cc75 Added classes TRoster, RosterAppInfo and AppInfoList. TRoster will be the *The Roster*, but has currently only unimplemented hooks for the app registration functionality. More to come.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:38:57 +00:00
Michael Phipps
e9a5e3f5cc Change per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 23:39:03 +00:00
Ingo Weinhold
f58f2774db Added the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:41:42 +00:00
Ingo Weinhold
4b8a71155a Added a registrar skeleton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:40:07 +00:00
Michael Phipps
2296a4d62e Here is the modified InputServer.cpp file which includes the casting
change for the DispatchEvent() function.  This will allow the input_server
to work with the current proto6 code in the cvs tree.  It may even work
with the existing proto5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:18:32 +00:00
Michael Phipps
7c8b733d03 Checkin, per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:12:24 +00:00
Ingo Weinhold
25f901aec9 Link against the OBOS version on libmedia.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@87 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:55:52 +00:00
ejakowatz
c07b7f382d A couple of minor tweaks to get things building again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@65 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:17:00 +00:00
Ingo Weinhold
5147813236 Added print server and screen saver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@54 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:14:22 +00:00
Ingo Weinhold
77763004e0 Fixed include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@53 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:59:20 +00:00
Ingo Weinhold
a63dade9fe Added the media addon server to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@52 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:58:30 +00:00
Ingo Weinhold
ac01d3440b The media server rolls in. Well, it doesn't compile, but it doesn't in the old tree either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@51 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:48:09 +00:00
Ingo Weinhold
b8c8c78099 Here goes the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@50 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:33:56 +00:00
Ingo Weinhold
b01bedd574 This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00