Commit Graph

879 Commits

Author SHA1 Message Date
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
Ole Loots
12aebe1fa1 Added comments. 2013-04-11 00:49:02 +02:00
Ole Loots
1d92bf87e5 Fix page up key handling. 2013-04-11 00:46:39 +02:00
Ole Loots
3fa929938b Fix duplicate Ctrl+V (and other shortcuts) key processing,
by catching event callback return value.
2013-04-09 00:40:21 +02:00
Ole Loots
fbd63ceea9 Removed duplicate hotlist_init call. 2013-03-30 13:25:54 +01:00
Ole Loots
52cce28438 Added some comments 2013-03-30 13:22:55 +01:00
Ole Loots
c91db66e2d Fixed handling of filepath passed via commandline. 2013-03-22 00:26:02 +01:00
Ole Loots
fffaa149bc Correctly set initial size of the search area. 2013-03-11 01:16:37 +01:00
Ole Loots
939f078dd8 Fixed / Improved commandline URL handling.
- It's now possible to drag local files onto netsurf executable.
- Added better resource file logging (THING passes strange CWD)
2013-03-11 00:53:22 +01:00
Ole Loots
0ec72e3415 Removed toolbar 2013-03-11 00:52:54 +01:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Ole Loots
21cbb49a6b Fix toolbar flag setup. 2013-02-26 21:55:40 +01:00
Ole Loots
c4a8d47234 Removed unused variable. 2013-02-26 21:48:55 +01:00
Vincent Sanders
15d39c6ebf fix remaining errors introduced in refactor 2013-02-18 13:05:23 +00:00
Vincent Sanders
0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake
262555099d Pass scale to textarea redraw. 2013-02-11 10:47:15 +00:00
Michael Drake
315f5a8ca1 Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Conflicts:
	gtk/font_pango.c

