Commit Graph

1241 Commits

Author SHA1 Message Date
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
Augustin Cavalier
7732094125 data/bin/welcome: update #! line to reference sh and not bash.
Fixes #11719.
Makes it possible to use another shell package to run Haiku (such as zsh
or mksh).

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:58:29 +01:00
Augustin Cavalier
0de25abadc bash_completion: delete from tree.
This was an old version of bash_completion and not included in the
image. An haikuports recipe is available if you need it.

Fixes #11660.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 12:03:45 +01:00
luroh
1d5b36cee2 Clean up FreeType outsourcing leftovers
- Remove obsolete FreeType docs
  - Remove obsolete FreeType license
  - Update FreeType license and copyrights in AboutSystem

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11697
2015-01-05 11:23:02 +01:00
autonielx
d35b138450 Update translations from Pootle 2015-01-03 06:38:47 +01:00
autonielx
ff18d61427 Update translations from Pootle 2014-12-27 06:30:40 +01:00
autonielx
0305947d0a Update translations from Pootle 2014-12-20 06:34:55 +01:00
Timothy Gu
e7dceac3fa Outsource DejaVu fonts
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-12-16 09:39:02 +01:00
autonielx
0aa4a1284c Update translations from Pootle 2014-12-13 06:29:07 +01:00
Adrien Destugues
bd67cb1531 Outsource VL-Gothic font.
Fixes #11576.
2014-12-08 09:28:08 +01:00
autonielx
1f4afc1217 Update translations from Pootle 2014-12-06 06:30:41 +01:00
autonielx
24cddc96bc December 2014 update: remove Norwegian, Hindi and Greek 2014-12-06 06:30:41 +01:00
autonielx
ef6da249e2 Update translations from Pootle 2014-11-29 07:53:00 +01:00
autonielx
120525a214 Remove the cdplayer app, it is not used anymore 2014-11-29 07:52:59 +01:00
Alexander von Gluck IV
f83af26271 data: Kernel settings file
* Add example line to always boot using safe
  video mode (vesa)
2014-11-28 20:37:02 -06:00
autonielx
8d48eb9311 Update translations from Pootle 2014-11-22 06:34:05 +01:00
Adrien Destugues
09c2f0cb55 Remove leftover catkey files with wrong names.
The correct ones are pt_BR and zh_Hans, which are updated from Pootle
weekly.
2014-11-18 10:26:36 +01:00
Adrien Destugues
83b1a68c52 Move NetFS to a package
This is based on Jalopeura's patch to #10191, however, there are some
changes.
From the patch:
* Make userlandfs use separate "interface definition" files for each
filesystem, so the netfs package can provide a configuration file
* Add a short document on how to use NetFS
* Various fixes to netfs to make it build again (volatile atomics)
* The netfs_mount script for easier use of NetFS

Additional fixes:
* Move netfs_mount and the interface description file to data/ in the
source tree
* Use strlcat instead of strcat to avoid a buffer overflow
* Some parts were already applied in previous commits
2014-11-17 15:24:07 +01:00
autonielx
9bce27d261 Update translations from Pootle 2014-11-15 06:26:02 +01:00
autonielx
84de2ceb27 Update translations from Pootle 2014-11-08 06:52:02 +01:00
Adrien Destugues
2c291e65bd Update VL-Gothic fonts to 20140801.
Fixes #9757.
2014-11-07 20:38:58 +01:00
autonielx
816548962e Update translations from Pootle 2014-11-01 06:26:02 +01:00
François Revol
ebc6d4d0b0 Add an icon for LZIP archive files 2014-10-27 23:49:31 +01:00
autonielx
24f7b6ad3b Update translations from Pootle 2014-10-25 06:22:10 +02:00
Michael Lotz
1180b66081 PowerStatus: Implement battery low/critical notifications.
It shows a notification once the "low percentage" is reached (currently
at 15 percent) and once when the battery is about to die. This logic
should probably be revised to be based on remaining time instead. The
notification icons are simple variations of the PowerStatus icon.
2014-10-23 20:07:21 +02:00
Adrien Destugues
ff0f13f37a readline: also restore behavior for directories.
Thanks to Diver for checking.
2014-10-19 12:20:57 +02:00
Adrien Destugues
41660cabf4 readline: enable mark-symlinked-directories
This allows "ls /sys<TAB>" to complete to "/system/" rather than
"/system". It restores the behavior as it was before we outsourced bash.
2014-10-19 12:14:08 +02:00
Adrien Destugues
bbcce443cc Remove more of Canna.
Fixes #11186 for real.
2014-10-18 14:40:43 +02:00
autonielx
bcd40fc754 Update translations from Pootle 2014-10-18 06:25:34 +02:00
autonielx
6668f854b0 Update translations from Pootle 2014-10-11 16:57:37 +02:00
autonielx
66d980dfe8 Update translations from Pootle 2014-10-11 06:21:24 +02:00
autonielx
c6e3208e3e Update translations from Pootle 2014-10-04 06:19:59 +02:00
Augustin Cavalier
cda4988751 Template Makefile: stupid fix to get it working again.
No idea how I escaped this backslash...

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-09-29 11:44:50 +13:00
autonielx
d2e55506ad Update translations from Pootle 2014-09-27 06:22:18 +02:00
autonielx
937e70aa28 Update translations from Pootle 2014-09-20 06:22:44 +02:00
Augustin Cavalier
016ef2de8b makefile_engine: fix wording, rewrap, bump version, capitalize name.
* Improve wording, fix spelling errors, rewrap
* Capitalize name
* Adjust templates to match.

Fixes #11158.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-09-18 16:29:44 +02:00
autonielx
884dab8a17 Update translations from Pootle 2014-09-06 06:19:21 +02:00
Humdinger
18684e0caf Added alternative and improved icons for Be and Zeta disks 2014-08-31 19:11:09 +02:00
autonielx
54a3250ae2 Update translations from Pootle 2014-08-30 06:25:03 +02:00