Code

ncmpc.git
15 years agoAUTHORS: added Jeffrey Middleton
Max Kellermann [Sat, 7 Mar 2009 15:43:48 +0000 (16:43 +0100)]
AUTHORS: added Jeffrey Middleton

15 years agompdclient: Fixes sorting of the filelist.
Patrick Hallen [Sat, 7 Mar 2009 15:23:56 +0000 (16:23 +0100)]
mpdclient: Fixes sorting of the filelist.

Sort the filelist with the correct linguastically rule for the current
locale, with directories first, after that songs and playlist files last.
This fixes bug 2092.

15 years agoSpelling corrections
Jeffrey Middleton [Thu, 5 Mar 2009 20:36:12 +0000 (14:36 -0600)]
Spelling corrections

All in comments except the one in a displayed message that got me
started!

15 years agoscreen_keydef: Fixed selections on key bindings screen
Jeffrey Middleton [Fri, 6 Mar 2009 01:02:07 +0000 (19:02 -0600)]
screen_keydef: Fixed selections on key bindings screen

Key bindings screen uses struct list_window, so the addition of visual
mode requires setting selection_start and selection_end to match
selection, even though visual mode serves no purpose there currently.

15 years agoscreen_play: Changed selection movement on center-playing-song
Jeffrey Middleton [Fri, 6 Mar 2009 00:06:05 +0000 (18:06 -0600)]
screen_play: Changed selection movement on center-playing-song

Previously, the cursor remained in the same screen position (and had
some odd behavior in visual mode). Now it attempts to stay on the same
song like other large movement commands, leaving visual mode intact, so
you can do fun things like using center-playing-song to help select a
range of songs up to the current song.

15 years agoscreen: Added screen swap command
Jeffrey Middleton [Thu, 5 Mar 2009 23:06:42 +0000 (17:06 -0600)]
screen: Added screen swap command

Screen swap command toggles to the previous (most recently used) screen.
Particularly useful to return from lyrics/info screen.

15 years agolist_window: Extended scrolling commands to text screens
Jeffrey Middleton [Thu, 5 Mar 2009 22:50:41 +0000 (16:50 -0600)]
list_window: Extended scrolling commands to text screens

Added scroll up/down one-line/half-screen to list_window_scroll_cmd,
which is used in text screens.

15 years agoscreen_help: Added lyrics and outputs screen to help
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:13 +0000 (16:43 -0600)]
screen_help: Added lyrics and outputs screen to help

New screens were missing from help!

15 years agoscreen_play: Disable auto-center while in visual selection mode
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:13 +0000 (16:43 -0600)]
screen_play: Disable auto-center while in visual selection mode

Visual selection mode is a good sign the user is looking at whatever's
on the screen.  Especially if MPD is in random mode, suddenly jumping
somewhere else is a bad plan.

15 years agolist_window: Added scroll up/down half-screen commands
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:04 +0000 (16:43 -0600)]
list_window: Added scroll up/down half-screen commands

Added commands to scroll up/down half a screen, using the generic functions from the last commit.  Mapped by default to B and N, to go along nicely with Ctrl-B and Ctrl-N for single-line scrolling.

15 years agolist_window: Added scroll up/down commands
Jeffrey Middleton [Thu, 5 Mar 2009 22:43:02 +0000 (16:43 -0600)]
list_window: Added scroll up/down commands

Commands scroll a list window up/down by one line, mapped by default to
Ctrl-N and Ctrl-B (mnemonics next and back).  The scrolling functions can
scroll by an arbitrary amount, so we can use them later for half-screen scroll
commands like Vim's Ctrl-D/U.

15 years agolist_window: Tweaked visual mode behavior
Jeffrey Middleton [Tue, 3 Mar 2009 22:15:19 +0000 (23:15 +0100)]
list_window: Tweaked visual mode behavior

Tweaked visual mode behavior so that the start of a visual selection is
always one end of it when making large movements (page up/down, H/M/L,
home/end).  To clarify, suppose you start at the middle of the screen,
in visual mode, then:

 (1) get to the bottom with j
 (2) go to the top with page up
 (3) go back to one above middle with j
 (4) j once more

Previously, the resulting selection would be (1) middle to bottom, (2)
top to bottom, (3) one above middle to bottom, and (4) middle only.
With the change, we will get the intuitive (1) middle to bottom, (2) top
to middle, (3) one above middle to middle, and (4) middle only.

15 years agolist_window: added top, middle, and bottom commands
Jeffrey Middleton [Tue, 3 Mar 2009 22:14:38 +0000 (23:14 +0100)]
list_window: added top, middle, and bottom commands

Commands to move cursor to top, middle, and bottom of screen, mapped
by default to H, M, and L like in Vim.

15 years agofixed crash while saving a playlist
Romain Bignon [Tue, 3 Mar 2009 21:09:56 +0000 (22:09 +0100)]
fixed crash while saving a playlist

It happens when there isn't any playlist in browser

15 years agopo: updated Spanish translation
Feder Sáiz [Tue, 3 Mar 2009 07:50:30 +0000 (08:50 +0100)]
po: updated Spanish translation

15 years agolist_window: page up goes too far
Jeffrey Middleton [Fri, 27 Feb 2009 08:11:24 +0000 (09:11 +0100)]
list_window: page up goes too far

There's a sign error in the page up (previous screen) - instead of
going up by one less than the number of rows, it goes up by one
more. Patch attached, though it's just a single character change. I'm
kind of weirded out that I never noticed this before, since it seems
to have been like this forever!

15 years agopo: updated Korean translation
Atie [Tue, 24 Feb 2009 13:22:54 +0000 (14:22 +0100)]
po: updated Korean translation

15 years agopo: added Simplified Chinese translation
Gao Jie [Tue, 17 Feb 2009 20:27:23 +0000 (21:27 +0100)]
po: added Simplified Chinese translation

15 years agopo: updated ncmpc.pot
Max Kellermann [Tue, 17 Feb 2009 13:55:34 +0000 (14:55 +0100)]
po: updated ncmpc.pot

15 years agorange requires unsigned integers.
Romain Bignon [Sun, 15 Feb 2009 22:42:34 +0000 (23:42 +0100)]
range requires unsigned integers.

15 years agoscreen_play: move selection when moving a single song in playlist
jefromi [Thu, 12 Feb 2009 14:34:00 +0000 (15:34 +0100)]
screen_play: move selection when moving a single song in playlist

Selection didn't move when moving a single song in playlist.
Introduced by the visual selection - selection is only updated when
moving in visual mode, not when moving a single song (nonvisual
mode).

15 years agouse the new mpd shufflerange command.
Romain Bignon [Fri, 13 Feb 2009 09:56:35 +0000 (10:56 +0100)]
use the new mpd shufflerange command.

15 years agopo: Removed a few colons because of 6f1f7f9ecc4.
Patrick Hallen [Thu, 12 Feb 2009 18:17:18 +0000 (19:17 +0100)]
po: Removed a few colons because of 6f1f7f9ecc4.

15 years agoRemoved colons to simplify translation.
Patrick Hallen [Thu, 12 Feb 2009 17:44:31 +0000 (18:44 +0100)]
Removed colons to simplify translation.

In wreadln() is a hard-coded colon, so there must not be colons at the end
of the prompts.

15 years agopo: Updated the german translation.
Patrick Hallen [Thu, 12 Feb 2009 15:01:03 +0000 (16:01 +0100)]
po: Updated the german translation.

Added a german translation for the new visual selection and jump
command.

15 years agopo: Removed the colon from the find prompt.
Patrick Hallen [Thu, 12 Feb 2009 14:57:11 +0000 (15:57 +0100)]
po: Removed the colon from the find prompt.

This change was made because of 146580f18.

15 years agoAUTHORS: added Romain Bignon, Patrick Hallen
Max Kellermann [Wed, 11 Feb 2009 22:53:12 +0000 (23:53 +0100)]
AUTHORS: added Romain Bignon, Patrick Hallen

Also added translators Jon Bergli Heier, Jay Whang, Atie.

15 years agolist_window: Added message when selection is enabled/disabled.
Patrick Hallen [Wed, 11 Feb 2009 19:52:53 +0000 (20:52 +0100)]
list_window: Added message when selection is enabled/disabled.

The user should get a visual feedback, when he enables or disables the visual selection,
so I added a message which is shown in the status screen. Perhaps there should be a flag
on the right top, when visual selection is enabled to not confuse users, who accidentally
enable it.

15 years agoscreen_artist: Added the jump command to the artist screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_artist: Added the jump command to the artist screen.

15 years agoscreen_play: Added the jump command to the playlist screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_play: Added the jump command to the playlist screen.

15 years agoscreen_browser: Added the jump command to the browser screen.
Patrick Hallen [Wed, 11 Feb 2009 19:30:27 +0000 (20:30 +0100)]
screen_browser: Added the jump command to the browser screen.

15 years agocommand: Added the new jump command.
Patrick Hallen [Wed, 11 Feb 2009 19:30:22 +0000 (20:30 +0100)]
command: Added the new jump command.

Added the new jump command, which queries the user for a string
and jumps to the entry which begins with that string while the user is
typing.

15 years agoscreen_utils: Added new function which jumps to an entry.
Patrick Hallen [Wed, 11 Feb 2009 19:09:33 +0000 (20:09 +0100)]
screen_utils: Added new function which jumps to an entry.

Added a new function which opens a prompt. While typing it jumps to the
entry on the screen which starts with the sequence of character you just
typed. Typing any non-printable ncmpc hotkey will exit the prompt.

15 years agoscreen_utils: Use werase() instead of wclear().
Patrick Hallen [Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100)]
screen_utils: Use werase() instead of wclear().

Use werase() instead of wclear() in screen_readch(), because wclear() rebuilds the whole window from
scratch and flickers.

15 years agoscreen_utils: Moved the colons of the prompts to wreadln.
Patrick Hallen [Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100)]
screen_utils: Moved the colons of the prompts to wreadln.

Moved the colons of the find prompts to wreadln to simplify translation.

15 years agolist_window: Added new function, which finds the beginning of a string
Patrick Hallen [Wed, 11 Feb 2009 19:07:03 +0000 (20:07 +0100)]
list_window: Added new function, which finds the beginning of a string

Added a new function which finds a string in a listwindow which begins with
the given characters.

15 years agoscreen_song: Added more readable table layout.
Patrick Hallen [Wed, 11 Feb 2009 16:21:41 +0000 (17:21 +0100)]
screen_song: Added more readable table layout.

Added a table layout with linebreaks to the song screen to make it nicer to
read.

15 years agocan shuffle selected list
Romain Bignon [Tue, 10 Feb 2009 13:09:32 +0000 (14:09 +0100)]
can shuffle selected list

15 years agosupport multiple lines selection
Romain Bignon [Tue, 10 Feb 2009 14:18:28 +0000 (15:18 +0100)]
support multiple lines selection

15 years agodocumentation for the new "bell-on-wrap" option
Max Kellermann [Mon, 9 Feb 2009 16:02:35 +0000 (17:02 +0100)]
documentation for the new "bell-on-wrap" option

15 years agolist_window: bell when searches wrap
jefromi [Wed, 4 Feb 2009 15:30:00 +0000 (16:30 +0100)]
list_window: bell when searches wrap

NCMPC triggers a bell whenever a search wraps. (Note that this means a
double-bell whenever a wrapped search finds nothing.) I can see this
being reasonable, if the playlist is short and the user is aware of
which direction they want to search in. However if you predominantly
use long playlists and don't know which direction your target is in,
this means you get bells on half your searches.

Since I could see people wanting it either way, my best idea is making
the bell optional. Here's a patch to do that, defaulting to the
current behavior. (I'm a little confused about defaults - looks like
there are only default values for some in options.c - but it looks
like this behaves as desired.)

15 years agoinclude "config.h" without "../"
Max Kellermann [Mon, 9 Feb 2009 15:52:15 +0000 (16:52 +0100)]
include "config.h" without "../"

Including "../config.h" breaks on some systems.

15 years agopo: updated Korean translation
Atie [Mon, 2 Feb 2009 08:57:37 +0000 (09:57 +0100)]
po: updated Korean translation

15 years agopo: added Korean translation
Jay Whang [Tue, 27 Jan 2009 06:47:59 +0000 (07:47 +0100)]
po: added Korean translation

15 years agopo: updated Norwegian translation
Jon Bergli Heier [Tue, 13 Jan 2009 13:05:40 +0000 (14:05 +0100)]
po: updated Norwegian translation

15 years agopo: renamed no.po to nb.po
Max Kellermann [Tue, 13 Jan 2009 12:40:50 +0000 (13:40 +0100)]
po: renamed no.po to nb.po

