#
c2073305 |
|
07-Mar-2020 |
Augustin Cavalier <waddlesplash@gmail.com> |
registrar: Replace the deprecated std::hash_set with our HashSet.
|
#
bed5fd29 |
|
28-Jul-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
TRoster: fix always false condition, again. Change-Id: I5f43a9c60c329dbce5ab1344692877a538053af9 Reviewed-on: https://review.haiku-os.org/c/1653 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
359cf105 |
|
27-Jul-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
registar: Revert part of 6967695c4ea72a15e7c718e43e8daf515acf4a2a. This broke the function, making all apps that wanted the list, e.g. Deskbar, ProcessController, etc. simply not display teams.
|
#
565155af |
|
27-Jul-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove unnecessary usages of BLocker::Sem(). Most of these should have been BLocker::InitCheck() anyway. The one that was actually using the sem (MessageLooper) should just store the name parameter, which simplifies things anyway. Done as a result of a branch where I'm experimenting with making BLocker not even create a semaphore in "benaphore" mode.
|
#
32f97c7c |
|
27-Jul-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
registrar: Add missing initialization of error. Spotted by korli.
|
#
6967695c |
|
24-Jul-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
PVS V547: always false comparisons Change-Id: I1c7790ff0aa537b974bdc0fd65d76f277ea5f8cf Reviewed-on: https://review.haiku-os.org/c/1647 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
27bba9c3 |
|
17-Mar-2018 |
Jérôme Duval <jerome.duval@gmail.com> |
registrar: flat_app_info size was arch dependent. copy each member of app_info instead. Change-Id: Ica8d0a195b2dbaaf57d28f2fe2f7efd73c37b2c4
|
#
6899a856 |
|
10-Mar-2018 |
Jérôme Duval <jerome.duval@gmail.com> |
Shutdown: follow up on ff6135f474eed07e58bbd1557cd2cd8ee8027677 * calling TRoster::GetShutdownApps() multiple times with the same lists leads to problems because the lists aren't emptied first. * instead we watch the user app launches, add them in the fUserApps list, and let _QuitApps() iterates through the fUserApps list until it is empty.
|
#
9e73b627 |
|
11-Nov-2015 |
Axel Dörfler <axeld@pinc-software.de> |
launch_daemon: Fixed preregister consequences. * Since the last change, the user launch_daemon would talk to the registrar again. * However, this also caused BRoster::Launch() to preregister the app, which messed up our preallocated port. * BRoster::Private::Launch() now allows to get the port that the registrar created in such a case, and the launch_daemon will now just use that one as default port. * This lets us talk to the Deskbar again, and should fix #12455, as well as #12454 (again).
|
#
06e0f807 |
|
06-Jul-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: Fixed app_server detection. * This also fixes the shutdown process, as the registrar no longer kills the app_server. * Removed SERVER_PORT_NAME definition as it has no use anymore.
|
#
bea38cb7 |
|
11-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: implemented auth port via launch_daemon. * get_roster_port_name() is no longer needed. * This also removes the app_server restart code from the debug server -- this will be done by the launch_daemon in the future.
|
#
3aeed660 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
1a7bcf69 |
|
01-Jun-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Lots of B_PRI... insertions to fix errors with DEBUG=1.
|
#
3ab9de3b |
|
18-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
CID 714425: Operands don't affect result. Result of a call to strtoul was stored in a uint32, then checked against ULONG_MAX for error. If long is 64 bits, the error check will never be true.
|
#
04209cdd |
|
21-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Catch a app_server crash in the debug server. Let the registrar restart the app_server and notify all apps.
|
#
6ba5fa4d |
|
09-Dec-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Ensure 0 termination of the buffer being converted to a string. The file content isn't normally 0 terminated, so making a string out of it would usually result in reading beyond the allocated buffer to find the string length, possibly leading to a crash.
|
#
323b6546 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
e09045d4 |
|
14-Oct-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Fix debug build of the registrar. * Make the macros use varargs so we avoid multiple invokations of the print function (to properly use with debug_printf for example). * Minor cleanup to the macros. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42848 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3dfd9cb9 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
2f32c12f |
|
28-Dec-2010 |
Fredrik Holmqvist <fredrik.holmqvist@gmail.com> |
Delete the array after deleting the items in the array. CID 2980. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6718659e |
|
18-Jul-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fix warning. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae4d11e9 |
|
27-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Turned off unconditional debug output in the RosterSettingsCharStream class. * Replaced some DBG(OUT) debug output with the registrar's global one. * Cleanup, mostly whitespace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
88b38f29 |
|
16-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved loading roster settings to the point after it has been added to the registrar. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34077 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7162a696 |
|
16-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Disabled excessive debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34076 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9fb9c160 |
|
29-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* TRoster now actually stores its settings, ie. the recent file list now survives a reboot. * The target directory is now created if needed. * Relocated/renamed the settings file to ~/config/settings/system/registrar/RosterSettings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33827 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c8e7c8ef |
|
18-May-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* _IsSystemApp() did not work anymore with the new directory hierarchy. It will now check for the complete path instead of just the prefix. This fixes bug #3862. * Made TRoster.h self contained. * Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30788 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
317bd7dd |
|
03-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Changed directory structure as suggested on the mailing list. * Made the TimeZoneView less error prone, and also actually use Haiku code (the previous check didn't work since it used #if, not #ifdef). * Also took the liberty to rename our boot loader to haiku_loader, since I had to update the nasm binary anyway. Updated the assembly sources to nasm 2.0. * I haven't found where the synth location in the MIDI code is specified, though. * Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do so next. * Some optional packages still put their license to beos/etc/licenses. I didn't update them yet, as we'll probably do so anyway at some point. Also, I think we might want to introduce a common/data/licenses instead for those. * If you encounter any problems, please tell! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
779bacf0 |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
This was most probably a typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fc |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9dec848f |
|
24-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed memory leak. Discovered by Coverity (CID 1013). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
190e3779 |
|
13-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
ppInfoList deletes its elements on destruction, and we didn't clear our temporary list after deleting its elements manually. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22534 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64fd7c1a |
|
24-Sep-2007 |
Axel Dörfler <axeld@pinc-software.de> |
This fixes the problem of launching more than one document with one application at once with Tracker (eg. launching several text documents) - only the first one would have been opened, and an error B_BAD_VALUE would have been reported for the others: * HandleAddApplication() did not return the correct token in case of a pending registration; therefore, BRoster::_LaunchApp() would try to check the registration with invalid arguments. * HandleIsAppRegistered() put the pending registration requests into the fIARRequestsByToken map using the wrong key, so that they could not be found again. * Minor cleanup (fixed indentation of not so temporary debug code). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22296 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a632458d |
|
29-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
The wonders of signals: * Since the app_server launched the input_server, it would also get notified when the latter died via a signal - but LinkReceiver could return B_INTERRUPTED in that case (it didn't check the return value of port_buffer_size()) which the app_server misinterpreted and quit itself... this fixes the hanging part of bug #1298. * But the input_server still wasn't restarted, because the Registrar had it still listed as being running. Now, the Registrar checks not just periodically for died teams, it will also check for it when a new application registers itself. This fixes the rest of bug #1298. * Removed the old (disabled) R5 style input_server launch mechanism from the app_server. * MessageLooper now prints a bit more information when a port is supposed to have been deleted. * The default implementation of MessageLooper::_GetLooperName() is now returning the name of the semaphore of its BLocker instead of "unnamed looper". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22115 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d09c136a |
|
02-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Send out B_SOME_APP_LAUNCHED/QUIT messages only for fully registered apps. This fixes bug #948. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20058 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee202d50 |
|
30-Jan-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed access of deleted object in out of resources situation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20019 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2f8cb2e |
|
29-Jan-2007 |
Jérôme Duval <korli@users.berlios.de> |
it seems fRegisteredApps also lists not fully running apps, so we add a check for the state APP_STATE_REGISTERED. this fixes the ticket #627. Ingo, could you review ? This check might also be needed at other places. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20014 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e30afed4 |
|
19-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
As per Ingo's request, I moved calling BRoster::Private::UpdateActiveApp() into the app_server (and updated all comments that said otherwise). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19865 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c2f641f2 |
|
18-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Turns out the whole "active app" mechanism in the registrar wasn't used at all; the Switcher now works as expected. * Renamed TRoster::ActivateApp() to UpdateActiveApp(), as the app is already activated at that point (the registrar only keeps track of it). * BWindow::DispatchMessage() now calls the new BRoster::Private::UpdateActiveApp() method when it receives a B_WINDOW_ACTIVATED message. * Added BRoster::_UpdateActiveApp() which calls the new B_REG_UPDATE_ACTIVE_APP. * Removed now unused B_REG_ACTIVATE_APP. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19857 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
970014a6 |
|
13-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Improved the shutdown process some more. Systems apps are allowed to ignore the quit request and are simply removed from the list of apps to close if this happens. This is primarily designed for the input_server. I also corrected the MIME type of the debug_server which was causing it to be incorrectly killed at shutdown. I did some other clean-up and removed the code I unintentionally submitted yesterday. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19509 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
252f4767 |
|
12-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Added some needed stdio.h includes. I don't know what magic was used to compile these for other people, but they wouldn't compile for me when building the app_server test environment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
499aacdd |
|
15-Nov-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Fixed bugs #177 and #180 by adding code to notify the input_server that the system is shutting down. For the protocol between the Registrar and input_server I decided to just re-use the message constant already defined in the input server headers (SYSTEM_SHUTTING_DOWN.) The code in the input server to notify the InputServerDevices about the shutdown was pretty trivial. For the code in the Registrar I'll let some gurus review it to make sure it fits in with the rest of the code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bfd06d1 |
|
31-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRoster::Launch() eventually launches the application in question in several steps: 1. early pre-registration with the registrar ("I wanna launch the app, make sure noone interferes.") 2. load the app image 3. finish pre-registration with the registrar ("I have launched the app, here is its team ID.") 4. start app main thread 5. send "on launch" messages to the app (argv, refs, others) If the app is already running or being launched, 1. fails with a conclusive error code and returns the team ID and the pre-registration token of the app. Steps 2 - 4 are skipped and only the messages are delivered using the team ID returned by 1. This change fixes a race condition: The failed early pre-registration request obviously cannot return the team ID, if the other thread launching the app has not finished step 3 yet. Thus the argv/refs message would not get delivered and Launch() would not return the correct team ID. Now we wait for the pre-registration to be finished in this case, using the former _IsAppPreRegistered() mechanism, which already provided such a waiting feature for one request. It has been extended to accomodate an arbitrary number of waiting requests and renamed to _IsAppRegistered(). This fixed bug #763. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18728 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d93a13b |
|
11-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
The registrar marks itself now as a B_BACKGROUND_APP application, so that it is no longer visible in the Deskbar. Changed registrar.rdef to match the same application flags, and added a comment that those flags are actually ignored. Cleaned it up a bit, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15508 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ceb1e51 |
|
20-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* reverted Adi's premature changes to BWindow and restored _DetermineTarget() and task_looper() again. * removed BMessenger::fPreferred - whenever you had to specify "usePreferred" separately, you don't have to do that anymore - use B_PREFERRED_TOKEN instead. * fixed BTokenSpace::GetToken() semantics: it will no longer touch the "object" argument in case of failure. * Introduced a BWindow::_DistributeMessage() that will be part of the event dispatcher counterpart to the app_server (the other will be _DetermineTarget()). * Made it easier to use Michael's Message4 implementation: just add the following line to your UserBuildConfig: AppendToConfigVar DEFINES : HAIKU_TOP src : USING_MESSAGE4 : global ; * Introduced ServerWindow::HandlerMessenger() and FocusMessenger() - the first will target the client handler, while the other will target the preferred handler of the client looper (usually the view having focus). * Fixed dano message unflattening in the Message4 code. * Changed BMessage::PrintToStream() to no longer use macros in the Message4 implementation. * I hope that's all - it's a huge change, but it's all connected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
18b5424c |
|
24-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented BRoster::ActivateApp(). * Added the respective case statement in AppServer::DispatchMessage(). The code that actually activates the app is still missing. * Removed the remnants of the old way of notifying the registrar about what app got activated (the activated client window did that). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13820 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bb00e268 |
|
18-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
MIME types and signatures are case insensitive. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13730 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
852425d4 |
|
16-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Also consider the kernel team a "vital system app" that deserves not to be killed. Shutdown now works under qemu, although even shutdown reboots... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13707 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29aa5703 |
|
11-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Now we have a hardcoded list of apps which shall not be terminated on shutdown (input, app, debug server, and registrar). * Fixed crashing bug, if the shutdown was aborted before the window was created. * The text of the confirmation alert depends on whether we reboot or shut down. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13643 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b454d97 |
|
07-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Background applications are now ask to quit in parallel. * Implemented handling of apps blocking on modal windows. * Fixed a few bugs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13539 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
553ea301 |
|
03-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved TRoster out of the BPrivate namespace. It does no longer appear in any public header. * Replaced a good deal of the MessageDeliverer's DeliverMessage() versions by more general ones using the new interface MessagingTargetSet to represent a set of targets. This simplifies the usage in cases where the caller doesn't already have the targets in a supported representation. * Implemented a first approximation of the shutdown process. There is no GUI yet. Only superficially tested under R5. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
634f747e |
|
29-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Now we use the MessageDeliverer to send asynchronous messages to other apps. Seems to work when the target port is not full. The other case has not been tested yet. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
42be3265 |
|
25-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
TRoster is no longer a friend of BMessenger -- use BMessenger::Private. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11032 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48f570b5 |
|
17-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The settings file is now called "HaikuRosterSettings" instead of "OpenBeOS...". * Obtain the path of the settings dir via find_directory(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10817 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32453e90 |
|
04-Jun-2003 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3429 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bde02ae |
|
08-Nov-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
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
|
#
4f03f5d2 |
|
07-Nov-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
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
|
#
fde0f1b8 |
|
31-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Implemented HandleGetRecent{Documents,Folders}() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1798 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
230719b5 |
|
27-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
- 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
|
#
7a0335c8 |
|
18-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for roster watching. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56d4d637 |
|
15-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added handling for broadcast request (BRoster::Broadcast()). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1542 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b48b6fb5 |
|
14-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
af8eec40 |
|
07-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
40003978 |
|
06-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More debugging output. Yeah!!! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ca9f21f |
|
03-Aug-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More debugging output. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@565 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e949b7d |
|
28-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
d744dd13 |
|
28-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* 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
|
#
a12aef2b |
|
27-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* 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
|
#
1d32138d |
|
26-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
f9fd58cc |
|
23-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
06e0f8079fbd47d06d30438d60ea0563af339a1f |
|
06-Jul-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: Fixed app_server detection. * This also fixes the shutdown process, as the registrar no longer kills the app_server. * Removed SERVER_PORT_NAME definition as it has no use anymore.
|
#
bea38cb711f29e929d62ceed9a0684e43c548a0d |
|
11-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
registrar: implemented auth port via launch_daemon. * get_roster_port_name() is no longer needed. * This also removes the app_server restart code from the debug server -- this will be done by the launch_daemon in the future.
|
#
3aeed6607cd07762c0e709633c012b3a632dbad9 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
1a7bcf6962e1c99906cce0fe602e08c3fcda46f6 |
|
01-Jun-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Lots of B_PRI... insertions to fix errors with DEBUG=1.
|
#
3ab9de3b68e5845cc4225f943e4fb93a7a8d98b3 |
|
18-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
CID 714425: Operands don't affect result. Result of a call to strtoul was stored in a uint32, then checked against ULONG_MAX for error. If long is 64 bits, the error check will never be true.
|
#
04209cdd81e0cc978a5da7a9c9a5175e11b4140c |
|
21-Jan-2012 |
czeidler <haiku@clemens-zeidler.de> |
Catch a app_server crash in the debug server. Let the registrar restart the app_server and notify all apps.
|
#
6ba5fa4d64c5cdda19404c9d8360d809d9546144 |
|
09-Dec-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Ensure 0 termination of the buffer being converted to a string. The file content isn't normally 0 terminated, so making a string out of it would usually result in reading beyond the allocated buffer to find the string length, possibly leading to a crash.
|
#
323b65468e5836bb27a5e373b14027d902349437 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
e09045d41f067ea34a2fcefedb36c2b83ac4cb5d |
|
14-Oct-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Fix debug build of the registrar. * Make the macros use varargs so we avoid multiple invokations of the print function (to properly use with debug_printf for example). * Minor cleanup to the macros. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42848 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3dfd9cb95ce45f59160d50975210bc55e3fc0709 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
2f32c12f37cfc68510c2edee1a1ad5b55870ecf1 |
|
28-Dec-2010 |
Fredrik Holmqvist <fredrik.holmqvist@gmail.com> |
Delete the array after deleting the items in the array. CID 2980. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6718659e480ec4321a0e16f332a6619e17a2a639 |
|
18-Jul-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fix warning. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae4d11e97facbe9cc53878fe1911a5480bdbb0f6 |
|
27-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Turned off unconditional debug output in the RosterSettingsCharStream class. * Replaced some DBG(OUT) debug output with the registrar's global one. * Cleanup, mostly whitespace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
88b38f2901adc46faa81ddb79719b81be2be5bf8 |
|
16-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved loading roster settings to the point after it has been added to the registrar. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34077 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7162a69600bbe77bd1bafeb13ab1750c496758db |
|
16-Nov-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Disabled excessive debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34076 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9fb9c160af65c07aa797d3feb79152422ba668a5 |
|
29-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* TRoster now actually stores its settings, ie. the recent file list now survives a reboot. * The target directory is now created if needed. * Relocated/renamed the settings file to ~/config/settings/system/registrar/RosterSettings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33827 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c8e7c8ef8698fcb9ce4b7b4e39dbfe3259b97d38 |
|
18-May-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* _IsSystemApp() did not work anymore with the new directory hierarchy. It will now check for the complete path instead of just the prefix. This fixes bug #3862. * Made TRoster.h self contained. * Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30788 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
317bd7dda3eb26d4d24ba5b0a831461119f70d34 |
|
03-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Changed directory structure as suggested on the mailing list. * Made the TimeZoneView less error prone, and also actually use Haiku code (the previous check didn't work since it used #if, not #ifdef). * Also took the liberty to rename our boot loader to haiku_loader, since I had to update the nasm binary anyway. Updated the assembly sources to nasm 2.0. * I haven't found where the synth location in the MIDI code is specified, though. * Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do so next. * Some optional packages still put their license to beos/etc/licenses. I didn't update them yet, as we'll probably do so anyway at some point. Also, I think we might want to introduce a common/data/licenses instead for those. * If you encounter any problems, please tell! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
779bacf0fef510a05ceb1599ce4c659e50bfc102 |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
This was most probably a typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fcec1ef41b413b3b121764509f436dee4d |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9dec848f8db2e3c2c8d58b3798f325f3b9993a29 |
|
24-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed memory leak. Discovered by Coverity (CID 1013). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
190e3779761e2af587e0d1edccf3cf54452e52de |
|
13-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
ppInfoList deletes its elements on destruction, and we didn't clear our temporary list after deleting its elements manually. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22534 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64fd7c1a00a28dc9f76d2ab55e66cb17bf5bf521 |
|
24-Sep-2007 |
Axel Dörfler <axeld@pinc-software.de> |
This fixes the problem of launching more than one document with one application at once with Tracker (eg. launching several text documents) - only the first one would have been opened, and an error B_BAD_VALUE would have been reported for the others: * HandleAddApplication() did not return the correct token in case of a pending registration; therefore, BRoster::_LaunchApp() would try to check the registration with invalid arguments. * HandleIsAppRegistered() put the pending registration requests into the fIARRequestsByToken map using the wrong key, so that they could not be found again. * Minor cleanup (fixed indentation of not so temporary debug code). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22296 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a632458d8eb985eac127d127ac8e00d08e301d92 |
|
29-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
The wonders of signals: * Since the app_server launched the input_server, it would also get notified when the latter died via a signal - but LinkReceiver could return B_INTERRUPTED in that case (it didn't check the return value of port_buffer_size()) which the app_server misinterpreted and quit itself... this fixes the hanging part of bug #1298. * But the input_server still wasn't restarted, because the Registrar had it still listed as being running. Now, the Registrar checks not just periodically for died teams, it will also check for it when a new application registers itself. This fixes the rest of bug #1298. * Removed the old (disabled) R5 style input_server launch mechanism from the app_server. * MessageLooper now prints a bit more information when a port is supposed to have been deleted. * The default implementation of MessageLooper::_GetLooperName() is now returning the name of the semaphore of its BLocker instead of "unnamed looper". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22115 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d09c136a8c530f5dad4d7a381179c23cfd771145 |
|
02-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Send out B_SOME_APP_LAUNCHED/QUIT messages only for fully registered apps. This fixes bug #948. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20058 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee202d50bca56f31159cf02d78eb4fa0af24930f |
|
30-Jan-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed access of deleted object in out of resources situation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20019 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2f8cb2ef45e20fdf475c8cef165189e4cca152f |
|
29-Jan-2007 |
Jérôme Duval <korli@users.berlios.de> |
it seems fRegisteredApps also lists not fully running apps, so we add a check for the state APP_STATE_REGISTERED. this fixes the ticket #627. Ingo, could you review ? This check might also be needed at other places. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20014 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e30afed4394414aa6ca3163de20901c0b3b367c6 |
|
19-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
As per Ingo's request, I moved calling BRoster::Private::UpdateActiveApp() into the app_server (and updated all comments that said otherwise). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19865 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c2f641f2e51127c2318b5c4201919ec14ae9fe56 |
|
18-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Turns out the whole "active app" mechanism in the registrar wasn't used at all; the Switcher now works as expected. * Renamed TRoster::ActivateApp() to UpdateActiveApp(), as the app is already activated at that point (the registrar only keeps track of it). * BWindow::DispatchMessage() now calls the new BRoster::Private::UpdateActiveApp() method when it receives a B_WINDOW_ACTIVATED message. * Added BRoster::_UpdateActiveApp() which calls the new B_REG_UPDATE_ACTIVE_APP. * Removed now unused B_REG_ACTIVATE_APP. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19857 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
970014a60a12f265ce53f633950043af86cc05ff |
|
13-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Improved the shutdown process some more. Systems apps are allowed to ignore the quit request and are simply removed from the list of apps to close if this happens. This is primarily designed for the input_server. I also corrected the MIME type of the debug_server which was causing it to be incorrectly killed at shutdown. I did some other clean-up and removed the code I unintentionally submitted yesterday. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19509 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
252f4767828ef4564f9fcedca981234e26e7bd32 |
|
12-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Added some needed stdio.h includes. I don't know what magic was used to compile these for other people, but they wouldn't compile for me when building the app_server test environment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
499aacdd0a020783a81e0d15a21bb2a4be4abeea |
|
15-Nov-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Fixed bugs #177 and #180 by adding code to notify the input_server that the system is shutting down. For the protocol between the Registrar and input_server I decided to just re-use the message constant already defined in the input server headers (SYSTEM_SHUTTING_DOWN.) The code in the input server to notify the InputServerDevices about the shutdown was pretty trivial. For the code in the Registrar I'll let some gurus review it to make sure it fits in with the rest of the code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bfd06d1ff129f4db4445b978fa3ee9257f239c9 |
|
31-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRoster::Launch() eventually launches the application in question in several steps: 1. early pre-registration with the registrar ("I wanna launch the app, make sure noone interferes.") 2. load the app image 3. finish pre-registration with the registrar ("I have launched the app, here is its team ID.") 4. start app main thread 5. send "on launch" messages to the app (argv, refs, others) If the app is already running or being launched, 1. fails with a conclusive error code and returns the team ID and the pre-registration token of the app. Steps 2 - 4 are skipped and only the messages are delivered using the team ID returned by 1. This change fixes a race condition: The failed early pre-registration request obviously cannot return the team ID, if the other thread launching the app has not finished step 3 yet. Thus the argv/refs message would not get delivered and Launch() would not return the correct team ID. Now we wait for the pre-registration to be finished in this case, using the former _IsAppPreRegistered() mechanism, which already provided such a waiting feature for one request. It has been extended to accomodate an arbitrary number of waiting requests and renamed to _IsAppRegistered(). This fixed bug #763. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18728 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d93a13bb4199074729053b6bd6705dd0438f315 |
|
11-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
The registrar marks itself now as a B_BACKGROUND_APP application, so that it is no longer visible in the Deskbar. Changed registrar.rdef to match the same application flags, and added a comment that those flags are actually ignored. Cleaned it up a bit, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15508 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ceb1e519c0447147b1d8b54a324bb7fedd3a606 |
|
20-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* reverted Adi's premature changes to BWindow and restored _DetermineTarget() and task_looper() again. * removed BMessenger::fPreferred - whenever you had to specify "usePreferred" separately, you don't have to do that anymore - use B_PREFERRED_TOKEN instead. * fixed BTokenSpace::GetToken() semantics: it will no longer touch the "object" argument in case of failure. * Introduced a BWindow::_DistributeMessage() that will be part of the event dispatcher counterpart to the app_server (the other will be _DetermineTarget()). * Made it easier to use Michael's Message4 implementation: just add the following line to your UserBuildConfig: AppendToConfigVar DEFINES : HAIKU_TOP src : USING_MESSAGE4 : global ; * Introduced ServerWindow::HandlerMessenger() and FocusMessenger() - the first will target the client handler, while the other will target the preferred handler of the client looper (usually the view having focus). * Fixed dano message unflattening in the Message4 code. * Changed BMessage::PrintToStream() to no longer use macros in the Message4 implementation. * I hope that's all - it's a huge change, but it's all connected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e05fe1042cce6e00d194a147802d4f9be |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
18b5424c5f12197d3979cf38dc69149c5e98150c |
|
24-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented BRoster::ActivateApp(). * Added the respective case statement in AppServer::DispatchMessage(). The code that actually activates the app is still missing. * Removed the remnants of the old way of notifying the registrar about what app got activated (the activated client window did that). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13820 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bb00e2687c402f77b45ced67a392e81f8f42d92f |
|
18-Jul-2005 |
Axel Dörfler <axeld@pinc-software.de> |
MIME types and signatures are case insensitive. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13730 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
852425d47038653c74910f6a39229194f3d9ece6 |
|
16-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Also consider the kernel team a "vital system app" that deserves not to be killed. Shutdown now works under qemu, although even shutdown reboots... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13707 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29aa57037d97141c18fa70e9c037508d95a1403d |
|
11-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Now we have a hardcoded list of apps which shall not be terminated on shutdown (input, app, debug server, and registrar). * Fixed crashing bug, if the shutdown was aborted before the window was created. * The text of the confirmation alert depends on whether we reboot or shut down. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13643 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b454d971de0b410c4194a1eea853d99be4321cc |
|
07-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Background applications are now ask to quit in parallel. * Implemented handling of apps blocking on modal windows. * Fixed a few bugs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13539 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
553ea30124732e31346177c3bab544e074231b8e |
|
03-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved TRoster out of the BPrivate namespace. It does no longer appear in any public header. * Replaced a good deal of the MessageDeliverer's DeliverMessage() versions by more general ones using the new interface MessagingTargetSet to represent a set of targets. This simplifies the usage in cases where the caller doesn't already have the targets in a supported representation. * Implemented a first approximation of the shutdown process. There is no GUI yet. Only superficially tested under R5. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
634f747e2979b7d12f338e4534fc87efe4ab7506 |
|
29-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Now we use the MessageDeliverer to send asynchronous messages to other apps. Seems to work when the target port is not full. The other case has not been tested yet. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
42be32659a5f6f3562ca0d7bf4416373cd0a01dd |
|
25-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
TRoster is no longer a friend of BMessenger -- use BMessenger::Private. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11032 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48f570b5c78b1d6ac999923434e08edf2fe7cb18 |
|
17-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The settings file is now called "HaikuRosterSettings" instead of "OpenBeOS...". * Obtain the path of the settings dir via find_directory(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10817 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32453e90e0760eddaf450632f13677c7a3ec184b |
|
04-Jun-2003 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3429 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bde02ae7b639be0ec8595ecec3577d7926a1f39 |
|
08-Nov-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
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
|
#
4f03f5d26897f53b512f9ce28f22de1bc2df53de |
|
07-Nov-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
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
|
#
fde0f1b873d1d2c692c23e5f3483f44e9c498059 |
|
31-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Implemented HandleGetRecent{Documents,Folders}() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1798 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
230719b5734db91128c654fba1e07ffc16bbd368 |
|
27-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
- 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
|
#
7a0335c8a35bff97a843dff14eb85b70fa281483 |
|
18-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for roster watching. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56d4d6378e43042467e5f3245144da1e1be8afac |
|
15-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added handling for broadcast request (BRoster::Broadcast()). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1542 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b48b6fb59846f27c607380b66bf31ff9b8eda758 |
|
14-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
af8eec40804a3851d6820bacca1e456a14a48172 |
|
07-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
4000397895def2ae74fb73a1a35b3c4041a51a09 |
|
06-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More debugging output. Yeah!!! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ca9f21f13e32a04eb81af6ddcaa9f142d395ad7 |
|
03-Aug-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More debugging output. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@565 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e949b7dfcb1beacd57377e0d887abc6058587bf |
|
28-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
d744dd13ab9978cbd7d272c1004f4e12b87511c8 |
|
28-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* 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
|
#
a12aef2bee8a2f84786d62654b5f1a73fcd079cc |
|
27-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* 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
|
#
1d32138d6f9956f2e3b6b76b2495a414c661bfc4 |
|
26-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
f9fd58cc75fc9cdeb53495c6a21bb9a29f0289c0 |
|
23-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|