[webkit-dev] Error while building webkit on windows

2014-03-04 Thread Baskar CV
When i was trying to built WebKit on windows 7 using visual studio 2013
and building JavaScriptCoreGenerated. I got this following 3 error messages

Error2error MSB3073: The command %SystemDrive%\cygwin\bin\which.exe 
bash
if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
set PLATFORMARCHITECTURE=32
nmake /nologo -f WTFGenerated.make exited with code 2.C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets385
WTFGenerated

Error3error MSB3073: The command REM Do not edit from the Visual 
Studio IDE! Customize via a WTFPreBuild.cmd file.
if not exist C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd exit /b

set CONFIGURATIONBUILDDIR=C:\webkitop\Debug
set CONFIGURATIONNAME=Debug
set INPUTDIR=
set INPUTFILENAME=
set INPUTPATH=
set INTDIR=C:\webkitop\Debug\obj32\WTF\
set OUTDIR=C:\webkitop\Debug\bin32\
set PLATFORMARCHITECTURE=32
set PLATFORMNAME=Win32
set PROJECTDIR=C:\WebKit\Source\WTF\WTF.vcxproj\
set PROJECTFILENAME=WTF.vcxproj
set PROJECTNAME=WTF
set PROJECTPATH=C:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj
set SOLUTIONDIR=C:\WebKit\Source\WebKit\WebKit.vcxproj\
set SOLUTIONFILENAME=WebKit.sln
set SOLUTIONNAME=WebKit
set SOLUTIONPATH=C:\WebKit\Source\WebKit\WebKit.vcxproj\WebKit.sln
set TARGETDIR=C:\webkitop\Debug\bin32\
set TARGETEXT=.dll
set TARGETFILENAME=WTF.dll
set TARGETPATH=C:\webkitop\Debug\bin32\WTF.dll
set DEBUGSUFFIX=

REM If any of the above variables didn't exist previously and
REM were set to an empty string, set will set the errorlevel to 1,
REM which will cause the project-specific script to think the build
REM has failed. This cmd /c call will clear the errorlevel.
cmd /c

C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd

:VCEnd exited with code 1.C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets1225   
 WTF

Error1error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
C:\WebKit\Source\WTF\WTF.vcxproj\NMAKEWTFGenerated

Can someone help me resolve it.
Thanks in advance
Baskar CV
  ___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Error while building webkit on windows

2014-03-04 Thread Baskar CV
Thanks for the reply.
But while building WTFGenerated i have the following error

Error1error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
C:\WebKit\Source\WTF\WTF.vcxproj\NMAKEWTFGenerated

Error2error MSB3073: The command %SystemDrive%\cygwin\bin\which.exe 
bash
if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
set PLATFORMARCHITECTURE=32
nmake
 /nologo -f WTFGenerated.make exited with code 2.C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets
385WTFGenerated

The same error which was reported earlier.
Once again thanks in advane
Baskar.CV

From: gur.t...@gmail.com
Date: Tue, 4 Mar 2014 16:39:00 +0530
Subject: Re: [webkit-dev] Error while building webkit on windows
To: baskar...@hotmail.com

Hi Baskar,
The order would be WTF generated, JSCoreGenerated and then WebcoreGenerated and 
then you can give build solution. Please try with this and let me know.


Thanks and Regards,Gurpreet

On Tue, Mar 4, 2014 at 3:56 PM, Baskar CV baskar...@hotmail.com wrote:





When i was trying to built WebKit on windows 7 using visual studio 2013
and building JavaScriptCoreGenerated. I got this following 3 error messages

Error2error MSB3073: The command %SystemDrive%\cygwin\bin\which.exe 
bash


if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
set PLATFORMARCHITECTURE=32
nmake /nologo -f WTFGenerated.make exited with code 2.C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets385
WTFGenerated



