Ray Strode
17cb6197d0
[text-progress-bar] Don't initialize os_string
...
It's not const, so initializing it with a string literal
makes the compiler moan.
At some point we should move os string getting to libply.
2009-08-05 22:40:48 -04:00
Ray Strode
13ad2849cf
[progress-animation] Add casts to silence warning
2009-08-05 22:38:00 -04:00
Ray Strode
37ddabe163
[progress-bar] Remove unused variables
2009-08-05 22:36:24 -04:00
Ray Strode
29721caa27
[label] Unload plugin on free
2009-08-05 22:35:45 -04:00
Ray Strode
60b15dd999
[label] Add ply_label_hide to header
2009-08-05 22:32:29 -04:00
Ray Strode
4acdd54a49
[progress] Fix constness problem
2009-08-05 22:30:44 -04:00
Ray Strode
32943e1cf8
[progress] add pause/unpause to header
...
They weren't in the header so were getting used implicitly
2009-08-05 22:29:20 -04:00
Ray Strode
3d9945a23c
[progress] Remove duplicate declaration from header
2009-08-05 22:28:25 -04:00
Ray Strode
79a1c28c34
[progress] Remove unused variable
2009-08-05 22:27:46 -04:00
Ray Strode
b9972dc156
[command-parser] free list data in destructors
...
The command and option lists were getting freed, but the
actual commands and options weren't.
2009-08-05 22:26:40 -04:00
Ray Strode
425d8133ab
[command-parser] Make some int fields size_t
...
This fixes a couple of compiler warnings.
2009-08-05 22:18:37 -04:00
Ray Strode
283215be39
[command-parser] Add int cast to printf to %*s arg
...
This fixes a compiler warning.
2009-08-05 22:14:35 -04:00
Ray Strode
8753c3bbac
[command-parser] Drop unused variables
...
This fixes a couple of compiler warnings.
2009-08-05 22:13:28 -04:00
Ray Strode
4b42a0781a
[command-parser] make constructor/destructors static
...
They aren't public API and this fixes a compiler warning.
2009-08-05 18:39:00 -04:00
Ray Strode
81cf6189fb
[hashtable] Add casts to fix constness warnings
2009-08-05 18:37:45 -04:00
Ray Strode
67ec695d6f
[hashtable] add "static" specifier to internal functions
2009-08-05 18:33:54 -04:00
Ray Strode
990dd63275
[hashtable] Fix some signedness warnings
2009-08-05 18:32:42 -04:00
Ray Strode
e3f52316cf
[hashtable] make insert_internal static
2009-08-05 18:31:04 -04:00
Ray Strode
3be916129e
[hashtable] include string.h
...
So we can use strcmp without a compiler warning.
2009-08-05 18:29:45 -04:00
Ray Strode
16a0aa3286
[hashtable] Add some intptr_t casts
...
This is to fix some compiler warnings.
2009-08-05 18:28:06 -04:00
Ray Strode
63f116f523
[event-loop] Make ply_event_loop_free_sources static
...
This fixes a compiler warning.
2009-08-05 18:23:11 -04:00
Ray Strode
a6936963fb
[terminal] fix header prototype
...
argument list was () instead of (void). This fixes
a compiler warning.
2009-08-05 18:22:23 -04:00
Ray Strode
916c3e04da
[utils] Fix signedness warning in utf8 handling
2009-08-05 18:20:54 -04:00
Ray Strode
ccea851e88
[utils] drop ply_create_unix_socket
...
It's dead code.
2009-08-05 18:20:48 -04:00
Ray Strode
a50b3432b7
[list] make node constructor/destructor static
...
They aren't public API and this fixes a compiler warning.
2009-08-05 18:12:21 -04:00
Ray Strode
9a5830f0b4
[frame-buffer] Drop ply_frame_buffer_area_union
...
It's no longer used. We can always pull it out of history if we
need it again.
2009-08-05 18:10:37 -04:00
Ray Strode
b6712a35ca
[frame-buffer] Fix some signedness warnings
2009-08-05 18:08:06 -04:00
Ray Strode
0c257e1d92
[frame-buffer] use inline at start of prototype
...
This fixes a gcc warning.
2009-08-05 18:05:54 -04:00
Ray Strode
93a16e060c
[script] drop stringify, .script.h instead of .string
...
stringify.py is written in perl, but doesn't do much to justify the
dependency. We now just do sed in the Makefile. Also, rename
.string to .script.h since that's a little more conventional.
2009-08-05 15:41:37 -04:00
Ray Strode
ce77a0e8d3
[script] Add actual generated sources to BUILT_SOURCES
...
Commit b01ac7970d was wrong,
it added non-generated source files to BUILT_SOURCES.
2009-08-05 14:24:31 -04:00
Charlie Brej
d31762a353
[two-step] Do not remove an additional bullet when backspaceing
...
Plugins shouldn't do anything when they see a backspace. The number of bullets
is passed to them through a password status callback.
2009-08-05 16:30:13 +01:00
Charlie Brej
6b8d3bae86
[throbgress] Do not remove an additional bullet when backspaceing
...
Plugins shouldn't do anything when they see a backspace. The number of bullets
is passed to them through a password status callback.
2009-08-05 16:21:53 +01:00
Frederic Crozat
aa1b9c6175
[splash] do not ship generated files in tarball
2009-08-05 10:59:15 -04:00
Ray Strode
18955e7382
[script] Call stringify.pl from srcdir
...
This fixes a builddir != srcdir problem
2009-08-05 10:58:07 -04:00
Ray Strode
b01ac7970d
[script] Add generated source files to BUILT_SOURCES
...
This is one part of fixing make distcheck.
2009-08-05 10:54:58 -04:00
Ray Strode
a5958e94aa
[gitignore] Unignore some .plymouth files
...
There are a couple of .plymouth files that aren't
generated, so we shouldn't ignore them.
2009-07-24 09:30:32 -04:00
Charlie Brej
a9d8514cd7
[gitignore] Add new file types for git to ignore
...
".plymouth" is generated from ".plymouth.in" files.
".string" is generated from ".script" files.
".bck" is used as backups by Nedit.
2009-07-24 09:30:32 -04:00
Charlie Brej
ebe123a1e4
[script] Correct vareable to variable
...
There are likely many other misspellings that I consistently get wrong.
2009-07-24 09:30:32 -04:00
Charlie Brej
d6f6643321
[script] Sort the sprites so they are drawn in the correct order
...
Sorting is done using the Z parameter. The higher the closer to the front and
the more above the others.
2009-07-24 09:30:31 -04:00
Charlie Brej
2f1154e3c2
[script] Rename ply-scan to script-scan
...
The scan functions were originally aimed to be put in libply but then again I
can't think of anything that would use them so they are now renamed to left in
the plugin.
2009-07-24 09:30:31 -04:00
Charlie Brej
bc0d731e6f
[script] Tidy up the example script
...
Removes the spinfinity function as it used an ugly ../ path to get the images
and assumed that spinfinity was installed.
Removes some elements which were only inserted for testing.
2009-07-24 09:30:31 -04:00
Charlie Brej
f787ec7744
[script] Remove print object function which was unused
...
It was useful when the language was being constructed to make sure reference
counts were sane but only worked in text mode.
2009-07-24 09:30:30 -04:00
Charlie Brej
fdfc7a5da7
[script] Remove a no longer necessary parse error test and message
...
Also a couple minor indentations
2009-07-24 09:30:30 -04:00
Charlie Brej
9879f3312f
[script] Preset plymouth callback functions to script NULL objects
...
They were set to the real NULL which most script-object functions cannot deal
with.
2009-07-24 09:30:29 -04:00
Charlie Brej
bc214f2b2b
[script] Use ply_scan_token_is_something wrapper functions in the parser
...
Makes the code easier to read and a bit smaller.
2009-07-24 09:30:29 -04:00
Charlie Brej
79dfa86636
[script] Use the parse operator table and procedure definition functions
...
This should make the script-parse a little more manageable and cut a few lines
of code.
2009-07-24 09:30:29 -04:00
Charlie Brej
23824af594
[script] Use a symbol table lookup parse function
2009-07-24 09:30:28 -04:00
Charlie Brej
65ef7eb7e1
[script] Merge all Left-To-Right parsing into a single function
2009-07-24 09:30:28 -04:00
Charlie Brej
a6bc1a4c7c
[script] Allows definitions of functions to be described within expressions
...
As well as
fun fun_name (foo) {return foo+10;}
now you can also say
fun_name = fun (foo) return foo+10;
2009-07-24 09:30:28 -04:00
Charlie Brej
621d080166
[script] Add support for variable number of arguments
...
Functions can pick up the full array of arguments passed in using the "_args"
local variable. This is a hash with arguments stored indexed from "0" to "N".
The "count" entry in the _args hash contains the number of vars passed in.
2009-07-24 09:30:27 -04:00