Commit Graph

1279 Commits

Author SHA1 Message Date
Axel Dörfler 44d78872df user launch: Fixed mail_daemon signature.
* This allows the launch_daemon to properly quit the mail_daemon.
2015-11-22 11:35:01 +01:00
autonielx 994a17c564 Update translations from Pootle 2015-11-21 06:36:48 +01:00
autonielx d7188e0b65 Update translations from Pootle 2015-11-14 06:39:38 +01:00
Axel Dörfler 64df3e0483 launch_daemon: Added forgotten time update/dstcheck. 2015-11-07 21:58:12 +01:00
Axel Dörfler de0e15ae8c launch_daemon: corrected print server signature.
* Not sure yet why it actually worked before; must be some other
  bug :-)
2015-11-07 21:58:12 +01:00
François Revol 9b1ce4307b Added flag for the Breton language.
Anyone wants to do the translation?

BZH POWAH!
2015-11-07 18:32:27 +01:00
Humdinger 702f1b2e88 Added flag for the Catalan language.
Currently used in the user guide and welcome pages.
2015-11-07 14:37:15 +01:00
autonielx f22bfa7665 Update translations from Pootle 2015-11-07 06:32:09 +01:00
Axel Dörfler d8c0972a81 launch_daemon: Added "setting" condition.
* Moved the mail_daemon to the user startup, and start it only if
  enabled in the settings.
2015-11-06 22:49:17 +01:00
autonielx ef8ce1adf7 Update translations from Pootle 2015-10-31 06:30:55 +01:00
Jérôme Duval e02111ea5d HaikuBootstrap: launch bootstrap_daemon.py on boot.
* removed screen_saver and shortcut_catcher input addons, they need libgame or libGL.
2015-10-21 19:14:15 +02:00
Axel Dörfler d2eca26b73 Moved per user post install actions to first-login script.
* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
  scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
  running yet (for example on first boot when the FirstBootPrompt
  starts), or, IOW bug #12275.
2015-10-19 21:27:02 +02:00
Axel Dörfler d9bb9513c5 launch_daemon: "file_exists" now resolves $HOME, and '~'. 2015-10-19 21:22:21 +02:00
Axel Dörfler 4e8fc45146 Deskbar: converted to BServer. 2015-10-19 21:21:56 +02:00
Axel Dörfler cfe6baf62f cddb_daemon: renamed to cddb_lookup, moved to /src/bin.
* It's now a standard command line tool that is launched automatically
  via the launch_daemon whenver a volume is mounted.
2015-10-19 21:21:21 +02:00
Axel Dörfler b5e496b575 notification_server: Converted to BServer, launch on demand. 2015-10-14 22:24:19 +02:00
Axel Dörfler 8f27961801 midi_server: Converted to BServer, launched on demand. 2015-10-14 22:24:01 +02:00
Axel Dörfler 37e5a03660 print_server: Converted to launch_daemon, run on demand only.
* Seems to work fine, although it should probably also be triggered when
  there are still jobs in the queue -- someone more knowledgeable might
  want to chime in here, please :-)
* If this turns out to be problematic, we can just drop the "on_demand"
  job config again.
2015-10-13 16:37:38 +02:00
autonielx 7e26adffc0 Update translations from Pootle 2015-09-26 06:48:57 +02:00
autonielx b4c4b96794 Update translations from Pootle 2015-09-19 06:33:44 +02:00
autonielx 6d16a7f007 Update translations from Pootle 2015-09-12 06:37:23 +02:00
Alexander von Gluck IV 635fe4746d network: Add missing hosts configuration file
* Provides localhost define to the network kit
* Resolves #12260 and others
2015-09-09 09:30:38 -05:00
autonielx f3565aaab0 Update translations from Pootle 2015-09-05 06:40:57 +02:00
autonielx 796e1fd04f Update translations from Pootle 2015-08-29 06:37:02 +02:00
autonielx 6b6288a6de Update translations from Pootle 2015-08-22 06:42:07 +02:00
autonielx 73d0cc7227 Update translations from Pootle 2015-08-15 06:29:57 +02:00
Rene Gollent 03bf949ed4 launch_daemon: Correctly fix #12289 as pointed out by Axel.
- Rather than depending just on mount_server's launch, instead use
  a condition that waits for the volumes mounted event. Had missed
  the existence of this one previously.
