Michael Drake
4c04e32236
Fix use of uninitialised scroll values.
2014-05-20 21:05:11 +01:00
Michael Drake
923feec091
Fix line endings.
2014-05-20 20:42:25 +01:00
Michael Drake
47337932c0
Various fixes informed by cppcheck.
...
Removal of unused variables and dead assignements.
2014-05-20 20:40:42 +01:00
Michael Drake
768f380d81
Fix rgb check.
...
It was doing the same check on green twice, and not checking blue.
2014-05-20 20:24:19 +01:00
Michael Drake
59f63984ee
Remove unused variables.
2014-05-20 20:20:58 +01:00
Michael Drake
a8e79b4d39
Remove redundant NULL check.
2014-05-20 20:17:48 +01:00
Michael Drake
687e97abd2
Fix line endings.
2014-05-20 20:17:00 +01:00
Michael Drake
49e9a30b30
Remove unused variable.
2014-05-20 17:54:50 +01:00
Michael Drake
751cf4f09f
Fix line endings.
2014-05-20 17:54:31 +01:00
Michael Drake
11fcdcca7b
Remove unused variables.
2014-05-20 17:52:20 +01:00
Michael Drake
4bbc541640
Fix redundant if/else.
2014-05-20 17:51:41 +01:00
Michael Drake
8b0d969bd6
Fix line endings.
2014-05-20 17:48:51 +01:00
Michael Drake
22b683cea0
Remove unused variables.
2014-05-20 17:47:51 +01:00
Michael Drake
97d82ec793
Fix if/else with duplicate branches.
2014-05-20 17:45:51 +01:00
Michael Drake
527003629f
Fix line endings.
2014-05-20 17:45:35 +01:00
Michael Drake
329bae77d8
Scope reduce some variables.
2014-05-19 17:48:42 +01:00
Michael Drake
2badf21a62
Remove unused variables.
2014-05-19 17:47:16 +01:00
Michael Drake
dff18de7cc
Remove unused variable.
2014-05-19 17:42:19 +01:00
Michael Drake
801737a373
Fix line endings.
2014-05-19 17:42:19 +01:00
Michael Drake
93f01350db
Remove unused variables.
2014-05-19 17:42:19 +01:00
Michael Drake
5f612d6600
Remove unused variables.
2014-05-19 17:42:19 +01:00
Michael Drake
2660ec08c2
Remove duplicate condition.
2014-05-19 17:42:19 +01:00
Michael Drake
0c7b5da5f1
Scope reduce variables.
2014-05-19 17:42:12 +01:00
Michael Drake
05087404da
Fix line endings.
2014-05-19 17:28:59 +01:00
Michael Drake
a8fc41529f
Remove unused variables.
2014-05-19 17:13:35 +01:00
Michael Drake
af11d7eb96
Scope reduce some variables.
2014-05-19 17:12:18 +01:00
Michael Drake
c59c314283
Fix line endings.
2014-05-19 17:08:42 +01:00
Michael Drake
ec84f27733
Remove unused variables.
2014-05-19 17:07:27 +01:00
Michael Drake
99e0cfbd1f
Fix line endings.
2014-05-19 17:05:28 +01:00
Michael Drake
1b0a968f1c
Remove unused variables.
2014-05-19 17:01:40 +01:00
Michael Drake
ae621334a6
Fix line endings.
2014-05-19 17:00:53 +01:00
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