Conflict resolved.
2013-02-10 21:52:36 +00:00
Michael Drake
6bab556827 Make comaptible with new nsfont_split expectation. Untested, but code is same as framebuffer front end, so should work. 2013-02-10 18:28:59 +00:00
Michael Drake
442218cb80 Pull flags out of textarea_setup. 2013-02-02 22:58:35 +00:00
Ole Loots
16603cea27 Merged toolbar changes from master 2013-01-31 20:33:41 +01:00
Ole Loots
e9932f75ad Added missing copyright headers. 2013-01-31 19:59:33 +01:00
Ole Loots
42054fabf0 Merged toolbar conflict. 2013-01-31 19:53:11 +01:00
Ole Loots
0703404654 Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/toolbar.c
2013-01-31 19:28:26 +01:00
Ole Loots
54f719aa96 Some more finetuning... 2013-01-31 19:22:35 +01:00
Michael Drake
663191791e Add move caret msg. Add flag to choose internal caret or caret move msgs. 2013-01-30 18:01:01 +00:00
Michael Drake
385d9170d9 Replace textarea_drag_end call with textarea_mouse_action. s/redraw_request/request_redraw/ 2013-01-29 17:46:05 +00:00
Michael Drake
93cc123200 Update textarea to inform client what it's doing with drags.
Now single callback for both redraw requests and drag reports.
Update treeview to use new textarea API.
Update Atari URL bar to use new textarea API.  (Ignores drag reports, currently.)
Minor textarea fixes.
2013-01-29 17:34:08 +00:00
Ole Loots
577ff3cffc The Window toolbar now have independet AES objects,
which means no state restore is required before redraw.
2013-01-22 22:28:20 +01:00
Ole Loots
985e4ce6be Prefixed gemtk module functions. 2013-01-22 02:33:27 +01:00
Ole Loots
2e91d4e17e Do not redraw textarea background. 2013-01-22 01:21:24 +01:00
Ole Loots
fb8cc34e9c Restore object state for save/abort buttons. 2013-01-18 01:18:04 +01:00
Ole Loots
42bb902a7d TOP the next rootwindow when the current rootwindow gets iconified. 2013-01-17 02:44:13 +01:00
Ole Loots
7cf178f286 Display download filename in download confirm message. 2013-01-17 02:04:43 +01:00
Ole Loots
6a62cde9d6 Fixed type of "Send referrer" checkbox. 2013-01-17 01:22:46 +01:00
Ole Loots
13f22099ce Search is functional. 2013-01-17 01:18:27 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +01:00
Ole Loots
6a32f94cc2 Use Extended AES Objects in settings dialog, done. 2013-01-16 02:43:12 +01:00
Ole Loots
b4e09869f3 Fixed toolbar textarea clip 2013-01-15 22:24:53 +01:00
Ole Loots
8d35a11cf3 Commented debug output 2013-01-15 01:54:54 +01:00
Ole Loots
ff7208c907 Menu Accelerators where not parsed. 2013-01-15 01:54:18 +01:00
Ole Loots
4f64d85dfa Make toolbar height configurable,
started to use extended AES Object types.
2013-01-15 01:31:35 +01:00
Ole Loots
a0227890e9 Further work on search in browser window. 2013-01-14 01:01:22 +01:00
Michael Drake
716b50062b Update for new textarea API. 2013-01-13 15:16:13 +00:00
Ole Loots
badc87f343 Use windowes objc_w* and form_w* functions,
this should respect the window area, but
it doesn't.
2013-01-11 23:53:46 +01:00
Ole Loots
adcbbbe880 Started to move the search form into the browser window. 2013-01-11 02:12:30 +01:00
Ole Loots
cca5bb4304 Use window_get_grect instead of guiwin_get_grect. 2013-01-10 21:19:05 +01:00
Ole Loots
91c2885b4c Pass mouse button to toolbar event handler 2013-01-10 21:10:07 +01:00
Ole Loots
4245051bd8 Pass mbuttons to toolbar events 2013-01-10 21:09:21 +01:00
Ole Loots
3ce968e36c Prepared for toolbar context menu, fixed declarations. 2013-01-10 21:07:36 +01:00
Ole Loots
26cc21c5c0 Fixed WM_FULLED handling 2013-01-10 01:31:36 +01:00
Ole Loots
b6b900920c Added some inline documentation 2013-01-10 01:27:36 +01:00
Ole Loots
b273046a1c Fixed merges... 2013-01-09 23:31:00 +01:00
Ole Loots
56e1e98e2c Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/gui.c
2013-01-09 23:02:28 +01:00
Ole Loots
fe49a18332 code formating 2013-01-09 22:59:22 +01:00
Ole Loots
1f693a8677 Removed obsolete variable tmp_clipboard 2013-01-09 01:39:34 +01:00
Ole Loots
f1fe8350a8 Removed windom variable from clipboard functions. 2013-01-09 01:37:11 +01:00
Ole Loots
64f8030b28 Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/gui.c
	atari/toolbar.h
2013-01-09 01:33:53 +01:00
Ole Loots
bded644d7f Fixes for new clipboard interface. 2013-01-09 01:12:30 +01:00
Ole Loots
13c71436ba Removed border around toolbar textarea 2013-01-08 23:12:15 +01:00
Ole Loots
7920daaa3f Implemented language and font renderer popups. 2013-01-07 23:45:02 +01:00
Ole Loots
0bbccaa935 Finally it compiles without WinDom - still some things to bring back:
- Serch window
 - Pop Menus in the settings dialog
2013-01-07 20:04:44 +01:00
Ole Loots
5acf36b89e Clip only once, not on every drawing primitive... 2013-01-06 23:05:04 +01:00
Ole Loots
82a376a6d0 Bring netsurf frontend arch and buildsystem arch in sync.
Previously, the frontend used ATARI_ARCH for output package
configuration, this is now changed to ATARIARCH.
2013-01-05 13:19:09 +01:00
Ole Loots
9fdd190e00 Removed browser.h/.c 2013-01-03 01:22:38 +01:00
Ole Loots
c0e6cf6590 Implemented caret redraw. 2013-01-01 22:08:19 +01:00
Ole Loots
cecccf09ed Merge branch 'master' into mono/removing-windom-dependency 2012-12-31 03:41:41 +01:00
Ole Loots
379313d8da Updated Makefile.target 2012-12-31 03:40:43 +01:00
Ole Loots
695f052237 Moved form handling into gemtk,
removed several windom includes
2012-12-31 03:37:43 +01:00
Ole Loots
f0f57e3431 Almost done. 2012-12-28 04:54:25 +01:00
Ole Loots
6840c98efe wip 2012-12-28 04:41:33 +01:00
Ole Loots
2caa45d539 Settings are now written when save is clicked. 2012-12-28 03:26:06 +01:00
Ole Loots
a2cbfced0f Display current setting values. 2012-12-22 15:43:51 +01:00
Ole Loots
f7ee2a0387 - started to work on settings dialog
- some WIP in treeview widgets. Changed destroy / and init handling.
  It requires some optimization, when the widget is closed
  it must remove itself from the guiwin list, for perfomance.
