Commit Graph

47 Commits

Author SHA1 Message Date
Vincent Sanders
2ca6e9a3e6 split out drawable window handling
extensive cleanups
fix localhistory

svn path=/trunk/netsurf/; revision=12153
2011-04-03 22:01:37 +00:00
Vincent Sanders
ad12c46af5 remove extraneous logging
fix windows path_to_url coping with NULL input and allocation errors.
remove forced verbose logging

svn path=/trunk/netsurf/; revision=12147
2011-03-29 20:50:31 +00:00
Vincent Sanders
402aaeb368 make windows frontend use
svn path=/trunk/netsurf/; revision=12146
2011-03-29 20:38:40 +00:00
Vincent Sanders
e7f9e93cc6 make teh GTK frontend build on -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DPANGO_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_MULTIHEAD_SAFE
svn path=/trunk/netsurf/; revision=12138
2011-03-26 20:56:59 +00:00
Vincent Sanders
2c55af59de Finally fix initial layout size. Tested on wine, XP, vista and windows 7
Fix teh stupid always on top unintended behaviour

svn path=/trunk/netsurf/; revision=12134
2011-03-25 23:32:46 +00:00
Vincent Sanders
75744612b5 make windows about window functional
make url bar font more acceptable

svn path=/trunk/netsurf/; revision=12131
2011-03-25 00:14:34 +00:00
Vincent Sanders
7d978f46fd Improve icon resource to contain all standard sizes and depths
svn path=/trunk/netsurf/; revision=12125
2011-03-22 22:37:02 +00:00
Michael Drake
a70c32422a gui_find_resource --> gui_get_resource_url.
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Vincent Sanders
b96104fe8f Ensure all four required version defines are set for windows builds
svn path=/trunk/netsurf/; revision=12082
2011-03-16 22:19:44 +00:00
Vincent Sanders
b925439a14 rationalise windows resource script
make window options dialog into a property sheet

svn path=/trunk/netsurf/; revision=11929
2011-03-06 23:27:09 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +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
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
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
f04cc9e9ec use the netsurf icons on the window decoration
svn path=/trunk/netsurf/; revision=11635
2011-02-09 01:32:53 +00:00
Vincent Sanders
3c414e7668 Stop win32 frontend using 100% cpu time when idle
svn path=/trunk/netsurf/; revision=11633
2011-02-08 23:42:18 +00:00
Michael Drake
5eaeaed909 Remove Hubbub and Wapcaplet initialisation and finalisation.
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Vincent Sanders
07c62407e2 Fix windows url bar
Clean up toolbar and urlbar creation and subclassing 

svn path=/trunk/netsurf/; revision=10891
2010-10-17 00:08:35 +00:00
Vincent Sanders
43029944ae fix thumbnailing and localhistory
svn path=/trunk/netsurf/; revision=10885
2010-10-14 19:33:00 +00:00
Vincent Sanders
1dbbbaf64a ensure iframe stuff does not de-reference null pointers
svn path=/trunk/netsurf/; revision=10884
2010-10-14 00:59:39 +00:00
Vincent Sanders
83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +00:00
Vincent Sanders
01c8552489 make windows frontend build and run again
Fix redraw bugs
Still major issue with frames

svn path=/trunk/netsurf/; revision=10880
2010-10-10 22:42:24 +00:00
Vincent Sanders
095154fa76 extend debug
clean up sub window creation

svn path=/trunk/netsurf/; revision=10875
2010-10-09 18:02:29 +00:00
Vincent Sanders
aa2587254a Update build instructions
Remove warnings from treeview branch merge

svn path=/trunk/netsurf/; revision=10874
2010-10-09 18:00:32 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +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
Daniel Silverstone
5e887908b3 Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
John Mark Bell
000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
John Mark Bell
aa45b35f43 Sync Windows frontend with core changes.
svn path=/trunk/netsurf/; revision=10409
2010-04-16 20:15:54 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
Vincent Sanders
57e7a172e1 Perform a radical crapectomy on the windows redraw functionality
svn path=/trunk/netsurf/; revision=10217
2010-03-30 21:03:41 +00:00
Vincent Sanders
11dbf5e589 stop trying to redraw a browser window if its content is empty
svn path=/trunk/netsurf/; revision=10208
2010-03-29 23:27:50 +00:00
Vincent Sanders
e00fb7bd2d second pass at startup refactor removing the gui_init callback
svn path=/trunk/netsurf/; revision=10205
2010-03-29 20:03:44 +00:00
Vincent Sanders
7e67527267 first part of initialisation refactor move gui_init2 into frontends
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +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
4990d8172a Fix initial sizing
Fix scrollbars

svn path=/trunk/netsurf/; revision=10044
2010-02-13 23:02:51 +00:00
Vincent Sanders
a85f391906 Fix high colour bitmap loading on toolbar
svn path=/trunk/netsurf/; revision=9955
2010-02-04 23:15:50 +00:00
Vincent Sanders
c41bcf0b28 Cleanup toolbar usage
Fix font sizing

svn path=/trunk/netsurf/; revision=9954
2010-02-04 21:05:44 +00:00
Vincent Sanders
36a21bdae4 make new window work
svn path=/trunk/netsurf/; revision=9953
2010-02-04 08:25:06 +00:00
Vincent Sanders
0eb9663b1c Make window resizeing not delete all child windows and recreate them a resize is sufficient
svn path=/trunk/netsurf/; revision=9952
2010-02-02 23:43:09 +00:00
Vincent Sanders
6b99aa5388 remove all references to defunct vertical offset from plotters
svn path=/trunk/netsurf/; revision=9950
2010-02-01 23:59:40 +00:00
Vincent Sanders
f382e2821a Substantial cleanup
perform drawing in child window
eliminate random vertical offsets

svn path=/trunk/netsurf/; revision=9949
2010-02-01 23:48:00 +00:00
Vincent Sanders
55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00