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
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
1510bbd3ad
Check the last character for a path separator, rather than the NULL string termination.
...
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +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
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
Vincent Sanders
03bb3e8636
remove _GNU_SOURCE define from everywhere.
...
strndup is not standard so provide an implementation.
svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
John Mark Bell
2748fe4f64
Make downloads work again.
...
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +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
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
Chris Young
033b5d815a
Move code which extracts the filename from a given path into frontend.
...
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
e01c0ea326
Use correct length definition
...
svn path=/trunk/netsurf/; revision=9867
2010-01-23 13:48:06 +00:00
John Mark Bell
9f69106ac4
Construct font_family from core family name.
...
svn path=/trunk/netsurf/; revision=9863
2010-01-22 07:40:25 +00:00
Vincent Sanders
e01d93f344
Refactor main into the frontends
...
remove unused embedded global
svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
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
a3a0044185
Default BeOS implementation for save_complete_gui_save() and save_complete_htmlSaveFileFormat().
...
svn path=/trunk/netsurf/; revision=9780
2010-01-02 20:41:24 +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
François Revel
6c95f7b967
Accomodate for plotter API change.
...
svn path=/trunk/netsurf/; revision=9777
2010-01-02 02:52:33 +00:00
François Revel
7b6ca89c57
Actually fake stdbool inclusion here as well.
...
svn path=/trunk/netsurf/; revision=9776
2010-01-02 02:51:06 +00:00
François Revel
b1fc7d44ab
Remove copy-paste leftover ?
...
svn path=/trunk/netsurf/; revision=9775
2010-01-02 02:26:21 +00:00
François Revel
33034bf6f3
Handle new parameter to fetch_send_callback().
...
svn path=/trunk/netsurf/; revision=9774
2010-01-02 02:24:45 +00:00
François Revel
ba2396e554
s/TRANSPARENT/NS_TRANSPARENT/
...
svn path=/trunk/netsurf/; revision=9773
2010-01-02 02:14:21 +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
François Revel
d16eb2d650
Typo.
...
svn path=/trunk/netsurf/; revision=8984
2009-08-02 11:31:35 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
1e96962f6f
Fix stupid
...
svn path=/trunk/netsurf/; revision=8672
2009-07-22 07:59:55 +00:00
John Mark Bell
6e13c2fb0a
Scale font sizes, for better accuracy.
...
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Vincent Sanders
86232d72a6
next round of plotter refactor
...
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Vincent Sanders
680298e61c
plotters line refactor
...
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
Vincent Sanders
f9ecd56f62
ploter refactor of rectangle handling
...
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
Vincent Sanders
0ade453958
Refactor fill plotter to take a style
...
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Vincent Sanders
1165edf662
remove redundant clg call
...
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Vincent Sanders
aa26843411
Improve bitmap plotter API
...
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +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
e9fabbbc13
Moving the pen to 0,0 helps a lot making sure where we start drawing...
...
svn path=/trunk/netsurf/; revision=7313
2009-04-25 02:38:39 +00:00
François Revel
48726077be
Add some support to handle transforms in plot_path, but it's disabled as it seems to be broken.
...
svn path=/trunk/netsurf/; revision=7312
2009-04-25 01:53:46 +00:00
François Revel
0ac498bffb
Implement plot_path for BeOS, still missing transform support...
...
But already looks nice: http://revolf.free.fr/beos/shots/shot_beos_netsurf_svg_001.png
svn path=/trunk/netsurf/; revision=7311
2009-04-25 01:42:46 +00:00
John Mark Bell
daf7a52dd6
Hubbub is no longer optional.
...
Remove libxml2 parser binding.
svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
François Revel
451c8a69a3
Fix Haiku vector icon
...
svn path=/trunk/netsurf/; revision=6617
2009-02-25 03:31:02 +00:00
François Revel
e89384911f
Fix BeOS build. Please try to patch all platforms when breaking things like this :p
...
svn path=/trunk/netsurf/; revision=6541
2009-02-16 19:08:20 +00:00
John Tytgat
fbf6d4cd41
- Constify parameters of struct plotter_table::polygon and struct plotter_table::path
...
- riscos/save_draw.c(ro_save_draw_plotters): Make it static.
- desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or
stroke color when fill and/or stroke is done.
(pdf_begin): disable compression when PDF_DEBUG is set
svn path=/trunk/netsurf/; revision=6361
2009-02-03 01:27:54 +00:00
John Tytgat
aa61544828
strlen() on constant string can be replaced by sizeof()-1
...
svn path=/trunk/netsurf/; revision=6333
2009-02-01 13:59:35 +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
3f0ded25ba
Call netsurf_init() from the thread creating the replicant, then the main loop from the thread we created. This avoids a deadlock with the replicant in BeHappy in Haiku. (I should probably make BTranslatorRoster not lock be_app anyway though).
...
svn path=/trunk/netsurf/; revision=5588
2008-10-16 20:52:00 +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
b3a5250f99
Add Replicant support. No it's not about cyborgs, just embedding NetSurf into another app, like Tracker (the desktop), or documentation browsers like BeHappy...
...
svn path=/trunk/netsurf/; revision=5583
2008-10-16 14:24:09 +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