Commit Graph

53 Commits

Author SHA1 Message Date
James Bursa 5fdbe77e3e Implement ro_save_draw_path() to enable Draw export of SVGs.
svn path=/trunk/netsurf/; revision=3666
2007-12-11 04:07:35 +00:00
James Bursa f386520ff2 Add empty path plotters to stop crashes.
svn path=/trunk/netsurf/; revision=3653
2007-11-29 05:50:21 +00:00
Vincent Sanders 2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone 6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Adrian Lees 7aaa33d2e5 Fix for knockout rendering of native formats
svn path=/trunk/netsurf/; revision=2869
2006-08-19 19:31:07 +00:00
Rob Kendrick 07f691b326 [project @ 2006-03-21 18:20:07 by rjek]
Remove unwanted ; from drawfile saving code

svn path=/import/netsurf/; revision=2147
2006-03-21 18:20:07 +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
John Mark Bell f7a178d62f [project @ 2006-03-19 21:27:54 by jmb]
Fixup _disc API

svn path=/import/netsurf/; revision=2138
2006-03-19 21:27:54 +00:00
John Mark Bell c57f07a5cd [project @ 2006-03-04 20:50:12 by jmb]
Ensure bitmap is in memory

svn path=/import/netsurf/; revision=2106
2006-03-04 20:50:12 +00:00
James Bursa 7856e32d13 [project @ 2005-11-24 23:46:31 by bursa]
Include images in exported DrawFiles.

svn path=/import/netsurf/; revision=1884
2005-11-24 23:46:31 +00:00
James Bursa 4f56dac958 [project @ 2005-11-20 20:16:08 by bursa]
Rewrite DrawFile export completely. Text is now exported again. Images are not yet exported.

