r862 - in branches/experimental: tests/visual/menu ui
Author: paul.bakaus Date: Tue Nov 4 08:29:57 2008 New Revision: 862 Added: branches/experimental/ui/ui.core.position.js Modified: branches/experimental/tests/visual/menu/menu.html branches/experimental/ui/ui.menu.js Log: menu: implemented context mode, hide all other menus when clicking around, etc core(experimental): implemented new fn.position plugin to position any DOM element Modified: branches/experimental/tests/visual/menu/menu.html ==============================================================================
Trac errors
Hi, Trac gives me an error if I want to open the following report: <a href="http://ui.jquery.com/bugs/report/1">http://ui.jquery.com/bugs/report/1</a> It says <br clear="all"><pre>IntegrityError: (1062, "Duplicate entry '74e857a79760bc0-0-query_href' for key 1")</pre> -- Paul Bakaus UI Architect -- <a href="http://paulbakaus.com">http://paulbakaus.com</a> <a href="http://www.linkedin.com/in/paulbakaus">http://www.linkedin.com/in/paulbakaus</a>
r861 - trunk/ui
Author: paul.bakaus Date: Tue Nov 4 05:34:04 2008 New Revision: 861 Modified: trunk/ui/ui.sortable.js Log: sortable: removed support for ui.cancel(), must now be called via the sortable() function as method (sortable('cancel')). Now works even if the drag is still ongoing, i.e. the mouse button is still pressed. Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Tue
Splitting up UI Core
Hey everyone, for better SVN logs and structure, I vote for splitting up ui.core.js in the trunk. Here's what I propose for now, and what the individual files would include: ui.core.js - widget factory - $.fn.remove - isVisible (wtf is this anyway? how is it different to the :visible selector?) - :data, :tabbable ui.core.mouse.js<br clear="all"> - $.ui.mouse ui.core.keyboard.js - keyCodes ui.core.aria.js - ariaRole - ariaState The file would still be bundled into one for releases,
r858 - trunk/ui
Author: paul.bakaus Date: Mon Nov 3 06:23:13 2008 New Revision: 858 Modified: trunk/ui/ui.core.js trunk/ui/ui.dialog.js trunk/ui/ui.resizable.js Log: core: restructured helper functions, made enableSelection/disableSelection jQuery plugins (fixes 3459) Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Mon Nov 3 06:23:13 2008 @@ -10,61 +10,6 @@ ;(function($) { /** jQuery core
r856 - in trunk: tests ui
Author: paul.bakaus Date: Mon Nov 3 04:44:50 2008 New Revision: 856 Modified: trunk/tests/draggable.js trunk/ui/ui.core.js Log: mouse: events and default actions on click are not fired after a drag action has been initiated Modified: trunk/tests/draggable.js ============================================================================== --- trunk/tests/draggable.js (original) +++ trunk/tests/draggable.js Mon Nov 3 04:44:50 2008 @@ -628,6 +628,12 @@ }); +module("draggable: behaviour"); + +test("Events
Copying sortable items
I am using the sortable feature to move items between 2 lists. I would like to have the ability to copy the dragged item instead of moving the item. Is there a process that I can use that would leave the dragged object behind, and place a copy of the object in the new list? Any help would be appreciated. If I have asked the question in the wrong group, please let me know the proper group name to post this question in. Thanks Dale
r855 - in trunk: tests ui
Author: paul.bakaus Date: Mon Nov 3 03:24:48 2008 New Revision: 855 Modified: trunk/tests/draggable.js trunk/ui/ui.draggable.js Log: draggable: fixed two missing defaults Modified: trunk/tests/draggable.js ============================================================================== --- trunk/tests/draggable.js (original) +++ trunk/tests/draggable.js Mon Nov 3 03:24:48 2008 @@ -151,7 +151,7 @@ disabled: false, distance: 1, grid: false, - handle: "??? - TODO",
r854 - trunk/ui
Author: rdworth Date: Sat Nov 1 07:49:38 2008 New Revision: 854 Modified: trunk/ui/ui.dialog.js Log: Fixed #3193 - Cannot select scrollbars inside dialog in Opera 9.51 Modified: trunk/ui/ui.dialog.js ============================================================================== --- trunk/ui/ui.dialog.js (original) +++ trunk/ui/ui.dialog.js Sat Nov 1 07:49:38 2008 @@ -52,6 +52,9 @@ uiDialogTitlebar = (this.uiDialogTitlebar = $('<div/>')) .addClass('ui-dialog-titlebar')
r853 - trunk/ui
Author: rdworth Date: Sat Nov 1 03:32:01 2008 New Revision: 853 Modified: trunk/ui/ui.resizable.js Log: resizable: defined defaults Modified: trunk/ui/ui.resizable.js ============================================================================== --- trunk/ui/ui.resizable.js (original) +++ trunk/ui/ui.resizable.js Sat Nov 1 03:32:01 2008 @@ -518,18 +518,28 @@ $.extend($.ui.resizable, { version: "@VERSION", defaults: { + alsoResize: false, + animate: false, + animateDuration:
r852 - trunk/tests
Author: rdworth Date: Sat Nov 1 03:20:38 2008 New Revision: 852 Modified: trunk/tests/resizable.js Log: tests resizable: Updated defaults test Modified: trunk/tests/resizable.js ============================================================================== --- trunk/tests/resizable.js (original) +++ trunk/tests/resizable.js Sat Nov 1 03:20:38 2008 @@ -21,19 +21,31 @@ }; var defaults = { - alsoResize: undefined, + animate: false, + animateDuration: 'slow', + animateEasing: 'swing',
r851 - trunk/tests/visual
Author: rdworth Date: Sat Nov 1 01:24:22 2008 New Revision: 851 Modified: trunk/tests/visual/all.css Log: test visual: fixed colors to match UI website Modified: trunk/tests/visual/all.css ============================================================================== --- trunk/tests/visual/all.css (original) +++ trunk/tests/visual/all.css Sat Nov 1 01:24:22 2008 @@ -1,5 +1,5 @@ -body { margin: 0; padding: 20px; background: black; } +body { margin: 0; padding: 20px; background: #191919; } ul.plugins
r850 - in branches/experimental: tests/visual/menu ui
Author: paul.bakaus Date: Fri Oct 31 10:34:19 2008 New Revision: 850 Modified: branches/experimental/tests/visual/menu/menu.html branches/experimental/ui/ui.menu.js Log: menu: added dropdown mode as addition to context Modified: branches/experimental/tests/visual/menu/menu.html ============================================================================== --- branches/experimental/tests/visual/menu/menu.html (original) +++ branches/experimental/tests/visual/menu/menu.html Fri Oct 31 10:34:19
r849 - branches/experimental/tests/visual trunk/tests/visual
Author: rdworth Date: Thu Oct 30 18:38:27 2008 New Revision: 849 Added: branches/experimental/tests/visual/dep_loader.html - copied unchanged from r848, /trunk/tests/visual/dep_loader.html Removed: trunk/tests/visual/dep_loader.html Log: moved dep_loader.html test page to experimental branch
QUnit planning
Hi, I'm currently gathering idea for further improvements for QUnit (http://docs.jquery.com/QUnit). One source of inspiration is ScrewUnit: http://github.com/nkallen/screw-unit/tree/master The point isn't to replicate ScrewUnit, but I'd like to get some feedback on what features could fit well into QUnit. That page actually contains quite decent documentation, so you're welcome to take a look and give some feedback on what you'd like to see in QUnit. If you have some tests that are rather painful
r847 - in trunk: tests ui
Author: david.bolter Date: Wed Oct 29 09:57:04 2008 New Revision: 847 Modified: trunk/tests/progressbar.js trunk/ui/ui.progressbar.js Log: added ARIA semantics, and tests. patch review:scott.gonzalez@gmail.com (fixes bug #3482) Modified: trunk/tests/progressbar.js ============================================================================== --- trunk/tests/progressbar.js (original) +++ trunk/tests/progressbar.js Wed Oct 29 09:57:04 2008 @@ -52,5 +52,20 @@ }); +test("accessibility", function()
.slider() keyboard support: stop fires continuously, not onkeyup
When using a slider with the keyboard, holding down the left/right arrow keys to slide the pointer left/right, the stop state fires continuously. This seems illogical because the user clearly has not 'stopped' making their choice if they are holding down a navigation key. This is contradictory to how slider mouse support works where the stop state is only fired when the slider marker is released. If a function is required to fire continuously, the slide state caters for this. If a function is required
r846 - trunk/ui
Author: eduardolundgren Date: Tue Oct 28 11:05:02 2008 New Revision: 846 Modified: trunk/ui/ui.sortable.js Log: Sortable - delta direction improved Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Tue Oct 28 11:05:02 2008 @@ -128,12 +128,24 @@ if (this.floating) { if (isOverElement) { - return horizontalDirection == "right" ? 2
Download Builder and YUI compressor
Download builder is working again with YUI/Packed personalized versions. The server was without java installed.<br clear="all"> -- Eduardo Lundgren Software Engineer Liferay, Inc. Enterprise. Open Source. For Life.
Sortable intersectWithEdge improvements
hey guys, I just commit a big change on the intersectWithEdge method on sortable. After a lot of tests the sortable accuracy looks better. I ask you guys to test on your applications and let me know the results. Thanks.<br clear="all"> -- Eduardo Lundgren Software Engineer Liferay, Inc. Enterprise. Open Source. For Life.
UI Copyright policy
Hey everyone, please make sure that every file with source code in it has a copyright block with my name in it (Copyright 2008 Paul Bakaus), regardless of the original author of the file. The reasoning behind this is that there needs to be a single person or company as copyright holder for the whole project, otherwise companies who'd like to use it in production would have a hard time. This is the same policy jQuery is using, and we should make sure to keep it until we have an own foundation or company
r845 - trunk/ui
Author: eduardolundgren Date: Tue Oct 28 07:44:27 2008 New Revision: 845 Modified: trunk/ui/ui.sortable.js Log: Sortable - Float elements tolerance fixed Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Tue Oct 28 07:44:27 2008 @@ -127,7 +127,7 @@ var horizontalDirection = this._getDragHorizontalDirection(); if (this.floating) { - if (isOverElementWidth)
r842 - trunk/ui
Author: eduardolundgren Date: Mon Oct 27 23:01:01 2008 New Revision: 842 Modified: trunk/ui/ui.resizable.js Log: Changing the author name on Resizable Modified: trunk/ui/ui.resizable.js ============================================================================== --- trunk/ui/ui.resizable.js (original) +++ trunk/ui/ui.resizable.js Mon Oct 27 23:01:01 2008 @@ -1,7 +1,7 @@ /* * jQuery UI Resizable @VERSION * - * Copyright (c) 2008 Paul Bakaus + * Copyright (c) 2008 Eduardo Lundgren * Dual licensed
r844 - trunk/ui
Author: eduardolundgren Date: Mon Oct 27 23:41:11 2008 New Revision: 844 Modified: trunk/ui/ui.sortable.js Log: Sortable - Prevent mouseCapture while help is reverting Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Mon Oct 27 23:41:11 2008 @@ -384,6 +384,10 @@ _mouseCapture: function(e, overrideHandle) { + if (this.reverting) { + return false;
r843 - trunk/ui
Author: eduardolundgren Date: Mon Oct 27 23:35:01 2008 New Revision: 843 Modified: trunk/ui/ui.sortable.js Log: Sortable - Checking if helper exists Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Mon Oct 27 23:35:01 2008 @@ -628,9 +628,10 @@ this.positionAbs = this._convertPositionTo("absolute"); //Set the helper's position - this.helper[0].style.left
r841 - trunk/ui
Author: eduardolundgren Date: Mon Oct 27 22:44:17 2008 New Revision: 841 Modified: trunk/ui/ui.sortable.js Log: Sortable - Tolerance accuracy sortable improved Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Mon Oct 27 22:44:17 2008 @@ -4,7 +4,7 @@ * Copyright (c) 2008 Paul Bakaus * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses.
Tabbing Through Dialogs
The DHTML Style Guide suggests that in all dialogs (modal and non-modal) "focus via the tab and shift-tab key must be maintained within the dialog." We currently do this for modal dialogs, but not for non-modal dialogs. For those wondering how you would interact with the rest of the page while keeping the dialog open, they recommend using F6 to toggle focus between the page and the dialog. Any objections to extending this behavior to all dialogs and following the DHTML Style Guide? One thing I'm
r840 - branches/experimental/ui/widget-auto-getters
Author: scott.gonzalez Date: Sun Oct 26 19:22:34 2008 New Revision: 840 Added: branches/experimental/ui/widget-auto-getters/ branches/experimental/ui/widget-auto-getters/ui.core.js (contents, props changed) branches/experimental/ui/widget-auto-getters/ui.dialog.js (contents, props changed) Log: Experimental change to widget factory to prevent the need to predefine getters. Added: branches/experimental/ui/widget-auto-getters/ui.core.js ==============================================================================
inline Datepicker IE 6 & 7 Probloem?
I am having trouble with the latest ui.datepicker plugin when I try to make the datepicker inline. It works in all versions of firefox, but not in IE 6 or 7. Was hoping someone either knows of this and a solution for it? How it is set up: $("#inLineDatePicker").datepicker({ mandatory: true, dateFormat: "yy-mm-dd", onSelect: function(date) { alert(date); } }); The html code: <div id="inLineDatePicker" style="auto; float:left;"></div>
Testsuite Status
I just ran the ui testsuite locally, and got 50 failing tests. Very few of those are "missing test", most are just failures that I can't interpret. We need to get to 0 failing tests in trunk asap! To be more specific, failing components are datepicker, dialog, draggable, progressbar and resizable. Jörn
r839 - branches/1.7 trunk/demos/functional/js trunk/tests/visual
Author: rdworth Date: Thu Oct 23 18:45:23 2008 New Revision: 839 Modified: branches/1.7/ui.core.js (contents, props changed) trunk/demos/functional/js/jquery.history_remote.js (props changed) trunk/tests/visual/dep_loader.html (contents, props changed) Log: set svn:eol-style to native Modified: branches/1.7/ui.core.js ============================================================================== --- branches/1.7/ui.core.js (original) +++ branches/1.7/ui.core.js Thu Oct 23 18:45:23 2008 @@ -1,507
r838 - in branches/experimental: . demos/functional/templates tests tests/data tests/data/txtdb t...
Author: rdworth Date: Thu Oct 23 18:20:37 2008 New Revision: 838 Modified: branches/experimental/demos/functional/templates/ui.autocomplete.html (contents, props changed) branches/experimental/jquery-1.2.6.js (contents, props changed) branches/experimental/tests/autocomplete.html (contents, props changed) branches/experimental/tests/autocomplete.js (contents, props changed) branches/experimental/tests/data/emails-json.php (contents, props changed) branches/experimental/tests/data/emails-xml.php (contents,
r837 - in branches/experimental/tests/visual: . menu
Author: rdworth Date: Thu Oct 23 18:18:32 2008 New Revision: 837 Modified: branches/experimental/tests/visual/keyboard_selection.html branches/experimental/tests/visual/menu/menu.html Log: HTML5 doctype Modified: branches/experimental/tests/visual/keyboard_selection.html ============================================================================== --- branches/experimental/tests/visual/keyboard_selection.html (original) +++ branches/experimental/tests/visual/keyboard_selection.html Thu Oct
r836 - branches/experimental/ui
Author: rdworth Date: Thu Oct 23 18:16:58 2008 New Revision: 836 Modified: branches/experimental/ui/ui.selectable.js Log: selectable(experimental): Added ctrl-SPACE toggle support Modified: branches/experimental/ui/ui.selectable.js ============================================================================== --- branches/experimental/ui/ui.selectable.js (original) +++ branches/experimental/ui/ui.selectable.js Thu Oct 23 18:16:58 2008 @@ -57,6 +57,10 @@ e.preventDefault();
r835 - branches/experimental/ui
Author: rdworth Date: Thu Oct 23 18:14:09 2008 New Revision: 835 Modified: branches/experimental/ui/ui.selectable.js Log: whitespace Modified: branches/experimental/ui/ui.selectable.js ============================================================================== --- branches/experimental/ui/ui.selectable.js (original) +++ branches/experimental/ui/ui.selectable.js Thu Oct 23 18:14:09 2008 @@ -29,10 +29,10 @@ var item; $(e.target).parents().andSelf().each(function()
r834 - branches/experimental/ui
Author: rdworth Date: Thu Oct 23 18:04:32 2008 New Revision: 834 Modified: branches/experimental/ui/ui.selectable.js Log: corrected plugin name in header, whitespace Modified: branches/experimental/ui/ui.selectable.js ============================================================================== --- branches/experimental/ui/ui.selectable.js (original) +++ branches/experimental/ui/ui.selectable.js Thu Oct 23 18:04:32 2008 @@ -1,5 +1,5 @@ /* - * jQuery UI Resizable @VERSION + * jQuery UI Selectable
r833 - in branches/experimental: . tests tests/simulate tests/visual tests/visual/autocomplete te...
Author: rdworth Date: Thu Oct 23 18:02:47 2008 New Revision: 833 Added: branches/experimental/tests/simulate/ (props changed) - copied from r831, /trunk/tests/simulate/ branches/experimental/ui/gridmodel-spec (props changed) - copied unchanged from r831, /branches/experimental/gridmodel-spec branches/experimental/ui/ui.core.js (props changed) - copied unchanged from r831, /trunk/ui/ui.core.js branches/experimental/ui/ui.sortable.js (props changed) - copied unchanged from r831, /trunk/ui/ui.sortable.js
r832 - in branches/experimental: . ui
Author: rdworth Date: Thu Oct 23 17:40:23 2008 New Revision: 832 Added: branches/experimental/jquery-1.2.6.js branches/experimental/ui/ branches/experimental/ui/ui.autocomplete.js (props changed) - copied unchanged from r831, /branches/experimental/ui.autocomplete.js branches/experimental/ui/ui.datepicker.js (props changed) - copied unchanged from r831, /branches/experimental/ui.datepicker.js branches/experimental/ui/ui.grid.js (props changed) - copied unchanged from r831, /branches/experimental/ui.grid.js
r831 - in branches: 1.7 1.7/tests 1.7/tests/data 1.7/tests/visual 1.7/tests/visual/menu experimen...
Author: paul.bakaus Date: Thu Oct 23 07:07:20 2008 New Revision: 831 Added: branches/experimental/gridmodel-spec branches/experimental/tests/data/ branches/experimental/tests/data/emails-json.php branches/experimental/tests/data/emails-xml.php branches/experimental/tests/data/emails.php branches/experimental/tests/data/employees-json.php branches/experimental/tests/data/txtdb/ branches/experimental/tests/data/txtdb/addressbook.txt branches/experimental/tests/data/txtdb/const.php branches/experimental/tests/data/txtdb/database.php
r830 - in branches: 1.7/tests/visual 1.7/tests/visual/autocomplete experimental/tests/visual/auto...
Author: paul.bakaus Date: Thu Oct 23 06:54:50 2008 New Revision: 830 Added: branches/experimental/tests/visual/autocomplete/ branches/experimental/tests/visual/autocomplete/bg.gif (contents, props changed) branches/experimental/tests/visual/autocomplete/images/ branches/experimental/tests/visual/autocomplete/images/Amsterdam Van-Gogh Museum.jpg (contents, props changed) branches/experimental/tests/visual/autocomplete/images/Amsterdam.jpg (contents, props changed) branches/experimental/tests/visual/autocomplete/images/Antwerpen
Next Page