Commit Graph

112 Commits

Author SHA1 Message Date
Axel Dörfler 6c1198ff2d Disable user add-ons only if specifically set in the safemode settings,
thanks François!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 22:21:21 +00:00
Axel Dörfler cfb3cc4648 * Now checks and honours the "disable user add-ons" safemode setting.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 15:25:39 +00:00
Stephan Aßmus c067ed4ea4 applied patch by Maurice Kalinowski:
* Add check whether directory to store settings exists. If not, create it.
* Use global constant (like in DefaultManager.cpp) for path/file names.
* Cleaned up a little bit and made debug output only appear in case 
  debugging is turned on (meaning printf->TRACE).
-> Fixes #1531.
(I added a few more error checks to the code, maybe there should be even 
more...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 09:55:44 +00:00
Jérôme Duval 8bef760f81 create media settings directory before saving default nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 21:54:12 +00:00
Jérôme Duval 6b6537f153 clean unused includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 22:02:13 +00:00
Jérôme Duval 31ebfe61e4 added default sound events
implemented system_beep() by sending an event to the media addon server


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 19:15:46 +00:00
Jérôme Duval 33c487a43e implemented add_system_beep_event()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 20:40:12 +00:00
Jérôme Duval 88ec4b1dbe fixed some warnings
code style of MMediaFilesManager.* 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 13:59:59 +00:00
Axel Dörfler 8a93edb60c Made all server version and signatures consistent, and thus closing bug #909.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 17:56:02 +00:00
Marcus Overhagen 4cf01e2ecc Fixed off-by-one error that prevented finding nodes using wildcard names, like DVB*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:43:36 +00:00
Jérôme Duval 8cba28e927 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:55:37 +00:00
Jérôme Duval 01aa08639d fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:43:00 +00:00
Jérôme Duval 3a247e366b added signature we tried to launch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 20:18:46 +00:00
Jérôme Duval b5d904cbf3 added B_BACKGROUND_APP app flag
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 00:10:29 +00:00
Jérôme Duval 7316ee50f0 media and media addon servers are beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 21:57:40 +00:00
Ingo Weinhold 758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
Ingo Weinhold 338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Jérôme Duval d40a708ed3 added ASSERT checks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:09:28 +00:00
Jérôme Duval 276ac902b7 added actual error in stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:27:47 +00:00
Stephan Aßmus 8fbbd48760 added icons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 09:22:57 +00:00
Marcus Overhagen 38b7e756d2 spelling fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 17:26:52 +00:00
Marcus Overhagen 697bc06297 removed openbeos plugin directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 00:42:44 +00:00
Marcus Overhagen 3f484ea41a test checkin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 01:01:57 +00:00
Jérôme Duval 7a0168dc97 Don't traverse link when looking for names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 00:06:22 +00:00
Jérôme Duval 35c6c5b791 replaced .. by DOTDOT, removed linkSharedLibraries
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 11:35:08 +00:00
Jérôme Duval a612e9ccb4 Fix for when there is no map for a type. Thanks Marcus !
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 22:45:27 +00:00
beveloper 28a06094b2 Modified media_server and media_addon_server cration/terminatio.
Now uses application mime sig for start/stopping. Much better
compatibility with libbe.so restarting functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 20:43:01 +00:00
beveloper c80e05b8fc Switch to Be Inc media server signature, to allow libbe.so sending messages to the server.
Also removed icons as they are most probably copyrighted and not free to use.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:12:31 +00:00
beveloper abc3c2e95f witch to Be Inc media server signature, to allow libbe.so sending messages to the server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:09:25 +00:00
Jérôme Duval 36995be7f5 removed unused rsrc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:25:22 +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
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
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
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
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
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
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
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
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