Commit Graph

141 Commits

Author SHA1 Message Date
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
434befd25b Implement mouse move event handling 2012-12-06 00:26:00 +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
ea025e6008 Toolbar is now finished, started work on browser redraw/scrolling. 2012-11-30 03:20:52 +01:00
Ole Loots
1b93b72b9b re-implemented browser toolbar redraw / URL area redraw. 2012-11-29 02:01:13 +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
407389668b Hotlist now works without windom. 2012-11-22 01:19:20 +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
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
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01: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
Ole Loots
fa7048d66d Redraw favicon when it has been changed.
Improve the window icon / favicon interface.
2012-10-13 22:25:10 +02:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
def39ad610 Removed comment 2012-08-26 23:01:55 +02:00
Ole Loots
836c13f87d Set default cookie filename when not set. 2012-08-25 14:51:49 +02:00
Vincent Sanders
32c4fdeead add includes to get browser private struct on atari 2012-08-22 17:03:46 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake
de8af23956 Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:20:59 +01:00
Ole Loots
329fba581a Handle "Save window size" menu event. 2012-07-27 03:06:12 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02: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
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
f804cff67b set rendering flag within throbber_stop / start functions, update toolbar buttons on throbber stop.
svn path=/trunk/netsurf/; revision=13890
2012-04-25 21:33:01 +00:00
Ole Loots
a17fc5da76 call toolbar_exit()
svn path=/trunk/netsurf/; revision=13861
2012-04-12 20:20:58 +00:00
Ole Loots
56ec72f044 Init toolbar.
svn path=/trunk/netsurf/; revision=13849
2012-04-10 23:12:49 +00:00
Ole Loots
39b04ea3d6 Added missing include.
svn path=/trunk/netsurf/; revision=13832
2012-04-07 21:22:19 +00:00
Ole Loots
878212a0de Removed unused variable.
svn path=/trunk/netsurf/; revision=13790
2012-04-04 21:58:09 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Ole Loots
f3aa0a5179 Default to "not rendering" when setting GUI poll priority.
svn path=/trunk/netsurf/; revision=13408
2012-01-25 22:44:00 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Ole Loots
aec502af1a Open fulled window when running under Single-Task OS.
svn path=/trunk/netsurf/; revision=13361
2012-01-02 00:02:40 +00:00
Ole Loots
f07e76a735 Removed unused variable.
svn path=/trunk/netsurf/; revision=13320
2011-12-21 22:51:17 +00:00
Ole Loots
22dc3b0f2a Added save functionality to settings dialiog, fixed typo resulting in not freeing the resource pointer.
svn path=/trunk/netsurf/; revision=13273
2011-12-15 21:59:55 +00:00
Ole Loots
e95b45725c Remove throbber callback from schedule before scheduling a new one.
svn path=/trunk/netsurf/; revision=13272
2011-12-14 21:23:30 +00:00
Ole Loots
a6643b7cd5 Only convert resource objects to windom types when extended type is set.
svn path=/trunk/netsurf/; revision=13268
2011-12-12 19:38:58 +00:00
Ole Loots
0dfb12d43b added save page handlers.
svn path=/trunk/netsurf/; revision=13266
2011-12-10 01:06:23 +00:00
Ole Loots
e7e8024be8 Fix focus element
svn path=/trunk/netsurf/; revision=13251
2011-12-06 21:06:41 +00:00
Ole Loots
2ff45272d0 Fix utf-8 conversion.
svn path=/trunk/netsurf/; revision=13242
2011-12-04 17:18:59 +00:00
Ole Loots
7323f012ed Stick to OS features for drag feature - handle it almost blocking (improves user experience).
svn path=/trunk/netsurf/; revision=13233
2011-12-04 13:05:00 +00:00
Ole Loots
b20f47262b Open window by configured width,
removed unused variables

svn path=/trunk/netsurf/; revision=13212
2011-11-30 23:08:21 +00:00
Ole Loots
999410adc8 I'm actually trying to simplify the frontend code, changes:
- Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) 
- Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. 
- Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). 

svn path=/trunk/netsurf/; revision=13191
2011-11-28 23:23:28 +00:00
Ole Loots
91bdfbd172 Removed calls to FrameInit/FrameExit ( was used for window components ).
svn path=/trunk/netsurf/; revision=13136
2011-11-08 19:13:34 +00:00
Ole Loots
044fec706f -Remove a bunch of code which was intended to handle framed-pages. It's better handled by the OS, because frames won't be handled within the frontend anymore.
- Clear window when no content is available

