Commit Graph
1374 Commits
Author SHA1 Message Date
Adrien Destugues 9a152c9cb0 Change the prompt again.
As expected there was a lot of bikeshedding.

Just change the color of the path, green on success, red on failure.

Constraints taken into account:
- Keep the > for now
- Prompt should be as compact as possible for those of us using 80
  column terminals.
- Prompt should not change size between success and error cases

Not taken into account:
- The feature should be accessible to colorblind people (we could
  replace the > with another char but we couldn't find something that
  looks suitable)
2018-08-23 17:51:21 +02:00
Autocomitter de66924c46 Update translations from Pootle 2018-08-22 07:49:31 +00:00
Augustin Cavalier 9d1582e31a etc/profile: Add kallisti5's smiley-face $? indicator and use $ not >.
An example of the new prompt line format is:

~/Desktop/haiku :) $

Or if the last command exited in failure:

~/Desktop/haiku :( $

The smiley-face will be either dark green or red, also depending on
the command status.

I realize this could be a tad controversial, especially for those used
to the old prompt, but it seems to be a pretty useful feature to me
(and of course kallisti5 came up with it.) But if the bikeshed turns
out to be too large, we can revert it and deal with it after the beta.

As for $ vs > -- BeOS R5 used $, most modern Linux uses $, and having >
come after a space looks much stranger.
2018-08-21 21:13:51 -04:00
François Revol e4fac18200 data/profile: fix and simplify secondary arch detection
The previous code was wrong: running bash --login was reported
as if we used setarch x86_gcc2.

Current code also saves 3 fork+exec.
2018-08-21 23:26:33 +02:00
Augustin Cavalier bddcee2a27 data: Fix locale setup in SetupEnvironment and remove it from etc/profile.
These changes were made to etc/profile by PulkoMandy last year, but he missed
making the change in SetupEnvironment. etc/profile calls SetupEnvironment,
so we can consolidate all this there.

Also clean up some syntax.
2018-08-21 17:01:53 -04:00
[email protected] 5174b9e8d1 Revert "Update translations from Pootle"
This reverts commit 6b7f260899.
2018-08-21 17:58:13 +00:00
Autocomitter 6b7f260899 Update translations from Pootle 2018-08-21 14:12:05 +00:00
Augustin Cavalier f7c507c3a6 data/bin: Update userguide URLs. 2018-08-20 21:00:25 -04:00
[email protected] 6d6e652657 Update translations& initial Indonesian export from Pootle. 2018-08-14 22:18:18 +00:00
Autocomitter ef9994ee77 Update translations from Pootle 2018-08-13 19:45:39 +00:00
Augustin Cavalier 26ae216d0e realtekwifi: Import from FreeBSD 11.1.
Untested, but requested by Anarchos.
2018-07-31 19:50:46 -04:00
Augustin Cavalier e89c61736e drivers/network/wlan: Import idualwifi7260 from FreeBSD 11.2.
The lowest model number supported by this driver is "3160", but that's just
Intel's insanity: the 7260 was released the quarter before it. So following
our naming convention strictly, "7260" is the correct name for this driver.

The firmware situation for this one is also a little different. Unlike past
instances where Intel has released mostly nonsubstantial firmware updates,
allowing us to just copy a recent-ish version from the iwlwifi archives,
the firmware is more closely tied to the driver in this series. As a result,
some of this firmware is not even used by Linux yet (they're a few versions
behind it seems), so the firmware packages included here come from FreeBSD.

One major hardware feature - RX of multiple frames at a time - is disabled
in this commit, as it depends on mbuf reference-counting, according to the
FreeBSD developers I asked, which we do not implement yet. I'll hopefully
get to looking at that in the next few weeks.

And with that, I finally have WiFi on my primary laptop, my original reason
for setting out on this quest last year. This commit was pushed through it,
even :)
2018-07-04 20:46:32 -04:00
Jérôme Duval c48bd46fd8 remove unused firmware. 2018-06-29 16:36:32 +02:00
Autocomitter c2b58737a1 Update translations from Pootle 2018-06-23 19:16:38 +00:00
Andrew Lindesay a9edb9bffa HaikuDepot: Multiple improvements for user-ratings
* Display of the user-ratings listing improved
* When a user-rating is created / edited, the pkg is updated
* Creation date of the user-rating is unpacked shown
* Ability to create a user-rating with a comment, but no numerical rating
* Stars display show grey if no numerical rating present
* Improvements to error reporting when problem arise
* Parsing of the 'revision' field of the version working
* Removed debug logging for the text engine
* Other minor tweaks

Change-Id: I99f881ab1426641ef4177eec2d3bcacc7cb74e95
2018-06-09 17:07:03 +00:00
Autocomitter 6973d22af3 Update translations from Pootle 2018-05-26 08:51:20 +00:00
Automatic committer 5e16931b6c Update translations from Pootle 2018-05-24 06:10:38 +00:00
Automatic Committer 6675afbae2 Update translations from Pootle 2018-04-21 07:13:23 +02:00
Automatic Committer 76a3fe60e2 Update translations from Pootle 2018-04-21 07:13:23 +02:00
Automatic Committer fbc298d331 Update translations from Pootle 2018-04-07 07:30:14 +02:00
Automatic Committer ca675593e4 Update translations from Pootle 2018-03-31 07:36:23 +02:00
Automatic Committer 8e27fff0df Update translations from Pootle 2018-03-24 07:52:09 +01:00
Automatic Committer af48b083fd Update translations from Pootle 2018-03-17 07:29:02 +01:00
Automatic Committer cb49e022e6 Update translations from Pootle 2018-03-15 11:54:08 +01:00
Automatic Committer 6285deba8e Update translations from Pootle 2018-03-03 21:11:58 +01:00
Automatic Committer 5f071d4aee Remove unused translation catalogs 2018-02-26 20:22:26 +01:00
Automatic Committer 42b3847379 Update translations from Pootle 2018-02-23 13:15:49 +01:00
Automatic Committer a477cca575 Update translations from Pootle 2018-02-17 07:04:34 +01:00
Autocommitter a298f79ff9 Update translations from Pootle 2018-02-11 10:21:10 +01:00
Humdinger 2539550c6e Improved Belarus flag 2018-02-05 21:21:04 +01:00
Automatic Committer e229bf70b8 Update translations from Pootle 2017-12-23 07:32:05 +01:00
Automatic Committer 8864c07215 Update translations from Pootle 2017-12-16 07:16:30 +01:00
Automatic Committer 2bb7cb8d87 Update translations from Pootle 2017-11-25 07:09:34 +01:00
Jérôme Duval b247f935d1 install-wifi-firmwares.sh: remove haiku requires.
fixes #13794
2017-11-23 17:11:51 +01:00
Adrien Destugues 5f4f984a94 etc/profile: Fix setting of LC_* variables
Since hrev51075, locale -m changed meaning to the one expected by POSIX
(it now lists character maps, instead of giving the current language).

Since the short options may change again (locale -c is still not doing
what POSIX requires), use long options instead. This is more readable
and POSIX doesn't specify anything there so we can name them however we
want.

Fixes date parsing in Python which relies on these variables to detect
the current locale.
2017-11-23 14:50:11 +01:00
Michael Lotz 83241299ce Move the HTML5 remote desktop client to src/tools. 2017-11-21 22:28:07 +01:00
Michael Lotz 85195eb807 Add a HTML5 client for the remote desktop protocol.
It is implemented using websockets and canvas darwing. It directly
speaks the remote desktop protocol. A websocket proxy that translates
the TCP connection into a usable form is needed. Websockify works for
this out of the box directly under Haiku.

Note that not all drawing modes are implemented, and most of them don't
have a good match on the canvas side. Fonts are also not properly
supported yet. A sans serif font will be used on the client for
everything and the metrics between the client and server will diverge
and cause drawing artifacts.

Usage:

* Run an application with a target screen to create the desktop:

	TARGET_SCREEN=5001 Terminal

* Use a websocket proxy to expose the port via websockets:

	websockify.py 5000 localhost:5001

* Open HaikuRemoteDesktop.html in a browser and connect.

To get the full desktop experience you may want to run Tracker and
Deskbar inside the virtual desktop. As they are both single launch
and controlled by the launch_daemon, you have to stop them via:

	launch_roster stop x-vnd.be-trak
	launch_roster stop x-vnd.be-tskb

And then start them manually from within the virtual desktop:

	/system/Tracker &
	/system/Deskbar &
2017-11-21 22:18:17 +01:00
Automatic Committer 1c53604c91 Update translations from Pootle 2017-11-18 06:52:28 +01:00
Automatic Committer 5d9eb1eb1b Update translations from Pootle 2017-11-11 07:09:23 +01:00
Automatic Committer 1b4c7733e8 Update translations from Pootle 2017-11-04 06:59:41 +01:00
Automatic Committer a9f88c6718 Update translations from Pootle 2017-11-04 06:59:41 +01:00
Automatic Committer 4cbdb1d7d2 Update translations from Pootle 2017-10-21 07:04:25 +02:00
Automatic Committer 64aae234a1 Update translations from Pootle 2017-10-14 06:55:10 +02:00
Automatic Committer 72170ccebf Update translations from Pootle 2017-10-07 06:48:05 +02:00
autonielx de93df46dc Update translations from Pootle 2017-09-30 06:53:44 +02:00
autonielx 958b7451be Update translations from Pootle 2017-09-16 06:53:33 +02:00
autonielx df0f0f87a3 Update translations from Pootle 2017-09-09 06:56:15 +02:00
autonielx 9f265de100 Update translations from Pootle 2017-09-02 07:20:56 +02:00
Adrien Destugues 1e80caa309 Add a white background version of the sticker
- Uses the Haiku URL instead of "inspired by the BeOS"
- Tweaked dimensions to match lastickerie.com templates (45x80mm + cutting margin)
2017-08-20 09:10:05 +02:00
Adrien Destugues f0f458ebea Remove glow from boot logo.
It looks better without it.
Note: beta and "development" images not adjusted. We don't have the
wonderbrush sources in the repo for these, apparently.
2017-07-29 12:27:50 +02:00