Commit Graph

1415 Commits

Author SHA1 Message Date
Adrien Destugues
4950607607 Add a features.h to auto enable _DEFAULT_SOURCE
Unless __STRICT_ANSI__ is defined (as it is when running the compiler in
--std=c89 or --std=c99, but not when running it without any specific
args), we can enable these by default and behave like most other
systems. I don't know why no one has done this yet despite suggesting it
multiple times and people prefer to #define _BSD_SOURCE manually
everywhere.

Remove all places in our Jamfiles and sources where it had been defined.
_DEFAULT_SOURCE is now enabled by default for all sources of Haiku, since we
let the compiler use GNU extensions (no strict C standard specified on
command line)

Use _DEFAULT_SOURCE as the define name to match current versions of
glibc. Enable it if _BSD_SOURCE is #defined in compiler flags, for
backward compatibility.

Change-Id: I6db04da5f6db437723cdfba3478f5094a69d7727
Reviewed-on: https://review.haiku-os.org/c/1633
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2019-07-29 20:26:46 +00:00
Autocomitter
d8d7f0ae9d Update translations from Pootle 2019-07-27 15:47:36 +00:00
Autocomitter
d63cb7c8db Update translations from Pootle 2019-07-21 08:11:11 +00:00
Autocomitter
c383ef3240 Update translations from Pootle 2019-07-15 01:02:37 +00:00
Adrien Destugues
515d86dace debug_server: build a new debug window
Use radio buttons laid out vertically so that locales with long labels
(no short word for "write core file") can still look nice. This is open
for experiment, buttons laid out vertically are another option. At least
now we have a window t work from, as BAlert doesn't cut it here.

While I'm at it, use a ladybug icon for this one, so it's visibly
different from normal application alerts.

Change-Id: I08ba9573f132901484224e107404348e7dca97f4
Reviewed-on: https://review.haiku-os.org/c/1459
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-06-08 16:24:17 +00:00
François Revol
25de7c1b12 loader: VESA: make nvidia scaling fixup a driver setting
Since not everyone likes the default, make it an option in the vesa
settings file. Note setting a mode with the Screen prefs overwrites
the file so it will discard the option.

Also move the code to get_mode_from_settings() since we can't load driver
settings as early as vesa_init().

Change-Id: I93080bd1fbc064dab053624ad37935268b1ed17d
2019-05-08 04:42:33 +02:00
Augustin Cavalier
eb3cdd8a25 Time: Run synchronization on network up.
Also move the settings check into launch_daemon, as that way
"Time --update" can be invoked even when the setting is disabled.

Fixes #9348.
2019-04-07 15:12:39 -04:00
François Revol
eae1e95256 Add a proper (but ugly) icon for ThemeManager
Feel free to propose a better one ;-)

Change-Id: I481b730d8d715415dfdfc07c16aaa302b5724a7b
2019-04-02 21:55:17 +02:00
Adrien Destugues
8741bcf4f1 Add icon for postscript files.
Change-Id: I28bdd7abd8e8d5091104fff5a7a73787d45b1635
Reviewed-on: https://review.haiku-os.org/c/1313
Reviewed-by: humdinger <humdingerb@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-03-26 20:24:08 +00:00
Yatendra Singh
e680a439bf Launchbox: autostart on boot
Use launch daemon to autostart Launchbox if enabled in settings.

Change-Id: Id0aaf454cfbc0cc42db2dbb54d6788c79dae6949
Reviewed-on: https://review.haiku-os.org/c/917
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-02-19 18:29:17 +00:00
Rob Gill
f551180bf9 mime_db: OpenDocument file types
*	Adds the OpenDocument file types to the mime database
	includes regular files and templates.

*	Adds icons to mime_db and artwork/icons

Change-Id: I55c7f79f53e09d5976e41c4d5a5292fc6be906d0
Reviewed-on: https://review.haiku-os.org/c/900
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-01-27 16:21:22 +00:00
Augustin Cavalier
478aa96dd7 Makefile Engine: Add quotes around INSTALL_DIR.
This is the correct solution to #11419; I missed in my original commit
that $(NAME) will already be escaped, and adding quotes double-escaped
it erroneously.
2019-01-23 23:39:46 -05:00
Humdinger
a1f3d79db8 makefile_engine: Revert hrev52738
Reverts hrev52738, as discussed with waddlesplash on IRC.
Re-opens #11419 "makefile_engine's install function fails on paths with blanks"

Turns out this change results in escaped filenames, e.g. "Open Origin Package"
becomes "Open\ Origin\ Package", see
https://github.com/haikuports/haikuports/pull/3580
2019-01-21 16:55:56 +01:00
Rob Gill
db578bfa3a apps/AboutSystem NetBSD licences and xfree86 url
* Adds licence information for the NetBSD contributions
	* ftp - 4 clause BSD (retained in ftp.c)
	* tput - Berkeley
	(http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tput/tput.c?rev=1.26)

* Berkeley licence text added to licences

* xfree86.org url added

  These were previously marked TODOs