Error3error MSB3073: The command REM Do not edit from the Visual 
Studio IDE! Customize via a WTFPreBuild.cmd file.
if not exist C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd exit /b



set CONFIGURATIONBUILDDIR=C:\webkitop\Debug
set CONFIGURATIONNAME=Debug
set INPUTDIR=
set INPUTFILENAME=
set INPUTPATH=
set INTDIR=C:\webkitop\Debug\obj32\WTF\
set OUTDIR=C:\webkitop\Debug\bin32\


set PLATFORMARCHITECTURE=32
set PLATFORMNAME=Win32
set PROJECTDIR=C:\WebKit\Source\WTF\WTF.vcxproj\
set PROJECTFILENAME=WTF.vcxproj
set PROJECTNAME=WTF
set PROJECTPATH=C:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj


set SOLUTIONDIR=C:\WebKit\Source\WebKit\WebKit.vcxproj\
set SOLUTIONFILENAME=WebKit.sln
set SOLUTIONNAME=WebKit
set SOLUTIONPATH=C:\WebKit\Source\WebKit\WebKit.vcxproj\WebKit.sln
set TARGETDIR=C:\webkitop\Debug\bin32\


set TARGETEXT=.dll
set TARGETFILENAME=WTF.dll
set TARGETPATH=C:\webkitop\Debug\bin32\WTF.dll
set DEBUGSUFFIX=

REM If any of the above variables didn't exist previously and
REM were set to an empty string, set will set the errorlevel to 1,


REM which will cause the project-specific script to think the build
REM has failed. This cmd /c call will clear the errorlevel.
cmd /c

C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd

:VCEnd exited with code 1.C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets1225   
 WTF



Error1error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
C:\WebKit\Source\WTF\WTF.vcxproj\NMAKEWTFGenerated

Can someone help me resolve it.
Thanks in advance


Baskar CV
  

___

webkit-dev mailing list

webkit-dev@lists.webkit.org

https://lists.webkit.org/mailman/listinfo/webkit-dev



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


[webkit-dev] Is there a Page Changed flag in QtWebKit?

2014-03-04 Thread Stirling Westrup
I have an application where I'm using QtWebKit to render a website at 25
fps, and am sending the stream of images to a remote video projection
display as a video feed.

Right now I'm performing the rendering every frame, even for completely
static pages. I would like to have some way of knowing if I should
re-render the page and ship it, or if I can just re-use the last rendering
because nothing has changed. Is there any way to detect this?


-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Is there a Page Changed flag in QtWebKit?

2014-03-04 Thread Bruning Michael
Hi Stirling,

On Tuesday 4th March 2014 at 18:01, Stirling Westrup wrote:
 
 I have an application where I'm using QtWebKit to render a website at 25 fps, 
 and am sending the stream of
 images to a remote video projection display as a video feed.
 
 Right now I'm performing the rendering every frame, even for completely 
 static pages. I would like to have some
 way of knowing if I should re-render the page and ship it, or if I can just 
 re-use the last rendering because nothing
 has changed. 
 Is there any way to detect this?

