Commit graph

53 commits

Author SHA1 Message Date
John Bender
c134acce16 create separate structure and structure.min css
This addition is in response to the creation of the theme roller. It doesn't make much sense to include a theme from the framework if the user is adding his/her own from the theme roller or otherwise.
2011-10-13 15:28:06 -07:00
Kin Blas
9983e96382 Added the tools directory to the Makefile so it gets copied when making nightlies and demos. 2011-10-07 09:36:12 -07:00
scottjehl
8c2b1d9f55 removed media classes from make file, following up to previous commits 2011-09-29 14:55:41 -04:00
Eddie Monge
269c592a37 Issue 2494: Removed accidental css cruft and git info reorder 2011-09-21 13:50:35 -07:00
scottjehl
b645781f4d implemented native overflow scrolling based on support for -[prefix]-overflow-scrolling: touch. True fixed headers and footers come supported as well. 2011-09-08 12:38:50 -04:00
John Bender
b7d5df786f whitespace and comment merge conflict resolved 2011-08-17 11:09:05 -07:00
John Bender
2b3153365f fixed build files to include custom select 2011-08-12 10:39:36 -07:00
scottjehl
e564eb1c5f first pass at implementing pushstate support from an external file. 2011-08-05 18:49:16 -04:00
scottjehl
79d3aa6f04 brought back degradeInputs page option, this time as a decoupled page plugin file. Fixes #2123 2011-07-26 13:49:10 -04:00
scottjehl
2a6c7fc1b9 This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
- Internally, each plugin self-initializes by binding to the pagecreate event.

- Unit tests have been added and adjusted to support some internal changes involved in this commit.

- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.

- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.

- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
eddiemonge
757dda99d0 Makefile: Remove log as the info is now in the files from the nightly/latest build. Fix output name for the same 2011-06-02 09:49:21 -07:00
eddiemonge
7a01d702ef trying to sneak this in as well 2011-05-26 16:49:05 -07:00
Eddie Monge Jr.
9fce3e1f72 Minified CSS was getting double info 2011-05-20 11:36:28 -07:00
eddiemonge
83fe2542a5 Makefile: Updated the deploy script and added comments for the regular make process so the user knows whats going on 2011-05-18 18:02:10 -07:00
eddiemonge
19c952a3bd For all versions of make except for deploy, the outputted scripts will have the git info used for that build. Deploy will still use the version in the version.txt file 2011-05-13 16:01:31 -07:00
Kin Blas
19c06952fd Changes to allow 3rd party transitions. Developers can now register a custom transition by adding their transition handler to the $.mobile.transitionHandlers dictionary. The name of the custom transition is used as the key within the transtionsHandlers dictionary, and should be the same name used within the @data-transtion attribute.
The expected prototype for a transitionHandler is as follows:

function handler(name, reverse, $to, $from)

The name parameter is the name of the transition as specified by @data-transition attribute, reverse is a boolean that is false for a normal transition, and true for a reverse transition. The $to param is a jQuery collection containing the page that is being transitioned "to", and $from is an optional collection that tells us what page we are transitioning "from". Because $from is optional, handler developers should take care and check $from to make sure it is not undefined before attempting to dereference it.

In addition to registering custom transition by name, developers can specify a handler to use in the case where a transition name is specified and does not exist within the $.mobile.transitionHanlders dictionary. Within jQuery Mobile, the default handler for unknown transition types is the $.mobile.css3Transition() handler. This handler always assumes that the transition name is to be used as a CSS class to be placed on the $to and $from elements. To change the default handler, simply set $.mobile.defaultTransitionHandler to you function handler:

$.mobile.defaultTransitionHandler = myTransitionHandler;

The changes to make all this necessary are as follows:

- Created $.mobile.noneTransitionHandler which is the default transitionHandler for the framework that simply adds and removes the page active class on the $from and $to pages with no animations.

- Moved class based transition code into a new plugin jquery.mobile.transition.js file. This plugin, when present, overrides the noneTransitionHandler as the defaultTranstionHandler for the framework so that CSS3 animation transitions are available.

- Removed code related to the setting/removal of the ui-mobile-viewport-perspective class. The css3TransitionHandler plugin takes care of automatically placing a "viewport-<transition name>" class on the viewport (body) element. This allows any other transition to specify properties on the viewport that are necessary to accomplish the transition.

- changed the CSS class ui-mobile-viewport-perspective to viewport-flip to match code changes. This makes it more apparent that setting -webkit-perspective is only used with the flip transition.

- Updated js/index.php, Makefile and build.xml to include the new jquery.mobile.transition.js file.
2011-04-26 14:06:10 -07:00
eddiemonge
f29f19ccaa update compiler link in Makefile 2011-04-15 05:52:25 +08:00
eddiemonge
0bc9f7edab blank commands are not so good. 2011-04-14 12:08:24 -07:00
eddiemonge
80fc7a648a change latest build to say that in the version 2011-04-13 17:09:52 -07:00
eddiemonge
250fc190ba use a log and a cron 2011-04-13 15:32:57 -07:00
eddiemonge
ca55d18e1b makefile for lateset 2011-04-13 12:54:54 -07:00
eddiemonge
55d82f47ac makefile reads jquery core version from the file 2011-04-13 11:01:25 -07:00
eddiemonge
a65ac5f268 change makefile to point to CDN 2011-04-13 10:47:21 -07:00
eddiemonge
5f487bbaec add images to path, remove nightly folder before moving to there so it doesnt go into a sub folder 2011-04-12 12:00:05 -07:00
eddiemonge
2a4cdac4bd change nightly to actual server path 2011-04-12 11:32:44 -07:00
eddiemonge
e4b2f3b98a Change git pull to be just 'git pull' 2011-04-12 11:28:40 -07:00
eddiemonge
96c1647e63 Changes so make can be run with just make nightly for the nightly builds 2011-04-11 18:18:19 -07:00
eddiemonge
38b8ee592a Changed Makefile to include nightly build script and other misc fixes 2011-04-11 15:57:02 -07:00
eddiemonge
88221323da Feature Request for issue 1177: Make Makefile output cleaner stuff 2011-04-07 12:39:38 -07:00
Kin Blas
6fa5002c7e Added jquery.mobile.vmouse.js to the build Makefile. 2011-03-30 08:04:45 -07:00
John Bender
891f9b1b07 moved initialization down in the build order, still requires some small refactoring 2011-02-20 18:07:17 -08:00
jeresig
ac519ba754 Simplifying the build script some more. 2011-02-04 09:38:21 -05:00
John Resig
950784e70f Make some tweaks to the deploy script. 2011-02-03 18:57:53 -05:00
John Resig
ba159afc88 Upgraded YUI Compressor to 2.4.4. 2011-02-03 17:03:03 -05:00
scottjehl
29fbc9c3c5 removed the Position plugin and modified selectmenu to position its menu without it. Removes off about 3-4kb after minify. 2011-01-29 07:15:40 -08:00
John Bender
b671753039 moved page above core in the makefile, build xml, and manifest under js. Fixes #619 2011-01-22 22:31:16 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
scottjehl
d56380fc22 refactor of jquery.mobile.core.js. Moved all of the page navigation model related scripting into jquery.mobile.navigation.js. This includes event handling for click, submit, and hashchange, all of the base tag management, path management, active link class handling, etc. All existing core tests are passing, and all demos work as expected. More tests are needed in core, and this refactor should make those tests easier to write. 2010-11-25 06:13:51 -05:00
scottjehl
364405e72e updated refs to core file 2010-11-19 17:40:02 -05:00
scottjehl
23ea598b83 added jquery ui position plugin 2010-11-19 17:30:22 -05:00
scottjehl
9ff89b7115 renamed jquery.mobile.js jquery.mobile.core.js. updated build files, etc to match 2010-11-18 22:50:33 -05:00
scottjehl
28a10ec74d Moved all of the media query and responsive design related scripting to jquery.mobile.media.js. This plugin can run independent of mobile core, with the exception that it does bind to orientationchange, which is defined in the events js. Fixes #388 2010-11-17 11:55:15 -05:00
John Resig
c9a34f1da2 Add versioning information to the headers of the CSS and JS files. 2010-11-11 17:02:45 -05:00
scottjehl
a71c7a936a fixed path to google compiler in Makefile 2010-10-25 11:27:54 -04:00
John Resig
f91b2523ff Merge clickable into buttonMarkup. Improve performance of the Button Markup plugin. 2010-10-21 17:18:59 -04:00
John Resig
e2fa299c8e Adjust sub-directory URLs before deploying the demos. 2010-10-15 18:00:49 -04:00
John Resig
f9ec1e46cd Fix mistake in Makefile deploy script. 2010-10-15 16:51:07 -04:00
John Resig
7e115d6036 Add in ability to push demos to the jQueryMobile.com server. 2010-10-15 16:49:40 -04:00
John Resig
47a45f5cbb Add deploy functionality to the build script. 2010-10-15 15:33:57 -04:00
John Resig
0e76a6c285 Add a way to generate a single zip file of a release. 2010-10-15 11:04:15 -04:00