Commit Graph

311 Commits

Author SHA1 Message Date
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
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
Adrian Lees
1a67793784 Fix crash if content failed to open (memory shortage)
svn path=/trunk/netsurf/; revision=3365
2007-06-24 18:00:46 +00:00
Adrian Lees
9e2baee37d Scroll wheel support on hotlist and history windows
svn path=/trunk/netsurf/; revision=3364
2007-06-24 17:10:08 +00:00
Adrian Lees
6890f816ed Fix interaction between failed drag save and pointer tracking (including page drag scrolling)
svn path=/trunk/netsurf/; revision=3311
2007-06-05 05:14:54 +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
John Mark Bell
932765df96 Remove collusion between window, menus and search code in order to clear
search selection state - this should happen automagically through 
wimp_event callbacks now.
Also tidy search.c so I can read it better ;)

svn path=/trunk/netsurf/; revision=3227
2007-03-26 21:09:25 +00:00
Richard Wilson
15ff0c9cf9 Fix failing window update for large extents.
svn path=/trunk/netsurf/; revision=3194
2007-03-03 21:57:24 +00:00
Richard Wilson
b5a14773ff Correctly calculate maximised frame heights (fix 1644216)
svn path=/trunk/netsurf/; revision=3193
2007-03-03 20:49:49 +00:00
Richard Wilson
7368688642 Dynamically update scale view (implement 1556975) and prevent double redraws.
svn path=/trunk/netsurf/; revision=3191
2007-03-03 19:46:20 +00:00
Richard Wilson
0b875957cb Format frame content to correct initial size. Scale iframe co-ordinates.
svn path=/trunk/netsurf/; revision=3134
2007-01-03 15:15:54 +00:00
Richard Wilson
f4b8d3a009 Reflow iframes on layout (fix 1617625)
svn path=/trunk/netsurf/; revision=3126
2006-12-30 02:10:46 +00:00
Michael Drake
1b13cad222 Add break.
svn path=/trunk/netsurf/; revision=3109
2006-12-07 22:39:00 +00:00
Michael Drake
d102139fab Stop URL complete window opening.
svn path=/trunk/netsurf/; revision=3108
2006-12-07 22:34:46 +00:00
Michael Drake
56989c8ed9 Remove backspace key shortcut.
svn path=/trunk/netsurf/; revision=3107
2006-12-07 20:28:19 +00:00
Richard Wilson
db0aae2a46 Fix 1593228.
svn path=/trunk/netsurf/; revision=3102
2006-12-03 21:11:34 +00:00
Richard Wilson
4d14d54720 Implement 1554984.
svn path=/trunk/netsurf/; revision=3098
2006-12-03 12:45:35 +00:00
Richard Wilson
6eb93ff077 Fix 1483163.
svn path=/trunk/netsurf/; revision=3095
2006-12-03 11:49:39 +00:00
Richard Wilson
0accd55b91 Fix 1568884.
svn path=/trunk/netsurf/; revision=3094
2006-12-03 11:38:14 +00:00
Richard Wilson
450d83769f Fix 1569172
svn path=/trunk/netsurf/; revision=3084
2006-12-01 15:05:16 +00:00
Richard Wilson
ebdaeed557 Use new UTF-8 status bar. Use top-window dimensions for new windows from framesets.
svn path=/trunk/netsurf/; revision=3082
2006-11-30 15:30:54 +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
John Mark Bell
e5680bdccb Clean up wimp_event usage when closing browser windows.
svn path=/trunk/netsurf/; revision=3022
2006-10-31 23:06:12 +00:00
John Mark Bell
4b722c42ba Fix scale view shortcuts to use new scaling mechanism
svn path=/trunk/netsurf/; revision=2938
2006-09-09 22:07:08 +00:00
Richard Wilson
5340bf487b Don't scale windows without content.
svn path=/trunk/netsurf/; revision=2937
2006-09-08 22:36:09 +00:00
Richard Wilson
2f98e3977e Take scrollbars into account when placing frames.
svn path=/trunk/netsurf/; revision=2936
2006-09-08 20:50:07 +00:00
Richard Wilson
02a8722cc6 Fix 1553282.
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
John Mark Bell
f99998362d Lose noisy logging
svn path=/trunk/netsurf/; revision=2928
2006-09-07 20:39:37 +00:00
John Mark Bell
b5274724ed Fix dataload stupidities
svn path=/trunk/netsurf/; revision=2925
2006-09-07 09:44:50 +00:00
Richard Wilson
3e0c02e8e5 Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing issues for framesets.
svn path=/trunk/netsurf/; revision=2924
2006-09-06 22:15:58 +00:00
Richard Wilson
1999becb42 Finish event based GUI system transition and begin code cleanup.
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
Richard Wilson
cba08bf827 Fix 1527343.
svn path=/trunk/netsurf/; revision=2919
2006-09-05 18:32:18 +00:00
Richard Wilson
4994441579 Improve caret handling.
svn path=/trunk/netsurf/; revision=2917
2006-09-05 17:34:30 +00:00
Richard Wilson
4780e39836 Fix initial frame stack placement (fix www.theabar.co.uk and others)
svn path=/trunk/netsurf/; revision=2915
2006-09-05 01:09:05 +00:00
Richard Wilson
5a9af92cd1 Don't track windows after destruction.
svn path=/trunk/netsurf/; revision=2914
2006-09-05 00:53:17 +00:00
Richard Wilson
6d36d39a56 Don't force iframe windows 'onto screen' when opening (fix 1551632)
svn path=/trunk/netsurf/; revision=2913
2006-09-05 00:24:17 +00:00
Richard Wilson
5d53f3784c Fix window furniture issues at small dimensions.
svn path=/trunk/netsurf/; revision=2910
2006-09-04 10:13:56 +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
a1292c7935 Map Ctrl-S/F to Save/Search for Windows compatibility since they were unused
svn path=/trunk/netsurf/; revision=2866
2006-08-18 05:39:53 +00:00
Adrian Lees
34791dc3ea Make Home/End jump to top/bottom of page
svn path=/trunk/netsurf/; revision=2827
2006-08-11 02:36:12 +00:00
John Mark Bell
752634a810 Fix corruption of character if it matches a control sequence handled by
the core code.
Explicitly check for IS_WIMP_KEY in every applicable case as clearing 
the relevant bit beforehand is insufficient (&18C (Left cursor) is a 
valid Unicode character value, for example)

svn path=/trunk/netsurf/; revision=2747
2006-07-13 22:35:46 +00:00
John Mark Bell
25501c695e Centralise keypress handling (download and query dialogs still need porting over to wimp_event)
Make core browser window invalidate caret callback on mouse clicks

svn path=/trunk/netsurf/; revision=2746
2006-07-13 21:57:35 +00:00
Richard Wilson
652f594cbb Further url completion fixes
svn path=/trunk/netsurf/; revision=2744
2006-07-13 21:28:07 +00:00
Richard Wilson
a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
Richard Wilson
3d63f5e5b2 Ctrl + resize scales the content to the new width.
svn path=/trunk/netsurf/; revision=2735
2006-07-12 17:23:00 +00:00
Richard Wilson
0fe0a709ce Join update boxes if possible to decrease rendering time (optimise bouncing bunny testcase.)
svn path=/trunk/netsurf/; revision=2724
2006-07-09 17:38:34 +00:00
Richard Wilson
ea44d84833 Make adjust-back/forwards/up open content in a new window (implement 1431600)
svn path=/trunk/netsurf/; revision=2717
2006-07-05 16:50:35 +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
Richard Wilson
667c3b6730 Fix 1516353 and implement 1352354
svn path=/trunk/netsurf/; revision=2711
2006-07-04 19:56:37 +00:00
Richard Wilson
bd732e40ed Respect CMOS configuration for full-size toggles on small contents.
svn path=/trunk/netsurf/; revision=2709
2006-07-04 14:50:15 +00:00
Richard Wilson
de0c4e2c32 Implement up toolbar icon and menu option.
svn path=/trunk/netsurf/; revision=2705
2006-07-03 21:07:02 +00:00
Richard Wilson
021f36675f Delegate redraw optimisations to the knockout rendering system (fix garbage being displayed in certain situations with buffered rendering)
svn path=/trunk/netsurf/; revision=2703
2006-07-03 02:45:48 +00:00
Richard Wilson
d064f950a7 Allow any content to be dragged into a text area (fix 1461378)
svn path=/trunk/netsurf/; revision=2701
2006-07-03 01:38:13 +00:00
Richard Wilson
dbe40cffb3 Re-instate the knockout renderers after a nested flush(). Make so knockout rendering is always used.
svn path=/trunk/netsurf/; revision=2693
2006-07-02 17:23:49 +00:00
Richard Wilson
cf4294d3a8 Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
John Mark Bell
1404431fef Lose compiler warnings
svn path=/trunk/netsurf/; revision=2645
2006-06-25 13:12:07 +00:00
Rob Kendrick
045794bdbb Fix typo in Pinboard workaround (stops it being overly zealous)
svn path=/trunk/netsurf/; revision=2644
2006-06-24 16:56:56 +00:00
Rob Kendrick
73b13bff12 Add workaround to bug in Pinboard not displaying some windows when iconised
svn path=/trunk/netsurf/; revision=2641
2006-06-23 22:42:31 +00:00
John Mark Bell
09564c2bca Fix handling of backspace in URL entry field
svn path=/trunk/netsurf/; revision=2614
2006-06-02 14:27:18 +00:00
John Mark Bell
8fc65f1a64 New keybindings similar to other browsers:
Backspace -> back
Shift + Backspace -> forward

svn path=/trunk/netsurf/; revision=2610
2006-06-01 23:54:55 +00:00
Adrian Lees
c2f54bca82 Eliminate error at end of page drag scrolling on Select
svn path=/trunk/netsurf/; revision=2608
2006-05-28 16:49:39 +00:00
James Bursa
b813b44a63 Add Ctrl-Shift-Q and Ctrl-Shift-W to change scale in 10% steps.
svn path=/trunk/netsurf/; revision=2593
2006-05-06 13:09:50 +00:00
Michael Drake
49e173baab Reinstate Ctrl+R (full reload).
svn path=/trunk/netsurf/; revision=2584
2006-05-02 10:13:36 +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
1b7797b395 Fix redraw issues for CONTENT_CSS
svn path=/trunk/netsurf/; revision=2528
2006-04-13 00:22:52 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Adrian Lees
4b03028b51 [project @ 2006-03-24 03:44:33 by adrianl]
Use thumbnails for iconised windows

svn path=/import/netsurf/; revision=2157
2006-03-24 03:44:37 +00:00
Michael Drake
075f6ba3d1 [project @ 2006-03-23 10:25:50 by tlsa]
Add remaining pointer types to RISC OS build.

svn path=/import/netsurf/; revision=2154
2006-03-23 10:25:50 +00:00
Michael Drake
222b75de89 [project @ 2006-03-22 23:37:59 by tlsa]
More pointer types for RISC OS build.

svn path=/import/netsurf/; revision=2150
2006-03-22 23:37:59 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
John Mark Bell
63a70da244 [project @ 2006-03-10 11:28:16 by jmb]
Add missing "struct"

svn path=/import/netsurf/; revision=2126
2006-03-10 11:28:16 +00:00
Daniel Silverstone
7e02b0089c [project @ 2006-03-10 11:10:21 by dsilvers]
Include gui.h for gui_window struct

svn path=/import/netsurf/; revision=2125
2006-03-10 11:10:21 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
Richard Wilson
25a995931d [project @ 2006-03-04 20:46:35 by rjw]
Continue work towards favicon support.

svn path=/import/netsurf/; revision=2104
2006-03-04 20:46:35 +00:00
Richard Wilson
60ea34ad48 [project @ 2006-02-26 02:25:19 by rjw]
Add support for ICO files.

svn path=/import/netsurf/; revision=2096
2006-02-26 02:25:19 +00:00
Richard Wilson
da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +00:00
Adrian Lees
eeb97d89c3 [project @ 2006-02-11 19:10:42 by adrianl]
Corrected UTF8 conversion of imported text

svn path=/import/netsurf/; revision=2074
2006-02-11 19:10:42 +00:00
Adrian Lees
9661e84371 [project @ 2006-02-01 22:31:27 by adrianl]
Eliminate spurious char at end of imported text

svn path=/import/netsurf/; revision=2052
2006-02-01 22:31:27 +00:00
Michael Drake
8fc96b9862 [project @ 2006-01-26 23:52:01 by tlsa]
Revert accidentally checked in file.

svn path=/import/netsurf/; revision=2048
2006-01-26 23:52:01 +00:00
Michael Drake
cea6db4ee0 [project @ 2006-01-26 23:38:22 by tlsa]
Remove rule.netsurf/!NetSurf/Resources/AdBlock,f79

svn path=/import/netsurf/; revision=2046
2006-01-26 23:38:23 +00:00
Richard Wilson
b5fcb4d94c [project @ 2006-01-25 17:28:29 by rjw]
Implement feature request 1365051.

svn path=/import/netsurf/; revision=2043
2006-01-25 17:28:29 +00:00
John Mark Bell
15a14599db [project @ 2006-01-22 17:25:30 by jmb]
Convert local files to UTF-8 when dragged in (assumes they're encoded in the system local encoding).
Fix potential buffer overflow in utf8_from_local_encoding

svn path=/import/netsurf/; revision=2025
2006-01-22 17:25:30 +00:00
Richard Wilson
e4fa7102bd [project @ 2006-01-06 21:21:34 by rjw]
Trim headers.

svn path=/import/netsurf/; revision=1997
2006-01-06 21:21:34 +00:00
Richard Wilson
4fb5bda6ac [project @ 2006-01-02 22:06:59 by rjw]
Allow toolbars for non gui-windows

svn path=/import/netsurf/; revision=1959
2006-01-02 22:06:59 +00:00
Richard Wilson
d1094d1238 [project @ 2005-12-31 04:40:48 by rjw]
Use new wimp_event system.

svn path=/import/netsurf/; revision=1916
2005-12-31 04:40:49 +00:00
Adrian Lees
7a81755bca [project @ 2005-09-29 15:24:48 by adrianl]
Allow drag-saving of URLs from URL icon of browser windows

svn path=/import/netsurf/; revision=1867
2005-09-29 15:24:48 +00:00
Adrian Lees
eed08b3250 [project @ 2005-07-24 03:13:51 by adrianl]
Convert title to local encoding before display

svn path=/import/netsurf/; revision=1819
2005-07-24 03:13:51 +00:00
Adrian Lees
1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
John Mark Bell
f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
Adrian Lees
4a5dc6d5cc [project @ 2005-07-16 05:54:45 by adrianl]
Thumbnails displayed and dragged for full page save; spelling correction

svn path=/import/netsurf/; revision=1793
2005-07-16 05:54:45 +00:00
James Bursa
9b78daf135 [project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.

svn path=/import/netsurf/; revision=1777
2005-07-02 18:17:51 +00:00
John Mark Bell
c0fce75798 [project @ 2005-06-07 21:58:17 by jmb]
Fix stupid assertions.

svn path=/import/netsurf/; revision=1745
2005-06-07 21:58:17 +00:00
John Mark Bell
0bcfdbeb50 [project @ 2005-06-07 21:29:26 by jmb]
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.

svn path=/import/netsurf/; revision=1744
2005-06-07 21:29:26 +00:00
John Mark Bell
be6a75509d [project @ 2005-06-07 16:35:13 by jmb]
Convert status bar text to local encoding. Fixes bug 1215998

svn path=/import/netsurf/; revision=1743
2005-06-07 16:35:13 +00:00
Adrian Lees
1b46d8f35e [project @ 2005-05-02 22:12:53 by adrianl]
Fix Ctrl-Del and implement Home

svn path=/import/netsurf/; revision=1710
2005-05-02 22:12:53 +00:00
Adrian Lees
8da644f442 [project @ 2005-04-21 21:36:23 by adrianl]
Dragging URLs into toolbar URL icon; keyboard actions in textareas conform to Wimp's icon editing; display of scale % fixed for 120%

svn path=/import/netsurf/; revision=1676
2005-04-21 21:36:23 +00:00
Richard Wilson
d736b3d3e5 [project @ 2005-04-20 23:22:49 by rjw]
Remove background blending option, fix tree menu bug.

svn path=/import/netsurf/; revision=1675
2005-04-20 23:22:49 +00:00
Adrian Lees
31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
Adrian Lees
89d98d0577 [project @ 2005-04-17 23:32:09 by adrianl]
better keyboard support for scale and find dialogs

svn path=/import/netsurf/; revision=1665
2005-04-17 23:32:09 +00:00