[webkit-dev] Disabling the scrollbars

2010-05-31 Thread Aram Hăvărneanu
Hello, I'm embedding WebKit in a Windows application. It works fine.

However, I'd like to disable the scrollbar that appears when the
`data' is bigger then a client area (just as WebKit on the iPhone
does). Is there a way to disable the scrollbar, or detect when a
scrollbar is needed? Thanks.

-- 
Aram Hăvărneanu
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] JavaScriptCore export symbols

2010-05-31 Thread Kevin Ollivier
Hi all,

I'm trying to switch over to building JavaScriptCore as a shared library for 
the wx port, but one issue I'm hitting is the issue of export symbols. I was 
wondering how other ports handle this? I know Apple / Win and Apple / Mac have 
export symbol files, but I'd like to avoid manually creating and maintaining 
such files, and at the same time, using the Apple / Win and Apple / Mac files 
seems like it will require a number of adjustments to my build process to get 
working. (e.g. it wants symbols specific to those ports) So I'm wondering, what 
are my options here? Would it be acceptable to start adding JS_EXPORT to 
functions in the JSCore library that are needed by DRT, etc.? 

Thanks,

Kevin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] JavaScriptCore export symbols

2010-05-31 Thread Osztrogonac Csaba

Hi,

Kenneth surely thought about this bug:
https://bugs.webkit.org/show_bug.cgi?id=27551

br,
Ossy

Kenneth Christiansen wrote:

Hi Kevin,

They export privately using some files listing the symbols to be
exported (mac supports that as so does visual studio, I believe). We
cannot do this for Qt, so if you search bugzilla you will find that we
have some old patches adding export declarations to the classes being
exported (or the individual symbols, if that made more sense)

Cheers,
Kenneth

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] JavaScriptCore export symbols

2010-05-31 Thread Kevin Ollivier
Hi Kenneth,

On May 31, 2010, at 11:09 AM, Kenneth Christiansen wrote:

 Hi Kevin,
 
 They export privately using some files listing the symbols to be
 exported (mac supports that as so does visual studio, I believe). We
 cannot do this for Qt, so if you search bugzilla you will find that we
 have some old patches adding export declarations to the classes being
 exported (or the individual symbols, if that made more sense)

So what's the status on that? From the bug tracker link Ossy sent, it looks 
like the patch never made it through review, and eventually had the review bit 
unset because of code rot. Are you guys patching a git branch or something? 

Thanks,

Kevin

 Cheers,
 Kenneth
 
 On Mon, May 31, 2010 at 3:03 PM, Kevin Ollivier kev...@theolliviers.com 
 wrote:
 Hi all,
 
 I'm trying to switch over to building JavaScriptCore as a shared library for 
 the wx port, but one issue I'm hitting is the issue of export symbols. I was 
 wondering how other ports handle this? I know Apple / Win and Apple / Mac 
 have export symbol files, but I'd like to avoid manually creating and 
 maintaining such files, and at the same time, using the Apple / Win and 
 Apple / Mac files seems like it will require a number of adjustments to my 
 build process to get working. (e.g. it wants symbols specific to those 
 ports) So I'm wondering, what are my options here? Would it be acceptable to 
 start adding JS_EXPORT to functions in the JSCore library that are needed by 
 DRT, etc.?
 
 Thanks,
 
 Kevin
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 
 
 
 -- 
 Kenneth Rohde Christiansen
 Technical Lead / Senior Software Engineer
 Qt Labs Americas, Nokia Technology Institute, INdT
 Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] JavaScriptCore export symbols

2010-05-31 Thread Lucas De Marchi
On Mon, May 31, 2010 at 3:03 PM, Kevin Ollivier kev...@theolliviers.com wrote:
 Hi all,

 I'm trying to switch over to building JavaScriptCore as a shared library for 
 the wx port, but one issue I'm hitting is the issue of export symbols. I was 
 wondering how other ports handle this? I know Apple / Win and Apple / Mac 
 have export

For EFL port (with CMake build system), there's an option to build
JavaScriptCore, WebCore, wtf as shared libraries. It takes out the
-fvisibility=hidden passed to gcc, so they will have the default
visibility (visible). For release builds, visibility=hidden is passed
to gcc, but there will be only one final shared library, the others
will be static. Users of this library may use only methods inside
WebKit/efl/ewk/* that are properly marked as visibility=default.


Lucas De Marchi
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev