[webkit-dev] print file name and line number while executing javascript

by Jérôme Lebelon 2009-04-22T09:58:48+00:00
Hi,
I'm working a very specific platform built on top of Mac OS X. On my
own platform I need to use WebKit. In order to have WebKit, I've
redone my own webkit framework (in c++) and my own webkit uses webcore
framework (almost unchanged) and javascxript core (totally unchanged).
Everything works... almost... I can even display the google map in my
own platform. I can zoom in, move the map. The only bug is as soon as
I resize my window, the google map becomes gray. According to my tests
(using innerHTML), the javascript from google doesn't produce the
right html. So it doesn't seem to be a display problem. I suspect some
javascript events are not triggered or may too much javascript events
are triggered, and then the google map code is confused.
So my question is : Is there a way to do printf in javascript core,
somewhere, to display all the javascript command executed and also to
display the file name and the line number where they are?
To solve my problem I wish to compare a google map being resized
using the regular webkit (in objective-c for appkit) with my own
webkit (in c++ for my platform).
Thanks
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

[webkit-dev] drag'n'drop file uploads

by Philip Orron 2009-04-22T10:48:07+00:00.
--_69cc56f7-8822-4e07-a527-4466d129d4c8_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Does anyone have any pointers on drag and drop files from the finder
directly into a web page or section of a web page. I've got examples in
Firefox for this but sadly lacking in WebKit knowledge.
Thanks
Philip
_________________________________________________________________
Share your photos with Windows Live Photos =96 Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/=
--_69cc56f7-8822-4e07-a527-4466d129d4c8_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable



.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}






.ExternalClass .EC_hmmessage P
{padding:0px=3B}
.ExternalClass body.EC_hmmessage
{font-size:10pt=3Bfont-family:Verdana=3B}

Does anyone have any pointers on drag and drop files from the finder
directly into a web page or section of a web page. I've got examples in
Firefox for this but sadly lacking in WebKit knowledge.ThanksPhilip"
Upgrade to Internet Explorer 8 Optimised for MSN. =20
" Download Now
=
--_69cc56f7-8822-4e07-a527-4466d129d4c8_--
I found my solution : the user agent... Since I created my own webkit, =
I didn't take the time to create the right user agent. Now that I =
created one (with the right webkit version), google map works correctly.
Thanks,
Le 22 avr. 09 =E0 11:58, J=E9r=F4me Lebel a =E9crit :
> Hi,
>
> I'm working a very specific platform built on top of Mac OS X. On my =
> own platform I need to use WebKit. In order to have WebKit, I've =
> redone my own webkit framework (in c++) and my own webkit uses =
> webcore framework (almost unchanged) and javascxript core (totally =
> unchanged).
>
> Everything works... almost... I can even display the google map in =
> my own platform. I can zoom in, move the map. The only bug is as =
> soon as I resize my window, the google map becomes gray. According =
> to my tests (using innerHTML), the javascript from google doesn't =
> produce the right html. So it doesn't seem to be a display problem. =
> I suspect some javascript events are not triggered or may too much =
> javascript events are triggered, and then the google map code is =
> confused.
>
> So my question is : Is there a way to do printf in javascript core, =
> somewhere, to display all the javascript command executed and also =
> to display the file name and the line number where they are?
> To solve my problem I wish to compare a google map being resized =
> using the regular webkit (in objective-c for appkit) with my own =
> webkit (in c++ for my platform).
>
>
>
> Thanks
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] drag'n'drop file uploads

by Darin Adleron 2009-04-22T18:35:12+00:00.
On Apr 22, 2009, at 3:47 AM, Philip Orr wrote:
> Does anyone have any pointers on drag and drop files from the finder =
> directly into a web page or section of a web page. I've got examples =
> in Firefox for this but sadly lacking in WebKit knowledge.
Maybe if you pointed to the examples =93in Firefox=94 we could get a =
better idea of what you=92re talking about. If they are based on web =
standards and don=92t depend on Firefox-specific features, then there=92s =
a good chance they can be made to work in WebKit-based browsers as =
well. Perhaps there are bugs getting in the way.
-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] drag'n'drop file uploads

by Philip Orron 2009-04-22T20:45:36+00:00.
--_925a46e3-e8be-4d92-9980-c09e403f7adb_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
> > Does anyone have any pointers on drag and drop files from the finder =20
> > directly into a web page or section of a web page. I've got examples =20
> > in Firefox for this but sadly lacking in WebKit knowledge.
>=20
> Maybe if you pointed to the examples =93in Firefox=94 we could get a =20
> better idea of what you=92re talking about. If they are based on web =20
> standards and don=92t depend on Firefox-specific features=2C then there=
=92s =20
> a good chance they can be made to work in WebKit-based browsers as =20
> well. Perhaps there are bugs getting in the way.
>=20
> -- Darin
>=20
Unfortunately the Firefox version uses the XPConnect bridge to get permissi=
ons handling and the XPCOM for the low level stuff.
Here is a link to the source:
http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and=
_drop_file_upload_script_p.htm
I'm looking to create web applications in HTML5 and CSS3.0 that allow a use=
r to drag either individual files or a folder of files into the application=
and are then manipulated and stored with reference to the actual files in =
the database. Once completed all files are then fired off to the server to =
final composition.
I remember looking into this a while ago and finally gave up=2C only now we=
actually could really do with the ease of use and was hoping the Webkit ni=
ghtly builds could have helped to provide the goods.
Philip
_________________________________________________________________
View your Twitter and Flickr updates from one place =96 Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/=
--_925a46e3-e8be-4d92-9980-c09e403f7adb_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable



.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}



>=3B >=3B Does anyone have any pointers on drag and drop files from the=
finder >=3B >=3B directly into a web page or section of a web pag=
e. I've got examples >=3B >=3B in Firefox for this but sadly lacki=
ng in WebKit knowledge.>=3B >=3B Maybe if you pointed to the ex=
amples =93in Firefox=94 we could get a >=3B better idea of what you=
=92re talking about. If they are based on web >=3B standards and don=
=92t depend on Firefox-specific features=2C then there=92s >=3B a go=
od chance they can be made to work in WebKit-based browsers as >=3B =
well. Perhaps there are bugs getting in the way.>=3B >=3B =
-- Darin>=3B Unfortunately the Firefox version uses the XPCon=
nect bridge to get permissions handling and the XPCOM for the low level stu=
ff.Here is a link to the source:http://straxus.javadevelope=
rsjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.=
htmI'm looking to create web applications in HTML5 and CSS3.0 that =
allow a user to drag either individual files or a folder of files into the =
application and are then manipulated and stored with reference to the actua=
l files in the database. Once completed all files are then fired off to the=
server to final composition.I remember looking into this a while a=
go and finally gave up=2C only now we actually could really do with the eas=
e of use and was hoping the Webkit nightly builds could have helped to prov=
ide the goods.PhilipSurfing the web just got more r=
ewarding. Download the New Internet Explorer 8
=
--_925a46e3-e8be-4d92-9980-c09e403f7adb_--

Re: [webkit-dev] drag'n'drop file uploads

by Adam Barthon 2009-04-23T05:19:17+00:00.
You can drag and drop a file onto the file input control, which you
can create using . I'm not sure if that addresses
your use case.
Adam
On Wed, Apr 22, 2009 at 1:45 PM, Philip Orr wrote:
>> > Does anyone have any pointers on drag and drop files from the finder
>> > directly into a web page or section of a web page. I've got examples
>> > in Firefox for this but sadly lacking in WebKit knowledge.
>>
>> Maybe if you pointed to the examples =93in Firefox=94 we could get a
>> better idea of what you=92re talking about. If they are based on web
>> standards and don=92t depend on Firefox-specific features, then there=92s
>> a good chance they can be made to work in WebKit-based browsers as
>> well. Perhaps there are bugs getting in the way.
>>
>> -- Darin
>>
>
> Unfortunately the Firefox version uses the XPConnect bridge to get
> permissions handling and the XPCOM for the low level stuff.
>
> Here is a link to the source:
>
> http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_a=
nd_drop_file_upload_script_p.htm
>
> I'm looking to create web applications in HTML5 and CSS3.0 that allow a u=
ser
> to drag either individual files or a folder of files into the application
> and are then manipulated and stored with reference to the actual files in
> the database. Once completed all files are then fired off to the server to
> final composition.
>
> I remember looking into this a while ago and finally gave up, only now we
> actually could really do with the ease of use and was hoping the Webkit
> nightly builds could have helped to provide the goods.
>
> Philip
>
> ________________________________
> Surfing the web just got more rewarding. Download the New Internet Explor=
er
> 8
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev