Chris Young
684d452e9c
Improved throbber, works independently on multiple windows, stops when it should, no
...
weird crashes, lock-ups etc.
The format has changed, Resources/Throbber now needs to be in a picture.datatype
format, as a "film strip" of frames with the first image the inactive (stopped
throbber) and the rest the active animation. The number of frames needs to be set in
the Options file throbber_frames variable (currently - will probably move to a
tooltype of Resources/Throbber in the future for better theming ability)
svn path=/trunk/netsurf/; revision=5310
2008-09-13 22:39:48 +00:00
Chris Young
10bf100cc1
Added ability to load toolbar images from a different path.
...
Default is still TBImages: (ie AISS, http://www.masonicons.de )
All of the following must be present, in any format that bitmap.image will load
(usually this means any picture.datatype subclasses):
home, home_g, home_s - Home button
nav_east, nav_east_g, nav_east_s - History forward
nav_west, nav_west_g, nav_west_s - History back
reload, reload_g, reload_s - Reload
stop, stop_g, stop_s - Stop
The _g and _s files are ghosted and selected versions respectively.
To set the path, use toolbar_images:<path> in Options.
svn path=/trunk/netsurf/; revision=5304
2008-09-11 21:32:55 +00:00
Chris Young
256bf06387
Basic throbber support code. The throbber is shared between windows and must be
...
stored as Resources/Throbber in animation.datatype supported format.
The default animation is a small IFF ANIM which is only good for testing purposes.
This throbber code is likely to be replaced by custom animation code in the future as
using animation.datatype has issues and restrictions (only 8-bit formats, using
NewDTObject() twice on the same file doesn't seem to work correctly, clicking on the
anim starts it playing etc)
svn path=/trunk/netsurf/; revision=5303
2008-09-11 19:33:40 +00:00
Chris Young
f78ed94926
Disabled the new scheduler by default as it is more unstable than I thought :(
...
Defining AMI_SCHEDULER_USES_TIMER will enable it again.
svn path=/trunk/netsurf/; revision=5291
2008-09-09 06:25:22 +00:00
Chris Young
402f53f0a5
New mouse pointer images by Martin Merz (Mason)
...
Extended pointer size to 32x32 pixels.
svn path=/trunk/netsurf/; revision=5288
2008-09-08 21:27:35 +00:00
Chris Young
9fc58606db
Scheduled events now signal when the scheduled time has passed.
...
The timer appears to stop signalling events occasionally - needs some investigation.
svn path=/trunk/netsurf/; revision=5287
2008-09-08 18:14:14 +00:00
Michael Drake
2557b029ae
Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
...
svn path=/trunk/netsurf/; revision=5281
2008-09-07 19:08:57 +00:00
Chris Young
3ea88d90a1
Support for dragging in files (for file upload forms etc)
...
svn path=/trunk/netsurf/; revision=5271
2008-09-07 15:58:11 +00:00
Chris Young
9ea2e2c133
Much more efficient message handling/input loops, allows me to raise task priority
...
back to default of 0 without impacting other processes.
svn path=/trunk/netsurf/; revision=5238
2008-09-04 22:41:26 +00:00
Chris Young
4750d11a6b
Added support code to allow CSET chunks to be read from clipboard IFF FTXT and
...
converted as necessary. Added option to write UTF-8 direct to clipboard, setting CSET
appropriately. Copying and pasting to/from webpages that are not in local charset and
to/from other applications that set CSET when not using local charset, should now work
correctly if clipboard_write_utf8 is set in the options. If not set, NetSurf will
still convert from the charset specified in the clipboard when pasting, but will
convert text to local charset and not write a CSET chunk for copy operations.
svn path=/trunk/netsurf/; revision=5231
2008-09-03 22:10:30 +00:00
Chris Young
eb67a135d1
Moved menu selection code to menu.c
...
svn path=/trunk/netsurf/; revision=5230
2008-09-03 22:02:41 +00:00
Chris Young
1f7e72ac06
Simple pointer imagery (hopefully temporary)
...
svn path=/trunk/netsurf/; revision=5229
2008-09-01 18:05:29 +00:00
Chris Young
db1d925ff8
Add shift and ctrl click support, set file comments to url.
...
svn path=/trunk/netsurf/; revision=5228
2008-09-01 18:03:40 +00:00
Chris Young
30f0bbd256
Basic user-configurable pointer image support.
...
GUI_POINTER_DEFAULT and GUI_POINTER_WAIT still use the Amiga system default pointers,
and will not be overridden by NetSurf.
Pointer imagery lives in Resources/Pointers and the filenames are all defined in the
ptrs array at the top of gui.c, in the same order as in gui_pointer_shape - with the
exception of GUI_POINTER_DEFAULT (this instead points to a "Blank" pointer for hiding
the pointer) and GUI_POINTER_WAIT (reserved for future use, currently points to "Wait"
but this will change).
The file format is very simple. It is a text file containing 16 rows of 16
characters, with a newline or CR (or, in fact, any character as this is not checked)
terminating each row. The seventeenth row indicates the pixel on which the "point" is
set, as two digit X direction, a space, then two digits for the Y direction.
Pointers/Point is based on the hand2 image by Andreas Kuerzinger (the original is in
the AKPointerz.lha archive on Aminet)
svn path=/trunk/netsurf/; revision=5227
2008-08-31 17:34:00 +00:00
Chris Young
52e48260d3
Menu tidy-up, string correction and swap of Source and Text in the save/export menu
...
svn path=/trunk/netsurf/; revision=5224
2008-08-31 11:21:47 +00:00
Chris Young
eb00649795
Option to stop iframes popping up in new windows
...
svn path=/trunk/netsurf/; revision=5223
2008-08-30 21:41:35 +00:00
Chris Young
a9867f0b7f
401 authentication/login support.
...
svn path=/trunk/netsurf/; revision=5222
2008-08-30 21:32:05 +00:00
Chris Young
277262bf46
Added support for scaling bitmaps, filled polygons, filled circles and clipping.
...
Fixes major display issues with eg. www.bbc.co.uk amongst others.
svn path=/trunk/netsurf/; revision=5221
2008-08-30 16:57:35 +00:00
Chris Young
35befab994
Experimental font code to plot Unicode text.
...
svn path=/trunk/netsurf/; revision=5220
2008-08-30 16:55:25 +00:00
Chris Young
b76b928094
Removed dependency on codesets.library
...
svn path=/trunk/netsurf/; revision=5214
2008-08-27 22:19:25 +00:00
Chris Young
c7da20b4c1
Improved text reflow more
...
svn path=/trunk/netsurf/; revision=5208
2008-08-26 18:03:07 +00:00
Chris Young
c07794ed8d
Corrected english-british entry.
...
svn path=/trunk/netsurf/; revision=5206
2008-08-26 01:23:01 +00:00
Chris Young
7e7de13a33
Potential fix for requester.class crash on startup on some systems.
...
svn path=/trunk/netsurf/; revision=5205
2008-08-26 01:22:08 +00:00
Chris Young
2d4818c5ad
Work on local charset encoded strings for improved layout.
...
svn path=/trunk/netsurf/; revision=5204
2008-08-26 01:21:22 +00:00
Chris Young
74f9c0e075
Added PDF export to Amiga port.
...
svn path=/trunk/netsurf/; revision=5203
2008-08-26 01:20:01 +00:00
Chris Young
ab077d82dd
Moved Amiga menu code into separate file.
...
svn path=/trunk/netsurf/; revision=5199
2008-08-25 13:32:26 +00:00
Chris Young
3e38e71089
Include Amiga-specific options
...
svn path=/trunk/netsurf/; revision=5198
2008-08-25 13:27:44 +00:00
Chris Young
9d9cb291c7
Fix gui_browser_window_create and browser_window_create functions for new new_tab
...
parameter.
svn path=/trunk/netsurf/; revision=5196
2008-08-24 17:17:33 +00:00
Chris Young
11d7e4574a
Basic hotlist support
...
svn path=/trunk/netsurf/; revision=5188
2008-08-23 21:56:49 +00:00
Chris Young
7be654c21f
Header file for functions in utf8.c
...
svn path=/trunk/netsurf/; revision=5186
2008-08-23 16:19:59 +00:00
Chris Young
59d45715cd
Basic download window
...
svn path=/trunk/netsurf/; revision=5185
2008-08-23 16:17:51 +00:00
Chris Young
889648aa4d
Convert UTF-8 text to local charset before printing to screen
...
svn path=/trunk/netsurf/; revision=5184
2008-08-23 16:17:23 +00:00
Chris Young
f071afe243
Code cleanup.
...
svn path=/trunk/netsurf/; revision=5167
2008-08-21 21:42:48 +00:00
Chris Young
7362250125
Added clipboard support, fixed a problem causing a crash in the font functions in font.c
...
svn path=/trunk/netsurf/; revision=5166
2008-08-21 21:41:42 +00:00
Chris Young
29feaeeb58
Added british-english
...
svn path=/trunk/netsurf/; revision=5165
2008-08-21 21:39:08 +00:00
Chris Young
bef10968f7
Reduced task priority to -5 and increased stack to 64k
...
svn path=/trunk/netsurf/; revision=5164
2008-08-21 21:38:50 +00:00
Chris Young
b7688ffb5e
Implemented form select menu, and basic pull-down menu template.
...
svn path=/trunk/netsurf/; revision=5158
2008-08-19 18:31:56 +00:00
Chris Young
0e78a116f6
Implemented mouse dragging and code for select forms (which works but the menu is not
...
created with the correct entries yet). Now looks in options for screen and window
size and position.
svn path=/trunk/netsurf/; revision=5153
2008-08-18 19:07:12 +00:00
John Tytgat
679e5dcbe6
Add links to resource files.
...
svn path=/trunk/netsurf/; revision=5138
2008-08-17 17:27:51 +00:00
Chris Young
1486ef8b08
Reversed order of running a callback and removing it from the schedule list, this
...
resolves a serious system freeze especially prevalent on XOOPS-based websites.
svn path=/trunk/netsurf/; revision=5137
2008-08-17 16:24:22 +00:00
Chris Young
61294f493e
Close fonts properly and default back to initial RastPort font.
...
svn path=/trunk/netsurf/; revision=5136
2008-08-17 16:22:40 +00:00
Chris Young
f71f8f82a1
Implemented line styles and widths
...
svn path=/trunk/netsurf/; revision=5131
2008-08-15 18:49:14 +00:00
Chris Young
8da23bd1f3
More error checking
...
svn path=/trunk/netsurf/; revision=5129
2008-08-15 17:22:52 +00:00
Chris Young
1a489fbf64
Updated for hubbub, redraws now scheduled for next input loop
...
svn path=/trunk/netsurf/; revision=5128
2008-08-15 17:19:57 +00:00
Chris Young
ea5e026f7d
Fixed font styles
...
svn path=/trunk/netsurf/; revision=5075
2008-08-12 17:47:35 +00:00
Chris Young
72d62fc722
Updated to support changes in image/bitmap.h
...
svn path=/trunk/netsurf/; revision=5074
2008-08-12 17:47:01 +00:00
Chris Young
bf18237dc0
Modified to use space.gadget and blit directly to the window's rastport, also added
...
scrollbar functionality (thanks to Ami603)
svn path=/trunk/netsurf/; revision=5034
2008-08-11 17:53:45 +00:00
Chris Young
058fcac225
Added code to set correct font.
...
svn path=/trunk/netsurf/; revision=4986
2008-08-10 09:57:41 +00:00
Chris Young
289196c6ba
Functions now return correct values for proper text formatting.
...
svn path=/trunk/netsurf/; revision=4983
2008-08-09 20:28:35 +00:00
Chris Young
105bfddae9
Implemented localisation using the existing translated messages files.
...
svn path=/trunk/netsurf/; revision=4982
2008-08-09 20:27:36 +00:00
Chris Young
3e6699b31b
Warn and error messages are now displayed in a requester.
...
svn path=/trunk/netsurf/; revision=4981
2008-08-09 20:21:00 +00:00
Chris Young
93bf14ab81
Added support for multiple windows.
...
svn path=/trunk/netsurf/; revision=4972
2008-08-09 15:19:04 +00:00
Chris Young
219f28e579
Rewritten to use window.class and bitmap.image instead of writing directly to the
...
window bitmap. Basic GUI added to allow URLs to be entered.
svn path=/trunk/netsurf/; revision=4965
2008-08-08 22:38:13 +00:00
Chris Young
82cc44fc4e
Corrected bitmap plotter RGB format.
...
svn path=/trunk/netsurf/; revision=4949
2008-08-07 19:05:44 +00:00
Chris Young
394263bb2f
Basic plotter functions and support code for the plotters.
...
svn path=/trunk/netsurf/; revision=4948
2008-08-07 18:44:28 +00:00
Chris Young
f0a5b08430
OS4 32-bit icon for NetSurf.
...
svn path=/trunk/netsurf/; revision=4878
2008-08-03 16:14:42 +00:00
Chris Young
a57fe0a78f
Opens and closes timer.device, and creates a new list - required for scheduling code
...
in schedule.c
svn path=/trunk/netsurf/; revision=4877
2008-08-03 16:13:57 +00:00
Chris Young
05d0e28d50
Generic objects code implemented using Exec lists. Currently used by schedule.c to
...
add and delete schedule items from a list.
svn path=/trunk/netsurf/; revision=4876
2008-08-03 16:12:01 +00:00
Chris Young
d1c876e03c
Fully implemented schedule, schedule_run and schedule_remove.
...
svn path=/trunk/netsurf/; revision=4875
2008-08-03 16:10:10 +00:00
Chris Young
26203b2215
Initial Amiga port files, mostly empty stub functions.
...
svn path=/trunk/netsurf/; revision=4864
2008-08-02 14:31:32 +00:00