Commit Graph

3320 Commits

Author SHA1 Message Date
Michael Drake
a2616bbfe7 Fix makefile for save text. Remove redundant ifdef.
svn path=/trunk/netsurf/; revision=4096
2008-04-13 22:23:04 +00:00
Michael Drake
48431f9674 Remove text export build config option. Tidy up save_text code.
svn path=/trunk/netsurf/; revision=4095
2008-04-13 21:58:43 +00:00
Michael Drake
5c8406bf8b Rewrite text export to use box tree. Improves output formatting. Simplify selection saving.
svn path=/trunk/netsurf/; revision=4094
2008-04-13 18:21:22 +00:00
Michael Drake
78c22d4171 Tidy and update comments.
svn path=/trunk/netsurf/; revision=4093
2008-04-11 17:51:43 +00:00
Michael Drake
3bd3a811c2 Improve selection of text in floats.
svn path=/trunk/netsurf/; revision=4092
2008-04-11 15:52:56 +00:00
Michael Drake
84cd9a655f Improve click handling in text inputs.
svn path=/trunk/netsurf/; revision=4087
2008-04-08 12:40:05 +00:00
John Tytgat
90e061c6a9 Updated comments on RISC OS HOST determination issue.
svn path=/trunk/netsurf/; revision=4086
2008-04-07 23:13:06 +00:00
John Tytgat
f3d968bfc0 Native RISC OS building: create sym file in the build directory instead of current directory.
svn path=/trunk/netsurf/; revision=4085
2008-04-07 19:13:11 +00:00
Rob Kendrick
59641def82 const fixes in plotters and history core
svn path=/trunk/netsurf/; revision=4083
2008-04-07 11:15:09 +00:00
Rob Kendrick
79acb8b08c Further fixes for unsigned int being used as an intptr
svn path=/trunk/netsurf/; revision=4082
2008-04-07 10:37:21 +00:00
Rob Kendrick
7614b26944 Fix assumption that int is the same width as a pointer
svn path=/trunk/netsurf/; revision=4081
2008-04-07 10:23:18 +00:00
Michael Drake
384327a279 Default size for textareas.
svn path=/trunk/netsurf/; revision=4080
2008-04-07 09:03:21 +00:00
Michael Drake
8b2a23081f Various text selection improvements:
+ Fix redraw bug where parts of old selections would get left behind
+ Enable selection of list marker boxes (bullet points and numbers)
+ Improve formatting of copied-to-clipboard or saved text selections
+ Select click anywhere outside current selection now clears current selection

svn path=/trunk/netsurf/; revision=4079
2008-04-07 09:00:21 +00:00
Michael Drake
8de0baae0b Improve formatting of copied/saved text from text selections in PREs. Improve formatting in other odd cases too.
svn path=/trunk/netsurf/; revision=4071
2008-04-02 18:23:42 +00:00
Adrian Lees
7b1c0bde45 I want a symbol list, thank you
svn path=/trunk/netsurf/; revision=4070
2008-04-02 01:15:22 +00:00
John Tytgat
0d39c69763 - riscos/gui.c(path_to_url): escape the characters which need to be escaped when converting the host path to file: URL.
- utils/{url.c,url.h}(url_escape):
  * added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling.
  * added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process.

Solves SF tracker ID 1910169.
Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you 
need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1

svn path=/trunk/netsurf/; revision=4069
2008-04-02 00:43:51 +00:00
John Tytgat
4b7c105afc Remove useless private UnixLib include.
svn path=/trunk/netsurf/; revision=4068
2008-04-01 19:44:57 +00:00
Michael Drake
d12357c9a3 Remove unused variable. Update copyright.
svn path=/trunk/netsurf/; revision=4067
2008-03-31 22:22:14 +00:00
Michael Drake
13b1c0d379 Suppress the box->space spaces after BRs in copied/saved text selections.
svn path=/trunk/netsurf/; revision=4066
2008-03-31 21:52:12 +00:00
John Mark Bell
421be3633e Fix crash when attempting to dump non HTML content (Dobos D. Calin)
svn path=/trunk/netsurf/; revision=4065
2008-03-31 19:10:19 +00:00
Michael Drake
62ca5e3e11 Tidy up.
svn path=/trunk/netsurf/; revision=4064
2008-03-31 18:59:23 +00:00
Michael Drake
5def4f5e0c Fix formatting of copied or saved text selections.
svn path=/trunk/netsurf/; revision=4063
2008-03-31 18:04:36 +00:00
Michael Drake
8ec3958b04 Ensure adjust drags before selection adjust selection start point.
svn path=/trunk/netsurf/; revision=4061
2008-03-30 00:06:16 +00:00
Michael Drake
ba18c56123 Restructure and update.
svn path=/trunk/netsurf/; revision=4060
2008-03-29 23:26:37 +00:00
Michael Drake
05dca28d58 Selection adjustments always change the selection end when click is inside the existing selection.
svn path=/trunk/netsurf/; revision=4059
2008-03-29 22:26:04 +00:00
Michael Drake
83a83757ab Only record that the HTML alignment was set by a table element if it is actually set.
svn path=/trunk/netsurf/; revision=4058
2008-03-29 19:51:00 +00:00
James Shaw
e1cfaa91de Add support for more GTK accelerators: num pad equivalents, as well as ctrl= for zoom in
svn path=/trunk/netsurf/; revision=4057
2008-03-29 17:51:45 +00:00
John Mark Bell
0da3848703 Fix build with WITH_NSSPRITE undefined
svn path=/trunk/netsurf/; revision=4056
2008-03-29 14:42:39 +00:00
John Mark Bell
f975c2e53b Pedantic typo fix
svn path=/trunk/netsurf/; revision=4055
2008-03-29 14:41:40 +00:00
James Shaw
0ab7a1bd37 Fix instructions on disabling librosprite. Move #include for when
librosprite isn't installed

svn path=/trunk/netsurf/; revision=4054
2008-03-29 14:34:21 +00:00
James Shaw
99dea0939b Fix typo
svn path=/trunk/netsurf/; revision=4053
2008-03-29 13:48:15 +00:00
James Shaw
0612813103 Update docs with instructions for building or disabling librosprite.
svn path=/trunk/netsurf/; revision=4052
2008-03-29 13:46:24 +00:00
James Shaw
9402e110e9 Implement sprite support for GTK using librosprite
svn path=/trunk/netsurf/; revision=4051
2008-03-29 13:30:04 +00:00
Rob Kendrick
2a5ffe493e Add content/fetchers to Doxygen config
svn path=/trunk/netsurf/; revision=4050
2008-03-27 21:28:37 +00:00
Rob Kendrick
1c15bd71f7 Make GTK thumbnail creation more robust, return false when unable to create pixmap for thumbnail.
svn path=/trunk/netsurf/; revision=4049
2008-03-25 11:42:59 +00:00
John Mark Bell
014168da4d Fix typo
Mention potential need to make clean after build failure due to missing dependencies

svn path=/trunk/netsurf/; revision=4048
2008-03-25 04:48:46 +00:00
Adrian Lees
aefa03aed9 Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
2008-03-24 01:35:13 +00:00
Adrian Lees
175395b52d Tidy up when drag save aborted (fixes assert when dragging URL to same window)
svn path=/trunk/netsurf/; revision=4043
2008-03-23 06:07:40 +00:00
Adrian Lees
084bcd631a Ensure 'tracking window' defined when starting selection
svn path=/trunk/netsurf/; revision=4042
2008-03-23 06:06:44 +00:00
Adrian Lees
2fd567590c Added missing initialiser
svn path=/trunk/netsurf/; revision=4041
2008-03-23 06:05:40 +00:00
John Mark Bell
4347246eec Deal with $(shell ...) being successful on RISC OS and uname -s not returning "riscos"
svn path=/trunk/netsurf/; revision=4040
2008-03-23 00:59:09 +00:00
Rob Kendrick
6aaa14e728 Add box tree dump saving, create 'debugging' sub menu to put this and debug rendering option in. Make debug rendering option cause all open windows to redraw.
svn path=/trunk/netsurf/; revision=4036
2008-03-22 13:45:35 +00:00
Rob Kendrick
c95b8ea927 Fix clicking to the RHS of text box widgets - now places caret in correct position. Thanks to Dobos D.Calin <calin.dobos@info.uaic.ro>. The second part of this patch has not been included, pending further investigation.
svn path=/trunk/netsurf/; revision=4033
2008-03-22 12:11:09 +00:00
John Tytgat
0588417b3c Add GCCSDK 4 support (cross-compile, static ELF only atm); Ignore codedocs directory during 'svn status'.
svn path=/trunk/netsurf/; revision=4031
2008-03-22 00:49:56 +00:00
Michael Drake
b8d548d152 Update GTK docs.
svn path=/trunk/netsurf/; revision=4030
2008-03-21 23:47:23 +00:00
John Tytgat
39fcb0ac79 css/parser.out is an intermediate file too. Remove it during clean target.
svn path=/trunk/netsurf/; revision=4029
2008-03-21 23:39:58 +00:00
Rob Kendrick
37830c958e Mention how to change the default home page, and fixed a posterior-related typo.
svn path=/trunk/netsurf/; revision=4028
2008-03-21 23:36:00 +00:00
Rob Kendrick
cc47a7769f Add simple document with UNIX packaging suggestions
svn path=/trunk/netsurf/; revision=4027
2008-03-21 23:29:07 +00:00
John Tytgat
93d46bbe2a - Prefix OBJROOT with "build-" (which is then followed by build platform id + NS target plotter).
- Update list of objects to be ignored at 'svn status' time.

svn path=/trunk/netsurf/; revision=4026
2008-03-21 23:09:53 +00:00
John Tytgat
b4d3bb9df7 - Add check TARGET is either "riscos" or "gtk" (or not specified but then
an appropriate default TARGET value is chosen based on build platform).
- Support GCCSDK cross-compilers which are not installed at their default
  location by making use of GCCSDK_INSTALL_CROSSBIN/GCCSDK_INSTALL_ENV.

svn path=/trunk/netsurf/; revision=4025
2008-03-21 22:40:11 +00:00