r898 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 22:42:23 2008 New Revision: 898 Modified: trunk/ui/ui.core.js Log: Core: Change comments for the new methods Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Sun Nov 9 22:42:23 2008 @@ -107,17 +107,17 @@ }, isOverHeight: function(y, bTop, bHeight) { - //Determines when "y" coordinate intersects with b element height
r897 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 22:39:52 2008 New Revision: 897 Modified: trunk/ui/ui.core.js trunk/ui/ui.draggable.js trunk/ui/ui.droppable.js trunk/ui/ui.sortable.js Log: Change name of intersect methods to isOverHeight/isOverWidth/isOver. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Sun Nov 9 22:39:52 2008 @@ -106,19 +106,19 @@ return has; },
r896 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 21:56:06 2008 New Revision: 896 Modified: trunk/ui/ui.draggable.js Log: Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.ui.intersects. Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Sun Nov 9 21:56:06 2008 @@ -606,7 +606,7 @@ var itemHeight = o.height, itemWidth = o.width; var
r895 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 21:55:04 2008 New Revision: 895 Modified: trunk/ui/ui.core.js Log: Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Sun Nov 9 21:55:04 2008 @@ -116,7 +116,7 @@ return (aLeft > bLeft) && (aLeft < (bLeft + bWidth)); }, - intersect:
r894 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 21:18:20 2008 New Revision: 894 Modified: trunk/ui/ui.draggable.js Log: Draggable: Using the new core intersect method on connectToSortable. Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Sun Nov 9 21:18:20 2008 @@ -4,7 +4,7 @@ * Copyright (c) 2008 Paul Bakaus * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL
r893 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 21:17:12 2008 New Revision: 893 Modified: trunk/ui/ui.sortable.js Log: Sortable: Using the new core intersectHeight/intersectWidth methods. Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Sun Nov 9 21:17:12 2008 @@ -58,18 +58,18 @@ sender: inst ? inst.element : null }; }, - + cancel: function()
r891 - trunk/ui
Author: eduardolundgren Date: Sun Nov 9 19:51:44 2008 New Revision: 891 Modified: trunk/ui/ui.draggable.js Log: Draggable - calling the new _ui() method from sortables Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Sun Nov 9 19:51:44 2008 @@ -585,7 +585,7 @@ this.instance._mouseStop(e); //Also propagate receive
Some inspiration for menus
Here: http://people.mozilla.com/~jdicarlo/grid_menu.html Blog post describing remaining issues: http://jonoscript.wordpress.com/2008/11/09/pie-menu-evolves-into-grid-menu/ Jörn
r890 - branches/experimental/demos/functional/templates branches/experimental/tests/visual branch...
Author: rdworth Date: Sat Nov 8 14:30:02 2008 New Revision: 890 Added: branches/experimental/demos/functional/templates/ui.magnifier.html (props changed) - copied unchanged from r886, /trunk/demos/functional/templates/ui.magnifier.html branches/experimental/tests/visual/magnifier.html (props changed) - copied unchanged from r886, /trunk/tests/visual/magnifier.html branches/experimental/ui/ui.magnifier.js (props changed) - copied unchanged from r886, /trunk/ui/ui.magnifier.js Removed: trunk/demos/functional/templates/ui.magnifier.html
r889 - trunk/tests
Author: rdworth Date: Sat Nov 8 14:19:28 2008 New Revision: 889 Modified: trunk/tests/droppable.js Log: tests droppable - implemented cssNamespace test Modified: trunk/tests/droppable.js ============================================================================== --- trunk/tests/droppable.js (original) +++ trunk/tests/droppable.js Sat Nov 8 14:19:28 2008 @@ -156,7 +156,15 @@ }); test("cssNamespace", function() { - ok(false, "missing test"); + //cssNamespace should be appended with '-droppable'
r888 - trunk/ui
Author: rdworth Date: Sat Nov 8 13:56:57 2008 New Revision: 888 Modified: trunk/ui/ui.droppable.js Log: droppable: defined some defaults Modified: trunk/ui/ui.droppable.js ============================================================================== --- trunk/ui/ui.droppable.js (original) +++ trunk/ui/ui.droppable.js Sat Nov 8 13:56:57 2008 @@ -132,10 +132,13 @@ $.extend($.ui.droppable, { version: "@VERSION", defaults: { + activeClass: null, + cssNamespace: 'ui', disabled:
r887 - trunk/tests
Author: rdworth Date: Sat Nov 8 13:53:43 2008 New Revision: 887 Added: trunk/tests/droppable.html trunk/tests/droppable.js Log: tests: Added droppable test suite Added: trunk/tests/droppable.html ============================================================================== --- (empty file) +++ trunk/tests/droppable.html Sat Nov 8 13:53:43 2008 @@ -0,0 +1,41 @@ +<!doctype html> +<html lang="en"> +<head> + <title>jQuery UI Droppable Test Suite</title> + + <link rel="stylesheet" href="qunit/testsuite.css"
sortable bug in 1.6rc2 when using floating items?
I think there is a bug in the sortable module in 1.6rc2 as it works with 1.5.2. I screencasted the problem with Jing, so you have a better idea what I mean: Problem (casted in IE7/Parallels): http://screencast.com/t/ZIcVOoGWxJR No Problem (at least not that - there's still some glitches but nothing that's hard to correct). http://screencast.com/t/U4gINcewNe I use a simple $("#boxes").sortable({ placeholder: "ui-selected", forcePlaceholderSize: true, revert: false });
r886 - trunk/demos/functional/templates
Author: kbwood.au Date: Sat Nov 8 00:01:40 2008 New Revision: 886 Modified: trunk/demos/functional/templates/ui.datepicker.html Log: Move Chinese localisations to "alphabetic" order Modified: trunk/demos/functional/templates/ui.datepicker.html ============================================================================== --- trunk/demos/functional/templates/ui.datepicker.html (original) +++ trunk/demos/functional/templates/ui.datepicker.html Sat Nov 8 00:01:40 2008 @@ -351,8 +351,6 @@ destroy:
r885 - in trunk: demos/functional demos/functional/templates ui/i18n
Author: kbwood.au Date: Fri Nov 7 23:51:25 2008 New Revision: 885 Added: trunk/ui/i18n/ui.datepicker-sq.js Modified: trunk/demos/functional/index.html trunk/demos/functional/templates/ui.datepicker.html Log: Fixed 3550. Added Albanian localisation. Modified: trunk/demos/functional/index.html ============================================================================== --- trunk/demos/functional/index.html (original) +++ trunk/demos/functional/index.html Fri Nov 7 23:51:25 2008 @@ -53,6 +53,7
r884 - trunk/ui
Author: kbwood.au Date: Fri Nov 7 23:34:34 2008 New Revision: 884 Modified: trunk/ui/ui.datepicker.js Log: Fixed 3547. Initialise alternate field on load for inline datepicker. Modified: trunk/ui/ui.datepicker.js ============================================================================== --- trunk/ui/ui.datepicker.js (original) +++ trunk/ui/ui.datepicker.js Fri Nov 7 23:34:34 2008 @@ -246,6 +246,7 @@ $.data(target, PROP_NAME, inst); this._setDate(inst, this._getDefaultDate(inst));
r883 - trunk/ui
Author: scott.gonzalez Date: Fri Nov 7 21:11:54 2008 New Revision: 883 Modified: trunk/ui/ui.core.js Log: Core: Optimized isVisible() for the case where the element being checked is not visible. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Nov 7 21:11:54 2008 @@ -171,7 +171,7 @@ var nodeName = a.nodeName.toLowerCase(); function isVisible(element)
r882 - branches/experimental/ui
Author: paul.bakaus Date: Fri Nov 7 07:24:19 2008 New Revision: 882 Modified: branches/experimental/ui/ui.core.position.js branches/experimental/ui/ui.menu.js Log: core(experimental): added offset option to positionAround menu: fixed a little quirk at the sub menu position (still not perfect) Modified: branches/experimental/ui/ui.core.position.js ============================================================================== --- branches/experimental/ui/ui.core.position.js (original) +++ branches/experimental/ui/ui.core.position.js Fri
r881 - in branches/experimental: tests/visual/menu ui
Author: paul.bakaus Date: Fri Nov 7 07:16:52 2008 New Revision: 881 Modified: branches/experimental/tests/visual/menu/menu.html branches/experimental/ui/ui.menu.js Log: menu: fixed a couple issues (don't use global selectors in widgets), partially refactored drilldown Modified: branches/experimental/tests/visual/menu/menu.html ============================================================================== --- branches/experimental/tests/visual/menu/menu.html (original) +++ branches/experimental/tests/visual/menu/menu.html Fri
r878 - trunk/ui
Author: scott.gonzalez Date: Fri Nov 7 05:40:01 2008 New Revision: 878 Modified: trunk/ui/ui.core.js Log: Core: Rewrote isVisible(). New implementation inspired by Remy's :reallyvisible selector. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Nov 7 05:40:01 2008 @@ -168,21 +168,10 @@ // TODO: add support for object, area tabbable: function(a, i, m) { - +
r880 - trunk/ui
Author: scott.gonzalez Date: Fri Nov 7 05:57:31 2008 New Revision: 880 Modified: trunk/ui/ui.dialog.js trunk/ui/ui.progressbar.js Log: Dialog, Progressbar: Combined ARIA attribute settings into one .attr() call. Modified: trunk/ui/ui.dialog.js ============================================================================== --- trunk/ui/ui.dialog.js (original) +++ trunk/ui/ui.dialog.js Fri Nov 7 05:57:31 2008 @@ -83,8 +83,10 @@ (options.closeOnEscape && ev.keyCode &&
r879 - trunk/tests
Author: scott.gonzalez Date: Fri Nov 7 05:49:23 2008 New Revision: 879 Modified: trunk/tests/core.js Log: Core Tests: Moved ARIA tests out of selectors module. Modified: trunk/tests/core.js ============================================================================== --- trunk/tests/core.js (original) +++ trunk/tests/core.js Fri Nov 7 05:49:23 2008 @@ -53,7 +53,9 @@ ok(!$('#input4-4').is(':tabbable'), 'input, tabindex -50'); }); -test("aria", function() { +module('jQuery extensions');
r877 - trunk/tests
Author: scott.gonzalez Date: Fri Nov 7 05:23:02 2008 New Revision: 877 Modified: trunk/tests/core.js Log: Core Tests: Fixed ARIA tests for new .attr() method. Modified: trunk/tests/core.js ============================================================================== --- trunk/tests/core.js (original) +++ trunk/tests/core.js Fri Nov 7 05:23:02 2008 @@ -54,18 +54,12 @@ }); test("aria", function() { - expect(10); + expect(4); ok(!$('#aria').attr('role'), 'role is empty via attr');
r876 - in branches/experimental: tests/visual/menu ui
Author: paul.bakaus Date: Fri Nov 7 03:54:23 2008 New Revision: 876 Modified: branches/experimental/tests/visual/menu/menu.html branches/experimental/ui/ui.core.position.js branches/experimental/ui/ui.menu.js Log: core (experimental): renamed positionTo to positionAround, option relatedTo to around menu: implemented drilldown (still needs refactoring, selectCategories doesn't work fully), browse/select/open/close events Modified: branches/experimental/tests/visual/menu/menu.html ==============================================================================
r875 - trunk/ui
Author: kbwood.au Date: Fri Nov 7 02:16:34 2008 New Revision: 875 Modified: trunk/ui/ui.datepicker.js Log: Correct display of big prev/next links when disabled. Correct spacing between month and year when non-selectable. Modified: trunk/ui/ui.datepicker.js ============================================================================== --- trunk/ui/ui.datepicker.js (original) +++ trunk/ui/ui.datepicker.js Fri Nov 7 02:16:34 2008 @@ -1391,7 +1391,8 @@ this._addStatus(showStatus, inst.id,
r874 - trunk/ui
Author: kbwood.au Date: Fri Nov 7 02:13:19 2008 New Revision: 874 Modified: trunk/ui/ui.datepicker.js Log: Fixed 3526. Default year if not set from input field. Modified: trunk/ui/ui.datepicker.js ============================================================================== --- trunk/ui/ui.datepicker.js (original) +++ trunk/ui/ui.datepicker.js Fri Nov 7 02:13:19 2008 @@ -1032,7 +1032,9 @@ checkLiteral(); } } - if (year < 100) + if
r873 - in trunk: demos/functional demos/functional/templates ui/i18n
Author: kbwood.au Date: Fri Nov 7 02:06:47 2008 New Revision: 873 Added: trunk/ui/i18n/ui.datepicker-fa.js Modified: trunk/demos/functional/index.html trunk/demos/functional/templates/ui.datepicker.html Log: Fixed 3536. Added Persian localisation Modified: trunk/demos/functional/index.html ============================================================================== --- trunk/demos/functional/index.html (original) +++ trunk/demos/functional/index.html Fri Nov 7 02:06:47 2008 @@ -31,6 +31,7
r872 - trunk/ui
Author: scott.gonzalez Date: Thu Nov 6 18:25:52 2008 New Revision: 872 Modified: trunk/ui/ui.core.js Log: Core: Moved regex declarations for potential speed increase. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Thu Nov 6 18:25:52 2008 @@ -39,9 +39,8 @@ UP: 38 }; -//Temporary mappings -var _remove = $.fn.remove; -var isFF2 = $.browser.mozilla && (parseFloat($.browser.version)
r871 - trunk/tests
Author: scott.gonzalez Date: Thu Nov 6 17:41:12 2008 New Revision: 871 Modified: trunk/tests/progressbar.js Log: Progressbar Tests: Fixed default option tests (and updated documentation). Modified: trunk/tests/progressbar.js ============================================================================== --- trunk/tests/progressbar.js (original) +++ trunk/tests/progressbar.js Thu Nov 6 17:41:12 2008 @@ -27,8 +27,8 @@ el = $("#progressbar").progressbar(); equals(el.data("width.progressbar"),
r870 - trunk/ui
Author: paul.bakaus Date: Thu Nov 6 06:52:25 2008 New Revision: 870 Modified: trunk/ui/ui.draggable.js Log: draggable: fixed nasty IE related scrolling bug - funny IE includes scroll if you call offset() on <html> Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Thu Nov 6 06:52:25 2008 @@ -109,7 +109,8 @@ this.offsetParent = this.helper.offsetParent();
Continue the position talk.
Hi, Todd I'll add them in the wiki in weekend. Since pbwiki.com is blocked in China(by great firewall), I have to access it through Tor. It is really hard for me to access it in my school. (Colleges and universities in China have to use a special ISP controlled by the government, and it's slow to access foreign web sites.) I'll try to solve this by set a phproxy on my hosting(in U.S.A. labs.cloudream.name is on it. not bad speed for you, right?). - The menu/list should be able to open left yes, the
r869 - trunk/ui
Author: paul.bakaus Date: Thu Nov 6 03:24:34 2008 New Revision: 869 Modified: trunk/ui/ui.sortable.js Log: sortable: returning false in any callback will now call this.cancenl() to cancel the ongoing action Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Thu Nov 6 03:24:34 2008 @@ -104,7 +104,8 @@ _propagate: function(n,e,inst, noPropagation) { $.ui.plugin.call(this,
r868 - in trunk: tests ui
Author: david.bolter Date: Wed Nov 5 11:43:21 2008 New Revision: 868 Modified: trunk/tests/progressbar.js trunk/ui/ui.core.js trunk/ui/ui.dialog.js trunk/ui/ui.progressbar.js Log: Tweaking attr to normalize for FF2 ARIA implementation. Removed ariaRole and ariaState API. (Assist: Scott González, Fixes #3529) Modified: trunk/tests/progressbar.js ============================================================================== --- trunk/tests/progressbar.js (original) +++ trunk/tests/progressbar.js Wed
Canceling Callbacks/Events
Where possible, all callbacks/events should be able to cancel their default action by letting the user return false. This follows the existing syntax of all built-in events and is currently implemented in several callbacks of existing UI plugins.
r860 - trunk/ui
Author: paul.bakaus Date: Mon Nov 3 13:41:59 2008 New Revision: 860 Modified: trunk/ui/ui.sortable.js Log: sortable: implemented ui.cancel(), a function that can be called to completely cancel the sortable attempt, and revert to the original state (implements #3283, #3402) Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Mon Nov 3 13:41:59 2008 @@ -46,16 +46,57
r867 - branches/experimental/ui
Author: paul.bakaus Date: Wed Nov 5 06:19:50 2008 New Revision: 867 Modified: branches/experimental/ui/ui.core.position.js Log: core (experimental): cleanup of variables in positionTo Modified: branches/experimental/ui/ui.core.position.js ============================================================================== --- branches/experimental/ui/ui.core.position.js (original) +++ branches/experimental/ui/ui.core.position.js Wed Nov 5 06:19:50 2008 @@ -1,23 +1,32 @@ $.fn.positionTo = function(e,
r866 - branches/experimental/ui
Author: paul.bakaus Date: Wed Nov 5 06:13:02 2008 New Revision: 866 Modified: branches/experimental/ui/ui.core.position.js Log: core(experimental): positionTo now properly handles auto wrapping cases, introduced a forceDirection option to force the direction. Implemented "left/right/adove/below" for positioning related to elements, and any combination of "left/right" + "above/below" for mouse related positiong (i.e. "right below") Modified: branches/experimental/ui/ui.core.position.js ==============================================================================
r865 - trunk/ui
Author: klaus.hartl Date: Wed Nov 5 03:02:06 2008 New Revision: 865 Modified: trunk/ui/ui.tabs.js Log: UI Tabs: removed equalize extension Modified: trunk/ui/ui.tabs.js ============================================================================== --- trunk/ui/ui.tabs.js (original) +++ trunk/ui/ui.tabs.js Wed Nov 5 03:02:06 2008 @@ -557,18 +557,4 @@ } }); -$.extend($.ui.tabs.prototype, { - equalize: function() { - var heights = this.$panels.map(function() { - return
r864 - trunk/ui
Author: klaus.hartl Date: Wed Nov 5 02:59:55 2008 New Revision: 864 Modified: trunk/ui/ui.tabs.js Log: UI Tabs: fixed tabs select causing page to jump bug, removed cruft form former history integration which will work differently anyway Modified: trunk/ui/ui.tabs.js ============================================================================== --- trunk/ui/ui.tabs.js (original) +++ trunk/ui/ui.tabs.js Wed Nov 5 02:59:55 2008 @@ -95,23 +95,13 @@ this.$tabs.each(function(i,
r863 - in branches/experimental: tests/visual/menu ui
Author: paul.bakaus Date: Wed Nov 5 02:18:04 2008 New Revision: 863 Modified: branches/experimental/tests/visual/menu/menu.html branches/experimental/ui/ui.core.position.js branches/experimental/ui/ui.menu.js Log: core(experimental): renamed position to positionTo, due to a conflict with the existing position method Modified: branches/experimental/tests/visual/menu/menu.html ============================================================================== --- branches/experimental/tests/visual/menu/menu.html (original)
Next Page