vimb.git
10 years agoDocumented shot ex commands in manual page.
Daniel Carl [Sat, 19 Oct 2013 15:40:29 +0000 (17:40 +0200)]
Documented shot ex commands in manual page.

Remove the :source command from manual page, because this command does not
exist.

10 years agoUse SHOWCMD_LEN to be the number of chars without NULL byte.
Daniel Carl [Sat, 19 Oct 2013 14:45:06 +0000 (16:45 +0200)]
Use SHOWCMD_LEN to be the number of chars without NULL byte.

10 years agoMoved key mapping and label mapping array together.
Daniel Carl [Sat, 19 Oct 2013 14:44:37 +0000 (16:44 +0200)]
Moved key mapping and label mapping array together.

10 years agoSimplified CSI processing a little.
Daniel Carl [Sat, 19 Oct 2013 14:23:46 +0000 (16:23 +0200)]
Simplified CSI processing a little.

10 years agoRemoved the git version stuff.
Daniel Carl [Tue, 15 Oct 2013 21:49:10 +0000 (23:49 +0200)]
Removed the git version stuff.

The git version could lead to cases where the version seems to be wrong, in
the case where no tags are pulled from upstream. So I decided to throw this
away. Bay the was the none posix sed command to convert project name to word
starting with upper case char, was replaces by a awk call.

10 years agoChanged CR key from 0x0a -> 0x0d like vim does.
Daniel Carl [Tue, 15 Oct 2013 20:56:07 +0000 (22:56 +0200)]
Changed CR key from 0x0a -> 0x0d like vim does.

Change order of key processing parts. Use fix keyvalue mapping before running
the gdk_keyval_to_unicode(). This should be a little faster and avoids bugs,
when compiled against the GTK3 libs, where the GDK_Return is handled by
gdk_keyval_to_unicode() which wasn't th fact with GDK2.

10 years agoFixed none applied completion active colors.
Daniel Carl [Tue, 15 Oct 2013 20:02:56 +0000 (22:02 +0200)]
Fixed none applied completion active colors.

10 years agoMoved ex command expansion to parsing.
Daniel Carl [Tue, 15 Oct 2013 19:33:48 +0000 (21:33 +0200)]
Moved ex command expansion to parsing.

By the way the expansion for '~/' to home dir was added.

10 years agoAdded ':normal' command to run normal mode commands from input box.
Daniel Carl [Sun, 13 Oct 2013 19:06:04 +0000 (21:06 +0200)]
Added ':normal' command to run normal mode commands from input box.

This allows to run normal mode commands from input box, for example after
setting some options like ':set scripts!|no! R'.

10 years agoAllow to have commands with bang.
Daniel Carl [Sun, 13 Oct 2013 18:52:02 +0000 (20:52 +0200)]
Allow to have commands with bang.

10 years agoAdded strict-focus setting.
Daniel Carl [Sun, 13 Oct 2013 16:44:57 +0000 (18:44 +0200)]
Added strict-focus setting.

This allows to ignore possible focused form fields on pages that forces vimb
into input mode. If 'strict-focus' is on, vimb removes the focus from form
fields event if the page say that say should be focussed,

10 years agoAdded CTRL-V to pass the next key without mapping.
Daniel Carl [Sun, 13 Oct 2013 15:52:50 +0000 (17:52 +0200)]
Added CTRL-V to pass the next key without mapping.

10 years agoUse index of hints internal instead or number.
Daniel Carl [Sat, 12 Oct 2013 23:41:30 +0000 (01:41 +0200)]
Use index of hints internal instead or number.

This fastens the hint processing a little and uses less code than searching
for the hint with a given number in the internals of the hinting javascript.

10 years agoDon't use GNU extension in sed script.
Daniel Carl [Sat, 12 Oct 2013 20:41:07 +0000 (22:41 +0200)]
Don't use GNU extension in sed script.

Simplified the rules to match only comments used in the hints scripts.

10 years agoChanged hinting visibility check.
Daniel Carl [Sat, 12 Oct 2013 11:15:32 +0000 (13:15 +0200)]
Changed hinting visibility check.

Don't even check if the point in the center of the element is the element
itself, because this caused broken links to be not hintable, if the second
link line didn't reach the center of the above line. So now the element is
checked for the upper left corner too.

11 years agoMoved show command to normal.c.
Daniel Carl [Mon, 7 Oct 2013 22:24:35 +0000 (00:24 +0200)]
Moved show command to normal.c.

