Michael Drake
0a3a40c23e
Box construction: Don't handle IMAGE specially.
2018-12-13 12:31:38 +00:00
Michael Drake
3d12bfe595
Message: Fix french translation.
...
Thanks to rico542.
2018-11-22 09:39:40 +00:00
Chris Young
7d1e8a75fb
single precision test
2018-11-21 18:41:43 +00:00
Vincent Sanders
05ac430305
ensure filename numeric is not truncated and hence cause output buffer overflow
2018-11-06 21:59:50 +00:00
Vincent Sanders
7264ff6f4d
ensure url buffer is sufficient to not truncate output
2018-11-06 21:58:53 +00:00
Vincent Sanders
3fd6f04e52
ensure output buffer is large enough to not be truncated
2018-11-06 21:57:23 +00:00
Vincent Sanders
0bd66d4d04
fix helper script apt packaging to work with buster
2018-11-06 21:55:20 +00:00
Vincent Sanders
5b235b5195
fix logging level in duktape binding
2018-11-06 21:54:03 +00:00
Vincent Sanders
d5d1634675
fix gcc version parameter ordering for gcc 8
2018-11-06 21:52:53 +00:00
Michael Drake
c1e1df42e2
Test: Fix simultanious-fetches.yaml to not look like a YAML alias.
2018-11-04 14:46:46 +00:00
Michael Drake
9a90babfa1
Test: Monkey driver: Fix blocking for *all* windows.
2018-11-04 14:45:46 +00:00
Michael Drake
d676c7e5b6
Test: Monkey driver: Implement sleep-ms and repeat actions.
2018-11-04 14:34:31 +00:00
Michael Drake
eb87192ddc
Test: Monkey driver: Split out conds_met function.
2018-11-04 13:13:23 +00:00
Michael Drake
e12e50efaa
Test: Monkey driver: Timers can live outside launches.
2018-11-04 13:10:27 +00:00
Vincent Sanders
a2ffbdfd1c
add certificate window handling
2018-11-04 11:20:40 +00:00
Michael Drake
3ea6fadac2
Test: Monkey driver: Improve navigate step logging.
2018-11-04 11:07:36 +00:00
Michael Drake
54be19e6c8
Test: Monkey driver: Add support for timer actions.
2018-11-04 10:57:57 +00:00
Daniel Silverstone
46b6b7c9b4
Final tweaks, support LOGIN in monkeyfarmer
2018-11-04 10:35:22 +00:00
Daniel Silverstone
fa8dfa28d1
Update monkey 401login a little to be easier to work with
2018-11-04 10:11:13 +00:00
Daniel Silverstone
44082f9988
Slightly nicer handling of js_exec() and errors
2018-11-04 09:56:41 +00:00
Vincent Sanders
f12dee199c
add 401 login handling to monkey frontend
2018-11-03 17:33:42 +00:00
Michael Drake
97cbc18021
Monkey: Buildsystem: Set messages directory.
2018-11-03 17:30:49 +00:00
Daniel Silverstone
b34a52e4b9
More monkey stuff
2018-11-03 17:14:43 +00:00
Daniel Silverstone
94bba97a45
Remove redundant redraw method
2018-11-03 16:51:01 +00:00
Michael Drake
7cc1f1bfc0
Monkey tests: Add more example test plans.
2018-11-03 16:49:58 +00:00
Michael Drake
90e4976800
Monkey driver: Initial loader for monkey test plans.
2018-11-03 16:35:22 +00:00
Daniel Silverstone
6fcb0d498f
Update farmer a little ready for later
2018-11-03 15:28:23 +00:00
Daniel Silverstone
77814588a8
Correct wrong MOUT_ERROR to MOUT_WINDOW
2018-11-03 15:27:58 +00:00
Vincent Sanders
6ff3238825
centralise monkey output generation
2018-11-03 15:12:50 +00:00
Daniel Silverstone
4fcb6eb301
Upgrade monkey farmer to python 3 (badly)
2018-11-03 11:42:50 +00:00
Michael Drake
96254254a6
GTK: Squash GCC8.2 warning.
...
frontends/gtk/download.c: In function ‘gui_download_window_create’:
frontends/gtk/download.c:829:10: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type]
(GSourceFunc) nsgtk_download_update, FALSE);
^
2018-11-03 11:00:09 +00:00
Michael Drake
5eb7345cc7
GTK: Make nsgtk_download_selection_action match GFunc prototype.
...
Squashes GCC 8.2 warning:
frontends/gtk/download.c:244:22: warning: cast between incompatible function types
from ‘nsgtk_download_selection_action’ {aka ‘void (*)(struct gui_download_window *)’}
to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(dls, (GFunc)action, NULL);
^
2018-11-03 08:48:24 +00:00
Michael Drake
df79047cb6
GTK: Squash a couple of warnings from GCC 8.2.
...
frontends/gtk/download.c: In function ‘nsgtk_download_do’:
frontends/gtk/download.c:238:24: warning: cast between incompatible function
types from ‘void (*)(GtkTreePath *)’ {aka ‘void (*)(struct _GtkTreePath *)’}
to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL);
^
frontends/gtk/download.c:239:24: warning: cast between incompatible function
types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
g_list_foreach(rows, (GFunc)g_free, NULL);
^
2018-11-03 08:39:05 +00:00
Vincent Sanders
e275b3175b
check dom call return and improve handling of missing form type
2018-10-09 17:00:22 +01:00
Vincent Sanders
8687265c9a
fix stupid typo in previous commit
2018-10-08 12:33:58 +01:00
Vincent Sanders
a8ee1c2d63
explicitly check for null string before compare
2018-10-06 15:44:17 +01:00
Vincent Sanders
04a515a8ca
add sha 256 checksum fallback binary name for openbsd
2018-10-05 00:11:08 +01:00
Vincent Sanders
631a3145f8
fix sha256 file name suffix in script
2018-10-05 00:00:16 +01:00
Vincent Sanders
7ef2b8b711
fix stupid error expanding shell variable
2018-10-04 23:54:14 +01:00
Vincent Sanders
3523cdc4a4
cope with md5sum being named different things on bsd
2018-10-04 23:49:31 +01:00
Vincent Sanders
ef53336724
update the deployment script to add sha and md5 checksums
2018-10-04 23:13:28 +01:00
Michael Drake
7e08cf4352
Treeview: Fix designated struct initialisation.
2018-10-04 20:24:10 +01:00
Vincent Sanders
4a24a14b09
ensure fedora gcc gives us all the version information
2018-10-04 17:18:02 +01:00
Vincent Sanders
7a61c95724
rewrite form_successful_controls_dom as form_dom_to_data
...
Trying to reason about error propagation and resource leakage within
the form submission code was impossible because of the
form_successful_controls_dom function.
This function was over six hundred lines long, had twenty six top
level local variables and six levels of indent in places.
This commit splits it out into thirteen shorter and more obvious
functions. The resulting operation is identical except errors are
properly propagated (all failures were reported as out of memory)
and resource management can be reasoned about.
The compiler appears to inline the entirety of the code from
form_submit() down excepting a handful of leaf functions. This
results in similar code output size as previous implementation.
The new implementation has a greater number of variables passed to sub
functions than desirable because multiple character sets are required
to encode names and values in the multipart data list. However as
noted the compiler effectively inlines all these functions so this
does not actually become a major problem.
2018-09-29 16:59:34 +01:00
Chris Young
5b849b1e22
Add a TODO for history context menu
2018-09-27 00:23:36 +01:00
Chris Young
dfc8f5aef4
Quick fix to convert helphints to correct charset
...
We should probably have our own strings for these
2018-09-27 00:18:14 +01:00
Chris Young
b097455772
Convert find window messages to local charset
2018-09-27 00:12:17 +01:00
Chris Young
64bc2a7931
Stop using the same large list of gadget constants everywhere
...
Saves a small amount of memory
2018-09-26 23:53:49 +01:00
Vincent Sanders
a268252629
gcc on openbsd is unable to reason about res variable usage and generates bogus warning
2018-09-26 21:32:35 +01:00
Vincent Sanders
5c96acd6f1
fix url encoding to be compatible with nsurl API changes.
...
As part of this fix the form submission error handling and
reporting has been improved.
2018-09-26 17:21:48 +01:00