Commit Graph

588 Commits

Author SHA1 Message Date
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