Commit Graph

35 Commits

Author SHA1 Message Date
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
20f2c86a51 Clean up atari source linendings, whitespace damage and executable status 2015-05-28 09:11:32 +01:00
Michael Drake
a96ba0369c Shouldn't need browser window internals now. 2014-10-25 15:37:03 +01:00
Michael Drake
dd59552f6e Attempt to remove dependancy of search implementation on bw internals. 2014-10-25 15:34:22 +01:00
Vincent Sanders
56731e1dbb remove all unecessary desktop/browser.h includes 2014-10-17 10:49:24 +01:00
Vincent Sanders
19c26ca182 update atari includes to accomodate gui operation table refactor 2014-10-16 22:33:44 +01:00
Michael Drake
7c94c2752c Remove unused variables. 2014-05-20 21:09:46 +01:00
Michael Drake
b31f224f42 Fix line endings. 2014-05-20 21:06:32 +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
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
Ole Loots
577ff3cffc The Window toolbar now have independet AES objects,
which means no state restore is required before redraw.
2013-01-22 22:28:20 +01:00
Ole Loots
985e4ce6be Prefixed gemtk module functions. 2013-01-22 02:33:27 +01:00
Ole Loots
13f22099ce Search is functional. 2013-01-17 01:18:27 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +01:00
Ole Loots
4f64d85dfa Make toolbar height configurable,
started to use extended AES Object types.
2013-01-15 01:31:35 +01:00
Ole Loots
a0227890e9 Further work on search in browser window. 2013-01-14 01:01:22 +01:00
Ole Loots
badc87f343 Use windowes objc_w* and form_w* functions,
this should respect the window area, but
it doesn't.
2013-01-11 23:53:46 +01:00
Ole Loots
adcbbbe880 Started to move the search form into the browser window. 2013-01-11 02:12:30 +01:00
Ole Loots
0bbccaa935 Finally it compiles without WinDom - still some things to bring back:
- Serch window
 - Pop Menus in the settings dialog
2013-01-07 20:04:44 +01:00
Ole Loots
9fdd190e00 Removed browser.h/.c 2013-01-03 01:22:38 +01:00
Ole Loots
695f052237 Moved form handling into gemtk,
removed several windom includes
2012-12-31 03:37:43 +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
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Vincent Sanders
311953f453 add missing include for browser private 2012-08-22 17:14:42 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Ole Loots
e4d83d660e Open search form at lower right corner 2012-07-27 03:35:53 +02: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
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
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
3276ce5db9 rearranged includes, seperate redraw request areas.
svn path=/trunk/netsurf/; revision=12359
2011-05-09 22:10:02 +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
66ed6d8867 NULL check
svn path=/trunk/netsurf/; revision=11813
2011-02-25 23:25:22 +00:00
Ole Loots
867b31b46d Added better checkboxes,
Added search_destroy method. 

svn path=/trunk/netsurf/; revision=11653
2011-02-12 19:41:07 +00:00
Ole Loots
82267c62ed A bit of cleanup.
svn path=/trunk/netsurf/; revision=11590
2011-02-01 21:26:04 +00:00
Ole Loots
3694345204 Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11536
2011-01-30 19:24:03 +00:00