Change-Id: I01bf0bb6055b3b45ca80c6cddabdb093cb043408
Reviewed-on: https://review.haiku-os.org/c/887
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-01-20 11:08:30 +00:00
Augustin Cavalier
09fa96ee75 settings/drivers/kernel: Reorder to be in more logical groupings.
Also add better descriptions for APM and ACPI.
2019-01-16 15:34:26 -05:00
Augustin Cavalier
e04196d564 settings/drivers/kernel: Clean up and clarify comments.
No "functional" change.
2019-01-16 11:35:40 -05:00
Augustin Cavalier
b72d60791e ipw2100: Remove firmware.
The "iprowifi2100" driver has its own firmware directory.
2019-01-14 11:20:40 -05:00
Augustin Cavalier
1528ce925d realtekwifi: Update and add new firmware sets. 2019-01-10 21:43:52 -05:00
Augustin Cavalier
f84c53e4ac makefile_engine: Fix installing to a path with spaces in it.
Fixes #11419.
2019-01-09 22:08:01 -05:00
Jérôme Duval
bf98f7960d Added license file for GNU GPL v2 with classpath exception. 2018-11-24 11:43:22 +01:00
Humdinger
6f1cd477d4 Improved "Get Haiku" download graphic 2018-11-23 07:31:06 +01:00
Augustin Cavalier
a5297c5905 build: Add SYS:NAME attribute to all folders handled by Tracker.
Mail and Deskbar folders are still TODO.
2018-11-15 22:36:35 -05:00
Augustin Cavalier
795f1571b3 Move data/image_directories to src/data/directory_attrs.
These data files are used in the generation of build targets,
so moving them to src/data alongside the package_infos & etc.
makes more sense.

They don't seem to be activated properly though (I added some tracing
to try and figure out why they aren't used but haven't gotten to the
bottom of that yet.)
2018-11-15 21:20:24 -05:00
Autocomitter
adba659760 Update translations from Pootle 2018-11-08 21:45:32 +00:00
Axel Dörfler
49135c955b desklink: Replaced muted speaker icon with stippi's version
* Replaced the muted speaker icon with a new one, thanks Stephan!
* Moved speaker icons into resources.
2018-11-03 14:07:00 +00:00
Kacper Kasper
4abe18063a makefile-engine: add .cxx extension handling
Change-Id: I67312f69c71b0653013bd001613dbac5cb464594
Reviewed-on: https://review.haiku-os.org/654
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-11-02 21:18:35 +00:00
Adrien Destugues
18033c30dc Remove sticker artwork.
Now lives at github.com/haiku/artwork with other artwork.
2018-10-31 19:36:03 +01:00
Augustin Cavalier
57ab322d67 profile: export PS1, don't just set it.
Technically the profile is supposed to be sourced, but it seems that
some scenarios / applications do not do this and instead run it.
Before the recent changes to PS1, it was also exported, and now
it is again. Should fix entering HaikuPorter chroots under the new profile.

Also renamed "ARCH" to "_ARCH" to better accomodate those
who are sourcing this file, in case they want to pass a variable
named ARCH through.
2018-10-27 14:03:44 -04:00
Autocomitter
e362d1dd9d Update translations from Pootle 2018-10-23 11:31:30 +00:00
Autocomitter
d6bc0fdbdb Update translations from Pootle 2018-10-06 06:29:05 +00:00
Alexander von Gluck IV
f6381ea210 installer: Bump installer logo
* Version font is https://fonts.google.com/specimen/Oswald
* We're no longer alpha, lets refine our logo a bit :-)

Change-Id: Ic7297944252e28281a928112ddf718b8ad5dbd62
2018-09-26 09:17:55 -05:00
Augustin Cavalier
5f6b5a327d netfs_mount: chmod +x. 2018-09-25 23:24:05 -04:00
Autocomitter
15cb367a40 Update translations from Pootle 2018-09-16 20:27:57 +00:00
Augustin Cavalier
79187c3c42 iprowifi4965: Add -100 firmware.
Should fix #14492.

Change-Id: I887995d45d2e357f0181f54396bc3c19a2158e26
Reviewed-on: https://review.haiku-os.org/567
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-16 00:09:14 +00:00
Autocommitter
94b53d8118 Translations: Add Catalan, Greek and Korean 2018-09-08 07:20:47 +00:00
Autocommitter
b1547efc75 Translations: remove Croatian and Slovenian 2018-09-08 07:16:50 +00:00
Autocomitter
e2cb18fa9a Update translations from Pootle 2018-09-08 06:46:37 +00:00
Autocomitter
44c4473bf0 Update translations from Pootle 2018-09-05 08:15:58 +00:00
Augustin Cavalier
b41678294b install-wifi-firmwares: Cleanup and fixes.
* Unlink/Symlink not needed as we now use a package.
 * Use correct URLs to download headers.

Fixes #14412.

Change-Id: I76dbca3d48d0b2933a27bea666551ff86d404a93
Reviewed-on: https://review.haiku-os.org/493
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-28 20:14:00 +00:00
Augustin Cavalier
427edfcf0d Makefile Engine template: Whitespace cleanup and synchronization.
Also update comment as FULL is O3 not O2, fixing #14396.
2018-08-25 21:28:29 -04:00
Adrien Destugues
abb35d283f Fix escaping of escape codes.
Without this, readline will compute the length of the prompt
incorrectly, leading to display artifacts.
2018-08-23 20:27:58 +02:00
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
noreply@haiku-os.org
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
noreply@haiku-os.org
6d6e652657 Update translations& initial Indonesian export from Pootle. 2018-08-14 22:18:18 +00:00