We don't generate the show command for non bound mappings. This might save cpu
cycles. The show commands for the normal mode are set from the keypress
handler. So we can handle show commands like vim where an incomplete mapped
command like ':nmap foo 12g', where the '12g' should appear in show command as
incomplete command.

Now the show commands keys are displayed like in vim with <hex> for none
printable keys.

11 years agoAllow utf8 for keybinds.
Daniel Carl [Sun, 6 Oct 2013 20:57:03 +0000 (22:57 +0200)]
Allow utf8 for keybinds.

Used some key processing stuff from vim.

11 years agoRemoved mode_input_focusout callback.
Daniel Carl [Thu, 3 Oct 2013 18:50:51 +0000 (20:50 +0200)]
Removed mode_input_focusout callback.

This breaks the switching to input mode via hinting, because if the hints
caused entering the input mode we move the focus from inputbox, that called
the callback that forced switching to normal mode.

11 years agoAdded include to ex.c.
Daniel Carl [Thu, 3 Oct 2013 18:23:19 +0000 (20:23 +0200)]
Added include to ex.c.

<sys/wait.h> is needed for WIFEXITED and WEXITSTATUS macros.

Thanks Leonardo Taccari for this patch.

11 years agoRemoved prefixes from some static functions.
Daniel Carl [Mon, 30 Sep 2013 21:17:45 +0000 (23:17 +0200)]
Removed prefixes from some static functions.

11 years agoMoved stateful history processing to ex.c.
Daniel Carl [Mon, 30 Sep 2013 21:12:50 +0000 (23:12 +0200)]
Moved stateful history processing to ex.c.

11 years agoFixed non shown keys if keystroke where not ambiguous.
Daniel Carl [Mon, 30 Sep 2013 20:05:01 +0000 (22:05 +0200)]
Fixed non shown keys if keystroke where not ambiguous.

If a keybinding was used, that contained of multiple keys, but had no prefix
in common with another keybinding, the typed keys where not shown to the user.

11 years agoDon't observe input change in completion mode.
Daniel Carl [Sat, 28 Sep 2013 23:24:06 +0000 (01:24 +0200)]
Don't observe input change in completion mode.

This patch prevents slow and unsmooth completions caused by logic that
observes the change content in the inputbox. This was the case mainly for the
search completion, every step in the completion list started a new search.

11 years agoFixed wrong ex command code in completion.
Daniel Carl [Sat, 28 Sep 2013 23:09:47 +0000 (01:09 +0200)]
Fixed wrong ex command code in completion.

11 years agoUsed typed input for completions.
Daniel Carl [Sat, 28 Sep 2013 23:02:54 +0000 (01:02 +0200)]
Used typed input for completions.

No the completion does not write the full command name into inputbox if the
command was found. Instead write the prefix like it was typed by the user like
in vim. That means if an abbreviated command is completed, the abbreviated
version is shown for example for ':o !<Tab>'.

11 years agoMoved command_history to ex.c
Daniel Carl [Sat, 28 Sep 2013 22:26:24 +0000 (00:26 +0200)]
Moved command_history to ex.c

11 years agoMoved parts of completion logic to ex.c.
Daniel Carl [Sat, 28 Sep 2013 21:53:05 +0000 (23:53 +0200)]
Moved parts of completion logic to ex.c.

This change makes it easier to control the found matches and it allowed to
complete also abbreviated commands like ':o !tag'.

11 years agoAdded missed freeing for vb_get_input_text in compltion.
Daniel Carl [Sat, 28 Sep 2013 17:44:09 +0000 (19:44 +0200)]
Added missed freeing for vb_get_input_text in compltion.

11 years agoDon't built completion if there is only one item.
Daniel Carl [Sat, 28 Sep 2013 17:05:43 +0000 (19:05 +0200)]
Don't built completion if there is only one item.

Instead we print the item direct to the inputbox instead.

11 years agoFixed wrong display for ambiguous maps.
Daniel Carl [Sat, 28 Sep 2013 15:33:41 +0000 (17:33 +0200)]
Fixed wrong display for ambiguous maps.

If there exist maps for 'a', 'aa' and 'aaa' the 'aaa' was displayed to the
user after the first typed 'a'.

11 years agoAllow to configure the timeoutlen.
Daniel Carl [Sat, 28 Sep 2013 15:24:28 +0000 (17:24 +0200)]
Allow to configure the timeoutlen.

