Mercurial > audlegacy
changeset 3803:b063954445cf trunk
Automated merge with file:/home/ccr/audacious/core
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Sep 2007 15:18:04 +0300 |
parents | fe3a1ae77f80 (diff) 13512c99b328 (current diff) |
children | 134456e63256 |
files | Skins/Classic/.depend Skins/Classic/.depend-done Skins/Default/.depend Skins/Default/.depend-done Skins/Ivory/.depend Skins/Ivory/.depend-done Skins/Osmosis/.depend Skins/Osmosis/.depend-done Skins/TinyPlayer/.depend Skins/TinyPlayer/.depend-done icons/Makefile icons/audacious.png pixmaps/.depend pixmaps/.depend-done skins/Classic/Makefile skins/Classic/balance.png skins/Classic/cbuttons.png skins/Classic/eq_ex.png skins/Classic/eqmain.png skins/Classic/main.png skins/Classic/monoster.png skins/Classic/nums_ex.png skins/Classic/playpaus.png skins/Classic/pledit.png skins/Classic/pledit.txt skins/Classic/posbar.png skins/Classic/shufrep.png skins/Classic/skin-classic.hints skins/Classic/skin.hints skins/Classic/text.png skins/Classic/titlebar.png skins/Classic/viscolor.txt skins/Classic/volume.png skins/Default/Makefile skins/Default/balance.png skins/Default/cbuttons.png skins/Default/eq_ex.png skins/Default/eqmain.png skins/Default/main.png skins/Default/monoster.png skins/Default/nums_ex.png skins/Default/playpaus.png skins/Default/pledit.png skins/Default/pledit.txt skins/Default/posbar.png skins/Default/shufrep.png skins/Default/skin-classic.hints skins/Default/skin.hints skins/Default/text.png skins/Default/titlebar.png skins/Default/viscolor.txt skins/Default/volume.png skins/Ivory/Makefile skins/Ivory/balance.png skins/Ivory/cbuttons.png skins/Ivory/eq_ex.png skins/Ivory/eqmain.png skins/Ivory/main.png skins/Ivory/monoster.png skins/Ivory/nums_ex.png skins/Ivory/playpaus.png skins/Ivory/pledit.png skins/Ivory/pledit.txt skins/Ivory/posbar.png skins/Ivory/shufrep.png skins/Ivory/skin.hints skins/Ivory/text.png skins/Ivory/titlebar.png skins/Ivory/viscolor.txt skins/Ivory/volume.png skins/Makefile skins/Osmosis/Makefile skins/Osmosis/balance.png skins/Osmosis/cbuttons.png skins/Osmosis/eq_ex.png skins/Osmosis/eqmain.png skins/Osmosis/main.png skins/Osmosis/monoster.png skins/Osmosis/nums_ex.png skins/Osmosis/playpaus.png skins/Osmosis/pledit.png skins/Osmosis/pledit.txt skins/Osmosis/posbar.png skins/Osmosis/shufrep.png skins/Osmosis/skin.hints skins/Osmosis/text.png skins/Osmosis/titlebar.png skins/Osmosis/viscolor.txt skins/Osmosis/volume.png skins/TinyPlayer/Makefile skins/TinyPlayer/balance.png skins/TinyPlayer/cbuttons.png skins/TinyPlayer/eq_ex.png skins/TinyPlayer/eqmain.png skins/TinyPlayer/main.png skins/TinyPlayer/monoster.png skins/TinyPlayer/nums_ex.png skins/TinyPlayer/playpaus.png skins/TinyPlayer/pledit.png skins/TinyPlayer/pledit.txt skins/TinyPlayer/posbar.png skins/TinyPlayer/shufrep.png skins/TinyPlayer/skin.hints skins/TinyPlayer/text.png skins/TinyPlayer/titlebar.png skins/TinyPlayer/viscolor.txt skins/TinyPlayer/volume.png src/audacious/glade/Makefile src/audacious/images/Makefile src/audacious/ui/Makefile src/audacious/ui_lastfm.c src/audacious/ui_lastfm.h |
diffstat | 2 files changed, 6 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/tuple_compiler.c Sun Sep 23 15:42:43 2007 -0500 +++ b/src/audacious/tuple_compiler.c Mon Sep 24 15:18:04 2007 +0300 @@ -582,10 +582,9 @@ } break; default: - tmps = NULL; - tmpi = 0; + break; } - + return type; } @@ -608,7 +607,6 @@ while (curr) { const gchar *str = NULL; - switch (curr->opcode) { case OP_RAW: str = curr->text; @@ -643,7 +641,7 @@ break; case OP_EXISTS: - if (mowgli_dictionary_retrieve(tuple->dict, ctx->variables[curr->var[0]]->name)) { + if (tf_get_fieldref(ctx->variables[curr->var[0]], tuple)) { if (!tuple_formatter_eval_do(ctx, curr->children, tuple, res, resmax, reslen)) return FALSE; } @@ -655,7 +653,7 @@ case OP_GT: case OP_GTEQ: var0 = ctx->variables[curr->var[0]]; var1 = ctx->variables[curr->var[1]]; - + type0 = tf_get_var(&tmps0, &tmpi0, var0, tuple); type1 = tf_get_var(&tmps1, &tmpi1, var1, tuple); @@ -752,8 +750,6 @@ assert(ctx != NULL); assert(tuple != NULL); - if (!expr) return NULL; - tuple_formatter_eval_do(ctx, expr, tuple, &res, &resmax, &reslen); return res;
--- a/src/audacious/tuple_compiler.h Sun Sep 23 15:42:43 2007 -0500 +++ b/src/audacious/tuple_compiler.h Mon Sep 24 15:18:04 2007 +0300 @@ -25,10 +25,10 @@ #include "tuple.h" -#define MAX_VAR (4) +#define MAX_VAR (2) #define MAX_STR (256) #define MIN_ALLOC_NODES (8) -#define MIN_ALLOC_BUF (64) +#define MIN_ALLOC_BUF (128) enum {