svn path=/import/netsurf/; revision=1880
2005-11-20 20:16:08 +00:00
James Bursa 9b78daf135 [project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.

svn path=/import/netsurf/; revision=1777
2005-07-02 18:17:51 +00:00
Richard Wilson f559054c1a [project @ 2005-06-23 17:24:23 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 2 of 2.

svn path=/import/netsurf/; revision=1762
2005-06-23 17:24:23 +00:00
Adrian Lees 89993a5bf2 [project @ 2005-04-15 05:54:44 by adrianl]
Text selection, page drag scrolling, drag-saving images and a few SaveAs improvements

svn path=/import/netsurf/; revision=1640
2005-04-15 05:54:44 +00:00
James Bursa 2920bca14a [project @ 2005-04-09 09:47:36 by bursa]
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.

svn path=/import/netsurf/; revision=1608
2005-04-09 09:47:37 +00:00
John Mark Bell 062e6a5bae [project @ 2005-03-20 20:39:22 by jmb]
Fix draw_plot_rectangle API

svn path=/import/netsurf/; revision=1557
2005-03-20 20:39:22 +00:00
James Bursa 65b5ae0f8f [project @ 2005-02-20 13:19:19 by bursa]
Font rewrite, part 3. Note that Draw export and printing are broken by these changes.

svn path=/import/netsurf/; revision=1519
2005-02-20 13:19:19 +00:00
John Mark Bell be3ce1f3a9 [project @ 2004-10-25 22:42:36 by jmb]
Fix silly line plotting bug.
Fix stupidly large bounding boxes when plotting polygons.
Tidy up filled rectangle plotting.

svn path=/import/netsurf/; revision=1335
2004-10-25 22:42:36 +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 33d905ce7f [project @ 2004-10-20 22:22:25 by jmb]
Fix bbox issue when plotting lines.
Reinstate background colour rectangles (positioning's a bit off vertically)

svn path=/import/netsurf/; revision=1331
2004-10-20 22:22:25 +00:00
John Mark Bell 5b22657606 [project @ 2004-10-20 09:52:43 by jmb]
Rewrite such that it now uses plotters.
Things that need fixing:
 - draw_plot_(line,rectangle) needs line pattern support (everything's solid
   for now)
There's a couple of regressions, too:
  - page background colour is lost (plotting a filled rectangle of colour
    in draw_clg breaks some sites. This may require some sort of clipping)
  - there's no grouping of objects any more (sorry joty). I'm not entirely
    sure of the best way of going about this, as we no longer have box data.

svn path=/import/netsurf/; revision=1329
2004-10-20 09:52:43 +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 101c87958d [project @ 2004-09-04 16:41:28 by jmb]
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.

svn path=/import/netsurf/; revision=1268
2004-09-04 16:41:28 +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 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 bc727dda1c [project @ 2004-08-11 19:02:32 by bursa]
Start work on removing instances and making content types non-shareable. Clean up some #includes.

svn path=/import/netsurf/; revision=1211
2004-08-11 19:02:32 +00:00
John Mark Bell 912d09b1cb [project @ 2004-08-11 16:26:13 by jmb]
Make content_redraw return a bool
Printing of foreground images now uses OS_SpriteOp
Printing of background images disabled
Mega-paranoid SWI result checking in htmlredraw.c
Rearranged GIF data structure slightly - updates to reflect this.
Other stuff I've probably forgotten

svn path=/import/netsurf/; revision=1208
2004-08-11 16:26:13 +00:00
John Tytgat 94103b8c96 [project @ 2004-08-08 11:45:28 by joty]
Minor change : update comment + explicit cast.

svn path=/import/netsurf/; revision=1194
2004-08-08 11:45:28 +00:00
Richard Wilson b7bb766e95 [project @ 2004-07-16 19:47:02 by rjw]
Fix for hotlist menu selection. Interface for MNG/JNG display.

svn path=/import/netsurf/; revision=1083
2004-07-16 19:47:03 +00:00
John Tytgat bce89473cc [project @ 2004-07-14 19:38:05 by joty]
Lose GCC compiler warnings.

svn path=/import/netsurf/; revision=1078
2004-07-14 19:38:05 +00:00
John Tytgat 4f0e75a515 [project @ 2004-07-14 19:18:30 by joty]
- More accurate Draw file generation (like better radio & checkbox, borders, etc)
- Draw grouping
- Removed all Norcroft warnings.

svn path=/import/netsurf/; revision=1077
2004-07-14 19:18:30 +00:00
John Tytgat 9f1497ac80 [project @ 2004-07-08 20:14:54 by joty]
Lose compiler warnings.

svn path=/import/netsurf/; revision=1059
2004-07-08 20:14:54 +00:00
John Mark Bell f8a1933c15 [project @ 2004-07-05 22:09:11 by jmb]
Avoid some compiler warnings.
Work around issue with GCC3.3 pre2

svn path=/import/netsurf/; revision=1051
2004-07-05 22:09:11 +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 27a6af1739 [project @ 2004-06-02 21:43:07 by bursa]
Reflow back if xosfile_save_stamped() fails.

svn path=/import/netsurf/; revision=925
2004-06-02 21:43:07 +00:00
James Bursa 9f36f6144c [project @ 2004-06-02 21:26:12 by bursa]
Handle memory exhaustion and errors.

svn path=/import/netsurf/; revision=921
2004-06-02 21:26:12 +00:00
John Mark Bell 96aa983ac6 [project @ 2004-04-06 23:23:24 by jmb]
Fix for changed GIF data structures

svn path=/import/netsurf/; revision=734
2004-04-06 23:23:24 +00:00
John Mark Bell b23bc94cb9 [project @ 2004-03-24 23:48:20 by jmb]
Remove completed todos.

svn path=/import/netsurf/; revision=664
2004-03-24 23:48:20 +00:00
James Bursa 31e521a02e [project @ 2004-03-23 22:17:08 by bursa]
Remove usage of OS JPEG module; convert all JPEGs to 32bpp and plot with Tinct; speed improvements and cleanup.

svn path=/import/netsurf/; revision=656
2004-03-23 22:17:08 +00:00
James Bursa fba46de9cb [project @ 2004-03-11 02:19:13 by bursa]
Add source_data to content structure and remove equivalents from individual contents.

svn path=/import/netsurf/; revision=606
2004-03-11 02:19:14 +00:00
John Mark Bell 303e09a6c2 [project @ 2004-03-03 23:17:15 by jmb]
Fix scaled jpeg bug, with any luck...

svn path=/import/netsurf/; revision=581
2004-03-03 23:17:15 +00:00
James Bursa 318869e90e [project @ 2004-02-26 00:44:42 by bursa]
Implement drag saving of drawfiles and clean up drag/drop/save code.

svn path=/import/netsurf/; revision=568
2004-02-26 00:44:42 +00:00
John Mark Bell 8cece1f41f [project @ 2004-02-16 21:09:40 by jmb]
Check that we're actually dealing with a HTML page, just in case the
user is silly enough to try and save something else as draw.

svn path=/import/netsurf/; revision=555
2004-02-16 21:09:40 +00:00
John Mark Bell 40ed6968b7 [project @ 2004-02-15 22:54:49 by jmb]
Lose unnecessary todo

svn path=/import/netsurf/; revision=553
2004-02-15 22:54:49 +00:00
John Mark Bell c6922a94b0 [project @ 2004-02-15 22:40:02 by jmb]
Let's try that again...

svn path=/import/netsurf/; revision=552
2004-02-15 22:40:02 +00:00
John Mark Bell 9ec96ea66b [project @ 2004-02-15 22:37:52 by jmb]
Don't add zero length text strings.

svn path=/import/netsurf/; revision=551
2004-02-15 22:37:52 +00:00
John Mark Bell 88beb484c5 [project @ 2004-02-15 22:19:43 by jmb]
Font support in draw export.

svn path=/import/netsurf/; revision=549
2004-02-15 22:19:43 +00:00
John Mark Bell dc6c4e5cae [project @ 2004-02-15 18:07:26 by jmb]
Use proper offsets instead of hard-coded nastiness

svn path=/import/netsurf/; revision=546
2004-02-15 18:07:26 +00:00
John Mark Bell 518a6dd47b [project @ 2004-02-15 14:43:39 by jmb]
Lose LOG(()) call. update todo list

svn path=/import/netsurf/; revision=545
2004-02-15 14:43:39 +00:00