Timeoutlen is  the time in milliseconds that is waited for a key code or
mapped key sequence to complete.

11 years agoSimplified a function a little.
Daniel Carl [Fri, 27 Sep 2013 23:22:07 +0000 (01:22 +0200)]
Simplified a function a little.

11 years agoAdded missed null byte to string.
Daniel Carl [Fri, 27 Sep 2013 23:01:30 +0000 (01:01 +0200)]
Added missed null byte to string.

11 years agoSimplified the command_search function.
Daniel Carl [Fri, 27 Sep 2013 22:38:42 +0000 (00:38 +0200)]
Simplified the command_search function.

11 years agoRemoved nor more used count.
Daniel Carl [Fri, 27 Sep 2013 22:14:22 +0000 (00:14 +0200)]
Removed nor more used count.

11 years agoRemove no more used enum and macros.
Daniel Carl [Fri, 27 Sep 2013 22:01:09 +0000 (00:01 +0200)]
Remove no more used enum and macros.

11 years agoDon't allow to paste multline content from clipboard.
Daniel Carl [Fri, 27 Sep 2013 21:51:28 +0000 (23:51 +0200)]
Don't allow to paste multline content from clipboard.

If the pasted contents leads to multiple input box lines, we remove everything
out of the buffer except of the first line.

11 years agoRemoved g commands from map.
Daniel Carl [Fri, 27 Sep 2013 21:04:34 +0000 (23:04 +0200)]
Removed g commands from map.

Is is easier to call the g commands like the other commands that needs
multiple chars instead of setting the 8th bit of the char.

11 years agoFixed wrong mapped 'T' and 'O' commands.
Daniel Carl [Thu, 26 Sep 2013 23:57:22 +0000 (01:57 +0200)]
Fixed wrong mapped 'T' and 'O' commands.

11 years agoRemoved announcement about changed history file format.
Daniel Carl [Thu, 26 Sep 2013 23:54:23 +0000 (01:54 +0200)]
Removed announcement about changed history file format.

11 years agoSet mode according to current focused widget.
Daniel Carl [Thu, 26 Sep 2013 23:50:19 +0000 (01:50 +0200)]
Set mode according to current focused widget.

11 years agoRemoved string length restriction of vb_echo functions.
Daniel Carl [Thu, 26 Sep 2013 23:22:44 +0000 (01:22 +0200)]
Removed string length restriction of vb_echo functions.

11 years agoIf possible use g_strconcat instead of g_strdup_printf.
Daniel Carl [Thu, 26 Sep 2013 23:08:21 +0000 (01:08 +0200)]
If possible use g_strconcat instead of g_strdup_printf.

11 years agoLeave input mode if a form submit loads a page.
Daniel Carl [Thu, 26 Sep 2013 22:57:33 +0000 (00:57 +0200)]
Leave input mode if a form submit loads a page.

Also remove the old vb_set_mode function that become obsolete.

11 years agoAdded missed normal commands 'O' and 'T'.
Daniel Carl [Thu, 26 Sep 2013 22:30:47 +0000 (00:30 +0200)]
Added missed normal commands 'O' and 'T'.

11 years agoAdapted the README file.
Daniel Carl [Sun, 22 Sep 2013 16:59:59 +0000 (18:59 +0200)]
Adapted the README file.

11 years agoAdapted manual page to the new key handling.
Daniel Carl [Sun, 22 Sep 2013 16:53:10 +0000 (18:53 +0200)]
Adapted manual page to the new key handling.

11 years agoShow the last keys of keysequence in statusbar.
Daniel Carl [Sat, 21 Sep 2013 20:36:00 +0000 (22:36 +0200)]
Show the last keys of keysequence in statusbar.

11 years agoAdded cursor to default key bindings.
Daniel Carl [Sat, 21 Sep 2013 19:03:54 +0000 (21:03 +0200)]
Added cursor to default key bindings.

Removed those cursor keybindings that where introduced to fix an issue that
does not exist anymore.

11 years agoRemoved all default webkit settings from default.h.
Daniel Carl [Sat, 21 Sep 2013 17:04:25 +0000 (19:04 +0200)]
Removed all default webkit settings from default.h.

This makes the startup a little faster. By they way, a typo in a configuration
was fixed.

11 years agoCleaned the code a little.
Daniel Carl [Sat, 21 Sep 2013 16:27:02 +0000 (18:27 +0200)]
Cleaned the code a little.

