about summary refs log tree commit diff stats
path: root/xombrero.c
Commit message (Expand)AuthorAgeFilesLines
* fix a clang warningDavid Hill2014-02-081-1/+1
* Fix segfault that can occur when referer = save-domain/save-fqdn.Reginald Kennedy2013-11-191-2/+9
* Don't perform explicit float equality comparisons.Andrew Shadura2013-10-161-2/+2
* Support GTK 3.10.David Hill2013-10-031-19/+26
* fix GTK error: t->tbe.proxy is a GtkLabelAbdo Roig-Maranges2013-09-081-2/+2
* Add handler to always deny location requests.Josh Rickmar2013-07-101-0/+8
* Kill remote cert error once and for all.Josh Rickmar2013-07-101-7/+9
* Kill float equality comparisons.Josh Rickmar2013-07-081-4/+5
* Be sure not to malloc nothingJosh Rickmar2013-06-251-0/+4
* Many errors fixed, found by clang static analyzer.Josh Rickmar2013-06-201-16/+20
* fix build on NetBSD. From Arnaud DegrooteDavid Hill2013-06-161-11/+12
* Close tab when press+releasing X, not just press downJosh Rickmar2013-06-141-8/+4
* support :favadd [title]David Hill2013-06-131-2/+2
* add myself to copyrightDavid Hill2013-06-121-0/+1
* Fix runtime set so it actually sets somethingJosh Rickmar2013-06-101-3/+1
* add a new config option js_auto_open_windows = 0|1, default being 1.David Hill2013-06-081-3/+3
* make sure an invalid proxy cannot be used.David Hill2013-06-071-5/+9
* Make string copies for basename callsJosh Rickmar2013-06-061-3/+14
* Unbreak GTK2Josh Rickmar2013-06-061-1/+1
* Don't color bar when warning of cached cert mismatchJosh Rickmar2013-06-061-2/+2
* Fix loads of memory issuesJosh Rickmar2013-06-061-113/+160
* cleanup cert handlingDavid Hill2013-06-051-18/+43
* Code cleanup and clearer var namesJosh Rickmar2013-06-051-16/+14
* Allow saving certs from :cert show pageJosh Rickmar2013-06-051-3/+13
* Use homepage for HTTPS GET requestJosh Rickmar2013-06-031-1/+16
* Kill GTK 3.8 size warningJosh Rickmar2013-05-141-9/+10
* add new configuration option 'enable_cache'David Hill2013-05-141-0/+6
* gtk_widget_modify_font is deprecated. Use gtk_widget_override_font if using ...David Hill2013-05-131-5/+5
* add urlmod plus and minMarco Peereboom2013-01-021-0/+90
* KNFJosh Rickmar2013-05-141-5/+7
* Remove threadingJosh Rickmar2013-05-141-145/+3
* Use libsoup exclusively for retrieving remote certsJosh Rickmar2013-05-141-484/+179
* Don't allow freeing NULL in open_tabs()Josh Rickmar2013-05-011-13/+13
* plug memleak on gnutls_x509_crt_list_import failureDavid Hill2013-04-201-0/+1
* plug memleak in get_local_cert_chainDavid Hill2013-04-201-0/+1
* Add osx build support (using macports).John C. Vernaleo2013-04-191-0/+4
* fix icon apearing when http_proxy is setMarco Peereboom2012-11-281-3/+3
* add tor icon toggle for proxyMarco Peereboom2012-11-281-4/+18
* Add a button to the toolbar to toggle the proxyJosh Rickmar2012-11-281-0/+29
* Initialize cookie whitelist. Fixes FS388.Josh Rickmar2012-10-301-0/+1
* Fix for FS387Josh Rickmar2012-10-281-8/+18
* Fix for FS273Josh Rickmar2012-10-281-22/+28
* Make all new tabs open in new windows in tabless modeJosh Rickmar2012-08-291-1/+13
* Implement header changes as requested by jy-pJosh Rickmar2012-10-101-57/+57
* Add regex support to whitelistsJosh Rickmar2012-09-181-35/+28
* Make custom URI handling work againJosh Rickmar2012-08-311-7/+7
* Stop crash with old libsoups, kill warning with never onesJosh Rickmar2012-08-311-0/+2
* Fix back/forward handling with about pages.Josh Rickmar2012-08-291-2/+4
* Fix issues with marco's back/forward list hackJosh Rickmar2012-08-281-17/+37
* Backout the recent back/forward list changesJosh Rickmar2012-08-281-19/+127
="w"> var scrollX = (ev.x - x); var b = scrollY > 0 && doc.documentElement.scrollHeight == (window.innerHeight + window.pageYOffset); var r = scrollX > 0 && doc.documentElement.scrollWidth == (window.innerWidth + window.pageXOffset); var l = scrollX < 0 && window.pageXOffset == 0; var t = scrollY < 0 && window.pageYOffset == 0; var offX = Math.abs(scrollX) < OFFSET; var offY = Math.abs(scrollY) < OFFSET; if ( timerId != 0 && (( b && r ) || ( b && l) || ( b && offX ) || ( t && r ) || ( t && l) || ( t && offX ) || (offY && r) || (offY && l) )) { stopTimer(); return; } window.scrollBy(scrollX - Math.sign(scrollX) * OFFSET, scrollY - Math.sign(scrollY) * OFFSET); } } function mouseMove (e) { if (timerId == 0) { startTimer(); } ev = e; } function init (e) { doc = e.target.ownerDocument; if (window.innerHeight >= doc.documentElement.scrollHeight && window.innerWidth >= doc.documentElement.scrollWidth) { return; } span = doc.createElement("div"); span.style.width = SIZE + "px"; span.style.height = SIZE + "px"; span.style.background = SCROLL_ICON; span.style.left = e.x - (SIZE / 2) + "px"; span.style.top = e.y - (SIZE / 2) + "px"; span.style.position = "fixed"; span.style.fontSize = SIZE + "px"; span.style.opacity = 0.6; cursorStyle = doc.defaultView.getComputedStyle(doc.body, null).cursor; doc.body.style.cursor = "move"; doc.body.appendChild(span); doc.addEventListener('mousemove', mouseMove, false); span = span; } function clear (e) { doc.body.style.cursor = cursorStyle; span.parentNode.removeChild(span); doc.removeEventListener('mousemove', mouseMove, false); stopTimer(); if (span) span = null; if (ev) ev = null; } function mouseUp (e) { /* Simulate click, click event does not work during scrolling */ if (Math.abs(e.x - x) < 5 && Math.abs(e.y - y) < 5) { init(e); window.removeEventListener('mouseup', mouseUp, false); } } function mouseDown (e) { var t = e.target; if (e.button == 0) { if (span) { clear(); } } else if (e.button == 1) { if (span) { clear(); } else if (!t.hasAttribute("href") && !t.hasAttribute("onmousedown") && !(t.hasAttribute("onclick"))) { x = e.x; y = e.y; window.addEventListener('mouseup', mouseUp, false); } } } window.addEventListener('mousedown', mouseDown, false); })();