Commit Graph

260 Commits

Author SHA1 Message Date
Ole Loots
49ff4d5900 Fix conversion of local encoding to utf-8
svn path=/trunk/netsurf/; revision=13240
2011-12-04 17:18:07 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Ole Loots
051eedddeb Removed unused code.
svn path=/trunk/netsurf/; revision=13234
2011-12-04 13:10:24 +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
c3be583d22 Added drag feature to the new url input.
svn path=/trunk/netsurf/; revision=13232
2011-12-04 13:02:07 +00:00
Ole Loots
3de9422594 Added copyright comment.
svn path=/trunk/netsurf/; revision=13231
2011-12-04 12:54:49 +00:00
Ole Loots
7d4a0be284 Fixed header, made different font plotters optional.
svn path=/trunk/netsurf/; revision=13230
2011-12-04 12:53:03 +00:00
Ole Loots
905b3c2641 Removed unused variable
svn path=/trunk/netsurf/; revision=13229
2011-12-04 12:51:37 +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
9efb276f97 Copy (whole) URL on Copy key.
svn path=/trunk/netsurf/; revision=13211
2011-11-30 22:37:57 +00:00
Ole Loots
1f4ab6384c Removed unused declarations.
svn path=/trunk/netsurf/; revision=13210
2011-11-30 22:37:32 +00:00
Ole Loots
6f699c05b0 Removed unused declarations.
svn path=/trunk/netsurf/; revision=13209
2011-11-30 22:36:52 +00:00
Ole Loots
5f69abb504 release screen-lock when second lock check fails.
svn path=/trunk/netsurf/; revision=13208
2011-11-29 23:19:18 +00:00
Ole Loots
1c640bc529 Check for NULL
svn path=/trunk/netsurf/; revision=13207
2011-11-29 22:05:44 +00:00
Ole Loots
dbffd36e14 Handle focus event within window_set_focus, select all when url input gets focus
svn path=/trunk/netsurf/; revision=13206
2011-11-29 21:51:18 +00:00
Ole Loots
4313de0584 Fixed inlude.
svn path=/trunk/netsurf/; revision=13205
2011-11-29 21:32:47 +00:00
Ole Loots
94bacf7b4f Added missing insert key conversion.
svn path=/trunk/netsurf/; revision=13204
2011-11-29 21:31:31 +00:00
Ole Loots
9f55b1cc7d Check return value of plotter->lock()
svn path=/trunk/netsurf/; revision=13203
2011-11-29 21:22:01 +00:00
Ole Loots
d25f7cc27e make use of non-blocking request for screen lock.
svn path=/trunk/netsurf/; revision=13202
2011-11-29 21:19:26 +00:00
Ole Loots
2f9ac934e6 Draw rectangle outline manually.
svn path=/trunk/netsurf/; revision=13192
2011-11-28 23:29:35 +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
Chris Young
24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Ole Loots
8490662b09 Moved static declarations.
svn path=/trunk/netsurf/; revision=13175
2011-11-23 22:38:38 +00:00
Ole Loots
a14f675fdb Removed unused variable, plot_line is now global.
svn path=/trunk/netsurf/; revision=13174
2011-11-23 22:37:29 +00:00
Ole Loots
01666a444f Log mimetype
svn path=/trunk/netsurf/; revision=13173
2011-11-23 22:35:40 +00:00
Ole Loots
6227acbd50 Properly redraw the rectangle outline
svn path=/trunk/netsurf/; revision=13172
2011-11-23 22:34:38 +00:00
Ole Loots
8b4c96a953 Comment's...
svn path=/trunk/netsurf/; revision=13171
2011-11-23 22:33:02 +00:00
Ole Loots
cb84601b44 Removed debug output
svn path=/trunk/netsurf/; revision=13170
2011-11-23 22:27:57 +00:00
Ole Loots
5da485d423 Use new function nkc_to_input_key
svn path=/trunk/netsurf/; revision=13169
2011-11-23 22:25:22 +00:00
Ole Loots
0c7b4bc6c7 Removed FAQ entry for problems caused by stack overflow within mintlibs regex module.
svn path=/trunk/netsurf/; revision=13168
2011-11-23 20:13:07 +00:00
Ole Loots
fbb3ed3ff4 Checkbox "Close on finish" becomes close button when download finished.
svn path=/trunk/netsurf/; revision=13167
2011-11-23 20:01:47 +00:00
Ole Loots
0b3977b52b Removed resize widget from statusbar ( Not needed anymore, window has native widgets now)
svn path=/trunk/netsurf/; revision=13166
2011-11-23 19:59:24 +00:00
Ole Loots
a82f2721e6 Add global function to resolve Netsurf input key.
svn path=/trunk/netsurf/; revision=13165
2011-11-23 19:56:20 +00:00
Ole Loots
385ffaad7b Lock plotter during treeview redraw.
svn path=/trunk/netsurf/; revision=13164
2011-11-23 19:55:03 +00:00
Ole Loots
c23ef5e7aa Remove drag n' drop constants, already defined by cflib.h
svn path=/trunk/netsurf/; revision=13163
2011-11-23 19:53:54 +00:00
Ole Loots
dfcd555a0e Fix rectangle plotter, process stroke_type.
svn path=/trunk/netsurf/; revision=13149
2011-11-17 21:49:38 +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
5786f7eb17 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13123
2011-11-05 01:48:53 +00:00
Ole Loots
389722916a Added comments.
svn path=/trunk/netsurf/; revision=13122
2011-11-05 01:47:23 +00:00
Ole Loots
aadc2541a5 Added comments.
svn path=/trunk/netsurf/; revision=13121
2011-11-05 01:46:41 +00:00
Ole Loots
ee7b223eca Draw favicon when iconyfied
svn path=/trunk/netsurf/; revision=13049
2011-10-14 20:56:52 +00:00
Ole Loots
c91a4b7035 Added missing scroll position.
svn path=/trunk/netsurf/; revision=13041
2011-10-13 20:39:39 +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
Michael Drake
7dc000e643 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12929
2011-10-03 16:45:54 +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
0cf35ff730 added new options.
svn path=/trunk/netsurf/; revision=12827
2011-09-20 20:14:50 +00:00
Ole Loots
28a6e41174 Added "view source" to context menu.
svn path=/trunk/netsurf/; revision=12826
2011-09-20 20:12:10 +00:00
Ole Loots
8bb14fa569 Obey to clipping rules... (walk the rectangle list)
svn path=/trunk/netsurf/; revision=12825
2011-09-20 20:11:32 +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
a77b08a762 updatet docs.
svn path=/trunk/netsurf/; revision=12823
2011-09-19 18:41:31 +00:00
Ole Loots
8287d6c020 Added context menu.
svn path=/trunk/netsurf/; revision=12822
2011-09-19 18:39:13 +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
Ole Loots
6cde3888af do not send around message for NULL dialog.
svn path=/trunk/netsurf/; revision=12782
2011-09-09 19:59:36 +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
8e47876964 Avoid double free. Wasn't triggered before, because no data was passed to destroy.
svn path=/trunk/netsurf/; revision=12681
2011-08-30 21:41:10 +00:00
Ole Loots
52bf4e0cd1 Removed usage of duplicate types for the same thing (bbox, rect)
svn path=/trunk/netsurf/; revision=12680
2011-08-30 21:38:54 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
1eaa2a0e8e Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12658
2011-08-24 13:42:59 +00:00
Michael Drake
4adcb4277f Atari changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12649
2011-08-24 12:32:51 +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
cc52da39f7 Added missing position update when window got moved.
svn path=/trunk/netsurf/; revision=12637
2011-08-05 10:34:06 +00:00
Ole Loots
68b52a6023 Improved accuracy for window resize.
svn path=/trunk/netsurf/; revision=12636
2011-08-05 01:12:03 +00:00
Ole Loots
33aebf6fd1 housekeeping
svn path=/trunk/netsurf/; revision=12635
2011-08-05 01:11:03 +00:00
Ole Loots
a1f7517f39 edit comments
svn path=/trunk/netsurf/; revision=12634
2011-08-05 01:10:36 +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
53e1631d7a adjusted typo, fixed compilation of setting knockout option during runtime.
svn path=/trunk/netsurf/; revision=12548
2011-06-30 19:16:11 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +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
Ole Loots
b897861cdd avoid usage of uninitialized variable.
svn path=/trunk/netsurf/; revision=12509
2011-06-25 19:40:31 +00:00
Ole Loots
d6f5cead52 adjusted comment to match reality.
svn path=/trunk/netsurf/; revision=12508
2011-06-25 19:35:33 +00:00
Ole Loots
3210b6eaf8 small toolbar icon fix.
svn path=/trunk/netsurf/; revision=12507
2011-06-25 19:34:40 +00:00
Michael Drake
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Ole Loots
5eac88cb71 lowered stack value (the large value was added because of excesive stack usage within mintlibs regex, but it can be avoided when using malloc within regex impl.), added missing internal.css
svn path=/trunk/netsurf/; revision=12456
2011-06-03 22:37:20 +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
Ole Loots
3276ce5db9 rearranged includes, seperate redraw request areas.
svn path=/trunk/netsurf/; revision=12359
2011-05-09 22:10:02 +00:00
Ole Loots
2f40a85b67 fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12358
2011-05-09 22:08:34 +00:00
Ole Loots
b046d77f3f fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12357
2011-05-09 20:46:44 +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
9785c6ff3d Simpliefied scheduler timeout.
svn path=/trunk/netsurf/; revision=12221
2011-04-22 10:42:53 +00:00
Ole Loots
8d5091fab7 Added option for knockout rendering.
svn path=/trunk/netsurf/; revision=12220
2011-04-22 10:42:04 +00:00
Ole Loots
0cec5e0d07 Added option for knockout rendering.
svn path=/trunk/netsurf/; revision=12219
2011-04-22 10:41:42 +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
8723876bd5 cleanup, fixed invalid option name (downloads_path)
svn path=/trunk/netsurf/; revision=12181
2011-04-10 21:49:27 +00:00
Ole Loots
9520ad67fe cleanupd & comments, fixed clipping of mfdb's
svn path=/trunk/netsurf/; revision=12180
2011-04-10 21:47:59 +00:00
Ole Loots
ac97eac0cf file not changed, commiting the change anyway ;)
svn path=/trunk/netsurf/; revision=12179
2011-04-10 21:46:05 +00:00
Ole Loots
a0f2fcf740 removed MFDB_STRIDE macro ( moved to plotter.h)
svn path=/trunk/netsurf/; revision=12178
2011-04-10 21:44:25 +00:00
Ole Loots
90c2d50d16 added some comments
svn path=/trunk/netsurf/; revision=12177
2011-04-10 21:43:22 +00:00
Ole Loots
11dba4e9ee Removed nonsense include.
svn path=/trunk/netsurf/; revision=12176
2011-04-10 21:42:38 +00:00
Ole Loots
99ef43c9fe Thanks to AtFact
svn path=/trunk/netsurf/; revision=12114
2011-03-20 22:45:09 +00:00
Ole Loots
740d3298fa Added missing prototypes.
svn path=/trunk/netsurf/; revision=12113
2011-03-20 22:43:07 +00:00