Michael Drake
b2181ddfce
Remove unused variables.
2014-05-19 16:56:55 +01:00
Michael Drake
299aae255f
Remove if/else with duplicate branches.
2014-05-19 16:53:45 +01:00
Michael Drake
c21c781be8
Fix line endings.
2014-05-19 16:53:13 +01:00
Michael Drake
69e6fd86b3
Socpe reduce two variables.
2014-05-19 16:50:42 +01:00
Michael Drake
0629a976ae
Fix line endings.
2014-05-19 16:49:59 +01:00
Michael Drake
1d73b947e9
Remove unused variables.
2014-05-19 16:48:08 +01:00
Michael Drake
c11ed96ed3
Remove unused variable.
2014-05-19 16:47:10 +01:00
Michael Drake
8dbe07011c
Remove if/else with duplicate branches.
2014-05-19 16:46:02 +01:00
Michael Drake
11ff9acd83
Make line endings consistent.
2014-05-19 16:43:36 +01:00
Michael Drake
eec68e5433
Scope reduce some variables.
2014-05-19 16:37:09 +01:00
Vincent Sanders
b9ded6c735
make atari font plotting include css header explicitly
2014-05-18 23:25:09 +01:00
Vincent Sanders
64f607760b
add backing store storage path to browser initialisation
2014-05-13 15:53:06 +01:00
Vincent Sanders
16b11e7238
ensure operations tables are registered as early as possible.
2014-05-10 10:22:10 +01:00
Vincent Sanders
162e97cf01
undo some overzellous include removal
2014-05-09 10:21:48 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
Vincent Sanders
cd7f1eceea
make download_context_get_url() return an nsurl and adapt callers to cope
2014-05-08 17:54:44 +01:00
Vincent Sanders
096bd47ab0
refactor url utility functions to use standard nserror codes and have appropriate documentation.
2014-05-08 00:16:50 +01:00
Vincent Sanders
6349704b5e
fix silly errors in atari and amiga file operation table change
2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e
add file operations table and make all frontends use it.
...
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.
These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.
These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
283cd05d01
Improve documentation on mimetype fetcher table
2014-05-07 16:23:19 +01:00
Vincent Sanders
44715aea3c
erroneous path to testament include
2014-05-01 16:02:00 +01:00
Vincent Sanders
56b42943d0
improve iconv library handling
2014-04-30 11:56:57 +01:00
Vincent Sanders
6f9a93e332
fix formatting of defaults makefiles
2014-03-20 11:05:39 +00:00
Vincent Sanders
4d4d74c8cd
move page search gui callbacks to their own operations table
2014-03-18 22:32:52 +00:00
Vincent Sanders
5c6a0eda3b
fixup missing includes from schedule changes
2014-03-09 16:14:05 +00:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
Michael Drake
a38a63a37e
Make history internal to browser_window module.
2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd
Make browser_window_navigate (un)verifiable flag match browser_window_create.
2014-02-10 22:40:04 +00:00
Michael Drake
af014bce99
Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags.
2014-02-10 14:08:45 +00:00
Michael Drake
bd5102676a
Fix error.
2014-02-09 13:22:02 +00:00
Michael Drake
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
3d7cd77982
Simplify local history interface.
2014-02-08 22:43:54 +00:00
Vincent Sanders
dc33cb1418
atari fix for undefined PATH_MAX
2014-02-03 18:50:06 +00:00
Vincent Sanders
8d9e8791d9
try to make atari limits.h set PATH_MAX
2014-02-03 18:47:34 +00:00
Vincent Sanders
59fe9e09ac
atari limits include
2014-02-03 18:37:32 +00:00
Vincent Sanders
17231603db
fix atari PATH_MAX include
2014-02-03 18:31:53 +00:00
Vincent Sanders
abb37ba148
fix remaining include errors
2014-02-03 18:23:02 +00:00
Vincent Sanders
59eaaf3015
fixup missing includes
2014-02-03 18:12:44 +00:00
Vincent Sanders
236e135d63
fix missing stdlib include
2014-02-01 22:56:23 +00:00
Vincent Sanders
7798dae86a
fix missing includes
2014-02-01 22:44:43 +00:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +00:00
Vincent Sanders
8ce0a10670
move path_to_url and url_to_path to fetch operation table
2014-01-25 23:01:32 +00:00
Vincent Sanders
0475693394
create table for fetcher operations and move all operations into it
2014-01-23 00:00:18 +00:00
John-Mark Bell
8e1fe5d1a9
Atari: run correct freetype-config
2014-01-19 22:51:59 +00:00
Vincent Sanders
2f478eb5d7
fix missing forward declaration
2014-01-16 15:23:11 +00:00
Vincent Sanders
6cfa3cce63
fix atari build errors
2014-01-16 15:07:14 +00:00
Vincent Sanders
d47fed4524
move 401 login into operation table
2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a
move filename_from_path and path_add_part into gui operation tables
2014-01-16 00:01:25 +00:00
Vincent Sanders
bd065d4a43
split browser gui operations up
2014-01-15 19:37:05 +00:00
Vincent Sanders
0075eab194
move remaining gui operations to table
2014-01-14 23:31:54 +00:00
Vincent Sanders
8dfe225153
move download operations to download table
2014-01-14 16:04:02 +00:00
Vincent Sanders
d18c8ed452
move teh final optional window operations into the table
2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184
move four more optional window operations to table
2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9
move two more mandantory window operations to table
2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb
move mandantory window update and redraw operations into table
2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77
move more optional window operations into table including removing unused hide_pointer operation altogether
2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1
move set title, set url, start and stop throbber window operations to gui table
2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3
Initial conversion of netsurf gui to callback vtable
2014-01-11 14:20:30 +00:00
Daniel Silverstone
692d4a328c
Fix some log statements
2014-01-05 17:22:30 +00:00
Rob Kendrick
550c8cd73c
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78
Add new gui entry point for file open dialogue requests
2014-01-05 16:01:03 +00:00
Vincent Sanders
f7916866e3
remove all references to using libMNG
2014-01-04 17:07:11 +00:00
Ole Loots
c200eabf07
Set verbose log menu item checked state on startup.
2014-01-02 18:19:12 +01:00
Ole Loots
c495c08626
Default downloads directory name is "downloads" not "download"
2014-01-02 18:08:00 +01:00
Ole Loots
44a6c5bb17
Fix previous checking (do not call av/va functions)
2014-01-02 17:53:34 +01:00
Ole Loots
0f5cc9f03a
Added prototype for plot_get_abs_clipping_grect
2014-01-02 17:49:08 +01:00
Ole Loots
cd70ecd405
Added VA/AV Protocol support (not used yet).
2014-01-02 17:46:21 +01:00
Ole Loots
e65c91807e
Send SC_CHANGED after writing to scrap file
2013-12-29 23:16:30 +01:00
Ole Loots
4bf410a583
Extended documentation
2013-12-29 23:15:53 +01:00
Ole Loots
f31b7fa5c4
Minor documentation change
2013-12-29 23:00:52 +01:00
Ole Loots
ccde3fc1eb
Do not reload browser window on scal change
2013-12-29 22:26:14 +01:00
Ole Loots
e154748542
Do not use tmpnam() but a custom function.
2013-12-29 22:23:51 +01:00
Ole Loots
d451b543c6
Set absolute clipping for every window rectangle, not just the first.
2013-12-28 19:42:40 +01:00
Ole Loots
e8916548d1
Removed background flag for menu titles
...
The Background flag causes invalid display of the menu on MyAES.
Reported by Olivier Landemarre
2013-12-28 19:30:56 +01:00
Ole Loots
008389e837
Check for zero length string
2013-12-28 13:34:09 +01:00
Ole Loots
d09ac4433a
Fallback to about:welcome on home click when no homepage option is set.
2013-12-28 13:24:34 +01:00
Ole Loots
342bbcb4bc
Removed obsolete dir.png from package.
2013-12-28 03:05:23 +01:00
Ole Loots
e77046a179
Copy all icon resources into the installation package
2013-12-28 02:38:38 +01:00
Ole Loots
0a471e0b06
Removed obsolete code
2013-12-28 01:34:20 +01:00
Ole Loots
ad2cbae63e
Use new plot function: plot_set_abs_clipping.
2013-12-28 01:24:01 +01:00
Ole Loots
eaff41259b
Added plot_set_abs_clipping API to define maximum allowed clipping extent.
...
subsequent call's to plot_clip obey to the maximum clipping rect.
2013-12-28 01:20:20 +01:00
Ole Loots
289cd3a797
Added scale property to gui_window and use it.
2013-12-22 04:52:18 +01:00
Ole Loots
feef0562b5
Implemented specific redraw when treeview is iconified.
2013-12-22 04:10:59 +01:00
Ole Loots
d003fcf8bc
Do not redraw toolbar when window is iconified
2013-12-22 04:07:56 +01:00
Ole Loots
fca1e67c52
Minor change in changes.txt
2013-12-21 12:58:37 +01:00
Ole Loots
064c471239
Assign 0 not NULL as window handle when sending application message
2013-12-21 12:56:01 +01:00
Ole Loots
d788a1efc6
Removed obsolete build helper scripts
2013-12-21 12:47:24 +01:00
Ole Loots
5e261a363d
Added environment scripts for m68020-60 and v4e builds
2013-12-21 12:46:30 +01:00
Ole Loots
81f7cf5a75
Prepared TODO's for NetSurf 3.1
2013-12-21 04:37:52 +01:00
Ole Loots
7395aa14ff
Prepared changelof for 3.1 release
2013-12-21 04:19:47 +01:00
Ole Loots
103270938b
Check for null pointer before setting label
2013-12-21 03:17:39 +01:00
Ole Loots
9118f3c8cc
Added "select file/path" buttons to path configuration groupbox.
2013-12-21 02:43:38 +01:00
Ole Loots
b4cef781ef
Make package: Copy netsurf.png into res folder, not into root of package
2013-12-21 02:13:38 +01:00
Ole Loots
a2489f85d8
Minor formatting fix
2013-12-21 02:07:13 +01:00
Ole Loots
4abe5273c9
Added comments to plot API
2013-12-21 02:00:39 +01:00
Ole Loots
ae0f5834c4
Send AP_TERM to application on menu item "Exit" click.
2013-12-21 01:57:16 +01:00
Ole Loots
340d437b3f
Minor changes to gemtk
...
- check for NULL window ptr in gemtk_wm_send_msg
- use textarea template string for max textarea string length
2013-12-21 01:49:26 +01:00
Ole Loots
a7499820ba
Removed old code in atari/toolbar.c
2013-12-13 01:28:43 +01:00
Ole Loots
c938ee105f
Do not use default plot scale for URL redraw
2013-12-13 01:27:34 +01:00
Ole Loots
571b8e0167
plot_set_scale return old scale now.
2013-12-13 01:25:28 +01:00
Ole Loots
e9f2c3a9bf
Check if URL is already added to bookmark
2013-12-13 00:51:06 +01:00
Ole Loots
35115ed606
Removed toolbar icons: favourite, ssl-indicator
...
(because it looks disgusting)
2013-12-13 00:26:00 +01:00
Ole Loots
27b7b20108
Revert "Use correct LD_LIBRARY_PATH for additional libraries"
...
This reverts commit 5b4a9e9315
.
2013-12-05 22:35:02 +01:00
Ole Loots
a2688fc7a2
Recognize scale when plotting fonts
2013-12-04 02:00:45 +01:00
Ole Loots
66af93863d
Removed debug print
2013-12-04 01:44:26 +01:00
Ole Loots
c4ecef90d1
Recognize scale when plotting bitmaps
2013-12-04 01:40:10 +01:00
Ole Loots
480f33e18a
Redraw window on scale request.
2013-12-04 01:38:36 +01:00
Ole Loots
e4c8eeb4b0
Allow keyboard shortcuts not defined inside the RSC file.
2013-12-04 01:36:20 +01:00
Ole Loots
8a56be414f
fix previous prototype
2013-12-04 00:53:20 +01:00
Ole Loots
a2ec08be80
Added plot_set_scale / plot_get_scale prototypes
2013-12-04 00:51:38 +01:00
Ole Loots
d53cbcbcb2
Added "scale" member and get / set methods
2013-12-04 00:41:17 +01:00
Ole Loots
5b4a9e9315
Use correct LD_LIBRARY_PATH for additional libraries
2013-12-04 00:35:51 +01:00
Ole Loots
71a1a762d1
Use LOG(()) instead of printf
2013-12-03 00:53:23 +01:00
Ole Loots
e0883a40bb
Improved file drop, use browser_window_navigate as fallback.
2013-11-25 00:09:09 +01:00
Ole Loots
3096669b19
Updated header file for new toolbar functions.
2013-11-24 22:07:30 +01:00
Ole Loots
aed34baa06
Added bookmark indicator and SSL/crypto indicator to toolbar.
2013-11-24 22:05:37 +01:00
Ole Loots
b96562b35c
Improve Keyboard Shortcut parsing.
...
Handle standard keyboard shortcut format.
2013-11-24 22:04:03 +01:00
Ole Loots
d3c8185eca
Added comments
2013-11-24 22:02:40 +01:00
Ole Loots
ff9163f8bf
Added documentation for gemtk_obj_create_popup_tree
2013-11-24 02:51:24 +01:00
Ole Loots
1a864342fd
set GUI timeout button to "not selectable".
2013-11-24 02:34:10 +01:00
Ole Loots
2874fbd248
Fix "View Source" by setting first byte of cmdline to length of cmdline
2013-11-24 02:26:52 +01:00
Ole Loots
26218a47c8
Process AP_TERM message.
2013-11-24 01:57:00 +01:00
Ole Loots
aad6dff2d3
Removed invalid character, prototype for read_locales() fixed.
2013-11-24 01:31:10 +01:00
Ole Loots
d2b8a1cc03
free() popup tree's when done.
2013-11-24 01:24:44 +01:00
Ole Loots
418a6f7edd
Added GUI pol timeout selection popup.
...
The user must decide for himself. Default to 0, which eats
GUI resources but speeds-up rendering.
2013-11-23 17:52:33 +01:00
Ole Loots
65ebba7b51
Generate language popup from language file
2013-11-23 17:18:09 +01:00
Ole Loots
1ebe82139e
Copy language file into installation package.
2013-11-23 17:14:03 +01:00
Ole Loots
f62d7abad4
Added language identifier file to atari resources.
2013-11-23 17:05:57 +01:00
Ole Loots
0dda90a7d0
Removed font driver popup from resource file.
2013-11-23 14:49:35 +01:00
Ole Loots
4faa709c05
Do not use static resource for font engine popup.
...
Instead use gemtk_obj_create_popup_tree to create
the popup dynamically.
2013-11-23 14:48:24 +01:00
Ole Loots
559a902cbe
Added gemtk_obj_create_popup_tree util.
2013-11-23 14:45:01 +01:00
Ole Loots
5b02d2b681
Set throbber background to be transparent, again.
2013-10-26 17:28:09 +02:00
Ole Loots
77129038ee
Handle the fact that / is NOT the root of the filesystem on MiNT.
...
(/ means current drive!) This may break under Classic TOS
versions, because it may rely on the U: drive. However,
that can be fixed later on.
2013-10-26 17:24:09 +02:00
Ole Loots
164571aa98
Translate NK_UNDO to KEY_UNDO.
2013-10-26 15:39:05 +02:00
Vincent Sanders
f29306cc9a
improve gtk source save to use gtk overwrite protection feature coverity 1109873
2013-10-25 21:25:56 +01:00
Ole Loots
06f852151e
Reverted local adjustments to Makefile.target.
2013-10-06 01:42:05 +02:00
Ole Loots
4d101e6f5f
Removed unused files.
2013-10-06 01:33:50 +02:00
Ole Loots
a0771aa2ac
Removed old files.
2013-10-06 01:26:56 +02:00
Ole Loots
cb9d552ecc
Option atari_transparency is int, not bool - use nsoption_set_int().
2013-10-06 01:24:20 +02:00
Ole Loots
fa5a22d65f
Added comments
2013-10-06 01:24:20 +02:00
Ole Loots
2f4d17dea0
ldg stubs not needed anymore since windom removal
2013-10-06 01:24:19 +02:00
Ole Loots
c3816a119a
ldg stubs not needed anymore since windom removal.
2013-10-06 01:24:19 +02:00
Ole Loots
4f45f807f2
Added about dialog, fixed scrolled treeview redraw.
2013-10-06 01:24:19 +02:00
Ole Loots
7f92060041
Removed old treeview files
2013-10-06 01:24:18 +02:00
Ole Loots
c1085580ed
Fixed warnings for incomptible pointer type
...
The API expects to receive core_window as window handle now.
2013-10-06 01:24:18 +02:00
Ole Loots
f81fc04722
Added SSL Cert Inspector Window
...
(based on treeview API)
2013-10-06 01:24:18 +02:00