Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 538 lines (402 sloc) 11.227 kb
7c0312bf »
2009-05-16 Reimplemented my changes:
1 /* -*- c-basic-offset: 4; -*-
2
9ac27960 »
2009-05-07 moved bindings to uzbl.bindings
3 * See LICENSE for license details
4 *
5 * Changelog:
6 * ---------
7 *
8 * (c) 2009 by Robert Manea
9 * - introduced struct concept
10 * - statusbar template
f70df5ad »
2009-05-16 clean traling whitespaces
11 *
9ac27960 »
2009-05-07 moved bindings to uzbl.bindings
12 */
a7ffb384 »
2009-05-07 move globals to structs, another round.
13
757b51da »
2009-05-19 Disable splitting for some actions, fix sampleconfig-dev
14 #define NOSPLIT ((void*)1)
02710b3e »
2009-05-08 added default status_format
15
b329cac4 »
2009-05-15 Add SET handling for useragent.
16 enum {
17 /* statusbar symbols */
f70df5ad »
2009-05-16 clean traling whitespaces
18 SYM_TITLE, SYM_URI, SYM_NAME,
b329cac4 »
2009-05-15 Add SET handling for useragent.
19 SYM_LOADPRGS, SYM_LOADPRGSBAR,
20 SYM_KEYCMD, SYM_MODE, SYM_MSG,
ae20aa3c »
2009-05-17 SELECTED_URI variable + allow variable replacing in window title in b…
21 SYM_SELECTED_URI,
b329cac4 »
2009-05-15 Add SET handling for useragent.
22 /* useragent symbols */
23 SYM_WK_MAJ, SYM_WK_MIN, SYM_WK_MIC,
24 SYM_SYSNAME, SYM_NODENAME,
25 SYM_KERNREL, SYM_KERNVER,
26 SYM_ARCHSYS, SYM_ARCHUZBL,
27 SYM_DOMAINNAME, SYM_COMMIT
28 };
29
ef4b3ca7 »
2009-05-06 refactored status bar template symbol definition and setup
30 const struct {
31 gchar *symbol_name;
32 guint symbol_token;
33 } symbols[] = {
34 {"NAME", SYM_NAME},
35 {"URI", SYM_URI},
36 {"TITLE", SYM_TITLE},
ae20aa3c »
2009-05-17 SELECTED_URI variable + allow variable replacing in window title in b…
37 {"SELECTED_URI", SYM_SELECTED_URI},
448aa221 »
2009-05-06 added KEYCMD to statusbar template
38 {"KEYCMD", SYM_KEYCMD},
f7abb5ef »
2009-05-06 added MODE symbol to statusbar template
39 {"MODE", SYM_MODE},
9e0d6723 »
2009-05-12 added status_msg and MSG to status template
40 {"MSG", SYM_MSG},
ef4b3ca7 »
2009-05-06 refactored status bar template symbol definition and setup
41 {"LOAD_PROGRESS", SYM_LOADPRGS},
42 {"LOAD_PROGRESSBAR", SYM_LOADPRGSBAR},
b329cac4 »
2009-05-15 Add SET handling for useragent.
43
44 {"WEBKIT_MAJOR", SYM_WK_MAJ},
45 {"WEBKIT_MINOR", SYM_WK_MIN},
46 {"WEBKIT_MICRO", SYM_WK_MIC},
47 {"SYSNAME", SYM_SYSNAME},
48 {"NODENAME", SYM_NODENAME},
49 {"KERNREL", SYM_KERNREL},
50 {"KERNVER", SYM_KERNVER},
51 {"ARCH_SYSTEM", SYM_ARCHSYS},
52 {"ARCH_UZBL", SYM_ARCHUZBL},
53 {"DOMAINNAME", SYM_DOMAINNAME},
54 {"COMMIT", SYM_COMMIT},
ef4b3ca7 »
2009-05-06 refactored status bar template symbol definition and setup
55 {NULL, 0}
56 }, *symp = symbols;
57
96c22d0e »
2009-05-04 Move global variables into structs, first round
58 /* status bar elements */
59 typedef struct {
60 gint load_progress;
9e0d6723 »
2009-05-12 added status_msg and MSG to status template
61 gchar *msg;
be6cd893 »
2009-05-20 added possibility to configure the ascii progressbar
62 gchar *progress_s, *progress_u;
63 int progress_w;
96c22d0e »
2009-05-04 Move global variables into structs, first round
64 } StatusBar;
65
a7ffb384 »
2009-05-07 move globals to structs, another round.
66
96c22d0e »
2009-05-04 Move global variables into structs, first round
67 /* gui elements */
68 typedef struct {
69 GtkWidget* main_window;
d6edddd2 »
2009-05-15 added status_top to cmd parser
70 GtkWidget* scrolled_win;
71 GtkWidget* vbox;
96c22d0e »
2009-05-04 Move global variables into structs, first round
72 GtkWidget* mainbar;
73 GtkWidget* mainbar_label;
74 GtkScrollbar* scbar_v; // Horizontal and Vertical Scrollbar
75 GtkScrollbar* scbar_h; // (These are still hidden)
76 GtkAdjustment* bar_v; // Information about document length
77 GtkAdjustment* bar_h; // and scrolling position
78 WebKitWebView* web_view;
79 gchar* main_title;
80
e04be0ff »
2009-05-24 added support for WebInspector
81 /* WebInspector */
82 GtkWidget *inspector_window;
83 WebKitWebInspector *inspector;
84
96c22d0e »
2009-05-04 Move global variables into structs, first round
85 StatusBar sbar;
86 } GUI;
87
a7ffb384 »
2009-05-07 move globals to structs, another round.
88
96c22d0e »
2009-05-04 Move global variables into structs, first round
89 /* external communication*/
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
90 enum { FIFO, SOCKET};
96c22d0e »
2009-05-04 Move global variables into structs, first round
91 typedef struct {
6aa99a6a »
2009-05-14 Added functionality for (re)setting fifo_dir.
92 gchar *fifo_path;
93 gchar *socket_path;
06decd11 »
2009-05-12 first partially working command parser
94 /* stores (key)"variable name" -> (value)"pointer to this var*/
95 GHashTable *proto_var;
3b9d97b8 »
2009-05-23 Add (spawn|sh)_sync, make handle_cookies use run_handler
96 gchar *sync_stdout;
96c22d0e »
2009-05-04 Move global variables into structs, first round
97 } Communication;
98
a7ffb384 »
2009-05-07 move globals to structs, another round.
99
96c22d0e »
2009-05-04 Move global variables into structs, first round
100 /* internal state */
101 typedef struct {
102 gchar *uri;
103 gchar *config_file;
06decd11 »
2009-05-12 first partially working command parser
104 char *instance_name;
6ac8a0d0 »
2009-05-19 merge in from salinasv
105 gchar *selected_url;
106 gchar *executable_path;
a7ffb384 »
2009-05-07 move globals to structs, another round.
107 GString* keycmd;
6996b4db »
2009-05-19 Merge branch 'experimental' of git://github.com/DuClare/uzbl into exp…
108 gchar* searchtx;
a7ffb384 »
2009-05-07 move globals to structs, another round.
109 struct utsname unameinfo; /* system info */
7c0312bf »
2009-05-16 Reimplemented my changes:
110 gboolean verbose;
96c22d0e »
2009-05-04 Move global variables into structs, first round
111 } State;
112
a7ffb384 »
2009-05-07 move globals to structs, another round.
113
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
114 /* networking */
0dc558f8 »
2009-05-05 Refactored networking variables to use the new struct concept
115 typedef struct {
116 SoupSession *soup_session;
117 SoupLogger *soup_logger;
118 char *proxy_url;
119 char *useragent;
120 gint max_conns;
121 gint max_conns_host;
122 } Network;
123
a7ffb384 »
2009-05-07 move globals to structs, another round.
124
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
125 /* behaviour */
126 typedef struct {
702868aa »
2009-05-13 Added load_finish_handler, call when a page has finished loading.
127 gchar* load_finish_handler;
c445d931 »
2009-05-19 Add load_start_handler
128 gchar* load_start_handler;
4636b091 »
2009-05-19 Allow splitting wo/unescaping, add load_commit_handler, fix run_handler
129 gchar* load_commit_handler;
9155f753 »
2009-05-08 support for changing the background color of the statusbar correctly
130 gchar* status_format;
ae20aa3c »
2009-05-17 SELECTED_URI variable + allow variable replacing in window title in b…
131 gchar* title_format_short;
132 gchar* title_format_long;
9155f753 »
2009-05-08 support for changing the background color of the statusbar correctly
133 gchar* status_background;
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
134 gchar* history_handler;
135 gchar* fifo_dir;
136 gchar* socket_dir;
137 gchar* download_handler;
138 gchar* cookie_handler;
139 gboolean always_insert_mode;
140 gboolean show_status;
141 gboolean insert_mode;
142 gboolean status_top;
d5f76f3e »
2009-05-14 better name for resetting to command mode
143 gboolean reset_command_mode;
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
144 gchar* modkey;
145 guint modmask;
146 guint http_debug;
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
147 gchar* shell_cmd;
148 /* WebKitWebSettings exports */
df1d2a49 »
2009-05-23 Shorten some lines and rename default_*_size to *_size
149 guint font_size;
150 guint monospace_size;
6c45107e »
2009-05-16 Add variable: minimum_font_size
151 guint minimum_font_size;
5aebf8fe »
2009-05-22 Add var: disable_plugins
152 guint disable_plugins;
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
153 guint disable_scripts;
154 guint autoload_img;
155 guint autoshrink_img;
156 guint enable_spellcheck;
157 guint enable_private;
158 guint print_bg;
159 gchar* style_uri;
cb846147 »
2009-05-24 more WebKitWebSettings exports
160 guint resizable_txt;
161 gchar* default_encoding;
162 guint enforce_96dpi;
5085ffdd »
2009-05-25 added inject_html variable
163 gchar *inject_html;
e051683b »
2009-05-26 added html mode
164 guint caret_browsing;
165 guint mode;
166 gchar* base_url;
2fa43d56 »
2009-05-26 added user defined html_endmarker
167 gchar* html_endmarker;
afce2742 »
2009-05-28 OH GOD I DON'T KNOW WHAT I AM DOING
168 gchar* insert_indicator;
169 gchar* cmd_indicator;
e051683b »
2009-05-26 added html mode
170 GString* html_buffer;
965c28d1 »
2009-05-26 added html_mode_timeout and an alrm handler that returns to normal co…
171 guint html_timeout;
a7ffb384 »
2009-05-07 move globals to structs, another round.
172
173 /* command list: name -> Command */
174 GHashTable* commands;
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
175 } Behaviour;
176
0dc558f8 »
2009-05-05 Refactored networking variables to use the new struct concept
177
96c22d0e »
2009-05-04 Move global variables into structs, first round
178 /* main uzbl data structure */
179 typedef struct {
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
180 GUI gui;
181 State state;
182 Network net;
183 Behaviour behave;
96c22d0e »
2009-05-04 Move global variables into structs, first round
184 Communication comm;
8f3fa4d0 »
2009-05-07 Move globals to structs, one more round. introducing struct Behaviour
185
186 Window xwin;
187 GScanner *scan;
9ac27960 »
2009-05-07 moved bindings to uzbl.bindings
188
189 /* group bindings: key -> action */
190 GHashTable* bindings;
96c22d0e »
2009-05-04 Move global variables into structs, first round
191 } Uzbl;
192
a7ffb384 »
2009-05-07 move globals to structs, another round.
193
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
194 typedef struct {
195 char* name;
196 char* param;
197 } Action;
198
fc2bff84 »
2009-05-07 added signal handling and a clean_up() function
199 typedef void sigfunc(int);
50d7e59d »
2009-05-02 merge robm changes: instance naming + better socket code
200
7c0312bf »
2009-05-16 Reimplemented my changes:
201 /* XDG Stuff */
202
203 typedef struct {
204 gchar* environmental;
205 gchar* default_value;
206 } XDG_Var;
207
208 XDG_Var XDG[] =
209 {
210 { "XDG_CONFIG_HOME", "~/.config" },
211 { "XDG_DATA_HOME", "~/.local/share" },
212 { "XDG_CACHE_HOME", "~/.cache" },
213 { "XDG_CONFIG_DIRS", "/etc/xdg" },
214 { "XDG_DATA_DIRS", "/usr/local/share/:/usr/share/" },
215 };
216
52476946 »
2009-05-05 removed eprint() and estrdup() from uzbl.h
217 /* Functions */
fdb283bb »
2009-05-05 Added a statusbar parser that allows using arbitrary templates for th…
218 static void
219 setup_scanner();
220
50d7e59d »
2009-05-02 merge robm changes: instance naming + better socket code
221 char *
222 itos(int val);
223
7c0312bf »
2009-05-16 Reimplemented my changes:
224 static char *
225 str_replace (const char* search, const char* replace, const char* string);
226
5706dd58 »
2009-05-19 Modified read_file_by_line to return a GArray, and allow files of mor…
227 static GArray*
987d4c7b »
2009-05-18 Added read_file_by_line() function
228 read_file_by_line (gchar *path);
229
6bc1e46f »
2009-05-18 Added support for environmental variables in SET and BIND commands.
230 static
23df8d48 »
2009-05-22 Fix leaks in parseenv, str_replace
231 gchar* parseenv (char* string);
6bc1e46f »
2009-05-18 Added support for environmental variables in SET and BIND commands.
232
fc2bff84 »
2009-05-07 added signal handling and a clean_up() function
233 static void
234 clean_up(void);
235
236 static void
237 catch_sigterm(int s);
238
239 static sigfunc *
240 setup_signal(int signe, sigfunc *shandler);
241
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
242 static gboolean
965c28d1 »
2009-05-26 added html_mode_timeout and an alrm handler that returns to normal co…
243 set_var_value(gchar *name, gchar *val);
244
f219ef20 »
2009-05-30 added print command
245 static void
246 print(WebKitWebView *page, GArray *argv);
247
965c28d1 »
2009-05-26 added html_mode_timeout and an alrm handler that returns to normal co…
248 static gboolean
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
249 new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
250
e91f5b5d »
2009-06-02 merge from Uli Schlachter: policy callback + experimental Makefile + …
251 static gboolean
252 mime_policy_cb(WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, gchar *mime_type, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
253
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
254 WebKitWebView*
255 create_web_view_cb (WebKitWebView *web_view, WebKitWebFrame *frame, gpointer user_data);
256
257 static gboolean
258 download_cb (WebKitWebView *web_view, GObject *download, gpointer user_data);
259
260 static void
692b7e70 »
2009-05-19 Argv stub
261 toggle_status_cb (WebKitWebView* page, GArray *argv);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
262
263 static void
264 link_hover_cb (WebKitWebView* page, const gchar* title, const gchar* link, gpointer data);
265
266 static void
267 title_change_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, const gchar* title, gpointer data);
268
269 static void
270 progress_change_cb (WebKitWebView* page, gint progress, gpointer data);
271
272 static void
273 load_commit_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data);
274
275 static void
c445d931 »
2009-05-19 Add load_start_handler
276 load_start_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data);
277
278 static void
702868aa »
2009-05-13 Added load_finish_handler, call when a page has finished loading.
279 load_finish_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data);
280
281 static void
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
282 destroy_cb (GtkWidget* widget, gpointer data);
283
284 static void
285 log_history_cb ();
286
287 static void
288 commands_hash(void);
289
290 void
291 free_action(gpointer act);
292
293 Action*
294 new_action(const gchar *name, const gchar *param);
295
296 static bool
297 file_exists (const char * filename);
298
086501b8 »
2009-05-18 fixed control_stdin to recognize all input
299 static void
6996b4db »
2009-05-19 Merge branch 'experimental' of git://github.com/DuClare/uzbl into exp…
300 toggle_insert_mode(WebKitWebView *page, GArray *argv);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
301
302 static void
692b7e70 »
2009-05-19 Argv stub
303 load_uri (WebKitWebView * web_view, GArray *argv);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
304
305 static void
306 new_window_load_uri (const gchar * uri);
307
308 static void
cbc4a4fc »
2009-05-28 Add 'chain' action for binding multiple actions
309 chain (WebKitWebView *page, GArray *argv);
310
311 static void
51b0c647 »
2009-05-28 Add actions keycmd and keycmd_nl
312 keycmd (WebKitWebView *page, GArray *argv);
313
314 static void
315 keycmd_nl (WebKitWebView *page, GArray *argv);
316
317 static void
7b2b1b14 »
2009-05-28 Add action 'keycmd_bs' for backspacing a char
318 keycmd_bs (WebKitWebView *page, GArray *argv);
319
320 static void
692b7e70 »
2009-05-19 Argv stub
321 close_uzbl (WebKitWebView *page, GArray *argv);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
322
323 static gboolean
5a9d987f »
2009-05-18 Fix spawn.sh, let run_command have n args before defaults
324 run_command(const gchar *command, const guint npre,
325 const gchar **args, const gboolean sync, char **stdout);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
326
327 static void
692b7e70 »
2009-05-19 Argv stub
328 spawn(WebKitWebView *web_view, GArray *argv);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
329
330 static void
692b7e70 »
2009-05-19 Argv stub
331 spawn_sh(WebKitWebView *web_view, GArray *argv);
10431d41 »
2009-05-16 Add action: sh, add var: shell_cmd
332
333 static void
3b9d97b8 »
2009-05-23 Add (spawn|sh)_sync, make handle_cookies use run_handler
334 spawn_sync(WebKitWebView *web_view, GArray *argv);
335
336 static void
337 spawn_sh_sync(WebKitWebView *web_view, GArray *argv);
338
339 static void
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
340 parse_command(const char *cmd, const char *param);
341
5171e781 »
2009-05-15 Add missing declaration, add runcmd for running bind, etc. via gui
342 static void
343 parse_cmd_line(const char *ctl_line);
344
44ec7396 »
2009-05-14 Rename create_socket to init_socket, refactor init_*
345 static gchar*
346 build_stream_name(int type, const gchar *dir);
50d7e59d »
2009-05-02 merge robm changes: instance naming + better socket code
347
4cb5e65f »
2009-05-15 fixed control_fifo() to return a correct status
348 static gboolean
0536ddbc »
2009-05-03 somewhat improved fifo code. bug still not fixed
349 control_fifo(GIOChannel *gio, GIOCondition condition);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
350
44ec7396 »
2009-05-14 Rename create_socket to init_socket, refactor init_*
351 static gchar*
352 init_fifo(gchar *dir);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
353
06decd11 »
2009-05-12 first partially working command parser
354 static gboolean
4cd06fbc »
2009-05-09 support getting commands from stdin
355 control_stdin(GIOChannel *gio, GIOCondition condition);
356
357 static void
358 create_stdin();
359
44ec7396 »
2009-05-14 Rename create_socket to init_socket, refactor init_*
360 static gchar*
361 init_socket(gchar *dir);
50d7e59d »
2009-05-02 merge robm changes: instance naming + better socket code
362
5202ec3f »
2009-05-16 fix return for control_socket
363 static gboolean
50d7e59d »
2009-05-02 merge robm changes: instance naming + better socket code
364 control_socket(GIOChannel *chan);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
365
366 static void
367 update_title (void);
f70df5ad »
2009-05-16 clean traling whitespaces
368
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
369 static gboolean
bccfaa1b »
2009-05-19 Moved key_press_cb callback to the main window rather than webkit, to…
370 key_press_cb (GtkWidget* window, GdkEventKey* event);
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
371
fd4821b6 »
2009-05-16 Move execution from key_press_cb to its own function, run_keycmd.
372 static void
373 run_keycmd(const gboolean key_ret);
374
6c117770 »
2009-05-26 Refactor run_keycmd, allow inc and normal binds with the same name
375 static void
376 exec_paramcmd(const Action* act, const guint i);
377
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
378 static GtkWidget*
379 create_browser ();
380
381 static GtkWidget*
382 create_mainbar ();
383
384 static
385 GtkWidget* create_window ();
386
387 static void
17160f7a »
2009-05-18 Remove bunches of old code, fix run_handler, free some stuff
388 run_handler (const gchar *act, const gchar *args);
e291c178 »
2009-05-18 Add split_quoted, use the safer functions in run_command, break stuff
389
390 static void
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
391 add_binding (const gchar *key, const gchar *act);
392
7c0312bf »
2009-05-16 Reimplemented my changes:
393 static gchar*
394 get_xdg_var (XDG_Var xdg);
395
396 static gchar*
397 find_xdg_file (int xdg_type, char* filename);
398
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
399 static void
400 settings_init ();
401
1825c5b1 »
2009-05-03 Search
402 static void
355fa7c0 »
2009-05-19 Finish argv, fix sampleconfig-dev
403 search_text (WebKitWebView *page, GArray *argv, const gboolean forward);
260b76c7 »
2009-05-17 cleanup after merging in from splattael
404
405 static void
692b7e70 »
2009-05-19 Argv stub
406 search_forward_text (WebKitWebView *page, GArray *argv);
fbd34b5b »
2009-05-17 Search reverse. Use vim keys (n, N and /, ?).
407
408 static void
692b7e70 »
2009-05-19 Argv stub
409 search_reverse_text (WebKitWebView *page, GArray *argv);
1825c5b1 »
2009-05-03 Search
410
01cfcffd »
2009-05-03 Added command "script" to run javascript on the current page.
411 static void
c7a26e5a »
2009-05-26 Add action dehilight, make ESC dehilight
412 dehilight (WebKitWebView *page, GArray *argv);
413
414 static void
692b7e70 »
2009-05-19 Argv stub
415 run_js (WebKitWebView * web_view, GArray *argv);
01cfcffd »
2009-05-03 Added command "script" to run javascript on the current page.
416
1cfdb853 »
2009-05-18 Renamed "script" to "js".
417 static void
6996b4db »
2009-05-19 Merge branch 'experimental' of git://github.com/DuClare/uzbl into exp…
418 run_external_js (WebKitWebView * web_view, GArray *argv);
1cfdb853 »
2009-05-18 Renamed "script" to "js".
419
12b0591e »
2009-05-05 Implement saving cookies
420 static void handle_cookies (SoupSession *session,
cc614ab8 »
2009-05-24 added 'set' action
421 SoupMessage *msg,
422 gpointer user_data);
12b0591e »
2009-05-05 Implement saving cookies
423 static void
424 save_cookies (SoupMessage *msg,
cc614ab8 »
2009-05-24 added 'set' action
425 gpointer user_data);
426
427 static void
428 set_var(WebKitWebView *page, GArray *argv);
429
965c28d1 »
2009-05-26 added html_mode_timeout and an alrm handler that returns to normal co…
430 static void
1e66be3a »
2009-05-29 Rem BIND cmd, add 'bind' action. Use parseenv in set_var & bind
431 act_bind(WebKitWebView *page, GArray *argv);
432
433 static void
afce2742 »
2009-05-28 OH GOD I DON'T KNOW WHAT I AM DOING
434 act_dump_config();
435
436 static void
965c28d1 »
2009-05-26 added html_mode_timeout and an alrm handler that returns to normal co…
437 render_html();
438
439 static void
440 set_timeout(int seconds);
441
afce2742 »
2009-05-28 OH GOD I DON'T KNOW WHAT I AM DOING
442 static void
443 dump_var_hash(gpointer k, gpointer v, gpointer ud);
444
445 static void
446 dump_key_hash(gpointer k, gpointer v, gpointer ud);
447
448 static void
449 dump_config();
450
182cca42 »
2009-05-19 added callback based uzbl commands
451
452 /* Command callbacks */
453 static void
454 cmd_load_uri();
455
456 static void
457 cmd_set_status();
458
459 static void
460 set_proxy_url();
461
462 static void
07c83283 »
2009-05-23 Autoprepend sync_ to sh and spawn when setting cookie hdler; update s…
463 cmd_cookie_handler();
464
465 static void
182cca42 »
2009-05-19 added callback based uzbl commands
466 move_statusbar();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
467
468 static void
469 cmd_always_insert_mode();
470
471 static void
472 cmd_http_debug();
473
474 static void
475 cmd_max_conns();
476
477 static void
478 cmd_max_conns_host();
479
480 static void
df1d2a49 »
2009-05-23 Shorten some lines and rename default_*_size to *_size
481 cmd_font_size();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
482
483 static void
5aebf8fe »
2009-05-22 Add var: disable_plugins
484 cmd_disable_plugins();
485
486 static void
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
487 cmd_disable_scripts();
488
489 static void
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
490 cmd_minimum_font_size();
491
492 static void
493 cmd_fifo_dir();
494
495 static void
496 cmd_socket_dir();
497
498 static void
499 cmd_modkey();
500
501 static void
502 cmd_useragent() ;
503
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
504 static void
505 cmd_autoload_img();
506
507 static void
508 cmd_autoshrink_img();
509
510 static void
511 cmd_enable_spellcheck();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
512
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
513 static void
514 cmd_enable_private();
515
516 static void
517 cmd_print_bg();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
518
95db6038 »
2009-05-24 export more WebKitWebSettings through the variable interface
519 static void
520 cmd_style_uri();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
521
cb846147 »
2009-05-24 more WebKitWebSettings exports
522 static void
523 cmd_resizable_txt();
524
525 static void
526 cmd_default_encoding();
527
528 static void
529 cmd_enforce_96dpi();
530
5085ffdd »
2009-05-25 added inject_html variable
531 static void
532 cmd_inject_html();
ef431d77 »
2009-05-19 converted all variable commands to the callback system, get rid of va…
533
e051683b »
2009-05-26 added html mode
534 static void
535 cmd_caret_browsing();
536
8ba87ad7 »
2009-05-01 Moved structs/function primitives to uzbl.h file, so we no longer nee…
537 /* vi: set et ts=4: */
Something went wrong with that request. Please try again.