Remove already solved tasks and changed most of the *var == '\0' into !*var
expressions.

11 years agoAllow to run multiple ex commands.
Daniel Carl [Sat, 21 Sep 2013 16:00:01 +0000 (18:00 +0200)]
Allow to run multiple ex commands.

Ex commands can be joined with | like following example:

    :set scripts!|set plugins!

Or bound to a key sequence:

    :nmap <C-F1> :set scripts<CR>:set plugins!<CR>:open !tag<Tab>

11 years agoAllow to bind also function keys.
Daniel Carl [Fri, 20 Sep 2013 23:38:00 +0000 (01:38 +0200)]
Allow to bind also function keys.

11 years agoChanged the way keys are processed.
Daniel Carl [Wed, 14 Aug 2013 18:15:06 +0000 (20:15 +0200)]
Changed the way keys are processed.

Until today vimb mapped two-part keybindings to commands. This patch changed
this paradigm into a more vi like way. The commands are separated into normal
mode commands that mainly consists of a single char and ex commands that can
by typed into the inputbox like ':open'. This change allows us to adapt also
the way keypresses and mapping are handled. Now every keypress is converted
into a unsigned char and collected into a typeahead queue. The mappings are
applied on the queue. So now we can use also long keymaps and run multiple
commands for different modes with them like ':nmap abcdef :set
scripts!<CR>:open search query<CR>50G'.

11 years agoAdded completion for bookmark tags.
Daniel Carl [Fri, 6 Sep 2013 20:41:52 +0000 (22:41 +0200)]
Added completion for bookmark tags.

This allows to get already used bookmark tags for new bookmarks ':bma <tab>'
or ':bookmark-add <tab>'.

11 years agoRevert "Show if the proxy could not be set."
Daniel Carl [Tue, 27 Aug 2013 13:57:45 +0000 (15:57 +0200)]
Revert "Show if the proxy could not be set."

This reverts commit 87c48feca23acf755558ef8bb766eff3582a40da.

This causes irritating error messages on startup, because we have enabled
proxy by default. So every time a new window is opened we get the error
message that the proxy could not be set, because of a none set environment
variable. If the user adds 'set proxy=off' to his config file would not cause
vimb from throwing this error, because the default config is processed before
the users config and the error has already be thrown.
At the moment I think, this error message isn't required so we can remove it.

11 years agoShow if the proxy could not be set.
Daniel Carl [Fri, 23 Aug 2013 13:48:50 +0000 (15:48 +0200)]
Show if the proxy could not be set.

11 years agoDirty fix for none working <cr> in hint mode.
Daniel Carl [Fri, 23 Aug 2013 10:49:20 +0000 (12:49 +0200)]
Dirty fix for none working <cr> in hint mode.

We catch all return pressed to simulate the input activate callback, and stop
further processing of the key event. But the hinting uses it's own key event
callback that was never called if return was pressed.

11 years agoCleaned code a little.
Daniel Carl [Wed, 14 Aug 2013 12:14:04 +0000 (14:14 +0200)]
Cleaned code a little.

Removed typedefs from header files where they are only used internal.
Removed none used macros and changed all macro names to upper case.

11 years agoObserve input change events only in command mode.
Daniel Carl [Wed, 14 Aug 2013 11:44:52 +0000 (13:44 +0200)]
Observe input change events only in command mode.

11 years agoAdapt the function return type of callback.
Daniel Carl [Wed, 14 Aug 2013 11:18:31 +0000 (13:18 +0200)]
Adapt the function return type of callback.

11 years agoAllow to clear the inputbox on <esc> also if it's focused.
Daniel Carl [Wed, 14 Aug 2013 06:50:13 +0000 (08:50 +0200)]
Allow to clear the inputbox on <esc> also if it's focused.

11 years agoAllow the inputbox to show multiple lines.
Daniel Carl [Tue, 13 Aug 2013 18:13:06 +0000 (20:13 +0200)]
Allow the inputbox to show multiple lines.

11 years agoRemove PROJECT placeholders from manual page.
Daniel Carl [Tue, 6 Aug 2013 20:07:29 +0000 (22:07 +0200)]
Remove PROJECT placeholders from manual page.

11 years agoRenamed the insert mode to input mode.
Daniel Carl [Tue, 6 Aug 2013 19:24:28 +0000 (21:24 +0200)]
Renamed the insert mode to input mode.

This reflects better what we are doing and we used both terms in the manual
page which was confusing. So now the mode is called 'Input Mode'.

