Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Chris Young
db2f823e99
Don't clear window before redraw or blit if the redraw didn't complete
...
svn path=/trunk/netsurf/; revision=11669
2011-02-13 19:59:32 +00:00
Chris Young
5487b42cb7
Fix clip parameters, plain text scrolling now works
...
svn path=/trunk/netsurf/; revision=11650
2011-02-12 10:54:41 +00:00
Chris Young
da130ad67d
port to new api
...
svn path=/trunk/netsurf/; revision=11649
2011-02-12 10:39:21 +00:00
Chris Young
c247d54fb5
Port to browser_window_redraw()
...
- Scrolling text contents only shows the initial screenful
- Fast-scrolling HTML while scaled does not work properly (this is an old issue)
svn path=/trunk/netsurf/; revision=11646
2011-02-11 19:03:01 +00:00
Chris Young
4703d643f5
Fix some long-standing issues with events not getting captured, make sure the
...
timer.device version of the scheduler is working and make it the default.
svn path=/trunk/netsurf/; revision=11637
2011-02-09 21:52:28 +00:00
Chris Young
8895e0a0bc
Kiosk mode now fills screen every time
...
svn path=/trunk/netsurf/; revision=11544
2011-01-30 22:15:16 +00:00
Chris Young
2cc738f2f0
Pick the CSS system colours from the pens in the screen DrawInfo table, and force
...
repicking them if the screen changes.
Think these are right - some of the CSS descriptions are a bit ambiguous.
svn path=/trunk/netsurf/; revision=11532
2011-01-30 17:30:32 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
John Mark Bell
64b26c85a3
More #ifdef __amigaos4__. This is getting a little messy.
...
svn path=/trunk/netsurf/; revision=11235
2011-01-06 23:50:50 +00:00
John Mark Bell
d83f683e96
Sprinkle some #ifdef __amigaos4__ around
...
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
Chris Young
de5cbf9ee4
Make drag scrolls work more reliably and only within 10px of render area
...
svn path=/trunk/netsurf/; revision=11093
2010-12-18 23:34:56 +00:00
Chris Young
96cb4b40e7
Allow double-clicks in main browser and middle button double-clicks in treeview
...
svn path=/trunk/netsurf/; revision=11083
2010-12-16 23:28:33 +00:00
Vincent Sanders
60c840628f
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
...
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Michael Drake
5eaeaed909
Remove Hubbub and Wapcaplet initialisation and finalisation.
...
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Chris Young
c14f335454
Fix serious crash if NetSurf is running twice (once with the FORCE switch) on a
...
NetSurf-created public screen, and the sessions are quit in the reverse order to which
they were launched.
svn path=/trunk/netsurf/; revision=10950
2010-11-21 23:30:35 +00:00
Chris Young
835d033e7b
Amiga icon loader. Treeviews will now use the user's icons for content types.
...
svn path=/trunk/netsurf/; revision=10925
2010-10-30 14:23:38 +00:00
Chris Young
078ff2fd51
Move drag icon stuff to own file; fix warnings
...
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
d250c43e4f
Fix content icons in treeviews
...
svn path=/trunk/netsurf/; revision=10918
2010-10-29 18:05:48 +00:00
Chris Young
bdf3c32f44
Only allow auto-scroll on selection and selection drags
...
svn path=/trunk/netsurf/; revision=10904
2010-10-24 17:51:00 +00:00
Chris Young
5d40458ad5
Auto-scroll on drags beyond window boundaries
...
svn path=/trunk/netsurf/; revision=10894
2010-10-19 22:22:03 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
c46e0e6015
Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and (b) not
...
trying to manipulate non-existant menus
svn path=/trunk/netsurf/; revision=10855
2010-09-28 18:03:03 +00:00
Chris Young
6124966ab9
Revert previous change
...
svn path=/trunk/netsurf/; revision=10800
2010-09-19 12:58:25 +00:00
Chris Young
f3bf62bdbb
Try to avoid corruption when moving cursor around in text boxes
...
svn path=/trunk/netsurf/; revision=10799
2010-09-19 12:38:23 +00:00
Chris Young
300d094f2f
Remove unused #include
...
svn path=/trunk/netsurf/; revision=10795
2010-09-17 23:31:15 +00:00
Chris Young
86b6535b85
Prevent assert on non-HTML contents
...
svn path=/trunk/netsurf/; revision=10789
2010-09-16 20:55:25 +00:00
Chris Young
c0332c4394
Use core file fetcher
...
svn path=/trunk/netsurf/; revision=10759
2010-09-12 10:23:12 +00:00
Chris Young
b3a3988ff0
Add startup and shutdown ARexx scripts (default to startup.nsrx and shutdown.nsrx)
...
Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR:
svn path=/trunk/netsurf/; revision=10719
2010-08-28 23:46:08 +00:00
Chris Young
0a70f6ede1
Correct font name
...
svn path=/trunk/netsurf/; revision=10683
2010-08-06 17:29:57 +00:00
Chris Young
294a55ad4d
off by one
...
svn path=/trunk/netsurf/; revision=10673
2010-07-31 11:43:25 +00:00
Chris Young
95a6de5f7e
Show an icon under the pointer for drag saves (missed from previous commit)
...
svn path=/trunk/netsurf/; revision=10671
2010-07-28 21:33:51 +00:00
Chris Young
acf46e01a8
Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
...
somewhere invalid.
svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young
7bf81dbf35
Fix clipping for non-HTML contents
...
svn path=/trunk/netsurf/; revision=10664
2010-07-26 19:52:24 +00:00
Chris Young
f7e3254798
Fix menu disable on tab switch and Cut
...
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
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
Chris Young
d36758ad97
Fix some types
...
If "easy" charset conversion fails, return a copy of the original string.
svn path=/trunk/netsurf/; revision=10580
2010-06-26 16:26:05 +00:00
Chris Young
9bc784e8d7
More calculation fixes
...
svn path=/trunk/netsurf/; revision=10567
2010-06-06 18:50:48 +00:00
Chris Young
13a4a1633c
Remove scroll positions from ami_do_redraw_limits, fix positional calcs in
...
gui_window_set_scroll
svn path=/trunk/netsurf/; revision=10564
2010-06-05 10:37:02 +00:00
Chris Young
5753d59505
When redrawing part of a page, draw with respect to the position NetSurf believes the
...
scrollbars are in, rather than where they actually are. This resolves an issue with
graphical corruption and animations, when using the scrollbars to scroll the page (the
anim redraw was happening before the event to say the scrollbar had moved was being
received)
svn path=/trunk/netsurf/; revision=10563
2010-06-05 09:59:38 +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
Chris Young
f55c11dbd6
Amiga font code revamped and fixed. Will now fall back to a different font if the
...
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured. Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.
svn path=/trunk/netsurf/; revision=10551
2010-05-06 10:02:58 +00:00
Daniel Silverstone
5e887908b3
Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
...
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +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
Chris Young
74647b752d
Reformat all tabs when window size changes
...
svn path=/trunk/netsurf/; revision=10504
2010-04-27 22:40:28 +00:00
Chris Young
90079085bb
Ensure menu state is correct when switching tabs
...
svn path=/trunk/netsurf/; revision=10476
2010-04-24 19:05:53 +00:00
Chris Young
695af237a9
Use our ca-bundle by default, rather than one in devs: which may not exist
...
svn path=/trunk/netsurf/; revision=10456
2010-04-22 18:33:29 +00:00
Chris Young
b6937419e1
Fix broken event handling.
...
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.
svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
Chris Young
6835a312b7
Remove verbose_log from options file
...
Copy libz as I've built 1.2.4 and it has faster gzip code
svn path=/trunk/netsurf/; revision=10230
2010-04-03 10:24:43 +00:00
Chris Young
5bae5edd7b
Use DataTypes to read text files that are dropped into text boxes, this allows more
...
exotic formats to be read such as IFF FTXT.
svn path=/trunk/netsurf/; revision=10229
2010-04-02 16:25:55 +00:00