The Norwegian translation seems to be Norwegian Bokmal, according to
Launchpad's auto detection.  I have no idea of the two Norwegian
forms, but let's just rename no.po to nb.po, to get rid of the
Launchpad warning, hoping this results in better overall Norwegian
language support.

15 years agoModify version string to post-release version 0.14~git
Avuton Olrich [Fri, 9 Jan 2009 13:06:59 +0000 (05:06 -0800)]
Modify version string to post-release version 0.14~git

15 years agoncmpc version 0.13 release-0.13 v0.13
Avuton Olrich [Fri, 9 Jan 2009 13:06:59 +0000 (05:06 -0800)]
ncmpc version 0.13

15 years agolibmpdclient: fix shadow warnings
Max Kellermann [Wed, 7 Jan 2009 22:35:16 +0000 (23:35 +0100)]
libmpdclient: fix shadow warnings

Renamed "time" variables.

15 years agoscreen_browser: removed "OLD_ADD" code
Max Kellermann [Tue, 6 Jan 2009 17:21:30 +0000 (18:21 +0100)]
screen_browser: removed "OLD_ADD" code

The code was disabled via CPP.

15 years agoremoved newline from translatable strings
Max Kellermann [Tue, 6 Jan 2009 17:19:29 +0000 (18:19 +0100)]
removed newline from translatable strings

Don't make translators deal with newlines.

15 years agocommand: check_key_bindings() returns message without comment
Max Kellermann [Tue, 6 Jan 2009 16:57:46 +0000 (17:57 +0100)]
command: check_key_bindings() returns message without comment

The comment "press %s for the key editor" is only used by
timer_check_key_bindings(), move it there.  This lets us merge the two
error messages in check_key_bindings() and eases the translator's
work.

15 years agopo: updated French translation
Yann Cézard [Mon, 5 Jan 2009 21:30:15 +0000 (22:30 +0100)]
po: updated French translation

15 years agopo: updated Slovak translation
Jozef Riha [Mon, 5 Jan 2009 17:56:48 +0000 (18:56 +0100)]
po: updated Slovak translation

15 years agoMakefile.am: distribute autogen.sh
Max Kellermann [Mon, 5 Jan 2009 17:04:14 +0000 (18:04 +0100)]
Makefile.am: distribute autogen.sh

15 years agom4: deleted codeset.m4 and glib-2.0.m4
Max Kellermann [Mon, 5 Jan 2009 17:01:19 +0000 (18:01 +0100)]
m4: deleted codeset.m4 and glib-2.0.m4

Both files are unused.

15 years agoautogen.sh: removed $PWD from aclocal call
Max Kellermann [Mon, 5 Jan 2009 17:00:04 +0000 (18:00 +0100)]
autogen.sh: removed $PWD from aclocal call