svn path=/trunk/netsurf/; revision=13125
2011-11-05 15:18:19 +00:00
Ole Loots
5f10479c26 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13124
2011-11-05 01:49:55 +00:00
Ole Loots
ee7b223eca Draw favicon when iconyfied
svn path=/trunk/netsurf/; revision=13049
2011-10-14 20:56:52 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
John Mark Bell
f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Ole Loots
8b445036f3 Set focus to next available window when gui_window is closed.
svn path=/trunk/netsurf/; revision=12824
2011-09-20 20:09:42 +00:00
Ole Loots
0f2871e418 Added context menu,
Allow to set bitmap for iconified window. ( altough it's usesless right now because favicon support has been dropped) 

svn path=/trunk/netsurf/; revision=12821
2011-09-19 18:38:48 +00:00
Ole Loots
cbeffd4c5f Keep Mouse tracking limited to input_window.
svn path=/trunk/netsurf/; revision=12783
2011-09-09 22:18:49 +00:00
Michael Drake
0401d52f51 Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
77a9d997ce Delete dead handling of frame creation destruction.
svn path=/trunk/netsurf/; revision=12734
2011-09-05 12:27:06 +00:00
Michael Drake
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Ole Loots
f2e3b559f0 Removed frame artifacts.
Do not send WM_DESTROY on close ( leads to crash when search is open during close). Let the OS Free up the memory.  

svn path=/trunk/netsurf/; revision=12682
2011-08-30 21:48:55 +00:00
Ole Loots
a8b9f0936f Convert window title to local encoding.
svn path=/trunk/netsurf/; revision=12638
2011-08-05 11:02:33 +00:00
Ole Loots
33aebf6fd1 housekeeping
svn path=/trunk/netsurf/; revision=12635
2011-08-05 01:11:03 +00:00
Michael Drake
1e43cd7f76 Fix up Atari for r12574 API change.
svn path=/trunk/netsurf/; revision=12576
2011-07-06 12:42:45 +00:00
Ole Loots
5639e1e047 removed preparations for frames. (will be handled within the core)
svn path=/trunk/netsurf/; revision=12550
2011-06-30 20:20:27 +00:00
Ole Loots
dccf6e4280 Revert remove of cflib and further usage of xaaes nkcc routines. It resulted in not-working page up / page down and up / down keys.
svn path=/trunk/netsurf/; revision=12510
2011-06-25 20:03:28 +00:00
Michael Drake
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Ole Loots
2f6520e8b4 Removed dependency to cflib,
call EvntWindom only one time per sec. when active flag is set. 

svn path=/trunk/netsurf/; revision=12443
2011-05-24 21:44:20 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Ole Loots
45778bbb36 Improved path conversion for DOS Filesystems.
svn path=/trunk/netsurf/; revision=12236
2011-04-23 20:09:24 +00:00
Ole Loots
4e7235a92f Moved mouse movement handling into window event handlers, updated resources, updated todos, implemented treeview + hotlist
svn path=/trunk/netsurf/; revision=12182
2011-04-10 21:52:07 +00:00
Ole Loots
ea0e023e37 added resource: handling, gui_poll now checks for browser_reformat_pending
svn path=/trunk/netsurf/; revision=12112
2011-03-20 22:41:29 +00:00
Michael Drake
a70c32422a gui_find_resource --> gui_get_resource_url.
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Ole Loots
7a72e1d90c corrected check for atari_sysinfo.gemdos_version
svn path=/trunk/netsurf/; revision=11934
2011-03-07 22:57:20 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Ole Loots
5582925052 merged clipping parameter changes.
svn path=/trunk/netsurf/; revision=11809
2011-02-25 23:19:06 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Ole Loots
143243bbbb Added support for cookie and URL file, fixed box redraw.
svn path=/trunk/netsurf/; revision=11657
2011-02-12 19:48:58 +00:00
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Ole Loots
2d80ff8238 Verify Box redraws
svn path=/trunk/netsurf/; revision=11619
2011-02-05 14:29:53 +00:00
Ole Loots
ed8a97fe22 Improved throbber graphics
svn path=/trunk/netsurf/; revision=11604
2011-02-02 19:47:34 +00:00
Ole Loots
de0172dfa8 Revisited Throbber code
svn path=/trunk/netsurf/; revision=11585
2011-02-01 21:21:16 +00:00
Ole Loots
0d006f4cc6 Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11548
2011-01-30 22:20:55 +00:00
Ole Loots
aa4f56049c Implemented gui_scroll_visible.
svn path=/trunk/netsurf/; revision=11540
2011-01-30 22:03:19 +00:00
Ole Loots
3694345204 Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11536
2011-01-30 19:24:03 +00:00
Ole Loots
c94c308cb4 Improved compatibility with classic TOS systems,
disabled spinner.

svn path=/trunk/netsurf/; revision=11448
2011-01-22 16:42:32 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00