2015-08-08 17:12:17 -04:00
autonielx 659d55b41b Update translations from Pootle 2015-08-08 06:31:42 +02:00
Rene Gollent fdc32a3844 Launch configuration: Fix #12289.
- Adjust launch configuration such that media_server requires mount_server.
  Otherwise, if the user has specified sound files for any events that are
  on non-boot disks, these won't be found/loaded properly during the boot
  process.
2015-08-07 22:05:08 -04:00
autonielx 0bce02f1de Update translations from Pootle 2015-08-01 06:38:35 +02:00
autonielx 5d8a237146 Update translations from Pootle 2015-07-25 06:38:39 +02:00
Augustin Cavalier 10f255b925 data/artwork/icons: Tweaks/fixes.
Re-centering, fix clipped edges, etc.
2015-07-23 15:37:26 -04:00
Augustin Cavalier bfa8608fa7 dvb channels: Delete from tree.
Not included in the build, and this is isn't the place for such datafiles.
TV channels in Germany have probably changed since 2007 anyway.
2015-07-23 15:16:33 -04:00
Augustin Cavalier 990a73c29a Mail: Use BToolBar and vector icons.
Fixes #9519. Partially using the patch there, but most of this
is my own work.
2015-07-22 17:38:00 -04:00
Rene Gollent 006fd65396 Add missing launch definition for net_server. 2015-07-22 17:19:02 -04:00
Axel Dörfler 65ed8a5e87 Added post-install script, and start UserBootscript again.
* This is the final missing piece of the former boot process.
* Removed the unused Bootscript, and Bootscript.cd files.
2015-07-22 20:45:43 +02:00
Axel Dörfler 5e17d2d743 mount_server: Ported to a launch_daemon world.
* Now inherits from BServer, and gets its message port from the
  launch_daemon.
* It registers an event "initial_volumes_mounted" that allows other
  services to be started afterwards.
* This is now used in the boot launch files, and makes the scripting
  based previous solution superfluous which has been removed with this
  commit, too.
* This implements the last needed feature in order to reproduce the
  complete former boot process using the launch_daemon.
2015-07-22 20:45:29 +02:00
Axel Dörfler 1ec3f11d97 Create installer link in live mode, check existence.
* FirstBootPrompt as well as the Installer do not exist on the
  minimum image, so take this into account when making the startup
  target decisions.
2015-07-22 20:44:48 +02:00
Axel Dörfler 634aefe4fd launch_daemon: Now supports getting the env from a script.
* Scripts from targets are evaluated once on first target launch,
  scripts from jobs are evaluated on each start.
* The "desktop" target now sources SetupEnvironment as usual.
2015-07-22 20:44:16 +02:00
Axel Dörfler 05a567f609 Added autologin command, and use it by default.
* This will handle our current single-user login needs.
* Removed Login from the minimum image again.
2015-07-22 20:43:54 +02:00
Axel Dörfler 4c67f79c2c FirstBootPrompt: launch installer/desktop targets directly.
* No need for shell scripting here.
2015-07-22 20:43:44 +02:00
Axel Dörfler 638ee09556 data/launch/user: Fixed FirstBootPrompt location.
* Now started via signature (it lives in bin, not apps).
2015-07-22 20:43:30 +02:00
Axel Dörfler 004cd6709d launch_daemon: Added run directive.
* Allows to conditionally (or unconditionally) launch targets.
* Including tests for the settings parser.
* FirstBootPrompt is now launched when deemed necessary (as in
  the Bootscript).