You should be able to achieve this by connecting to the repaintRequested signal 
of the QWebPage that you are rendering (see 
http://qt-project.org/doc/qt-5/qwebpage.html#repaintRequested).

It's probably better to direct QtWebKit specific questions to the webkit-qt 
list (webkit...@lists.webkit.org) in future, since QtWebKit has been removed 
from WebKit trunk and the webkit-dev is usually used to discuss core WebKit 
development issues.

Best regards,
Michael
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Error while building webkit on windows

2014-03-04 Thread Alex Christensen
I've only built WebKit on Windows from C:\cygwin\webkit.  It looks like you
are not using a subdirectory of cygwin.  Did you follow the instructions on
http://www.webkit.org/building/tools.html correctly?  Are the
WEBKIT_LIBRARIES and WEBKIT_OUTPUTDIR environment variables set correctly?

Were you building from within Visual Studio or from the command line
build-webkit script?  Which configuration were you using (Debug,
Debug_WinCairo, Release, Release_WinCairo, Production)?  Were you building
the WinCairo or the AppleWin port?

Alex Christensen


On Tue, Mar 4, 2014 at 3:26 AM, Baskar CV baskar...@hotmail.com wrote:

 When i was trying to built WebKit on windows 7 using visual studio 2013
 and building JavaScriptCoreGenerated. I got this following 3 error messages

 *Error2*error MSB3073: The command
 %SystemDrive%\cygwin\bin\which.exe bash
 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
 set PLATFORMARCHITECTURE=32
 nmake /nologo -f WTFGenerated.make exited with code 2.C:\Program
 Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets
 385WTFGenerated

 *Error3*error MSB3073: The command REM Do not edit from the
 Visual Studio IDE! Customize via a WTFPreBuild.cmd file.
 if not exist C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd exit /b

 set CONFIGURATIONBUILDDIR=C:\webkitop\Debug
 set CONFIGURATIONNAME=Debug
 set INPUTDIR=
 set INPUTFILENAME=
 set INPUTPATH=
 set INTDIR=C:\webkitop\Debug\obj32\WTF\
 set OUTDIR=C:\webkitop\Debug\bin32\
 set PLATFORMARCHITECTURE=32
 set PLATFORMNAME=Win32
 set PROJECTDIR=C:\WebKit\Source\WTF\WTF.vcxproj\
 set PROJECTFILENAME=WTF.vcxproj
 set PROJECTNAME=WTF
 set PROJECTPATH=C:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj
 set SOLUTIONDIR=C:\WebKit\Source\WebKit\WebKit.vcxproj\
 set SOLUTIONFILENAME=WebKit.sln
 set SOLUTIONNAME=WebKit
 set SOLUTIONPATH=C:\WebKit\Source\WebKit\WebKit.vcxproj\WebKit.sln
 set TARGETDIR=C:\webkitop\Debug\bin32\
 set TARGETEXT=.dll
 set TARGETFILENAME=WTF.dll
 set TARGETPATH=C:\webkitop\Debug\bin32\WTF.dll
 set DEBUGSUFFIX=

 REM If any of the above variables didn't exist previously and
 REM were set to an empty string, set will set the errorlevel to 1,
 REM which will cause the project-specific script to think the build
 REM has failed. This cmd /c call will clear the errorlevel.
 cmd /c

 C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd

 :VCEnd exited with code 1.C:\Program Files
 (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets122
 5WTF

 *Error1*error U1077: 'C:\cygwin\bin\bash.EXE' : return code
 '0x1'C:\WebKit\Source\WTF\WTF.vcxproj\NMAKEWTFGenerated

 Can someone help me resolve it.
 Thanks in advance
 Baskar CV

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




-- 



Alex Christensen

FlexSim Software Products, Inc.

*1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097*

*Voice: 801-224-6914 | Fax: 801-224-6984*

*Email:* al...@flexsim.com k...@flexsim.com

*URL:* www.flexsim.com





This message may contain confidential information, and is intended

only for the use of the individual(s) to whom it is addressed.

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


[webkit-dev] Determining the device pixel density of target device

2014-03-04 Thread AgentX
I was working with *responsive images* in Webkit and I came across this
*‘deviceScaleFactor’* attribute with determines the pixel density on the
target device.
I was unable to find out how does Webkit determine it, that is which
functions does it use and where can I find them in the Source Code? All I
was able to find was that it used a function *‘page-deviceScaleFactor()’*
which somehow returned the scale factor but I was unable to find the exact
function which actually computes the scale factor.

Any help here would be highly appreciated!!



--
View this message in context: 
http://mac-os-forge.2317878.n4.nabble.com/Determining-the-device-pixel-density-of-target-device-tp245535.html
Sent from the Webkit mailing list archive at Nabble.com.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev