Commit Graph

47 Commits

Author SHA1 Message Date
Vincent Sanders ac70da346c Update the RISC OS frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders 1f341ed084 Correctly declare function as static and fix documentation 2014-09-07 00:31:46 +01:00
Michael Drake 5cd61f2ef4 Avoid include of browser_private.h 2014-08-26 18:16:03 +01:00
Vincent Sanders 72f8e711d7 additional risc os header cleanups 2014-06-05 23:01:37 +01:00
Michael Drake ae0e1316b7 Remove unused struct search_static_data members. 2014-05-30 22:52:22 +01:00
Vincent Sanders 4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Michael Drake 631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake 3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake 153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Michael Drake dd6d24e83d Remove unused includes. 2012-08-20 18:42:24 +01:00
Michael Drake b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Steve Fryatt 527330eb4a Remove unused variable declaration.
svn path=/trunk/netsurf/; revision=13154
2011-11-20 14:01:08 +00:00
Steve Fryatt 81e596a070 Remove unnecessary duplicate call to Wimp_OpenMenu.
svn path=/trunk/netsurf/; revision=13153
2011-11-20 13:26:21 +00:00
Michael Drake c25692c8ae RISC OS changes for core search update (r12646).
svn path=/trunk/netsurf/; revision=12651
2011-08-24 13:14:16 +00:00
Steve Fryatt cd9c0998e9 Merge branches/stevef/toolbars to trunk.
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +00:00
Michael Drake cffb7ea77b Fix for new cache.
svn path=/trunk/netsurf/; revision=10281
2010-04-07 17:33:58 +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
John Mark Bell a95145d806 Squash warnings.
svn path=/trunk/netsurf/; revision=6917
2009-03-27 01:34:32 +00:00
John Mark Bell 903edd1bf5 Purge WITH_SEARCH
svn path=/trunk/netsurf/; revision=6604
2009-02-22 15:21:54 +00:00
John Tytgat c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Tytgat 203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
John Tytgat 5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Adrian Lees 0e8a03dc36 Fix recursion when search string is pure wildcard
svn path=/trunk/netsurf/; revision=3633
2007-10-15 22:48:24 +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
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
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Adrian Lees 5b87995de7 Fix case of NotFound message
svn path=/trunk/netsurf/; revision=2954
2006-09-16 00:16:49 +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
Adrian Lees 2e6cb9f80c [project @ 2006-02-15 23:14:51 by adrianl]
Late arrival

svn path=/import/netsurf/; revision=2083
2006-02-15 23:14:51 +00:00
Adrian Lees ba474f1c91 [project @ 2006-02-12 21:23:21 by adrianl]
Show all matches

svn path=/import/netsurf/; revision=2076
2006-02-12 21:23:22 +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
Richard Wilson f86f02b976 [project @ 2005-12-31 05:17:44 by rjw]
Create recent search menu correctly.

svn path=/import/netsurf/; revision=1922
2005-12-31 05:17:44 +00:00
Richard Wilson 59c87063d1 [project @ 2005-12-31 04:42:17 by rjw]
Use new wimp_event system. Recent search menu [incomplete].

svn path=/import/netsurf/; revision=1917
2005-12-31 04:42:17 +00:00
Adrian Lees 56b06d8449 [project @ 2005-07-30 15:11:22 by adrianl]
Fix removal of 'Not found' message for non-RO5 systems

svn path=/import/netsurf/; revision=1829
2005-07-30 15:11:23 +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
Adrian Lees bd99f7081e [project @ 2005-07-19 03:56:17 by adrianl]
Search-as-you-type

svn path=/import/netsurf/; revision=1805
2005-07-19 03:56:17 +00:00
Adrian Lees 1e673368d1 [project @ 2005-04-22 00:58:05 by adrianl]
No selection when searching on non-html content

svn path=/import/netsurf/; revision=1677
2005-04-22 00:58:05 +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
Adrian Lees 9cff88ddd5 [project @ 2005-04-17 04:13:13 by adrianl]
Multiple matches per box

svn path=/import/netsurf/; revision=1658
2005-04-17 04:13:13 +00:00
Adrian Lees 452a27e74c [project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows

svn path=/import/netsurf/; revision=1657
2005-04-17 03:30:35 +00:00
Richard Wilson 610fca368b [project @ 2005-04-07 20:46:22 by rjw]
Update to the way menus are handled. Various GUI bug fixes.

svn path=/import/netsurf/; revision=1603
2005-04-07 20:46:22 +00:00
Adrian Lees 9b8a94cc39 [project @ 2005-03-25 14:25:25 by adrianl]
Removed string copying and added wildcard matching.

svn path=/import/netsurf/; revision=1582
2005-03-25 14:25:25 +00:00
James Bursa 511d66331f [project @ 2004-10-17 21:16:00 by bursa]
Move to use plotters. Replace html.layout->children with html.layout.

svn path=/import/netsurf/; revision=1318
2004-10-17 21:16:00 +00:00
John Mark Bell fc50ed2eca [project @ 2004-08-05 22:38:26 by jmb]
Fix bug relating to window contents changing

svn path=/import/netsurf/; revision=1184
2004-08-05 22:38:26 +00:00
John Mark Bell f3bef9fdcb [project @ 2004-08-05 22:03:56 by jmb]
Tidy up and bugfix search implementation

svn path=/import/netsurf/; revision=1183
2004-08-05 22:03:56 +00:00
John Mark Bell 4f3691d183 [project @ 2004-08-05 20:32:00 by jmb]
Text search. Press F4 to access it

svn path=/import/netsurf/; revision=1182
2004-08-05 20:32:00 +00:00