Giter VIP home page Giter VIP logo

iui's People

Contributors

eslindsey avatar mikhailxu avatar msgilligan avatar prust avatar remi-grumeau avatar truedat101 avatar

Watchers

 avatar

iui's Issues

Patch: dynamic height for dialogs

This patch ensures that elements using the .dialog css class will "shade"
the entire current window, including offscreen (scrolling).

See http://forum.wphoneplugin.org/viewtopic.php?id=45

In our context, we were starting with a list that did not require scrolling
(height = 417px), but were sliding to other screens that did (height =
452px, 498px, ...). In this context, the translucent shading stopped at the
original window height.

Original issue reported on code.google.com by [email protected] on 28 Nov 2007 at 4:21

Attachments:

iPod Touch - Search Bar (Modal) cuts off right side

Using the Demo Music app on Joe's example site I...

1. Clicked Search
2. Artist and Song text boxes are cut off on the right
3. Some other areas (Usage screen under Stats) seems to be cut off the same
length.
4. Looks like 10 pixels

Not sure if the screen resolution size of the iPod vs the iPhone are
different? Haven't had a chance to get into the iUI code just yet, may
possibly submit a patch.

Original issue reported on code.google.com by [email protected] on 30 Sep 2007 at 5:09

Support for Red Button's

Should have a CSS class and image file added to mimic the red delete buttons 
found on the iPhone.


Original issue reported on code.google.com by [email protected] on 20 Nov 2007 at 5:14

Google ads cause pages not to load

When I put google ads on one of my pages, the page failed to load using
AJAX. The page just keeps loading. 

I don't want to launch my site until I am sure that I have a way of paying
for it. So I really need Goggle ads.

Original issue reported on code.google.com by [email protected] on 10 Aug 2007 at 2:10

I have found that some iUI pages are too wide

What steps will reproduce the problem?
1. Go to nhlapp.com/StoreFinder
2. Click on Twenty Ninth Street
3. Scroll to the right

What is the expected output? What do you see instead?
The page should be 320px wide, but appears to be about 420px wide.


What version of the product are you using? On what operating system?
I am using the most recent version of iUI on my iPhone.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Oct 2007 at 4:48

file:/// links don't work.

What steps will reproduce the problem?
1. Make a link to any file in your system using file:///
2. Try to click the link.
3. Nothing happens.

What is the expected output? What do you see instead?
Expected: to load file.
Instead: nothing happens.

What version of the product are you using? On what operating system?
Latest version, OS X Camino and Safari 3.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Oct 2007 at 1:21

Need to define and automate a release process

iUI releases should be made available as zipfiles and/or tarballs.

The release process should be clearly documented so that any developer can
build/verify a release from a tagged version in SVN.

Original issue reported on code.google.com by [email protected] on 10 Oct 2007 at 6:09

There is no way to link to an external source.

Any links will not do anything unless they are to another part in the current 
page that I have 
found anyways.

What is the expected output?
Visiting another web page

What do you see instead?
Same Page I was currently on

Please provide any additional information below.

Fairly simple problem that just needs to have the iui.js section for links 
rewritten to allow 
external linking in some way and not just set for linking to self.

I'm not an expert in Javascript at all or I would try and just fix something 
this simple (or 
seemingly simple) myself

Original issue reported on code.google.com by [email protected] on 10 Jul 2007 at 3:18

Packed version doesn't submit forms

What steps will reproduce the problem?
1. use iuix.js
2. submit data via POST in a form using the movie sample as reference