2015-07-22 20:43:08 +02:00
Axel Dörfler c086a1834b launch_daemon: Improved target support.
* You can now put jobs/services into a target.
* Instead of having Login started as part of the normal boot process,
  it's now in the "login" target.
* The app_server now launches the login target when a login becomes
  available (ie. during startup, but that could be improved later on).
2015-07-22 20:41:51 +02:00
Axel Dörfler ac0a462fba launch_daemon: Basic user session implementation.
* Instead of launching Tracker/Deskbar directly, we now launch the
  Login application.
* This will now start a new session for the selected user (the password
  is currently ignored).
* When a user session is started, the launch_daemon forks, and the
  child then restarts the LaunchDaemon application in user mode.
* It then registers itself with its parent, in order to resolve user
  dependent services.
* Added a user launch file that will cause Tracker, and Deskbar to
  start in the new session.
2015-07-22 20:41:37 +02:00
Axel Dörfler bea38cb711 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.
2015-07-22 20:41:01 +02:00
Axel Dörfler 43aec2c726 launch_daemon: added support for arbitrary ports.
* Dropped "create_port" -- this is now the default for services.
* Additionally (or alternatively, if you use the "legacy" mode), you can
  now create named ports, and specify their capacity.
* Added convenience methods to BLaunchRoster that automatically use the
  signature of the current be_app.
2015-07-22 20:40:38 +02:00
Axel Dörfler 89168ad8b9 Boot the system via launch_daemon.
* This is actually working already, although we cannot reproduce all
  the features of the former Bootscript yet. This is without any
  dependency support in launch_daemon.
* All shell activity like cleaning out /tmp, setting up the environment,
  setting the time, etc. is not yet working.
2015-07-22 20:40:33 +02:00
Axel Dörfler 1480e5da6f The beginnings of a launch_daemon for Haiku.
* This will be heavily inspired by Apple's launchd, as well as
  systemd -- for now it really doesn't do a whole lot, though.
* What works so far: the configuration files are read, parsed, and
  the jobs created.
* The jobs are even initialized, and their message ports created.
* BApplication now retrieves a previously created port from the
  launch_daemon for use with BServer.
* Only the registrar actually uses this for now.
2015-07-22 20:39:47 +02:00
autonielx 863e198a8d Update translations from Pootle 2015-07-18 06:36:31 +02:00
autonielx 1f5588ed21 Update translations from Pootle 2015-07-11 06:40:05 +02:00
autonielx bcc99269a3 Update translations from Pootle 2015-07-04 06:36:12 +02:00
Augustin Cavalier 82652e65f7 licenses: Remove UnRAR, only used by one port.
The "unrar" port now has its own copy.
2015-07-01 18:24:27 -04:00
Augustin Cavalier aa1c93fcd9 licenses: Remove 'Unicode', it's now part of the ICU license...
... that's in the HaikuPorts tree.
2015-07-01 18:24:24 -04:00
Augustin Cavalier f7061938a4 licenses: Remove MkDepend, just the MIT license.
Recipe already uses "MIT".
2015-07-01 18:24:22 -04:00
Augustin Cavalier e225789777 licenses: Remove ICU, only used by one program and outdated. 2015-07-01 18:24:19 -04:00
Augustin Cavalier b52caddca9 licenses: Remove Info-ZIP, only used by one program. 2015-07-01 18:24:16 -04:00
Augustin Cavalier 5eac24a148 licenses: Remove "Expat", it's just the MIT License.
The recipe already uses "MIT".
2015-07-01 18:24:14 -04:00
Augustin Cavalier d54a7812f6 licenses: Get rid of the two versions of the Artisic License.
They're the same thing. The "Perl" one has better formatting, though,
so keep that one.
2015-07-01 18:24:11 -04:00
Augustin Cavalier dd29ef00f8 licenses: Public Domain: Include the full text. 2015-07-01 18:24:08 -04:00
autonielx 6d7a90882c Update translations from Pootle 2015-06-27 06:30:55 +02:00
Augustin Cavalier 114bdfb3b4 makefile-engine: fix typo.
That's what I get for not checking the diffs after a merge/rebase/reset...
2015-06-22 13:25:52 -04:00
Augustin Cavalier a6d8195475 makefile-engine: use .PHONY for "clean". 2015-06-22 13:20:15 -04:00
Augustin Cavalier 9436959d0a makefile-engine: use mkdir -p instead of a complicated expression. 2015-06-22 13:20:12 -04:00
Augustin Cavalier d17092ceb1 makefile-engine: whitespace / comments cleanup. No functional change. 2015-06-22 13:20:09 -04:00
Adrien Destugues 60295ba1f7 Move ports and protocols files back to data directory in Haiku package.
These files are required for netresolv functionality, and there is no
real use in modifying them as settings files. Restore the previous
behavior, the files are stored in data and part of the Haiku package.

