Commit Graph

793 Commits

Author SHA1 Message Date
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
Ole Loots
757e1b5a8d enabled history menu item. 2013-10-06 01:24:17 +02:00
Ole Loots
9f35d844dc Enabled atari_global_history_destry/init 2013-10-06 01:24:17 +02:00
Ole Loots
49f4fa0d78 Hotlist and History and Cookies Manager implemented.
(The Cookie Manager window is a new one)
2013-10-06 01:24:17 +02:00
Ole Loots
074b072535 Include desktop/core_window.h 2013-10-06 01:24:16 +02:00
Ole Loots
1d535a9a43 Treeview implementation adjusted
(still requires changes at several places in the atari frontent)
2013-10-06 01:24:16 +02:00
Ole Loots
8057dc67cb Replaced atari_treeview wrapper with a new one
(removed all modules which used the old tree API)
2013-10-06 01:24:16 +02:00
Ole Loots
05f13ccf89 Fixed RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ea2a5fb471 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ce270a7e08 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
258477ad28 moved font plotter allocation
Delayed font plotter alloction until the requested
font plotter is found.
2013-10-06 01:24:14 +02:00
Ole Loots
2c0bcc39bd Added plot_get/set_text_plotter and comments 2013-10-06 01:24:14 +02:00
Ole Loots
569b748172 Tuned frontend Makefiles for local environment. 2013-10-06 01:24:14 +02:00
Ole Loots
342c0d9361 Added initialization/finalization of treeview framework. 2013-10-06 01:24:14 +02:00
Ole Loots
9c551589bd Added comments. 2013-09-11 00:12:42 +02:00
Ole Loots
c04cef649a Also setup slider info before tree creation. 2013-09-11 00:10:59 +02:00
Ole Loots
becc7fe064 Set window ref before calling tree_create. Fixes crash during startup.
(tree_create causes an resize event which requires the window handle
to be available).
2013-09-10 23:52:56 +02:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
e9f65ff9cb Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions. 2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8 Remove tree icon_name globals from all the front ends. 2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481 Use TREE_HOTLIST directly. 2013-09-02 14:42:53 +01:00
Michael Drake
9f35fd3fee Use TREE_HISTORY directly. 2013-09-02 14:39:04 +01:00
Michael Drake
5c7ca39ada Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. 2013-09-02 14:17:09 +01:00
Michael Drake
2dc99f9ae7 Allow the other front ends to use the hotlist test too. 2013-08-16 08:25:25 +01:00
Michael Drake
eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Michael Drake
d84805fd51 Add atari_ namespace to another global history function. 2013-07-01 14:46:16 +01:00
Michael Drake
13326b2716 Namespace the atari global history functions. 2013-07-01 14:39:10 +01:00
Vincent Sanders
b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
429a30caa7 move atari to new options code 2013-05-28 14:16:11 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders
a5355ec557 change all core and frontend options headers to new format 2013-05-28 14:16:10 +01:00
Vincent Sanders
35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake
3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vincent Sanders
98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Ole Loots
9641837022 Removed files added by mistake. 2013-04-25 23:06:59 +02:00
Ole Loots
076361e1e1 Match return value with function prototypes. 2013-04-19 21:20:07 +02:00
Ole Loots
39231ca3f6 Properly exit move_rect function. 2013-04-18 02:53:31 +02:00
Ole Loots
a6995849d2 Check rc_intersect result and added comments. 2013-04-16 21:57:27 +02:00
Ole Loots
fa8d298b9b Removed reformat kludge from header files. 2013-04-16 21:55:23 +02:00
Ole Loots
000dddb260 Inherit bitmap opaque settings when resizing images. 2013-04-16 02:26:37 +02:00
Ole Loots
a2f34686bc Revert change to opaque settings, requires further investigation 2013-04-16 02:12:28 +02:00
Ole Loots
3edaf9ed2e Default to opaque bitmaps (fixes several redraw issues) 2013-04-16 01:17:44 +02:00
Ole Loots
f9e950ba8f Remove resize/format kludge. 2013-04-16 00:53:33 +02:00
Ole Loots
1bc49bc914 Do not use clipping rectangle as toolbar redraw origin
Fixes recent toolbar redraw change.
2013-04-15 21:54:20 +02:00
Ole Loots
1dd92203df Slightly improved intial hiding of toolbar search area. 2013-04-15 21:02:34 +02:00
Ole Loots
6675aa62dc Refactored toolbar redraw
Always use the callback pointer and introduced an standard callback.
2013-04-15 20:59:30 +02:00
Ole Loots
0d976df9f3 Properly handle return value of rc_intersect()
Fixes some redraw glitches.
2013-04-15 00:36:57 +02:00
Ole Loots
46efbe13d4 Improved debug logging. 2013-04-13 15:35:43 +02:00
Ole Loots
4e6bea9204 Improved CLRHOME Key handling
When textinput is focused, the key is handled by the browser (Moving
to start of text).
Otherwise the Content is scrolled to the top.
2013-04-13 15:34:08 +02:00
Ole Loots
437304b037 Disabled redraw debug output. 2013-04-13 14:55:17 +02:00
Ole Loots
af521e0494 Removed obsolete comments. 2013-04-13 14:54:20 +02:00
Ole Loots
c9fd3a4f13 Removed debug output 2013-04-12 01:05:37 +02:00
Ole Loots
916ca92bfc Improved favicon/iconyfied redraw (obey to visible rectangle list) 2013-04-12 01:04:21 +02:00
Ole Loots
08024af0a5 Renamed gemtk_wm_send_redraw to gemtk_wm_exec_redraw
...and did a little bit refactoring.
2013-04-11 22:56:48 +02:00
Ole Loots
224fd963fd Home toolbar button doesn't crash anymore when homepage_url is null. 2013-04-11 01:30:34 +02:00
Ole Loots
ef4b7e75c4 Show message box on error. 2013-04-11 00:51:05 +02:00