Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
62bc7706d9
Update browser_window_redraw comment.
...
svn path=/trunk/netsurf/; revision=11668
2011-02-13 17:06:40 +00:00
Michael Drake
2d69afeec6
Fix broken plotting on RO with locked contents and buffered rendering.
...
svn path=/trunk/netsurf/; revision=11667
2011-02-13 16:44:32 +00:00
Michael Drake
fedcbf6656
Pass clip rect to browser_window_redraw as struct.
...
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders
9a183018ea
improve browser_window_redraw width and height handling
...
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders
2a8e8a5cf1
add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
...
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
Michael Drake
8e07f9388c
More useful comment about what bw->scroll is for.
...
svn path=/trunk/netsurf/; revision=10936
2010-11-03 16:07:30 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Vincent Sanders
2fd1476f8c
The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
...
Alter the framebuffer schedule_run to return the time untill the next event.
svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Michael Drake
f310569df4
Calling a hlcache_handle "content" is confusing.
...
svn path=/trunk/netsurf/; revision=10266
2010-04-07 12:09:38 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Vincent Sanders
cf322aeda3
Review fixups from Daniel Silverstone
...
Ensure status text statistics are initialised
Fix documentation and indentation of status text variables.
svn path=/trunk/netsurf/; revision=9968
2010-02-11 10:58:26 +00:00
Vincent Sanders
1537981da5
cache the status text to reduce teh number of window status update calls to teh frontend
...
svn path=/trunk/netsurf/; revision=9965
2010-02-10 23:37:06 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Michael Drake
13afa0ff4c
Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
...
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Michael Drake
f18904ca67
Indicate activity with the progress pointer for a second after you click a link and as the "auto" pointer while stuff is loading.
...
svn path=/trunk/netsurf/; revision=8525
2009-07-14 15:53:12 +00:00
John Mark Bell
5feb7018c5
Replace parent_url with a pointer to the parent content.
...
svn path=/trunk/netsurf/; revision=8428
2009-07-10 00:26:37 +00:00
John Mark Bell
ca96353d9f
Merged revisions 7764-7977,7979-8058 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines
replace global history window with an empty window for future tests
add the necessary files
first lines ported
........
r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line
more functions
........
r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line
redraw working
........
r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines
plotter fix
make use of the provided clipping rectangle
........
r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines
callbacks for taxtarea to request a [caret]redraw
basic caret handling drawing
........
r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line
single character insertion
........
r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line
single character insertion
........
r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines
fixed caret clipping
arrows, delete and backspace
........
r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line
remove bug causing NS hang on \n in textarea
........
r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line
Enter, Home, End keys
........
r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line
Ctrl + Home/End
........
r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line
redraw caret only on caret moves
........
r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line
line end/start delete
........
r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line
selection drawing + select all
........
r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines
auto scrolling on caret moves
clear selection
........
r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line
page up/down
........
r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line
remove unnecessary fix
........
r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line
clipping fixes
........
r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line
scroll fix
........
r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line
simplified redraw request logic
........
r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line
front end passing mouse events
........
r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines
drag selection
bug fixes
........
r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines
take selection into account on keypress of different types
a few bugs fixed
........
r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines
pango nsfont_split fix
a few textarea fixes
........
r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines
newline handling seems to work this way
clear selection on mouse click
more bug fixes
........
r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines
no caret option
selection follows drag
........
r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines
o width selection bug fix
caret at correct side of drag selection
........
r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines
fix caret positioning at line end
CR removal in input methods
........
r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line
fix crash on 0 length text
........
r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines
change LF into spaces for single line widget
text normalisation at one place
........
r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line
cleanup
........
r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line
fix selection draw
........
r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line
guard readonly
........
r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line
applied changes suggested by jmb
........
r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line
little fixes
........
r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line
correct line length and wrapping
........
r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines
fixed page up/down broken in last commit
changed logic for caret positioning on soft breaks
........
r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line
remove temporary/test code
........
r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line
changes suggested by jmb
........
r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line
added ro_ prefix to RISC OS textarea code
........
svn path=/trunk/netsurf/; revision=8060
2009-06-27 13:59:25 +00:00
John Mark Bell
2531079866
Revert r6973. Apparently, it causes loads of problems.
...
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
John Mark Bell
b230423267
Change URL bar contents when switching tabs in GTK frontend.
...
Remove fixed-size buffer from core URL string handling.
Credit: Mark Benjamin.
svn path=/trunk/netsurf/; revision=6998
2009-03-30 15:46:26 +00:00
Michael Drake
0a7e10819b
Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
...
svn path=/trunk/netsurf/; revision=6827
2009-03-23 22:22:30 +00:00
John Mark Bell
58cd142338
Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
...
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
Vincent Sanders
cbf07e1bc3
make schedule_run return if it has active jobs to schedule
...
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
Adrian Lees
34fdcf3aec
And these files too, please
...
svn path=/trunk/netsurf/; revision=6297
2009-01-30 05:07:07 +00:00
Rob Kendrick
afdf592637
Merge Mike's tabs changes. Still needs some cleaning.
...
svn path=/trunk/netsurf/; revision=5189
2008-08-24 10:31:38 +00:00
Michael Drake
2319b6032e
+ Change core to handle different front end click behaviour
...
styles. (Act on mouse button press or on button release.)
+ Click hold on CSS scrollbar arrows now pauses before
starting to auto-repeat.
+ Click hold on scrollbar wells will now auto-repeat.
svn path=/trunk/netsurf/; revision=4268
2008-06-06 13:58:56 +00:00
John Mark Bell
b15a6af3d2
s/wchar_t/uint32_t/g
...
We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable.
svn path=/trunk/netsurf/; revision=4165
2008-05-16 09:37:22 +00:00
Daniel Silverstone
f025f23c52
Remove the old and crap gesture core
...
svn path=/trunk/netsurf/; revision=3537
2007-09-14 18:33:32 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
John Mark Bell
cc684469df
Fix division by 0 caused by uninitialised scale value.
...
Break out initialisation of common parts of struct browser_window into their own function.
svn path=/trunk/netsurf/; revision=3481
2007-08-07 07:58:04 +00:00
James Bursa
07c54283e3
Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
...
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
...
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Richard Wilson
00af899230
Open window targets with a new name in a new window. Fix handling of Adjust-click on a form submit when new window opening is disabled.
...
svn path=/trunk/netsurf/; revision=3248
2007-04-07 23:08:31 +00:00
Rob Kendrick
2df3d592f3
Apply Darren Salt's keypress callbacl claiming patch, with addition of doc comment updates
...
svn path=/trunk/netsurf/; revision=3201
2007-03-06 23:50:06 +00:00
John Mark Bell
df4dbaf4cf
Handle cookies in unverifiable transactions
...
svn path=/trunk/netsurf/; revision=3151
2007-01-27 20:58:20 +00:00
James Bursa
bda01b3135
Fix parsing error when an empty HTML data is returned. Add HTTP status and other information to status bar.
...
svn path=/trunk/netsurf/; revision=3140
2007-01-13 00:21:15 +00:00
Richard Wilson
1353585036
Implement form targets (fix 1619094)
...
svn path=/trunk/netsurf/; revision=3125
2006-12-30 00:34:26 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
ec563e60ca
Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
...
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
James Bursa
21af6f7fda
Move frames-related code out of browser.c into a new file. Remove some browser_window calls from html.c.
...
svn path=/trunk/netsurf/; revision=3070
2006-11-26 20:11:20 +00:00
Richard Wilson
02a8722cc6
Fix 1553282.
...
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
Richard Wilson
74fa727509
Experimental new frames code.
...
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
Adrian Lees
5295d21743
Reposition caret when browser window reformatted
...
svn path=/trunk/netsurf/; revision=2839
2006-08-13 03:05:55 +00:00
Richard Wilson
a102f34fa6
Make adjust-clicking submit open a new window (fix 1430135)
...
svn path=/trunk/netsurf/; revision=2716
2006-07-05 01:23:25 +00:00
Daniel Silverstone
8a86b6b2b4
Added rudimentary gesture engine and test in gtk frontend
...
svn path=/trunk/netsurf/; revision=2611
2006-06-02 07:48:13 +00:00
Richard Wilson
c7f77b0165
Finish history cloning.
...
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
John Mark Bell
c09eb457df
Unify information databases
...
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Daniel Silverstone
dc3287127a
[project @ 2006-03-27 00:19:19 by dsilvers]
...
Defer scheduling a refresh until the content is loaded. This prevents assertion failures in the rare case that a schedule_run ends up being called before a content object containing a refresh which is due is fully loaded
svn path=/import/netsurf/; revision=2193
2006-03-27 00:19:19 +00:00