Commit Graph

26 Commits

Author SHA1 Message Date
François Revel 314dd0cd50 Add missing gui_window_scroll_visible().
svn path=/trunk/netsurf/; revision=9784
2010-01-03 21:06:53 +00:00
François Revel 3ea6fa1fd9 Fix getting the box style to a BFont. for the clipboard.
svn path=/trunk/netsurf/; revision=9778
2010-01-02 02:54:30 +00:00
John Mark Bell 243c1ba03f Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
François Revel 174a8dcca2 - when replicated, forbid creating windows, even though it initially works it crashes as soon as the menus are used.
- added an about box from the infos in the gtk code, still not perfect.

svn path=/trunk/netsurf/; revision=5590
2008-10-17 21:59:44 +00:00
François Revel ce07ebcea8 - handle NetPositive what codes; this makes it easy to use NetSurf instead by just changing the archived message used to instantiate it.
- fix background view color, some host apps hide the BDragger, making it visible.
- handle mailto: urls as a special case, we historically use the prefered app for text/x-email.

svn path=/trunk/netsurf/; revision=5584
2008-10-16 16:01:44 +00:00
François Revel f94f5cef35 Fix copying plain text selection.
svn path=/trunk/netsurf/; revision=5538
2008-10-11 16:58:22 +00:00
François Revel 4e79ee3d07 - support BITMAP_CLEAR_MEMORY in create_bitmap()
- copying to clipboard now constructs a text_run_array for StyledEdit, that is added to the clipboard. In applications supporting it it pastes the text with the correct fonts and sizes, and the text colors.
- tried to find which line in source code the selection starts to open the editor there, but it's not finished so it's disabled.

svn path=/trunk/netsurf/; revision=5533
2008-10-10 21:43:25 +00:00
François Revel 8710d3a814 - fix for copying selection to clipboard
- fix some leaks
- prepare for about box (use about html from rsrc: but it's broken yet)
- if more than 1 refs received at the same time, open the extra ones in a new window.

svn path=/trunk/netsurf/; revision=5511
2008-10-09 01:22:14 +00:00
François Revel 8b992259f1 Fix drawing the selection.
svn path=/trunk/netsurf/; revision=5508
2008-10-08 20:55:18 +00:00
François Revel c31a54788e Add clipboard support. Works mostly.
svn path=/trunk/netsurf/; revision=5507
2008-10-08 20:08:54 +00:00
François Revel bc3b994817 -enlarge invalidate rect by 1x1 in gui_window_redraw, this fixes caret updates.
- implement clipboard handling, not yet used though.

svn path=/trunk/netsurf/; revision=5506
2008-10-08 19:43:28 +00:00
François Revel 6ce8d637d6 Fix multibyte character input.
svn path=/trunk/netsurf/; revision=5505
2008-10-08 00:08:48 +00:00
François Revel 5e32d1ea12 Uncomment the code to focus the view on mouse click, much better.
svn path=/trunk/netsurf/; revision=5500
2008-10-06 22:34:03 +00:00
François Revel 497c218d4a - less debug output
- fixed mouse handling, now text input works again.

svn path=/trunk/netsurf/; revision=5496
2008-10-06 04:11:28 +00:00
François Revel bd276020aa - fix some coordinate handling
- bail out trying to redraw if there are more than 1 pending resize, this almost suppresses flicker on resize, and also avoids having the window busy for 10s redrawing 20 times.

svn path=/trunk/netsurf/; revision=5495
2008-10-06 02:07:55 +00:00
François Revel 022616ce99 Fix the white flickering and bad redraws (text too dark due to being drawn twice), by setting the ViewColor to transparent (avoiding app_server to draw it), and doing it ourselves in plot_clg() just before drawing the rest.
svn path=/trunk/netsurf/; revision=5486
2008-10-05 15:41:24 +00:00
François Revel 5de594527f - cleanup dead gtk code and copyrights
- fix refs received before we have a window open (as in OpenWith...), maybe I should just open a new window each time anyway ?

svn path=/trunk/netsurf/; revision=5476
2008-10-02 19:57:19 +00:00
François Revel 121ac2c698 Fix R5 BONE build.
svn path=/trunk/netsurf/; revision=5471
2008-10-02 16:52:45 +00:00
François Revel f9f9478901 Implemented the login dialog.
svn path=/trunk/netsurf/; revision=5470
2008-10-02 16:45:21 +00:00
François Revel 08073fb3d6 - switch to using builtin css files from rsrc:
- add debug output to trace keyboard input as textinput doesn't work anymore.

svn path=/trunk/netsurf/; revision=5468
2008-10-02 13:34:20 +00:00
François Revel 9e640a2ab9 First try at implementing menus, from RiscOS ones but lots don't work yet.
svn path=/trunk/netsurf/; revision=5467
2008-10-02 00:11:30 +00:00
François Revel d4c4800fec - iMissing knockout option to false
- Use Begin/EndViewTransaction() though it doesn't seem to help much reduce flicker
- some fiddling with bitmaps

svn path=/trunk/netsurf/; revision=5466
2008-10-01 21:04:32 +00:00
François Revel 7330f726e5 Fix BeOS build. We don't handle tabs yet though.
svn path=/trunk/netsurf/; revision=5209
2008-08-26 23:58:27 +00:00
François Revel 44856d86d4 Fix the BeOS build:
- hack to work around stdbool.h issue with R5 devkit
- fix prototypes
- fix bitmap code
- fix copy-paste on forward button
- remove unused gif throbber loading code
- R5 rgb_color doesn't have != operator, use memcmp()
- switch back to file based [beos]default.css for the time being
- realpath() hack for R5
Regressions:
- asserts on haiku-os.org
- no libns* yet, so less image support
- text field input doesn't work anymore.

svn path=/trunk/netsurf/; revision=5109
2008-08-13 19:35:41 +00:00
François Revel b0fa2b299d Add copyrights
Notes on a plot_path implementation.

svn path=/trunk/netsurf/; revision=4292
2008-06-07 01:13:07 +00:00
François Revel 90a15a9753 The BeOS-specific part of the BeOS (and Haiku) port, modeled mostly from the GTK version.
Some fixes are needed elsewhere but non-obvious ones I'll post on the mailing list for discussion.
Currently it opens windows with a toolbar, url and status bar, a (yet empty) menu bar.
Rendering seems to work including scrolling at scale 1 (other non-tested).
framesets seems broken though.

svn path=/trunk/netsurf/; revision=4253
2008-06-03 19:07:09 +00:00