Firebug output:
args is not defined
http://localhost//me/Sites/iPhone/iui/iuix.js
Line 1
encode([input http://google.com, input add, input Add])iuix.js (line 1)
encodeForm(form#addurl.panel actions.browse.php)iuix.js (line 1)
submitForm(form#addurl.panel actions.browse.php)iuix.js (line 1)
showPage(submit )

iui.js works fine.

Source:
        <form id="addurl" action="actions.browse.php" class="panel" method="POST"
title="Add URL To My Apps">
            <fieldset>
                <div class="row">
                    <label>URL</label>
                    <input type="text" name="url" value="" />
                </div>
                <div class="row">
                    <input type="hidden" name="a" value="add" />
                </div>
            </fieldset>
            <input type="submit" value="Add" />
        </form>

Original issue reported on code.google.com by [email protected] on 14 Jul 2007 at 5:21

Attachments:

Need automated CSS compressor

The file iuix.css that is currently in SVN was generated from iui.css using:

http://www.cssdrive.com/index.php/main/csscompressor/
with the following options:
(Super Compact, Strip All Comments)

iuix.css should be deleted from CSS as it is not truly a "source" file.  We
should decide upon a CSS compressor that is callable from Ant, and use that
in our build process, so we don't have to manually keep the two files in synch.

Original issue reported on code.google.com by [email protected] on 15 Oct 2007 at 9:14

Inline images using data: url scheme (RFC 2397)?

Would using the data: url schema to inline the images reduce round trips enough 
to improve 
performance?  The resulting iui.css/iuix.css would need to be served with gzip 
encoding to offset 
the expansion caused by the base64 encoding. 

http://www.ietf.org/rfc/rfc2397.txt
http://en.wikipedia.org/wiki/Data:_URI_scheme


Original issue reported on code.google.com by [email protected] on 16 Jul 2007 at 8:48

1.1.1 iPhone Update breaks look of title bar

What steps will reproduce the problem?
1. Installing 1.1.1 iPhone update released 9/27/07
2. Opening any default iUI page

What is the expected output? What do you see instead?
The title bar is taller than it should be, and extends halfway through the 
first item listed.

What version of the product are you using? On what operating system?
The most recent version as of 9/27/07



Original issue reported on code.google.com by [email protected] on 27 Sep 2007 at 7:34

iPhoney specific tweaks (w/ patches)

Not having access to an iPhone or iPod touch until yesterday, yet having
been developing for the platform for a while now (...), I've found myself
relying on Marketcircle's iPhoney app to get a "preview" of how the app
will look natively. Not the best, but better than Safari on a few specific
points (eg: Safari [mac] won't let us resize the window to less than 393
pixels wide manually...).

Anyway, there is a tiny contextual thing that made it a nightmare to use
until I tweaked iUI slightly.

Because iPhoney has the regular desktop safari scrollbar, loading an iUI
app in it that required vertical scrolling made the window's inner width
305 pixels instead of 320 pixels.

Because of this, and the fact that checkOrientAndLocation() is called every
300 milliseconds while checking for an exact width of 320 pixels, the
behavior went like this:

 * onload: iUI sees width as 305px so switches to landscape mode, which
makes the scrollbar disappear (though the "device is still in
portrait/profile mode)
 * now that scrollbar is gone, the inner width is seen as 320 px, which
makes iUI switch back to portrait/profile mode, and makes the scrollbar
reappear.
 * and so on, every 300ms, which creates a *dancing* effect (scrollbar
shows/hides). :p

The simple fixes I implemented, and do not seem to break the intended
logic, can be found in the attached patches.
I submitted one for iui.css and one for iui.js separately (both against
rev7 in /trunk) in case you find that the css-level tweaks are not
appropriate for general consumption.

On another note, this will also help with other [future] devices
potentially supporting iUI, with a different portrait screen width, which
echo's mobile safari HTML warning to use the "device-width" constant,
instead of a physical pixel width, in the viewport meta tag for "future
compatibility".

Hoping it'll make sense. :-)

Cheers,

Stephane Daury
http://tekartist.org/

Original issue reported on code.google.com by [email protected] on 13 Oct 2007 at 1:56

Attachments:

Suggestions for Ant Release Builder Script

* /trunk/tools should probably be called /trunk/releasetools as
someday there may be a need for a tools dir. If possible,
build.properties and build.xml should be in that folder too.

* The ant task should probably be named iui-tarball or something, in
case someone is using ant for other tarball tasks.

Original issue reported on code.google.com by [email protected] on 17 Oct 2007 at 2:12

AJAX links cause window to scroll up while loading revealing Safari address bar

To reproduce the problem:
1. open up http://www.mountainmighty.com/ on iphone
2. click on "Doctrine & Covenants", then click on Chapter 4 (Ajax link). You'll 
see the page scroll up 
while loading, then down when the ajax call is complete.

What is the expected output? What do you see instead?
When clicking on a link the page shouldn't scroll.

What version of the product are you using? On what operating system?
Using iuix.js and iuix.css, revision 5 on iPhone



Original issue reported on code.google.com by [email protected] on 12 Jul 2007 at 5:39

Organization of /example

Ideally we should differentiate between the static web examples (which 
incidentally can be 
demonstrated from the web-based SVN pages) and the examples that require a 
back-end scripting 
language.

Two possible organizations:

/examples
/examples/static
/examples/php
/examples/ruby

The other way is to put the static examples at the /examples root.

Original issue reported on code.google.com by [email protected] on 18 Oct 2007 at 11:05

NoSuchMethodError in Trunk's Release Build Script

What steps will reproduce the problem?
1. Mac OS X 10.4 with Developer Tools installed
2. Check out iui trunk
3. mkdir -p ~/.ant/lib ; cp
tools/lib/*.jar ~/.ant/lib
4. ant -p
5. ant tarball

What is the expected output? What do you see instead?

Should create tarball of release.

Instead get:

BUILD ERROR
java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.compressScript(Lorg/mozilla/javascript/Script;I)L
java/lang/String;

Please use labels and text to provide additional information.

Terminal Log:

=================
Last login: Tue Oct  2 12:30:19 on console
Welcome to Darwin!
atlasbak:~ ChristopherA$ cd sites
atlasbak:~/sites ChristopherA$ cd iui
atlasbak:~/sites/iui ChristopherA$ cd trunk
atlasbak:~/sites/iui/trunk ChristopherA$ mkdir -p ~/.ant/lib ; cp
tools/lib/*.jar ~/.ant/lib
atlasbak:~/sites/iui/trunk ChristopherA$ ant -p
Buildfile: build.xml

               Build file for iUI distributions, type "ant -p" on the
command line for project help

Main targets:

 clean       Remove all generated files
 docopy      Copy Files to Release Directory
 release     Upload to download ara of project site, requires Ant 1.7
 releasedir  all tasks to build releasedir
 shrink      Create iuix.js by compressing iui.js
 tarball     Make the tarball
 zipfile     Make the zipfile
Default target: tarball
atlasbak:~/sites/iui/trunk ChristopherA$ ant tarball
Buildfile: build.xml

docopy:
   [mkdir] Created dir: /Users/ChristopherA/Sites/iui/trunk/target/release
    [copy] Copying 19 files to
/Users/ChristopherA/Sites/iui/trunk/target/release

shrink:
[compress-js] Compress JS task provided by LCA Soft Ltd (www.lcasoft.com).
[compress-js] Compressing 1 file to
/Users/ChristopherA/Sites/iui/trunk/target/release

BUILD FAILED
java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.compressScript(Lorg/mozilla/javascript/Script;I)L
java/lang/String;

Total time: 1 second
atlasbak:~/sites/iui/trunk ChristopherA$
==========




Original issue reported on code.google.com by [email protected] on 17 Oct 2007 at 2:09

No PHP URL Variables

What steps will reproduce the problem?
1. link to page.php?var=1
2. try to access the variable in the page ( echo $var;
3. variable is not passed thorough 

You should be able to pass a variable through a link, 


Using the latest build as of October 1st; running OS X Tiger



Original issue reported on code.google.com by [email protected] on 2 Oct 2007 at 4:25

Overflow of label tag will cause overlapping text.

What steps will reproduce the problem?
1. Create a label tag for an input item, and have the label text be greater
than 13 characters.
2. Load the webpage

What is the expected output? What do you see instead?
Label field width's to be adjusted accordingly, instead the text of the
input box and label field overlap.

What version of the product are you using? On what operating system?
v0.11 7/16/2007 on an iPhone

Original issue reported on code.google.com by [email protected] on 19 Jul 2007 at 10:43

Textarea form elements are not submitted

If you add a textarea element to a form, iUI will not pass the data on.  All 
that has to be done is 
have this line added:
    encode(form.getElementsByTagName("textarea"));

after this line of code:
    encode(form.getElementsByTagName("select"));

Original issue reported on code.google.com by [email protected] on 30 Jul 2007 at 2:06

Completely breaks in any asp.net site

What steps will reproduce the problem?
1. Try and build a asp.net page with this library.


asp.net sites require a runat="server" form tag surrounding any serverside
feedback, a dumb problem... but nevertheless I think a few things could
make this work both sides easily.

CSS - references on immediate children is a easy fix that appears to work
with just removing >

JS - It would appear most of the calls, to determine current page etc are
iterating through document.body.childrenNodes, I replaced this with a
reference to formtag, and it would seem like its doing as it should as far
as finding the intiially selected tag.

This is where my knowlege and the use of my comments etc, are of little
help. I dont quite get what else is going on behind the scenes. I'd like to
help where I can, but I currently dont get any display at all. It all has
to do with wrapping a <form> tag around all divs. Can you guys provide any
assistace?

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Jul 2007 at 8:07

Upper left hand icon moves a couple of pixels when clocked

What steps will reproduce the problem?
1. click on any list item
2.
3.

What is the expected output? What do you see instead?
Upper left hand icon just slides

What version of the product are you using? On what operating system?
Demo site

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 15 Aug 2007 at 1:36

target="_replace" doesn't work as expected when there are two (or more) such links

On a page with content that looks similar to this:

<ul>
  <li><a href="page1" target="_replace">First Page</a></li>
  <li><a href="page2" target="_replace">Second Page</a></li>
</ul>

Clicking on the "First Page" will get the contents of page1 but the content
is placed _after_ <li><a href="page2" target="_replace">Second Page</a></li>.

The contents should be placed before the "Second Page" link.

I tried this patch and it worked fine for my case.

diff -Nrub /Users/dous/Desktop/iui/iui.js /Users/dous/Desktop/iui/iui.js.new
--- /Users/dous/Desktop/iui/iui.js  2007-07-16 14:03:04.000000000 +0800
+++ /Users/dous/Desktop/iui/iui.js.new  2007-08-31 04:10:04.000000000 +0800
@@ -366,10 +366,10 @@
     var frag = document.createElement(parent.localName);
     frag.innerHTML = source;

-    page.removeChild(parent);
-
     while (frag.firstChild)
-        page.appendChild(frag.firstChild);
+        page.insertBefore(frag.firstChild, parent);
+
+    page.removeChild(parent);
 }

 function $(id) { return document.getElementById(id); }


Original issue reported on code.google.com by [email protected] on 30 Aug 2007 at 8:10

Toolbar too big vertically

What steps will reproduce the problem?
1. Create a site using IUI version 1.2
2. Look at toolbar
3. You'll see it overlaps text beneath the toolbar

The version on Joe's site works fine, so I downloaded that and used it
instead. 

Original issue reported on code.google.com by [email protected] on 31 Oct 2007 at 11:17

Radio buttons?

Is there support for radio buttons?  Regular HTML ones look huge... :p

Original issue reported on code.google.com by [email protected] on 18 Jul 2007 at 6:44

Return from Search Button Broken in Music Sample

What steps will reproduce the problem?
1. Go to music sample
2. Go to search
3. Do a search
4. Click on the return to search button

What is the expected output? What do you see instead?
Should return back to search page.


Original issue reported on code.google.com by [email protected] on 1 Nov 2007 at 7:49

Named anchors do not function because of current url scheme.

Anchor tags don't work because of the pound since in the url scheme. i.e. 
replicating this behavior 
in iUI is currently not possible: 
http://subversion.tigris.org/faq.html#in-place-import -- load page, 
scroll to #in-place-import anchor

 Since the # in the url is special in iUI, it would be nice to be able to be able to use a function that 
would load a page and auto-scroll down the page to a specific location.

Original issue reported on code.google.com by [email protected] on 9 Oct 2007 at 6:43

Visible feedback on form submission

When doing, say, a search from a form, there need to be some sort of visual
feedback that it is accessing the page. If the search takes more than a
second or so to come back, it looks like it froze, even though the cgi may
still be running.

Original issue reported on code.google.com by [email protected] on 17 Jul 2007 at 6:45

Drag - reordering?

More of a feature request: 'twould be just so amazingly awesome if you
could drag-reorder your list, perhaps in some modal way like bookmarks in
iPhone Safari?

alternately, like this:

song  ->
 reorder ->
  up
  down
  top
  bottom
  position ->
    1
    2
    3
    4
    N

Original issue reported on code.google.com by [email protected] on 14 Jul 2007 at 6:45

XMLHttpRequest needs a try/catch block

To be safe when handling various kinds of links, the
XMLHttpRequest.open(...) should be inside a try catch block, just in case
something went wrong.

    try {
                req.open(method || "GET", href, true);
                req.send(null);
            }
            catch(e) {
                if (cb)
                    cb(false);
                return null;
            }

Original issue reported on code.google.com by [email protected] on 9 Oct 2007 at 8:54

Buttons have no shape behind them on Firefox 2.0.0.7

iUI release 0.13 is entirely functional on Firefox 2.0.0.7, however, the 
buttons have now shape 
behind them. We don't need to exactly emulate the iPhone buttons, but they 
should at least have a 
rounded-rect behind them.

Original issue reported on code.google.com by [email protected] on 1 Nov 2007 at 8:02

Linking to media files doesn't work

1. Link to a media file (I used an MP3)
2. Navigate to it in the webapp

It should launch the movie player like it does when you tap a media file
somewhere else.

Tested using Firmware 1.1.1 on an iPod Touch (I have not tried it on an
iPhone, but due to the basic similarities of the web browsers on both
platforms, I am assuming it has the same problem.


Original issue reported on code.google.com by [email protected] on 13 Oct 2007 at 6:51

White useless margin on the right of the "panel" layout

What steps will reproduce the problem?
1. "Music" sample code
2. Go to "Settings" or to the "Player"
3. Scroll horizontally

What is the expected output? What do you see instead?
On this view the user should not be able to scroll horizontally: the grey 
pinstripe background is 
too wide and there is an extra useless white margin on the right instead.

What version of the product are you using? On what operating system?
iui0.12 on iPhone 1.1.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Nov 2007 at 3:16

updatePage() will set page title wrong if the name attribute of a form field is set to "title"

What steps will reproduce the problem?
If there is a field in a form which has the name attribute set to "title" the 
updatePage() function will 
use this field for filling the "pageTitle" element 

for example:
<input type="text" id="id_title" name="title" value="Startpage" />

What is the expected output? What do you see instead?
Of course it should use the title attribute of the selected page.

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.
Have a look at the attached patch, which uses getAttribute to access the title 
attribute for the page 
title

Original issue reported on code.google.com by [email protected] on 1 Nov 2007 at 3:40

Attachments:

Images are not generally usable

There are a number of images that are matted against a specific colour. While 
this is great if you 
want to reproduce the iPhone/Touch L&F exactly, if you want to use your own 
branding for what 
ever reason, you're hosed. Because of the (lack of) available space, I think 
its likely that most 
people are going to add branding details to the top bar. However, recreating 
those graphics with 
the correct background will be difficult. 

To the best of my knowledge, the iPhone handles PNG alpha correctly so its 
simply a matter of 
releasing the images without the background colour. The back button is 
particularly difficult to 
reproduce. 

The following images are problematic:
backButton
blueButton
loading (but that's easy to reproduce online)
toolButton



Original issue reported on code.google.com by [email protected] on 29 Nov 2007 at 7:00

Unvalued attribute "selected" should be more lenient in allowed values and/or should be replaced with something else

The attribute test in line 131 of getSelectedPage
    if (... child.getAttribute("selected") == "true")
is a bit too restrictive.  It would be preferable if it accepted any truthy
value.  At the very least it should accept selected="selected" as an
alternative to selected="true".

Some XHTML template renderers (*cough* Genshi *cough*) like to play God. 
XHTML which is written as selected="true" will be delivered to the client
as selected="selected".  Thanks, python heroes, you saved me from actually
serving to my clients what I really did want to serve them!  :)

(The line ref above refers to version 7 in svn.)

Original issue reported on code.google.com by [email protected] on 13 Sep 2007 at 4:28

Need procedure for release notes management

Currently there are release notes in an SVN file called
{{{releaseNotes.txt}}} which is copied into the release tarball.  I forgot
to update them for REL-0.30.  Sorry.

At a minimum, the ReleaseProcess wiki page should probably be updated to
remind the release engineer to do it.

Or perhaps there is a way of automating the generation of release notes? 
Perhaps by using the Issues DB?

Original issue reported on code.google.com by [email protected] on 5 Nov 2007 at 8:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.