2010/4/11 Marc Delisle marc@infomarc.info:
Philip Frank a écrit :
2010/4/11 Michael Keck sfnet@michaelkeck.de:
Am 11.04.2010 14:53, schrieb Philip Frank:
I don't quite get it... Is the "upload progress bar" the same as the "import progress bar"? I'm willing to spend some time on porting mootools code to jQuery today, but wouldn't want get in the way of what Michael is working on. So, what exactly do these progress bars show?
Philip,
my explained progressbar was an idea for uploading. I've not done anything for the import progressbar.
If you want porting mootools code to jQuery please still go on.
One tip I've for you with jQuery UI Progressbar: Update the progressbar with $('#your_element').progessbar("value", your_value + "%"); would make problems, cause this call would take to much time. Please use this: $('#your_element .ui-progress-bar-vakue').css({ 'width' : your_value
- '%' });
This sets the new width of the progressbar directly and is faster.
Michael
I dug through the related code, display_import.lib.php, import_status.php and import.php. I'm not sure if I overlooked it, but there is no tracking of progress while running an import. I couldn't get the ajax import to work on the current master, it just silently falls back to an ordinary post.
Philip, I think it's broken in the current master. If you checkout the QA_3_3 branch you'll see it work.
Breakage might be because of the ongoing conversion to jQuery.
And it's supposed to be a progress bar just for the uploading part of the import.
I just submitted a patch for this: https://sourceforge.net/tracker/?func=detail&aid=2986073&group_id=23...
From looking at the code and porting some to jQuery I figured the
following: A progress bar is displayed if the php extension apc or uploadprogress is installed, but it shows the progress of the file upload, not that of the import, which just happens without intermediate output. So, Michael, what you are doing with Flash is already there, only working when certain server extensions are available.
-- Marc Delisle http://infomarc.info
Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel