Commit Graph

985 Commits

Author SHA1 Message Date
Rob Kendrick
93ce7bd8ab [project @ 2006-03-27 13:19:08 by rjek]
nsgtk searches for shared resources in shared locations as well as ~/.netsurf/
Free cookie file location strings at quit as with stylesheet locations

svn path=/import/netsurf/; revision=2197
2006-03-27 13:19:08 +00:00
Rob Kendrick
5ca28e5ef3 [project @ 2006-03-27 00:51:21 by rjek]
Reduced quality of interpolation used for GTK thumbnails for faster rendering on lesser systems

svn path=/import/netsurf/; revision=2195
2006-03-27 00:51:21 +00:00
Daniel Silverstone
f81dfb186a [project @ 2006-03-26 21:53:20 by dsilvers]
Re-tabify, add (currently disabled) cairo support and font family/variant support to font_pango.c

svn path=/import/netsurf/; revision=2186
2006-03-26 21:53:20 +00:00
Rob Kendrick
94a3993be6 [project @ 2006-03-26 21:35:54 by rjek]
Implement Home button in GTK build

svn path=/import/netsurf/; revision=2184
2006-03-26 21:35:54 +00:00
Daniel Silverstone
8ebdc30958 [project @ 2006-03-26 17:48:56 by dsilvers]
Argh, it's a length but it's called an offset

svn path=/import/netsurf/; revision=2181
2006-03-26 17:48:56 +00:00
Daniel Silverstone
feb7f10e78 [project @ 2006-03-26 17:40:15 by dsilvers]
Implement reload button for nsgtk

svn path=/import/netsurf/; revision=2179
2006-03-26 17:40:15 +00:00
Daniel Silverstone
41b71fc15a [project @ 2006-03-26 17:22:29 by dsilvers]
Implement the history window, and re-tabify gtk_window.c

svn path=/import/netsurf/; revision=2178
2006-03-26 17:22:29 +00:00
Daniel Silverstone
d7447adc6c [project @ 2006-03-26 16:36:20 by dsilvers]
Fix plotters to use system colormap to save widget ranting when rendering history thumbnails

svn path=/import/netsurf/; revision=2177
2006-03-26 16:36:20 +00:00
Daniel Silverstone
231adb8949 [project @ 2006-03-26 15:34:33 by dsilvers]
rudimentary nsgtk support for back/forward

svn path=/import/netsurf/; revision=2176
2006-03-26 15:34:33 +00:00
Daniel Silverstone
bb6e9288dd [project @ 2006-03-26 15:11:51 by dsilvers]
Partial page-load progressive render for GTK frontend

svn path=/import/netsurf/; revision=2175
2006-03-26 15:11:51 +00:00
Daniel Silverstone
6d21c43a97 [project @ 2006-03-26 15:07:25 by dsilvers]
Fix up a missing GTK_TOOLBAR() and implement the stop button as a throbber/stop-button for now

svn path=/import/netsurf/; revision=2174
2006-03-26 15:07:25 +00:00
Rob Kendrick
ee528d96f4 [project @ 2006-03-26 14:58:15 by rjek]
Add extra buttons to toolbar, including (semi-)working scaling

svn path=/import/netsurf/; revision=2173
2006-03-26 14:58:15 +00:00
Rob Kendrick
88d49538e4 [project @ 2006-03-26 01:18:00 by rjek]
Fix memory leak in GTK thumbnailing

svn path=/import/netsurf/; revision=2170
2006-03-26 01:18:00 +00:00
Rob Kendrick
698c6efcb0 [project @ 2006-03-26 01:14:01 by rjek]
Improvements to GTK thumbnailing

svn path=/import/netsurf/; revision=2169
2006-03-26 01:14:01 +00:00
Daniel Silverstone
57d61052af [project @ 2006-03-25 23:56:39 by dsilvers]
Ensure font scaling is done at font_paint time for GTK frontend

svn path=/import/netsurf/; revision=2168
2006-03-25 23:56:39 +00:00
Rob Kendrick
556072e994 [project @ 2006-03-25 23:53:34 by rjek]
Misc GTK thumbnailing fixes

svn path=/import/netsurf/; revision=2167
2006-03-25 23:53:34 +00:00
Rob Kendrick
b82d35b061 [project @ 2006-03-25 23:31:41 by rjek]
Initial GTK thumbnail rendering implementation (still gets fonts too big)

svn path=/import/netsurf/; revision=2166
2006-03-25 23:31:42 +00:00
Rob Kendrick
f6197574b6 [project @ 2006-03-23 13:51:39 by rjek]
Dashed and dotted line and rectangle drawing in GDK/Cairo plotters

svn path=/import/netsurf/; revision=2155
2006-03-23 13:51:39 +00:00
Rob Kendrick
4e48ad2f07 [project @ 2006-03-23 04:37:53 by rjek]
Use higher quality dither in GTK image plotting

svn path=/import/netsurf/; revision=2153
2006-03-23 04:37:53 +00:00
Rob Kendrick
388ce7b8c4 [project @ 2006-03-21 17:22:41 by rjek]
Radio and checkbox widgets are now 3D, and implemented arc plotting for them

svn path=/import/netsurf/; revision=2145
2006-03-21 17:22:41 +00:00
Rob Kendrick
9f4a79dda1 [project @ 2006-03-20 17:39:39 by rjek]
Minor Cairo colour selection and line drawing improvements

svn path=/import/netsurf/; revision=2143
2006-03-20 17:39:39 +00:00
Rob Kendrick
dd6bb64347 [project @ 2006-03-20 10:56:54 by rjek]
Source cleanup and true/false to TRUE/FALSE conversion for GTK plotters

svn path=/import/netsurf/; revision=2142
2006-03-20 10:56:54 +00:00
Rob Kendrick
f519569474 [project @ 2006-03-19 23:56:52 by rjek]
Cairo area clipping, and misc fixups in GTK plotters

svn path=/import/netsurf/; revision=2141
2006-03-19 23:56:52 +00:00
Rob Kendrick
5c7b5d81ad [project @ 2006-03-19 21:44:22 by rjek]
Some Cairo line thickness related fixes

svn path=/import/netsurf/; revision=2139
2006-03-19 21:44:22 +00:00
Rob Kendrick
1af8434032 [project @ 2006-03-19 20:53:46 by rjek]
Some GTK plotters now use Cairo if it is available for higher render quality

svn path=/import/netsurf/; revision=2137
2006-03-19 20:53:46 +00:00
Rob Kendrick
1562dd03cb [project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting

svn path=/import/netsurf/; revision=2136
2006-03-19 19:03:07 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
Daniel Silverstone
63c65c6808 [project @ 2006-03-19 16:03:02 by dsilvers]
Make it so ./nsgtk http://somewhere will work for convenience

svn path=/import/netsurf/; revision=2134
2006-03-19 16:03:02 +00:00
Daniel Silverstone
2a6b4b79b0 [project @ 2006-03-14 22:14:02 by dsilvers]
Fix anchoring and repeats for gtk repeated bitmaps

svn path=/import/netsurf/; revision=2131
2006-03-14 22:14:02 +00:00
Daniel Silverstone
e761d87f35 [project @ 2006-03-14 21:14:17 by dsilvers]
Add tiled bitmap support to GTK port to make backgrounds etc work

svn path=/import/netsurf/; revision=2130
2006-03-14 21:14:17 +00:00
Daniel Silverstone
d8b38299e9 [project @ 2006-03-14 14:24:00 by dsilvers]
Apparently five centiseconds works better for GTK gui reflow

svn path=/import/netsurf/; revision=2128
2006-03-14 14:24:00 +00:00
Daniel Silverstone
e057817d51 [project @ 2006-03-10 09:46:26 by dsilvers]
Very basic GTK cursor support.

svn path=/import/netsurf/; revision=2124
2006-03-10 09:46:26 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
Daniel Silverstone
444cb18984 [project @ 2006-03-10 08:53:49 by dsilvers]
very beginning of cursor support in GTK port

svn path=/import/netsurf/; revision=2122
2006-03-10 08:53:49 +00:00
Daniel Silverstone
2bb8de019c [project @ 2006-03-10 03:07:44 by dsilvers]
GTK: resizing window now reformats nicely. Window can go smaller than initially requested 600x600

svn path=/import/netsurf/; revision=2120
2006-03-10 03:07:44 +00:00
Daniel Silverstone
22d208e107 [project @ 2006-03-10 02:03:56 by dsilvers]
Remove some unnecessary debug from GTK frontend

svn path=/import/netsurf/; revision=2119
2006-03-10 02:03:56 +00:00
Daniel Silverstone
78f85340ae [project @ 2006-03-10 01:42:53 by dsilvers]
Ensure gui_window_update_box causes an expose of the right kind in the GTK frontend (enables animations etc)

svn path=/import/netsurf/; revision=2118
2006-03-10 01:42:53 +00:00
Daniel Silverstone
b58c92b030 [project @ 2006-03-10 01:42:21 by dsilvers]
Make sure zero width/height images don't crash the gtk renderer

svn path=/import/netsurf/; revision=2117
2006-03-10 01:42:21 +00:00
Daniel Silverstone
4306d74faf [project @ 2006-03-09 20:14:13 by dsilvers]
Added schedule support to the GTK port

svn path=/import/netsurf/; revision=2116
2006-03-09 20:14:13 +00:00
Daniel Silverstone
a197ee3b28 [project @ 2006-03-09 19:05:29 by dsilvers]
gtk/font_pango.c: Use the new css_len2pt function if possible

svn path=/import/netsurf/; revision=2115
2006-03-09 19:05:29 +00:00
John Mark Bell
86f249e8c9 [project @ 2006-02-23 17:27:30 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=2093
2006-02-23 17:27:30 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
John Mark Bell
b6c6d77772 [project @ 2006-02-20 02:29:19 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=2086
2006-02-20 02:29:19 +00:00
John Mark Bell
745deb7a9d [project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet)
Reduce intrusiveness of ncos modifications
Fix GTK build
Remove Cookies file details from Messages (this data never belonged in there anyway)
Make gui_init more robust against memory exhaustion.

svn path=/import/netsurf/; revision=2014
2006-01-08 01:51:33 +00:00
James Bursa
10291d72b3 [project @ 2005-12-19 22:50:23 by bursa]
Add headers and get rid of all externs in .c files.

svn path=/import/netsurf/; revision=1901
2005-12-19 22:50:23 +00:00
James Bursa
ad13eb98af [project @ 2005-12-19 21:54:51 by bursa]
Fix busy polling in gtk build.

svn path=/import/netsurf/; revision=1900
2005-12-19 21:54:51 +00:00
Adrian Lees
1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
John Mark Bell
f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
James Bursa
eb6a570aa6 [project @ 2005-07-03 15:41:07 by bursa]
Implement gui_window_get_height() for the GTK build.

svn path=/import/netsurf/; revision=1782
2005-07-03 15:41:07 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
Richard Wilson
ec9db1d6af [project @ 2005-04-29 01:35:52 by rjw]
Only initialise canvases if we need to.

svn path=/import/netsurf/; revision=1699
2005-04-29 01:35:52 +00:00
John Mark Bell
cf1d79f389 [project @ 2005-04-25 20:58:22 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1684
2005-04-25 20:58:22 +00:00
Adrian Lees
31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
Adrian Lees
93b5270bc8 [project @ 2005-04-18 12:07:27 by adrianl]
Update gtk build before z notices I broke it

svn path=/import/netsurf/; revision=1668
2005-04-18 12:07:27 +00:00
James Bursa
6af1e81e52 [project @ 2005-04-17 16:42:05 by bursa]
Fix the debug and gtk builds.

svn path=/import/netsurf/; revision=1661
2005-04-17 16:42:05 +00:00
Adrian Lees
452a27e74c [project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows

svn path=/import/netsurf/; revision=1657
2005-04-17 03:30:35 +00:00
John Mark Bell
34b92e905f [project @ 2005-04-15 16:30:37 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1641
2005-04-15 16:30:37 +00:00
Adrian Lees
530e185124 [project @ 2005-04-15 05:52:17 by adrianl]
Stub functions for GTK following text selection, page drag scrolling and drag-saving of images

svn path=/import/netsurf/; revision=1637
2005-04-15 05:52:17 +00:00
James Bursa
35770a2572 [project @ 2005-04-09 13:26:57 by bursa]
Fix nsfont_width() and nsfont_paint() when passed a 0-length string.

svn path=/import/netsurf/; revision=1615
2005-04-09 13:26:57 +00:00
James Bursa
8550695710 [project @ 2005-02-27 16:03:02 by bursa]
Fix the GTK build.

svn path=/import/netsurf/; revision=1527
2005-02-27 16:03:02 +00:00
James Bursa
2583180b79 [project @ 2005-01-24 22:14:59 by bursa]
Simplify browser_window_go(). Replace browser_window_go_post() with browser_window_go() where possible.

svn path=/import/netsurf/; revision=1466
2005-01-24 22:14:59 +00:00
James Bursa
01b28b7538 [project @ 2005-01-24 20:59:15 by bursa]
Fix input focus behaviour. Remove obsolete gui_window_get_url().

svn path=/import/netsurf/; revision=1465
2005-01-24 20:59:15 +00:00
James Bursa
a76404dfd0 [project @ 2005-01-13 20:28:50 by bursa]
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.

svn path=/import/netsurf/; revision=1447
2005-01-13 20:29:24 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa
ed05aa87f8 [project @ 2004-12-25 11:37:35 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1409
2004-12-25 11:37:35 +00:00
Richard Wilson
bd652a750a [project @ 2004-12-09 12:07:32 by rjw]
Fix GTK build. Lose xcalloc() from history.

svn path=/import/netsurf/; revision=1396
2004-12-09 12:07:32 +00:00
Richard Wilson
32db7e04d0 [project @ 2004-12-09 10:30:43 by rjw]
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.

svn path=/import/netsurf/; revision=1394
2004-12-09 10:30:44 +00:00
Richard Wilson
542f783b18 [project @ 2004-11-10 19:51:31 by rjw]
Further GIF optimisation to reduce flicker.

svn path=/import/netsurf/; revision=1356
2004-11-10 19:51:32 +00:00
John Mark Bell
963c3766d5 [project @ 2004-10-20 23:31:31 by jmb]
Reimplement draw groups

svn path=/import/netsurf/; revision=1332
2004-10-20 23:31:32 +00:00
John Mark Bell
fff5f231ed [project @ 2004-10-17 22:13:34 by jmb]
Lose hard-coded stylesheet URLs.

svn path=/import/netsurf/; revision=1323
2004-10-17 22:13:35 +00:00
James Bursa
892a348b73 [project @ 2004-10-17 21:51:06 by bursa]
Update to use plotters for HTML redraw.

svn path=/import/netsurf/; revision=1322
2004-10-17 21:51:06 +00:00
Richard Wilson
403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
John Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +00:00
John Mark Bell
5802723281 [project @ 2004-09-27 05:21:00 by jmb]
Improve !Boot file and support protocol fallback positions.

svn path=/import/netsurf/; revision=1287
2004-09-27 05:21:00 +00:00
James Bursa
3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +00:00
John Mark Bell
79964fe982 [project @ 2004-08-15 19:10:08 by jmb]
Make GTK build work again

svn path=/import/netsurf/; revision=1236
2004-08-15 19:10:08 +00:00
John Tytgat
7d3a242132 [project @ 2004-08-14 12:57:00 by joty]
Using more stddef.h types.

svn path=/import/netsurf/; revision=1230
2004-08-14 12:57:02 +00:00
James Bursa
386aba4f59 [project @ 2004-07-28 23:14:04 by bursa]
Update gtk build with gui_init2().

svn path=/import/netsurf/; revision=1161
2004-07-28 23:14:04 +00:00
James Bursa
34c2bf9297 [project @ 2004-07-22 12:03:37 by bursa]
Make the gtk build compile again and implement mouse clicks.

svn path=/import/netsurf/; revision=1137
2004-07-22 12:03:37 +00:00
John Tytgat
68de81fe8f [project @ 2004-07-21 14:19:21 by joty]
Added gui_window_remove_caret() to disown the caret.

svn path=/import/netsurf/; revision=1133
2004-07-21 14:19:21 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
James Bursa
e4d780c476 [project @ 2004-06-22 18:48:33 by bursa]
Experimental gtk interface.

svn path=/import/netsurf/; revision=993
2004-06-22 18:48:33 +00:00