This allows aclocal to generate the correct m4/*.m4 dependencies for
the "dist" target.

15 years agopo: updated Galician translation
Johám-Luís Miguéns Vila [Mon, 5 Jan 2009 14:37:21 +0000 (15:37 +0100)]
po: updated Galician translation

15 years agopo: updated Spanish translation
Johám-Luís Miguéns Vila [Mon, 5 Jan 2009 14:37:00 +0000 (15:37 +0100)]
po: updated Spanish translation

15 years agopo: updated Swedish translation
Björn Pettersson [Mon, 5 Jan 2009 14:21:40 +0000 (15:21 +0100)]
po: updated Swedish translation

15 years agopo: updated Russian translation
Max Arnold [Mon, 5 Jan 2009 14:03:24 +0000 (15:03 +0100)]
po: updated Russian translation

15 years agoconfigure.ac: moved ALL_LINGUAS to po/LINGUAS
Max Kellermann [Sun, 4 Jan 2009 11:30:14 +0000 (12:30 +0100)]
configure.ac: moved ALL_LINGUAS to po/LINGUAS

ALL_LINGUAS is deprecated according to
http://live.gnome.org/GnomeGoals/PoLinguas

Keep ALL_LINGUAS in configure.ac for now, to preserve compatibility
with older tools.

15 years agopo: added missing "\n" to Danish po file
Max Kellermann [Sun, 4 Jan 2009 11:08:53 +0000 (12:08 +0100)]
po: added missing "\n" to Danish po file

15 years agomatch: enable regular expressions when using find
Fredrik Lanker [Sat, 3 Jan 2009 11:15:28 +0000 (12:15 +0100)]
match: enable regular expressions when using find

It uses g_regex_match_simple() in glib and is case insensitive.  The
search in the NCMPC_MINI case is unchanged.

15 years agopo: updated Danish translation
Niels Anker [Sat, 3 Jan 2009 11:09:03 +0000 (12:09 +0100)]
po: updated Danish translation

15 years agopo: updated Hungarian translation
László Áshin [Fri, 2 Jan 2009 08:45:50 +0000 (09:45 +0100)]
po: updated Hungarian translation

15 years agoadded option to disable the status line clock display
Paul Collins [Thu, 1 Jan 2009 21:54:04 +0000 (22:54 +0100)]
added option to disable the status line clock display

I already have a clock, and I don't need ncmpc showing me another one.

This patch adds command line options and a config file item to allow the
user to flexibly enable or disable the clock.

[mk: patch from http://bugs.debian.org/510392; removed command line
options]

15 years agoUpdate copyright notices
Avuton Olrich [Thu, 1 Jan 2009 05:45:10 +0000 (21:45 -0800)]
Update copyright notices

15 years agopo: updated German translation
Monika Brinkert [Sun, 28 Dec 2008 13:29:54 +0000 (14:29 +0100)]
po: updated German translation

15 years agoupdated .gitignore
Max Kellermann [Sun, 28 Dec 2008 12:40:57 +0000 (13:40 +0100)]
updated .gitignore

15 years agoconfigure.ac: use AC_CONFIG_AUX_DIR
Max Kellermann [Sun, 28 Dec 2008 12:40:28 +0000 (13:40 +0100)]
configure.ac: use AC_CONFIG_AUX_DIR

Put lots of clutter into ./build/

15 years agopo: converted all PO files to UTF-8
Max Kellermann [Sun, 28 Dec 2008 12:40:17 +0000 (13:40 +0100)]
po: converted all PO files to UTF-8

Converted Danish, German, Norwegian from ISO-Latin-1 to UTF-8.
Converted Slovakian fro ISO-Latin-2 to UTF-8.

15 years agoStandardize the AC_INIT() along with other projects.
Avuton Olrich [Fri, 26 Dec 2008 06:14:01 +0000 (22:14 -0800)]
Standardize the AC_INIT() along with other projects.

15 years agopo: updated *.po
Max Kellermann [Thu, 25 Dec 2008 22:46:49 +0000 (23:46 +0100)]
po: updated *.po

15 years agopo: regenerated ncmpc.pot
Max Kellermann [Thu, 25 Dec 2008 22:41:37 +0000 (23:41 +0100)]
po: regenerated ncmpc.pot

15 years agoadded comments for translators
Max Kellermann [Thu, 25 Dec 2008 22:41:09 +0000 (23:41 +0100)]
added comments for translators

Give translators hints about the meaning of some difficult messages.

15 years agocommand: renamed "Update screen" to "Refresh screen"
Max Kellermann [Thu, 25 Dec 2008 22:41:03 +0000 (23:41 +0100)]
command: renamed "Update screen" to "Refresh screen"

15 years agosimplified translation strings
Max Kellermann [Thu, 25 Dec 2008 22:41:01 +0000 (23:41 +0100)]
simplified translation strings

Removed colon and "Error: " / "Keys - " prefix.

15 years agoscreen_help: removed "bold" marker from "MOVE_UP" line
Max Kellermann [Thu, 25 Dec 2008 22:39:52 +0000 (23:39 +0100)]
screen_help: removed "bold" marker from "MOVE_UP" line

15 years agoconf: improved error messages
Max Kellermann [Thu, 25 Dec 2008 21:17:31 +0000 (22:17 +0100)]
conf: improved error messages

15 years agoMakefile.am: removed AUTHORS, README, NEWS from $(EXTRA_DIST)
Max Kellermann [Thu, 25 Dec 2008 20:59:47 +0000 (21:59 +0100)]
Makefile.am: removed AUTHORS, README, NEWS from $(EXTRA_DIST)

These files are automatically distributed.

15 years agoconf: simplified parse_key_value()
Max Kellermann [Thu, 25 Dec 2008 13:31:00 +0000 (14:31 +0100)]
conf: simplified parse_key_value()

Removed the state machine stuff, and use strtol() if the first
character is not a single quote.  strtol() will do the error
checking.

15 years agoconf: don't pass length to parse_key_value()
Max Kellermann [Thu, 25 Dec 2008 13:29:38 +0000 (14:29 +0100)]
conf: don't pass length to parse_key_value()

We have a null-terminated string, no need to pass the length around.

15 years agoconf: optimized parse_color() with strchr()
Max Kellermann [Thu, 25 Dec 2008 13:09:31 +0000 (14:09 +0100)]
conf: optimized parse_color() with strchr()

The same for parse_color_definition().  Use strtol() directly there.

15 years agoconf: use GLib's string stripping functions
Max Kellermann [Thu, 25 Dec 2008 13:09:24 +0000 (14:09 +0100)]
conf: use GLib's string stripping functions

15 years agoconf: use buffered I/O for reading the config file
Max Kellermann [Thu, 25 Dec 2008 13:09:21 +0000 (14:09 +0100)]
conf: use buffered I/O for reading the config file

Don't read byte by byte until a newline is found.  Use fgets()
instead.

15 years agoconf: don't free filename in read_rc_file()
Max Kellermann [Thu, 25 Dec 2008 13:08:59 +0000 (14:08 +0100)]
conf: don't free filename in read_rc_file()

The code was unused, because free_filename was always 0.

15 years agoconf: moved code to parse_line()
Max Kellermann [Thu, 25 Dec 2008 12:27:45 +0000 (13:27 +0100)]
conf: moved code to parse_line()

15 years agoconf: simplified translation strings
Max Kellermann [Thu, 25 Dec 2008 12:23:29 +0000 (13:23 +0100)]
conf: simplified translation strings

Removed the "Error: " prefix and the newline.  Separated the format
string.

15 years agopo: fixed C format string mismatch in Swedish translation
Max Kellermann [Thu, 25 Dec 2008 11:41:24 +0000 (12:41 +0100)]
po: fixed C format string mismatch in Swedish translation

15 years agoconfigure.ac: fix glib error message
Max Kellermann [Thu, 25 Dec 2008 03:51:29 +0000 (04:51 +0100)]
configure.ac: fix glib error message

The message was still referring to GLib 2.2.

15 years agoconfigure.ac: added --disable-multibyte
Max Kellermann [Thu, 25 Dec 2008 03:47:56 +0000 (04:47 +0100)]
configure.ac: added --disable-multibyte

This allows you to disable wide character support, retaining multibyte
character support.

15 years agoconfigure.ac: disable NLS in mini mode
Max Kellermann [Thu, 25 Dec 2008 03:29:56 +0000 (04:29 +0100)]
configure.ac: disable NLS in mini mode

15 years agoshow translator credits
Max Kellermann [Thu, 25 Dec 2008 03:18:34 +0000 (04:18 +0100)]
show translator credits

Print translator credits after the --version message.

15 years agoinitialize NLS without locale support
Max Kellermann [Thu, 25 Dec 2008 03:17:41 +0000 (04:17 +0100)]
initialize NLS without locale support

Initialize the NLS subsystem even when locale support is disabled.
This may be a very exotic configuration, but it is valid.

15 years agoconfigure.ac: added --disable-locale option
Max Kellermann [Thu, 25 Dec 2008 03:15:44 +0000 (04:15 +0100)]
configure.ac: added --disable-locale option

Make locale.h mandatory.  --disable-locale disables the locale.h
check.

15 years agoi18n: don't use locale.h
Max Kellermann [Thu, 25 Dec 2008 03:15:38 +0000 (04:15 +0100)]
i18n: don't use locale.h

Just for the _() and N_() macros, we don't need to include locale.h -
define them in i18n.h.

15 years agoautogen.sh: run glib-gettextize
Max Kellermann [Thu, 25 Dec 2008 03:15:29 +0000 (04:15 +0100)]
autogen.sh: run glib-gettextize

Removed po/Makefile.in.in and mkinstalldirs from git, they are created
by glib-gettextize.

15 years agopo: added conf.c to POTFILES.in
Max Kellermann [Thu, 25 Dec 2008 02:11:05 +0000 (03:11 +0100)]
po: added conf.c to POTFILES.in

15 years agoconfigure.ac: added --enable-werror, rewrote --enable-debug
Max Kellermann [Thu, 25 Dec 2008 02:02:30 +0000 (03:02 +0100)]
configure.ac: added --enable-werror, rewrote --enable-debug

"--enable-werror" adds "-Werror" to CFLAGS.