2012-12-21 00:56:50 +01:00
Vincent Sanders
484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Ole Loots
3019368c93 Merge branch 'master' into mono/removing-windom-dependency 2012-12-18 01:28:22 +01:00
Ole Loots
c6a5109a95 Preparing for merge... 2012-12-18 01:10:20 +01:00
Ole Loots
59a44380a6 Download window works now without windom, except file select. 2012-12-17 23:32:06 +01:00
Ole Loots
037b7e0b75 No more crash, but still work to do on download window 2012-12-17 00:36:17 +01:00
Vincent Sanders
c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders
45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
Ole Loots
973a8c37b1 First steps to remove windom dependency from download dialog. 2012-12-12 01:51:18 +01:00
Ole Loots
e7329e1129 Do not uses windom functions for the login dialog. 2012-12-09 14:10:58 +01:00
Ole Loots
ec0c68503d Added function to retrieve current plotter dimensions. 2012-12-07 22:09:59 +01:00
Ole Loots
0a237c6e47 Removed global_evnt.* from source tree 2012-12-06 01:42:06 +01:00
Ole Loots
c4b09a8439 Removed global_evnt.c module. 2012-12-06 01:38:49 +01:00
Ole Loots
5d2ac2ecac Only schedule on-screen redraw areas, and do not substract
scrolling positions from scheduled area.
2012-12-06 01:07:11 +01:00
Ole Loots
395f161eb5 Use global variable desk_area for size calculation 2012-12-06 00:27:57 +01:00
Ole Loots
fa0326af43 Context menu now opens at the correct location. 2012-12-06 00:26:50 +01:00
Ole Loots
434befd25b Implement mouse move event handling 2012-12-06 00:26:00 +01:00
Ole Loots
16812b0522 Removed debug statements. 2012-12-04 01:36:34 +01:00
Ole Loots
f4ea103657 Reenabled VDI clipping... 2012-12-04 01:33:37 +01:00
Ole Loots
25db04a890 Dragged scrolling/mouse click events works fine now. 2012-12-04 01:32:43 +01:00
Ole Loots
2c5b24d717 Implemented scrolling for gui windows.
Doesn't work correctly for drag-scrolling, because gemtk
schedules window messages for redraw regions... the rectangle
list must be managed by gemtk...
2012-12-03 01:27:33 +01:00
Ole Loots
59e2775055 Implemented basic mouse input to browser component (click). 2012-12-03 00:07:47 +01:00
Ole Loots
e697603f12 Use module variable h_gem_menu instead of local variable 2012-12-03 00:03:29 +01:00
Ole Loots
d5f0ea5155 Replaces MenuIcheck() with calls to menu_icheck() 2012-12-03 00:00:13 +01:00
Ole Loots
40313798ee Implemented Browser key input handling. 2012-12-01 16:18:02 +01:00
Ole Loots
2705884b65 Removed image toolbar settings. 2012-12-01 16:16:19 +01:00
Ole Loots
4360905000 Removed image toolbar stuff
This is not related to windom, but makes the code less complex, too.
2012-12-01 13:13:04 +01:00
Ole Loots
ea025e6008 Toolbar is now finished, started work on browser redraw/scrolling. 2012-11-30 03:20:52 +01:00
Ole Loots
67d4da38ad Removed debug statements 2012-11-29 02:11:37 +01:00
Ole Loots
c374f7fcf0 Removed debug statements 2012-11-29 02:10:23 +01:00
Ole Loots
b1018779f9 Removed debug statements 2012-11-29 02:09:07 +01:00
Ole Loots
1b93b72b9b re-implemented browser toolbar redraw / URL area redraw. 2012-11-29 02:01:13 +01:00
Ole Loots
9ec2e77b27 Only change selectable toolbar objects on click. 2012-11-29 01:59:20 +01:00
Ole Loots
c3119b9356 Merge branch 'master' into mono/removing-windom-dependency 2012-11-28 22:00:13 +01:00
Ole Loots
4fbeacf830 Fix integer overflow in percentage calculation, credits: Peter Slegg. 2012-11-28 21:55:43 +01:00
Ole Loots
ff7cf93762 Started refactoring of global redraw handling. 2012-11-28 21:30:24 +01:00
Ole Loots
fe0e2508e6 Refactored a lot of browser window code,... still totally WIP.
...but it compiles...
2012-11-27 02:12:09 +01:00
Ole Loots
6ea22068aa Fixed typo, caused small scroll bug. 2012-11-22 01:30:03 +01:00
Ole Loots
407389668b Hotlist now works without windom. 2012-11-22 01:19:20 +01:00
Ole Loots
42cb583842 Improved WM_FULLED handling (prev. size is getting restored) 2012-11-22 00:26:58 +01:00
Ole Loots
ccdab30c9a Completet scroll preprocessing, Hotlist fully works. 2012-11-22 00:10:55 +01:00
Ole Loots
0672d5e2c9 Implemented scroll handling in gemtk. 2012-11-21 02:14:22 +01:00
Ole Loots
7e94f32e4c Initial work at making scrolling work 2012-11-20 01:41:42 +01:00
Ole Loots
5449303bd1 Ripped Windom out of the treeview implementation,
it still requires scroll event handling to be implemented.
2012-11-20 00:29:20 +01:00
Ole Loots
9676253184 Imporved gemtk toolbar handling. 2012-11-19 00:47:03 +01:00
Ole Loots
c415f9bf98 Start to remove windom, wip.
- Refactored menu event handling.
- Load plain GEM resources.
- Refactored Event handling
2012-11-18 23:22:43 +01:00
Ole Loots
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
47c0ce6f14 Revert "Added missing Makefile changes for recent deskmenu commit."
This reverts commit c5fb16d56d.
This change belongs into a new branch
2012-11-18 23:15:21 +01:00
Ole Loots
c5fb16d56d Added missing Makefile changes for recent deskmenu commit. 2012-11-14 22:00:38 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Ole Loots
44808e1c52 Added message box, so warn_user works as expected. 2012-11-12 21:23:39 +01:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Ole Loots
5242cd00a4 Fixed syntax error caused by search&replace? 2012-11-07 23:35:43 +01:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Rob Kendrick (fatigue)
d532fc82eb A little bit of polish? 2012-11-03 14:20:54 +00:00
Rob Kendrick (fatigue)
082c929334 Minimal fix to get atari rebuilding 2012-11-03 14:18:38 +00:00
Ole Loots
c528d10864 Use GEM Window Statusbar when WITH_CUSTOM_STATUSBAR is undefined. 2012-10-19 00:14:11 +02:00
Ole Loots
7d18cf2b41 Use malloc instead of alloca. 2012-10-19 00:07:37 +02:00
Ole Loots
004e61e138 Use malloc instead of alloca.
(Fixes drag and drop)
2012-10-18 23:21:33 +02:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Ole Loots
05e71dc142 Add optional use of STACK & STRIP Variables. 2012-10-14 00:03:59 +02:00
Ole Loots
61a2b8ddc4 Strip the resulting executable, also update stack size.
Consider m5475 toolchain (new Variable CROSS_COMPILE).
2012-10-13 22:50:55 +02:00
Ole Loots
fa7048d66d Redraw favicon when it has been changed.
Improve the window icon / favicon interface.
2012-10-13 22:25:10 +02:00
Ole Loots
221cd56826 Show mouse again after the color popup is ready. 2012-10-13 22:23:19 +02:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Michael Drake
38a9c374a4 Remove unused functions. 2012-10-09 15:26:32 +01:00
Ole Loots
5c53f01ead Added netsurf.png to package, now the welcome page displays correctly.
Altough I don't like to have netsurf.png floating around
in the root directory of netsurf.
2012-08-28 00:04:35 +02:00
Ole Loots
0200ba1ed2 Revert positioning Fix dated 2012-08-07 2012-08-27 23:32:54 +02:00
Ole Loots
ad2552ddb0 Set default download path "downloads" 2012-08-27 23:32:24 +02:00
Ole Loots
17c9641b38 is_process_running: Check for zombie status. 2012-08-27 20:39:14 +02:00
Ole Loots
34a3901501 A new window can now be opened in background mode. 2012-08-27 20:15:22 +02:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
02593d170a Added is_process_running
Now the source code viewer is launched when not already
running (ShelWrite wasn't handling this correctly)
2012-08-27 20:05:35 +02:00
Ole Loots
5a7ddb9e84 Use is_dir to validate user selection. 2012-08-26 23:48:33 +02:00
Ole Loots
38c6e95f4e Added default favicon 2012-08-26 23:09:51 +02:00
Ole Loots
def39ad610 Removed comment 2012-08-26 23:01:55 +02:00
Ole Loots
b2330bf426 Removed junk... 2012-08-26 22:57:55 +02:00
Ole Loots
b2d810c177 use is_dir function when checking direntry. 2012-08-26 22:55:06 +02:00
Ole Loots
ce645599c9 Fix 1 pixel caret redraw bug. 2012-08-26 21:45:25 +02:00
Ole Loots
b58825dcf7 Center favicon, don't stretch. 2012-08-26 21:36:16 +02:00
Ole Loots
d3a0518726 Do not install FatMessages file, but english default.
Also install welcome.html & etc.
2012-08-26 21:34:17 +02:00
Ole Loots
c2f2884f65 Only redraw caret for top windows.
Because we do not all clipping cases...
2012-08-26 20:36:12 +02:00
Ole Loots
c941cee104 Disable stack change on executable for target package-atari 2012-08-26 18:56:49 +02:00
Ole Loots
28a7096853 Disable strip on executable for target package-atari. 2012-08-26 18:50:46 +02:00
Ole Loots
37b4e77720 Copy toolbar to right location. 2012-08-26 17:57:52 +02:00
Ole Loots
7b868e4287 Default to download font from http://ftp.gnome.org 2012-08-26 16:46:29 +02:00
Ole Loots
1c1ac7f5a1 Download fonts to build directory and copy from there. 2012-08-26 16:45:41 +02:00
Ole Loots
607c06c96d Implemented atari-package target 2012-08-25 15:09:49 +02:00
Ole Loots
d97eb2f520 Updated default options 2012-08-25 14:52:59 +02:00
Ole Loots
836c13f87d Set default cookie filename when not set. 2012-08-25 14:51:49 +02:00
Ole Loots
bae65c18a9 Default truetype package is now Bitstream Vera.
Truetype font package can now be switched by defines.
2012-08-25 13:52:30 +02:00
Ole Loots
10e5597a94 Removed junk 2012-08-25 05:47:23 +02:00
Ole Loots
2988193e44 Documented font loading / font names. 2012-08-25 05:44:44 +02:00
Ole Loots
c5a84e17f7 Merged some features from framebuffer freetype impl.
- Set default font for font faces which failed to
   load.
 - Lookup more font faces (Cursive, Fantasy).
2012-08-25 05:23:10 +02:00
Ole Loots
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Ole Loots
887a2ca186 Added and use PRGSUFFIX to configure executable name. 2012-08-23 00:06:45 +02:00
Vincent Sanders
311953f453 add missing include for browser private 2012-08-22 17:14:42 +01:00
Vincent Sanders
32c4fdeead add includes to get browser private struct on atari 2012-08-22 17:03:46 +01:00
Vincent Sanders
8984bf9647 add sdk library path 2012-08-21 16:51:43 +01:00
Vincent Sanders
bc6087f9b6 remove bogus posix define and workround missing PATH_MAX directly 2012-08-21 16:43:22 +01:00
Vincent Sanders
d43ac47602 set posix define to make PATH_MAX available 2012-08-21 16:25:01 +01:00
Michael Drake
f67a1ab4cf Avoid box_at_point. 2012-08-20 22:25:02 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Ole Loots
b8f437c6b6 Fix settings dialog positioning
On successive settings dialog calls, the automatic
positioning wasn't working correctly.
This can be prevented by duplicating the Form tree. However,
it requires to have the duplicated tree freed manually (Bug in windom?).
I should have an eye on it...
2012-08-08 00:34:59 +02:00
Ole Loots
e454cf3f9c Fix provided by Michale Drake.
Fix freetype nsfont_position_in_string to return nearest, rather than
next.
2012-08-04 02:51:46 +02:00
Michael Drake
de8af23956 Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:20:59 +01:00
Ole Loots
7d011c62ff Open hotlist and history at top right corner 2012-07-27 03:47:42 +02:00
Ole Loots
e4d83d660e Open search form at lower right corner 2012-07-27 03:35:53 +02:00
Ole Loots
329fba581a Handle "Save window size" menu event. 2012-07-27 03:06:12 +02:00
Ole Loots
93f36a8c9b Implemented a new colour picker.
This colour picker allows to select the 216 web colors
plus 15 shades of gray. Removed the color popup from
the resource file.
2012-07-26 12:25:27 +02:00
Ole Loots
8307f62e23 Clean up flags setup, requires changes to Makefile.default 2012-07-25 14:00:51 +02:00
Ole Loots
e1a9a98e05 Fixed colour type for vs* functions, added comments. 2012-07-25 13:58:38 +02:00
Ole Loots
4ade97334a Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
2012-07-23 14:48:50 +02:00
Ole Loots
957f9dc7c8 renamed plot functions (use plot_ prefix) 2012-07-23 02:34:21 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
2158ed7bce moved "bitmap_resize()" to bitmap.c 2012-07-23 02:03:09 +02:00
Ole Loots
72a9071cb2 Inline some functions 2012-07-23 00:21:28 +02:00
Ole Loots
2e98764cdf Fix access to context data URL char *.
nsurl_access isn't intended to be used for char * params.
added missing include render/html.c
2012-07-14 22:15:05 +02:00
Ole Loots
f2aa118025 Refactor plot implementation (removed old files) 2012-07-13 22:21:06 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00
Ole Loots
bc9d29f00a Added missing but not-so important changes from local SVN working copy. 2012-07-10 23:35:24 +02:00
Ole Loots
6b367328af Add Javascript case to FreeMiNT Makefile.target 2012-07-05 22:21:45 +02:00
Ole Loots
5ca30e057a Added new iconset - thanks to atfact
svn path=/trunk/netsurf/; revision=13994
2012-06-28 22:26:18 +00:00
Ole Loots
bf27997312 Show alert when no editor option is configured.
svn path=/trunk/netsurf/; revision=13985
2012-06-23 00:17:57 +00:00
Ole Loots
ad656167dc Handle new toolbar options (background color, iconset)
svn path=/trunk/netsurf/; revision=13984
2012-06-23 00:16:12 +00:00
Ole Loots
d2e7e3546c Added new toolbar options.
svn path=/trunk/netsurf/; revision=13983
2012-06-23 00:14:17 +00:00
Ole Loots
fda51d4010 Added toolbar image folder option.
svn path=/trunk/netsurf/; revision=13982
2012-06-21 22:57:31 +00:00
Ole Loots
4cb8c980ac apply background color option and removed unused struct member of struct s_tb_button.
svn path=/trunk/netsurf/; revision=13981
2012-06-21 22:01:41 +00:00
Ole Loots
1b5771e44e added new options "atari_toolbar_bg".
svn path=/trunk/netsurf/; revision=13980
2012-06-21 22:00:42 +00:00
Ole Loots
65eadf642d Handle do not trackoption and fix a call to snprintf().
svn path=/trunk/netsurf/; revision=13979
2012-06-21 21:51:43 +00:00
Ole Loots
40a2f8622c fix history redraw by calling the window specific redraw function from gui_poll(), also switch hotlist redraw to to hotlist specific redraw function.
svn path=/trunk/netsurf/; revision=13977
2012-06-19 23:46:57 +00:00
Ole Loots
43c3eb33b3 Integrated do not track option into the options dialog.
svn path=/trunk/netsurf/; revision=13975
2012-06-19 23:12:02 +00:00
Ole Loots
bad987b185 added some missing WITH_8BPP_SUPPORT ifdefs.
svn path=/trunk/netsurf/; revision=13974
2012-06-19 23:06:39 +00:00
Ole Loots
cd45e1f447 First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
2012-06-19 23:04:38 +00:00
Ole Loots
1f3d249c15 Make use of plot_set_dimensions()
svn path=/trunk/netsurf/; revision=13972
2012-06-19 23:02:37 +00:00
Ole Loots
8ea00bafc4 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13958
2012-06-04 21:53:06 +00:00