Commit graph

3487 commits

Author SHA1 Message Date
John Bender
e3fb2e285b handle query strings for initial replaceState 2011-08-20 07:29:21 -07:00
John Bender
547afbf184 manually hoist variables 2011-08-20 07:21:49 -07:00
Michel Hartmann
9c088cd5ba Fixed closing the dialog, when the page is removed. 2011-08-20 06:31:20 +03:00
John Bender
1dd791175a proposed solution to the navigate, refresh, back button pushstate bug. the determination of the hash to be stored in the replaced state is done in a consistent fashion where, if there is no hash, its defaulted to the original load path by puting the logic in a central method. @scottjehl give it a try and let me know if this works for you 2011-08-19 18:54:29 -07:00
John Bender
12391923fc added comment to make sure folks aren't confused as to why one of the test pages is just a redirect 2011-08-19 18:41:24 -07:00
John Bender
66aec28d8a renamed redirect test pages for clarity in test suite runner 2011-08-19 14:08:37 -07:00
John Bender
a671c559f4 nav tests passing for both push state and hash 2011-08-19 14:02:35 -07:00
Todd Parker
6d7350ba86 Merge pull request #2309 from maxrabin/patch-1
Edited docs/about/features.html via GitHub. Thanks maxrabin!
2011-08-19 09:52:10 -07:00
maxrabin
b887fb9d59 Edited docs/about/features.html via GitHub 2011-08-19 23:33:18 +03:00
John Bender
d3a1acdca8 small fix to capture failures properly in test suite runner 2011-08-18 23:33:16 -07:00
scottjehl
b438472fec if no hash is present, run a replacestate. All nav tests still passing. 2011-08-18 22:41:13 -04:00
scottjehl
bf593857f6 degraded type should have been "text" instead of true. Addresses a comment in issue #2123 2011-08-18 22:01:58 -04:00
Kin Blas
ab1a52b51d With the exception of "ms", which we don't support anyways, all vendor prefixed CSS properties are converted into style object properties with a name that begins with an upper case. Note, that webkit duplicates these properties on the style object, such that the property can be referenced with a leading caps, or leading lower-case.
This change was necessary at least for the transitions branch because the lookup for the 'transform' property was failing on FireFox.
2011-08-18 16:40:08 -07:00
John Bender
7b122cacfc fixed tests to work with both pushstate and hash 2011-08-18 16:28:28 -07:00
John Bender
2c3d9bc2f1 removed extra replace state fire, need to check with @scottjehl 2011-08-18 16:25:21 -07:00
John Bender
ef52c8d312 updated core to use the url assertions for both hash and replace state 2011-08-18 14:13:39 -07:00
gseguin
e39a320214 Added unit tests for issue #1405 2011-08-17 18:15:57 -07:00
gseguin
9f3836e7b1 Fix for issue #1405: Moved assignment of $activeClickedLink to the vclick handler in charge of adding the active state 2011-08-17 17:32:55 -07:00
gseguin
d55b225ae9 Merge remote-tracking branch 'upstream/master' 2011-08-17 17:32:32 -07:00
John Bender
fb5d9df56f simplified the pushstate some more 2011-08-17 16:32:59 -07:00
John Bender
b197e760fd simplified the hash handling with help from @jblas 2011-08-17 16:22:09 -07:00
gseguin
6fb51b1d3d replaced ui-btn-active by $.mobile.activeBtnClass 2011-08-17 16:12:42 -07:00
John Bender
a8aa78d331 remove json_encode for those who aren't able to upgrade their version of php for god knows what reason ;) 2011-08-17 15:40:18 -07:00
John Bender
82dc08fee9 fixed listview tests for both pushstate and hash 2011-08-17 15:19:52 -07:00
gseguin
3737d170a0 Merge remote-tracking branch 'upstream/master' 2011-08-17 13:29:07 -07:00
John Bender
866b1b0db4 Merge pull request #2289 from SamuelKC/selectDomCacheFix2
check the domCache option before rebinding the page remove on select menu
2011-08-17 12:17:32 -07:00
gseguin
63c94d954d Added use of class ui-corner-none for France and United States in Icon list so the icons don't get rounded corners 2011-08-17 12:12:05 -07:00
gseguin
14bb9921be Reduced number of tests for "Top and bottom corners rounded in inset list" but added more meaningful tests 2011-08-17 12:10:18 -07:00
gseguin
a620d97868 Re-uses the boolean create at creation time to let the refresh functions know that they've been called by create 2011-08-17 12:09:07 -07:00
gseguin
bcd0a05982 Added .ui-corner-none 2011-08-17 12:07:05 -07:00
John Bender
b7d5df786f whitespace and comment merge conflict resolved 2011-08-17 11:09:05 -07:00
John Bender
81737dba6a small whitespace fix 2011-08-17 10:51:18 -07:00
John Bender
74300195b3 moved pushstate library disable and load into testhelper 2011-08-17 10:49:38 -07:00
John Bender
886cdcf927 setup pushstate tests 2011-08-17 10:25:51 -07:00
John Bender
5775dd19a4 whitespace in nav core tests 2011-08-17 10:05:24 -07:00
John Bender
eba4e7eeb4 switched path helper 2011-08-16 17:06:55 -07:00
John Bender
b41b0573d2 leverage the path helpers to get this right 2011-08-16 13:25:04 -07:00
John Bender
1a4dd41293 alterted base path tests as an example of how to preserve content testing while accomodating both possible url formats 2011-08-16 12:56:10 -07:00
John Bender
72ce65767e support embedded pages as a hash since the concatenated form represents a file 2011-08-16 12:55:03 -07:00
Samuel Padou
e8f78dacb1 check the domCache option before rebinding the page remove when closing a full page select menu 2011-08-16 13:57:07 +02:00
Samuel Padou
9da8114fca add test for domCache option handling when closing a full page select menu 2011-08-16 13:55:02 +02:00
John Bender
43b1b776d9 minor refactor for comprehension 2011-08-15 17:01:37 -07:00
John Bender
3d14498fe1 moved select caching tests out to a seperate test file to prevent issues in the core test suite 2011-08-15 13:00:01 -07:00
John Bender
907cf655b3 fixed navigation base tests to handle the relative internal page issue by using the click hack, per @jblas 2011-08-15 12:46:09 -07:00
John Bender
b0c20e9d2a whitespace 2011-08-15 12:45:31 -07:00
John Bender
5b4a29e643 added **/*-tests.html glob convention to the test suite runner to make it easier to include seperate files in the suite 2011-08-15 12:09:56 -07:00
John Bender
5c40e69c3a moved the relative path changing tests to the bottom of the core file, this is not a solution only a temporary fix. moving the relative path changing tests to another test file will most likely be the next move 2011-08-15 11:45:47 -07:00
scottjehl
c864dac3b1 added replacestate to the tests, as that's the method we're using 2011-08-14 13:44:40 -04:00
scottjehl
0512916e72 centralized the hashchange fired flag 2011-08-14 10:20:14 -04:00
scottjehl
854ce44179 timeout number is arbitrary. Still looking for a way around it though. 2011-08-14 10:03:16 -04:00