11 years agoAdded new kebinding ctrl-z to manual page (#48).
Daniel Carl [Tue, 6 Aug 2013 19:10:32 +0000 (21:10 +0200)]
Added new kebinding ctrl-z to manual page (#48).

11 years agoMade pass through mode to a submode (#48).
Daniel Carl [Tue, 6 Aug 2013 19:05:47 +0000 (21:05 +0200)]
Made pass through mode to a submode (#48).

This allows to use pass through mode together with insert mode. There where
also some bugs around the vb_set_mode()'s handling for insert mode, that are
now fixed.

11 years agoFocus only visible items with 'focus-input' (#47).
Daniel Carl [Tue, 6 Aug 2013 18:32:47 +0000 (20:32 +0200)]
Focus only visible items with 'focus-input' (#47).

11 years agoFixed none cleared inputbox after hinting.
Daniel Carl [Tue, 6 Aug 2013 14:38:11 +0000 (16:38 +0200)]
Fixed none cleared inputbox after hinting.

11 years agoAdded command focus-input and new keybinding 'g-i'.
Daniel Carl [Mon, 5 Aug 2013 22:37:32 +0000 (00:37 +0200)]
Added command focus-input and new keybinding 'g-i'.

The new command and keybinding are use to focus the first editable element on
the page and to switch vimb into insert mode.

11 years agoRemove unneeded focus switching in inputbox_activate_cb.
Daniel Carl [Mon, 5 Aug 2013 21:54:40 +0000 (23:54 +0200)]
Remove unneeded focus switching in inputbox_activate_cb.

I don't know why I've added this, but at the moment I can't find any reason or
use case where this might be required. Instead this make the ':input' command
called from inputbox hard to use, because the focus is removed from inputbox.

11 years agoFixed non working hinting mode for ;o and ;t.
Daniel Carl [Mon, 5 Aug 2013 21:34:18 +0000 (23:34 +0200)]
Fixed non working hinting mode for ;o and ;t.

If the hint-input-* commands where used and the hinted elements where selected
by number, the input box was cleared immediately after it where filled,
because of the to late deactivation of hint mode in command_input.

11 years agoAdded command pass-through to switch to pass through mode.
Daniel Carl [Mon, 5 Aug 2013 19:10:30 +0000 (21:10 +0200)]
Added command pass-through to switch to pass through mode.

The pass-through mode allows to skip all keybindings accept of <esc> and
<ctrl-c> in vimb to let the webview handle them.

11 years agoFixed none working keybindings with <ctrl-x> whene x is a modkey.
Daniel Carl [Mon, 5 Aug 2013 19:42:26 +0000 (21:42 +0200)]
Fixed none working keybindings with <ctrl-x> whene x is a modkey.

If a keybinding exists with a modekey 'x' no keybinding with 'x' and
additional modifiers worked.

11 years agoAdded new hinting mode to hint element to the beginning of queue.
Daniel Carl [Mon, 5 Aug 2013 17:43:55 +0000 (19:43 +0200)]
Added new hinting mode to hint element to the beginning of queue.

11 years agoAdded command queue-unshift.
Daniel Carl [Mon, 5 Aug 2013 17:35:12 +0000 (19:35 +0200)]
Added command queue-unshift.

New command allows to push new uri to the beginning of read it later list.

11 years agoAdded new command :queue-clear.
Daniel Carl [Thu, 1 Aug 2013 18:29:35 +0000 (20:29 +0200)]
Added new command :queue-clear.

11 years agoChanged sort order in bookmark completion.
Daniel Carl [Thu, 1 Aug 2013 16:52:10 +0000 (18:52 +0200)]
Changed sort order in bookmark completion.

Now the latest added items of the bookmarks file are shown first, so it's
similar to the history completion.

11 years agoRenamed queue related commands.
Daniel Carl [Thu, 1 Aug 2013 16:22:49 +0000 (18:22 +0200)]
Renamed queue related commands.

For later commands and possible more commands for the queue the commands are
now prefixed with 'queue-'.

11 years agoUsed lighter red inputbox background for errors.
Daniel Carl [Wed, 31 Jul 2013 21:33:17 +0000 (23:33 +0200)]
Used lighter red inputbox background for errors.

11 years agoAdded feedback about number of left queue items.
Daniel Carl [Wed, 31 Jul 2013 20:56:07 +0000 (22:56 +0200)]
Added feedback about number of left queue items.

11 years agoFixed duplicate history writing.
Daniel Carl [Wed, 31 Jul 2013 00:01:34 +0000 (02:01 +0200)]
Fixed duplicate history writing.

11 years agoChanged default duckduckgo searchenigne.
Daniel Carl [Tue, 30 Jul 2013 23:53:38 +0000 (01:53 +0200)]
Changed default duckduckgo searchenigne.

The html version, which works without JavaScript is lite enough and much more
comfortable to use than the lite version, and at the moment it feels also more
responsive to me.

11 years agoShow the version in the default window title.
Daniel Carl [Tue, 30 Jul 2013 23:43:35 +0000 (01:43 +0200)]
Show the version in the default window title.

11 years agoUse git describe to get a better version number.
Daniel Carl [Tue, 30 Jul 2013 23:32:10 +0000 (01:32 +0200)]
Use git describe to get a better version number.

11 years agoFixed use of default config for possible none available feature.
Daniel Carl [Tue, 30 Jul 2013 23:12:09 +0000 (01:12 +0200)]
Fixed use of default config for possible none available feature.

11 years agoFixed syntax error in manual page.
Daniel Carl [Tue, 30 Jul 2013 21:39:18 +0000 (23:39 +0200)]
Fixed syntax error in manual page.

11 years agoAllow to switch off queue feature via config.h.
Daniel Carl [Tue, 30 Jul 2013 21:12:47 +0000 (23:12 +0200)]
Allow to switch off queue feature via config.h.

11 years agoAdded queue feature to README.
Daniel Carl [Tue, 30 Jul 2013 20:54:49 +0000 (22:54 +0200)]
Added queue feature to README.

11 years agoFixed wrong bookmark lookup.
Daniel Carl [Tue, 30 Jul 2013 20:49:51 +0000 (22:49 +0200)]
Fixed wrong bookmark lookup.

If the completion for bookmarks was started with given tags, there where also
items displayed that have no tags set. This patch fixes the regression so that
only those bookmarks are shown thats tags match the request, all other
bookmarks can only be seen when the completion is started without tags like
':open !<tab>'.

11 years agoAdded new hinting mode to put links into queue.
Daniel Carl [Tue, 30 Jul 2013 20:03:24 +0000 (22:03 +0200)]
Added new hinting mode to put links into queue.

Also added new default keybinding to open oldest queued item in current window
'ctrl-p'.

11 years agoAdded queue commands :push and :pop.
Daniel Carl [Tue, 30 Jul 2013 19:33:43 +0000 (21:33 +0200)]
Added queue commands :push and :pop.

11 years agoMoved configuration for the shell command to config.def.h.
Daniel Carl [Tue, 30 Jul 2013 16:29:24 +0000 (18:29 +0200)]
Moved configuration for the shell command to config.def.h.

11 years agoUpdated README file.
Daniel Carl [Tue, 30 Jul 2013 12:55:39 +0000 (14:55 +0200)]
Updated README file.

11 years agoUse PROJECT variable instead of hard wired "vimb".
Daniel Carl [Mon, 29 Jul 2013 18:43:41 +0000 (20:43 +0200)]
Use PROJECT variable instead of hard wired "vimb".

11 years agoMoved config for default window size to config.def.h.
Daniel Carl [Mon, 29 Jul 2013 18:17:30 +0000 (20:17 +0200)]
Moved config for default window size to config.def.h.

Increased the default windo size to 800x600.

11 years agoFixed wrong free function in history processing.
Daniel Carl [Mon, 29 Jul 2013 17:31:06 +0000 (19:31 +0200)]
Fixed wrong free function in history processing.

Also moved freeing to the caller.

11 years agoPut similar target in Makefile together.
Daniel Carl [Mon, 29 Jul 2013 16:40:02 +0000 (18:40 +0200)]
Put similar target in Makefile together.

Added LDFLAG -s to strip symbol table to build smaller binary.

11 years agoSimplified Makefile by merging CPPFLAGS into CFLAGS.
Daniel Carl [Mon, 29 Jul 2013 16:01:09 +0000 (18:01 +0200)]
Simplified Makefile by merging CPPFLAGS into CFLAGS.

11 years agoRemoved -Wstrict-prototypes option that won't work with gtk.
Daniel Carl [Mon, 29 Jul 2013 15:42:33 +0000 (17:42 +0200)]
Removed -Wstrict-prototypes option that won't work with gtk.