History log of /haiku/src/bin/locale/locale.cpp
Revision Date Author Comments
# 3bac8def 02-Nov-2018 Kacper Kasper <kacperkasper@gmail.com>

Add -a option to locale utility

* Required by POSIX.

Change-Id: Ided0a9d45d5edd00f3aa6279e99ca486ca372f6c
Reviewed-on: https://review.haiku-os.org/651
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 4205fc91 23-Nov-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

locale: document -c as the shortcut to get message locale again.

It was deprecated in favor of -m, but -m then changed meaning to comply
with POSIX. So restore documentation for -c, and add proper
documentation for -m.


# 2f6aa1c7 08-Apr-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

locale: -m option should print character sets, only.

Required by mosh testsuite.


# 8ef01bd7 05-Nov-2012 Oliver Tappe <zooey@hirschkaefer.de>

Fix #8193 - wrong LC_* vars if there's no country code.


# 98057dd0 23-Feb-2012 Oliver Tappe <zooey@hirschkaefer.de>

Adjust /bin/locale to print time-related locale, too.

* add support for printing the time-related locale (which may contain
a '@strings=messages' suffix if required by locale configuration
* adjust cmdline params of /bin/locale to be a bit clearer (but keep
support for -c for compatibility)
* adjust /etc/profile to invoke /bin/locale accordingly


# 93efe98e 23-Feb-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: respect line-width limit.


# 674e7684 06-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Returning a string stored in a local BMessage doesn't work.

Instead use a BString object as return type that copies the string
so that it stays valid after return.


# ee46c038 31-Oct-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Add newline to locale command line output. (that's more usual and it works for
all other CLI apps).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43032 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d806242e 08-Jul-2011 Ryan Leavengood <leavengood@gmail.com>

Forgot to svn add the new locale command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ef01bd74e313b9b1e9732a76f91c59deeca8a02 05-Nov-2012 Oliver Tappe <zooey@hirschkaefer.de>

Fix #8193 - wrong LC_* vars if there's no country code.


# 98057dd02a2411868fd4c35f7a48d20acfd92c23 23-Feb-2012 Oliver Tappe <zooey@hirschkaefer.de>

Adjust /bin/locale to print time-related locale, too.

* add support for printing the time-related locale (which may contain
a '@strings=messages' suffix if required by locale configuration
* adjust cmdline params of /bin/locale to be a bit clearer (but keep
support for -c for compatibility)
* adjust /etc/profile to invoke /bin/locale accordingly


# 93efe98ec2d39cf71b9d866593e24774e02fbe1f 23-Feb-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: respect line-width limit.


# 674e76845d83e668c6d46faddb49ff65ae5d28b9 06-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Returning a string stored in a local BMessage doesn't work.

Instead use a BString object as return type that copies the string
so that it stays valid after return.


# ee46c038a6563365b0ad7ad842bcb94dadd2eeb4 31-Oct-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Add newline to locale command line output. (that's more usual and it works for
all other CLI apps).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43032 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d806242e060d9d92c0430f3aec214a7cb52007b0 08-Jul-2011 Ryan Leavengood <leavengood@gmail.com>

Forgot to svn add the new locale command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42395 a95241bf-73f2-0310-859d-f6bbb57e9c96