This means there is no need for a fresh install from image to get the
files anymore.

Fixes #12156.
2015-06-20 11:52:13 +02:00
autonielx fa524d60e3 Update translations from Pootle 2015-06-20 06:33:36 +02:00
Augustin Cavalier 6eafb4b041 Replace a few references to Subversion with Git.
There are a whole bunch more of these around, but these were the
ones I was confident replacing.
2015-06-19 15:36:52 -04:00
Adrien Destugues 8d2aee6bc8 libbind: integrate "netresolv" patches from NetBSD.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/

There isn't an official release yet, but they provide a set of patches
against the latest libbind release.

* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.

Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
2015-06-14 15:47:03 +02:00
autonielx 8e1789482a Update translations from Pootle 2015-06-13 06:32:45 +02:00
Jessica Hamilton 0975f16f7c setarch: use a login shell; fixes #12066.
* This also updates /etc/profile to detect whether our
  parent process is a shell, and changes the banner
  message accordingly.
* Also, pipe errors to /dev/null, in case grep is not
  installed; this allows us to not require grep as a
  dependency, and let the banner message do the right
  thing.
2015-06-12 19:29:19 +12:00
autonielx cf9328df22 Update translations from Pootle 2015-05-30 06:35:49 +02:00
autonielx 30a70103eb Update translations from Pootle 2015-05-23 06:28:50 +02:00
autonielx 9fed3c6836 Update translations from Pootle 2015-05-16 06:37:08 +02:00
autonielx 684739c6bd Update translations from Pootle 2015-05-09 06:36:46 +02:00
autonielx 51b75965cd Update translations from Pootle 2015-05-02 06:39:19 +02:00
autonielx 10d3384452 Update translations from Pootle 2015-04-25 06:27:26 +02:00
autonielx 1f1df3671c Update translations from Pootle 2015-04-18 06:27:31 +02:00
autonielx 1a704d4de9 Update translations from Pootle 2015-04-11 06:27:18 +02:00
autonielx 5ecdb49e5f Update translations from Pootle 2015-04-04 06:37:21 +02:00
François Revol 7332f46513 Add an icon for SD Card devices 2015-04-03 02:07:55 +02:00
Axel Dörfler 2889e51c4e SetupEnvironment: removed old audio legacy cruft.
* Haiku never supported this.
2015-04-02 13:25:54 +02:00
Axel Dörfler c733458294 Removed old, and unused Netscript. 2015-04-02 13:25:49 +02:00
Augustin Cavalier f24bfb3e90 icons: delete the App_BeShare icon.
BeShare now uses it and has it in its tree, so no need to keep
it here.
2015-03-29 18:10:48 -04:00
autonielx 83d05088a3 Update translations from Pootle 2015-03-28 06:31:11 +01:00
Axel Dörfler a2d9c45398 profile: enlarged HISTFILESIZE to 500.
* 50 isn't really contemporary anymore.
2015-03-24 22:41:52 +00:00
autonielx b4a7201117 Update translations from Pootle 2015-03-21 06:22:26 +01:00
autonielx bd796f1c86 Update translations from Pootle 2015-03-14 06:30:20 +01:00
autonielx ac6b4d6f37 Update translations from Pootle 2015-03-07 06:31:53 +01:00
Augustin Cavalier c4be934261 mime_db: add Jar mimetype and icon.
Huge thank you to Justin Stressman for the coffee cup icon!
2015-03-01 12:44:43 -05:00
autonielx ba155ed840 Update translations from Pootle 2015-02-28 06:38:32 +01:00
autonielx 90cad11eec Update translations from Pootle 2015-02-21 06:28:26 +01:00
autonielx 8ffd23996e Update translations from Pootle 2015-02-14 06:29:19 +01:00
Augustin Cavalier 4230183ded Tracker/StatusWindow: use vector icons.
Fixes #11711.
2015-02-11 23:14:44 -05:00
autonielx 1560ed05f3 Update translations from Pootle 2015-02-07 06:25:25 +01:00
autonielx ef16a87ca3 Update translations from Pootle 2015-01-31 08:02:51 +01:00
Augustin Cavalier e7803cf1f6 Tracker: use the Layout API wherever possible.
Sorry this commit is so big, but I couldn't figure out how to do this
incrementally without breaking things.

I wasn't able to just merge Aldeck's branch, as it was a partial refactor
of Tracker and didn't just rewrite the UI creation code to use layouts,
and the changes for PM (e.g. addon loading, virtual directories) made it
very hard to merge (it doesn't even compile after an automerge) so rather
than spending time on that, I decided it'd be better to recreate his work.

Miscellaneous notes:
 - This partially cleans up BPoseView & subclasses and BContainerWindow &
   subclasses -- none of the subclasses and child views abuse the parent's
   state, child views, or layout now.
 - BFilePanel and BDeskWindow are not on layouts, because:
   * BFilePanel docs in the Be Book instructed developers that wanted to
     modify BFilePanel's layout to just use FindView() and then move the
     views around. Obviously making it use layouts will break all BeOS
     apps that do this, and there are a lot of them (Pe, WonderBrush are
     just two examples.) I've added a note to the TODO list for R2 to create
     a layout-compatible API for this.
   * Some replicants (Workspaces, for example) rely on manipulating
     BDeskWindow's drawing state. This is incompatible with layouts, as
     at least in the case of Workspaces, it breaks a layouted version
     of BDeskWindow entirely.
 - I noticed a lot of #ifdef BEOS_VERSION ... gunk in the code. Tracker
   probably didn't build on BeOS just before this commit, and now it
   won't for sure, so I intend to go through and clean that out in the
   near future.

This commit also fixes:
 - enhancement #4996 (make Tracker's navigator use vector icons)
 - bug #3039 (resizing OpenWithWindow flashes the blue border)
 - bug #3889 (OpenWithWindow redraw errors)
 - a regression that was a side effect of "dynamic_cast<BDeskWindow*>(this)"
   always returning NULL when run in the constructor. I just added a "bool
   isDeskWindow" to BContainerWindow's constructor that is only set to true
   by BDeskWindow.
 - a copy&paste error in VirtualDirectoryPoseView that was passing "uint32
   resizeMode" as "uint32 viewMode".

Thanks to Alexandre for his original branch (it was a very useful
reference), Axel (for some miscellaneous advice & encouragement),
Adrien & Humdinger (for user interface review), and Diver (for user
interface review & testing).
2015-01-27 01:43:51 -05:00
autonielx 08e6e2aef8 Update translations from Pootle 2015-01-24 06:36:37 +01:00
autonielx 1ff0a2b51a Update translations from Pootle 2015-01-17 06:35:41 +01:00
autonielx 740112693b Update translations from Pootle 2015-01-10 07:26:25 +01:00