Michael Drake
2e584e3b04
Style guide formatting.
...
svn path=/trunk/netsurf/; revision=5535
2008-10-11 15:12:42 +00:00
Michael Drake
56f8f275fd
Fix close icon size on tabs. Thanks to Christian Dywan (kalikiana).
...
svn path=/trunk/netsurf/; revision=5534
2008-10-11 13:52:03 +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
e4fba7f577
Add missing calls to bitmap_modified(). This fixes using libpng in the BeOS port.
...
svn path=/trunk/netsurf/; revision=5532
2008-10-10 20:54:49 +00:00
Daniel Silverstone
eaa744c0d2
Remove urldb_search_remove. Added hint for where to find it if we need it in future
...
svn path=/trunk/netsurf/; revision=5531
2008-10-10 11:54:37 +00:00
Daniel Silverstone
c4cf8b14cd
Add #if support for controlling debug dumps of box tree and framesets
...
svn path=/trunk/netsurf/; revision=5530
2008-10-10 10:56:34 +00:00
Daniel Silverstone
6138faa0e5
Remove -Winline
...
svn path=/trunk/netsurf/; revision=5529
2008-10-10 10:06:35 +00:00
Daniel Silverstone
6a9f156fc6
Fix format string warning error
...
svn path=/trunk/netsurf/; revision=5528
2008-10-10 09:50:42 +00:00
Rob Kendrick
9343a94193
Warning squashes
...
svn path=/trunk/netsurf/; revision=5527
2008-10-10 09:47:52 +00:00
Daniel Silverstone
88b8fdb221
Remove redundant function, and guard print/export-pdf against lack of haru
...
svn path=/trunk/netsurf/; revision=5526
2008-10-10 09:33:39 +00:00
Daniel Silverstone
f02cf9a5b5
Fix two warnings which only show when not using haru or hubbub
...
svn path=/trunk/netsurf/; revision=5525
2008-10-10 09:30:17 +00:00
Mike Lester
74baa6336c
Fixed most of the scaffolding warnings.
...
svn path=/trunk/netsurf/; revision=5524
2008-10-09 23:19:50 +00:00
Rob Kendrick
c14cd17411
More GTK warning fixes.
...
svn path=/trunk/netsurf/; revision=5523
2008-10-09 23:14:00 +00:00
Mike Lester
8dedd7a4e1
Updated style, 80 char width
...
svn path=/trunk/netsurf/; revision=5522
2008-10-09 23:09:01 +00:00
Rob Kendrick
4b2802c546
Whole bunch of warning fixes in GTK
...
svn path=/trunk/netsurf/; revision=5521
2008-10-09 23:07:38 +00:00
Mike Lester
56500ce8e8
Fixed warning relating to Downloads.
...
svn path=/trunk/netsurf/; revision=5520
2008-10-09 23:06:07 +00:00
Rob Kendrick
35120aab1a
Fix warnings in gtk_option.c - this code needs *serious* refactoring to remove crackful macros that unbalance braces.
...
svn path=/trunk/netsurf/; revision=5519
2008-10-09 22:49:48 +00:00
Michael Drake
bbda089a72
Style guide formatting: indentation, 80 char width, 2 tabs after wrap.
...
svn path=/trunk/netsurf/; revision=5518
2008-10-09 21:32:56 +00:00
Rob Kendrick
35766f761e
Fix braino in previous commit
...
svn path=/trunk/netsurf/; revision=5517
2008-10-09 21:22:27 +00:00
Rob Kendrick
a0273d8c7f
Fix warning in gtk_about.c, reformat
...
svn path=/trunk/netsurf/; revision=5516
2008-10-09 21:17:31 +00:00
Mike Lester
232c43418d
Fixed all but one "about dialog" related warnings. All credit strings are now constant.
...
svn path=/trunk/netsurf/; revision=5515
2008-10-09 20:47:19 +00:00
Daniel Silverstone
0bd85e2e44
Add header guard to reduce warning count marginally
...
svn path=/trunk/netsurf/; revision=5514
2008-10-09 14:12:44 +00:00
Daniel Silverstone
f6a2b1169d
Ensure we set the CSS DPI every time a window opens. For now, this will do. Later we need to monitor and perhaps support per-browser-window dpi?
...
svn path=/trunk/netsurf/; revision=5513
2008-10-09 13:45:21 +00:00
François Revel
10879f2ad6
Add missing copyright on the version info for BeOS.
...
svn path=/trunk/netsurf/; revision=5512
2008-10-09 02:32:33 +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
Chris Young
ea205ecf23
Generate AmigaOS version string in correct format, taking:
...
netsurf_version_major from desktop/version.c as version
SVN revision from local repository as revision
This should ensure that the internal version number will increase correctly
(version and revision are treated as seperate values > 0), whereas NetSurf's public
release version (currently coming up to 2.0) is not guaranteed to be in legal AmigaOS
format or increase validly under AmigaOS rules.
The internal version string has been added for future AmiUpdate support as well as
making it easier to see and compare versions of interim builds.
amiga/version.c can safely be removed from the source list when cross-compiling (where
ARexx is not available), or manually created, as it only defines this internal
version string and does not contain any code.
amiga/version.c is automatically removed after linking to ensure it always reflects
the current SVN revision.
svn path=/trunk/netsurf/; revision=5510
2008-10-08 22:55:58 +00:00
François Revel
54013eb1fa
Override checking the mime type for known extensions. At least on my system, the mime sniffer thinks css files are text/x-source-code, and NS didn't like that.
...
svn path=/trunk/netsurf/; revision=5509
2008-10-08 22:05:11 +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
493fb9ed87
Fix app signature for Haiku's StyledEdit.
...
svn path=/trunk/netsurf/; revision=5504
2008-10-07 01:36:11 +00:00
François Revel
21f541fdef
Dereference symlinks on B_REFS_RECEIVED. This way dropping a symlink to an html file actually opens the target, and succeeds in finding its related files. One can still enter the path to the symlink itself in the url bar as file:// anyway.
...
svn path=/trunk/netsurf/; revision=5503
2008-10-07 00:42:14 +00:00
François Revel
6fd280ad2e
- fix using undefined fd_sets in case active was false. Looks like I was too quick at copy-pasting gtk code. This should fix the busy-loop behaviour on Haiku.
...
- remove dead gtk code.
svn path=/trunk/netsurf/; revision=5502
2008-10-07 00:15:19 +00:00
François Revel
2ab25ce7db
Snif local files entirely the BeOS way, using the mime db, this fixes taking symlinks to html as plain text.
...
Make sure the mime db has the needed types just in case they are missing.
svn path=/trunk/netsurf/; revision=5501
2008-10-06 23:53:59 +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
Chris Young
dfec4035dd
List traversing tidy-up.
...
svn path=/trunk/netsurf/; revision=5499
2008-10-06 18:20:16 +00:00
Chris Young
2808d77089
Full quit function and associated ARexx command (QUIT)
...
svn path=/trunk/netsurf/; revision=5498
2008-10-06 17:47:31 +00:00
Chris Young
be787cabb1
Closing entire windows instead of just tabs is now possible
...
svn path=/trunk/netsurf/; revision=5497
2008-10-06 07:07:33 +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
482ffb2887
- Remove dead gtk code
...
- fix overlapping of toolbar and content by 1 pixel
svn path=/trunk/netsurf/; revision=5494
2008-10-06 01:56:54 +00:00
François Revel
1b37dbcd2e
Remove dead GTK code & (c)
...
svn path=/trunk/netsurf/; revision=5493
2008-10-06 00:32:46 +00:00
François Revel
de531c691a
Make gui_poll() a little better. Don't check for the event pipe fd if select returned an error.
...
svn path=/trunk/netsurf/; revision=5492
2008-10-06 00:29:02 +00:00
François Revel
eda397e028
Fix plot_fill and plot_clip coords.
...
Added some code to test plotters. -DTEST_PLOTTERS and call test_plotters_main() from main() to test. This should allow comparison on other platforms if they implement it too.
svn path=/trunk/netsurf/; revision=5491
2008-10-05 21:42:04 +00:00
François Revel
483bdf7987
Add Aliases to resources for later use.
...
svn path=/trunk/netsurf/; revision=5490
2008-10-05 21:38:57 +00:00
Chris Young
afa472c874
Fixed some problems with tabs, added a tab close gadget.
...
svn path=/trunk/netsurf/; revision=5489
2008-10-05 21:20:12 +00:00
Michael Drake
b1a6125578
Comment flush plotter.
...
svn path=/trunk/netsurf/; revision=5488
2008-10-05 20:55:45 +00:00
François Revel
b36a6f7734
Add Hubbub support, should work much better when actually initializing it.
...
svn path=/trunk/netsurf/; revision=5487
2008-10-05 20:35:28 +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