forums › forums › SQLyog › SQLyog Localization and Source Code Discussions › Source Code – Mysql And Scintilla
- This topic is empty.
-
AuthorPosts
-
-
September 5, 2006 at 2:18 pm #9837AnonymousGuest
Hi, The MySql and Scintilla include directories are empty. Where do we get the files for there?
Thanx
-
September 6, 2006 at 4:10 am #22254AngeloMemberGuest_John_* wrote on Sep 5 2006, 09:18 AM:Hi, The MySql and Scintilla include directories are empty. Where do we get the files for there?
Thanx
what files do you use for compile and develop the SQLyog Comunity Free Edition 5.18Β‘?
The MySql and Scintilla include directories are empty
-
September 6, 2006 at 4:59 am #22255peterlaursenParticipantQuote:The MySql and Scintilla include directories are empty
A mistake on our side. Sorry for that.
Be patient for a short while. We will upload a new .zip with the includes in a few minutes
-
September 6, 2006 at 5:13 am #22256peterlaursenParticipant
.zip package with includes uploaded now!
-
September 7, 2006 at 5:02 pm #22257FireStorm9Member
Anyone had success in building this yet?
Running VS C++ 6, got the gdiplus libraries installed, and get tons of these:
c:program filesmicrosoft visual studiovc98includegdiplusflat.h(329) : error C2955: 'iterator' : use of class template requires template argument list
followed by:
SQLYog.exe – 282 error(s), 0 warning(s)
Are there steps to take to simply unzip/compile?
Thanks!
-
September 7, 2006 at 5:52 pm #22258RiteshMember
We use VS.NET 2003. Could you cut-paste the errors after trying it in 2003?
We are coming up a a “Developer's Guide” soon!
-
September 7, 2006 at 9:43 pm #22259AngeloMember
Can be compiled using or translated. to
Borland C++ Builder 5
or
Borland C++ Builder 6
or
Borland Developer Studio C++ Builder personality. ?
-
September 8, 2006 at 11:54 am #22260RohitMember
I think any C++ compiler and Win32 SDK can be used to compile SQLyog.
We have been using VS.NET for the last few years. Someone just needs to port the project settings ( *.vcproj) to various IDEs / makefile.
-
September 10, 2006 at 6:21 pm #22261FireStorm9Member
Another update:
Downloaded and installed the VS Express edition,
Downloaded and installed the July Win2003 SDK
Added the include, lib, and bin paths from the SDK to the VS Express config
Re-downloaded the source from Google and compiled…………And it worked. π
There are a couple of gotchas here: lots and lots of deprecated functions (security stuff that you can ignore for now), and the keywords.db is not found. I copied the keywords from my PRO directory install and it worked just fine.
Thanks tons!
-
September 10, 2006 at 6:53 pm #22262AngeloMemberFireStorm9 wrote on Sep 10 2006, 01:21 PM:Another update:
Downloaded and installed the VS Express edition,
Downloaded and installed the July Win2003 SDK
Added the include, lib, and bin paths from the SDK to the VS Express config
Re-downloaded the source from Google and compiled…………And it worked. π
There are a couple of gotchas here: lots and lots of deprecated functions (security stuff that you can ignore for now), and the keywords.db is not found. I copied the keywords from my PRO directory install and it worked just fine.
Thanks tons!
Hello
FireStorm9
where is the url or page to download the
July Win2003 SDK?
i canΒ΄t find the July Win2003 SDK
maybe the VS Express Edition, ?
i new, to the use of visual studio, and, i have instales. VS .Net 2003
only Visual C , language , spanish.
Thanks.
-
September 10, 2006 at 6:55 pm #22263peterlaursenParticipant
well .. now you can add a string like
“Compiled by FIRESTORM for FIRESTORM”
somewhere to you own personal copy! If you can find out where to add it! I can't!
-
September 11, 2006 at 2:31 am #22264FireStorm9Member
I'm more interested in fixing some of the things that ***I've*** wanted!
DONE:
Like the ability to specify the font for EACH OF THE TABS:
Messages
Results
Objects
History
etc.
TODO:
Paste as INSERT ROW, etc. etc.
Work on some of the bugs listed in the Google code.
I love this stuff! π
@Angelo
The link for the SDK is:
http://www.microsoft.com/downloads/details…;DisplayLang=en
But if you WERE interested in adding the compiled by……..on the about dialog box, simply change the following line:
SetWindowText(GetDlgItem(hwnd, IDC_REGINFO), “”);
to
SetWindowText(GetDlgItem(hwnd, IDC_REGINFO), “Compiled by peterlaursen”);
(ConnectionCommunity.cpp line 63)
-
September 11, 2006 at 3:18 am #22265peterlaursenParticipantQuote:DONE:
Like the ability to specify the font for EACH OF THE TABS:
Messages
Results
Objects
History
… that was what we were supposed to work on this week!
Though I personally might think that a setting for EACH of those is too much.
DATA and RESULTs could be the same. Messages and History too.
BTW: do not forget the BLOB-viewer! π
.. I think it would be OK if the settings for DATA also had effect on CREATE/ALTER TABLE etc ..
I hope you will contribute your code – it will of course be included in COMMUNITY!
-
September 11, 2006 at 4:27 am #22266FireStorm9Memberpeterlaursen wrote on Sep 11 2006, 03:18 AM:… that was what we were supposed to work on this week!
Though I personally might think that a setting for EACH of those is too much.
DATA and RESULTs could be the same. Messages and History too.
BTW: do not forget the BLOB-viewer! π
.. I think it would be OK if the settings for DATA also had effect on CREATE/ALTER TABLE etc ..
I hope you will contribute your code – it will of course be included in COMMUNITY!
Of course I'll contribute!!!
Here's the changes (pretty minor) NOTE: NO GUI FONT SELECTOR IS IN PLACE. But add the lines to your sqlyog.ini file like so:
Code:[EditFont]
FontName=Consolas
FontSize=9
FontStyle=400
FontItalic=0
FontCharSet=0[DataFont]
FontName=Consolas
FontSize=9
FontStyle=400
FontItalic=0
FontCharSet=0[TabObject]
FontName=Consolas
FontSize=9
FontStyle=400
FontItalic=0
FontCharSet=0[QueryTab]
FontName=Consolas
FontSize=9
FontStyle=400
FontItalic=0
FontCharSet=0[TabHistory]
FontName=Consolas
FontSize=9
FontStyle=400
FontItalic=0
FontCharSet=0[TabMessages]
FontName=Consolas
FontSize=19
FontStyle=400
FontItalic=0
FontCharSet=0[TabResult]
FontName=Consolas
FontSize=19
FontStyle=400
FontItalic=0
FontCharSet=0Then, the following files have been changed (I do not know how to tell using svn, only cvs, so here's the changes:)
EditorFont.h
Code:Insert at line 50:
@param keyname: the keyname to get the font forChange line 53 to:
static void SetFont(HWND hwndedit, wyBool fromini, wyChar * keyname);EditorFont.cpp
Code:Line 29 change to:
EditorFont::SetFont(HWND hwndedit, wyBool fromini, wyChar * keyname)Lines 47-50 change to:
GetPrivateProfileString(keyname, “FontName”, “Courier New”, (LPSTR) font, 128-1, directory);
fontsize = GetPrivateProfileInt(keyname, “FontSize”, 9, directory);
fontitalic = GetPrivateProfileInt(keyname, “FontItalic”, 0, directory);
fontstyle = GetPrivateProfileInt(keyname, “FontStyle”, 0, directory);Line 55 change to:
fontcharset = GetPrivateProfileInt(keyname, “FontCharSet”, DEFAULT_CHARSET, directory);EditorTab.cpp
Code:Line 308 change to:
EditorFont::SetFont(pceditorbase->m_hwnd, wyTrue, “EditFont”);TabHistory.cpp (I was kinda lazy on this one, I didn't want to touch too much legacy code)
Code:Add the following to lines at line 70:
// really change the font. The above sets the colors and all that jazz
EditorFont::SetFont(hwndedit, wyTrue, “TabHistory”);Change line 92 to:
EditorFont::SetFont(m_hwnd, wyTrue, “TabHistory”);TabMessage.cpp
Code:Add at line 110:
fontheight = GetPrivateProfileInt(“TabMessages”, “FontSize”, 9, directory);Change line 126 to:
GetPrivateProfileString (“TabMessages”, “FontName”, “Courier New”, fontname, SIZE_128-1, directory);TabObject.cpp
Code:Add at line 79:
// really really set the font……..
EditorFont::SetFont(hwndedit, wyTrue, “TabObject”);Change line 100 to:
EditorFont::SetFont(m_hwnd, wyTrue, “TabObject”);TabResult.cpp
Code:Add at line 131:
fontheight = GetPrivateProfileInt(“TabResult”, “FontSize”, 9, directory);
Change line 145 to:
GetPrivateProfileString (“TabResult”, “FontName”, “Courier New”, fontname, SIZE_512-1, directory);I may have missed a couple, but you'll get the gist of it pretty quickly when you look at the code. Basically, just make EditorFont.cpp accept a third paramter to the SetFont function and voila. π
Cheers,
FireStorm
-
September 11, 2006 at 4:52 am #22267peterlaursenParticipant
Thanks ..
Manoj and the team just arrived at office. Right now they are looking into the 'beta-sillies' that I reported last night. Hope they'll get time to look into this today too!
-
September 11, 2006 at 12:49 pm #22268FireStorm9Memberpeterlaursen wrote on Sep 11 2006, 04:52 AM:Thanks ..
Manoj and the team just arrived at office. Right now they are looking into the 'beta-sillies' that I reported last night. Hope they'll get time to look into this today too!
I figured out the diff comand (just like cvs), so here is the attached svn diff for my source tree.
Thanks,
-
September 11, 2006 at 3:11 pm #22269peterlaursenParticipant
I think the office in Bangalore has become disconnected now.
It is a seasonal phenomenon (heavy rainfalls that flood the power installations I understand). It normally takes a few hours only but can sometimes last a little longer. Now we have one of the World's biggest UPS's I think so they won't stop working for that reason!
Now if yo do more work on this please throw another .diff!
What are your normal 'working hours' for things like this? Where do you live? A live chat on some details could be useful!
-
September 11, 2006 at 11:23 pm #22270AngeloMember
Hello
FireStorm9
now i have compiled and work good
i use the Keywords.db from the directory lib
from the google source.
Thanks.
-
September 13, 2006 at 1:12 pm #22271AnonymousGuestpeterlaursen wrote on Sep 11 2006, 03:11 PM:I think the office in Bangalore has become disconnected now.
It is a seasonal phenomenon (heavy rainfalls that flood the power installations I understand). It normally takes a few hours only but can sometimes last a little longer. Now we have one of the World's biggest UPS's I think so they won't stop working for that reason!
Now if yo do more work on this please throw another .diff!
What are your normal 'working hours' for things like this? Where do you live? A live chat on some details could be useful!
My typical working hours on this is any time I can squeeze two seconds out of my day! π
I own an IT Outsourcing company that does quite a bit of software development, mostly in the web arena, but I love to dabble in this kind of stuff whenever the opportunity arrives.
The company name is R&B Communications (www.rb-com.com) and it's located in California, United States.
I typically work on this during the evening hours (GMT -8), but like I said………..anytime I can get a few seconds I'm good! π
I've been buried on a project this week, so I haven't done anything further (yet), but do intend to try to knock a few of the bugs out. π
-
September 13, 2006 at 1:23 pm #22272peterlaursenParticipant
now ..
contact Manoj about anything you intend to do to avoid overlap.
You can send a PM …
BTW .. adjusted the privlege settings for this category. A unregistered Guest should not be allowed to post!
-
May 18, 2007 at 8:11 am #22273DuleMember
Does anyone know if there is debian package form mysqlyog for ubunty feisty fawn?
I downloaded source from the site, and i am not such a good at compiling, building….and those things…
Thanks for answers.
-
May 18, 2007 at 8:25 am #22274peterlaursenParticipant
You won't be abale to build SQLyog on Linux. Though C/C++ is available on Win and Lin SQLyog uses WIN32 API calls/functions.
To run SQLyog on Linux you should run it in Wine. Refer to:
-
May 18, 2007 at 8:37 am #22275DuleMemberpeterlaursen wrote on May 18 2007, 10:25 AM:You won't be abale to build SQLyog on Linux. Though C/C++ is available on Win and Lin SQLyog uses WIN32 API calls/functions.
To run SQLyog on Linux you should run it in Wine. Refer to:
i tried to install but i got message:
odalinjo@odalinjo-desktop:~$ sudo wine /home/odalinjo/SQLyog41.exe
fixme:shell:BrsFolder_OnCreate flags 40 not implemented
err:menubuilder:InvokeShellLinker failed to fork and exec wineshelllink
err:menubuilder:InvokeShellLinker failed to fork and exec wineshelllink
err:module:import_dll Library gdiplus.dll (which is needed by L”Z:\home\odalinjo\programs\SQLyog\SQLyog.exe”) not found
err:module:LdrInitializeThunk Main exe initialization for L”Z:\home\odalinjo\programs\SQLyog\SQLyog.exe” failed, status c0000135
-
May 18, 2007 at 11:09 am #22276peterlaursenParticipant
Now you do not tell the Wine version.
Also the folder name is SQLyog41. why not use a recent version (if you don't)-
SQLyog ships with some Windows dll's. gidplus.dll is one. it iis need only on old Windows versions and Wine.
If the dll's are not copied during the install the program won't start. It will normally be sufficient to use the 'winecfg' program to let Wine emulate Windows 98 during the installation. Then the installer will 'think' that this is w98 an copy the dll's.
the FAQ explains this actually!Did you try that?
Also note that if fonts display badly then you might need to install the windows core fonts package in wine (not in Linux!). That depends on wine version and Linux distro!
-
May 28, 2007 at 8:14 pm #22277mornsMemberFireStorm9 wrote on Sep 10 2006, 06:21 PM:Another update:
Downloaded and installed the VS Express edition,
Downloaded and installed the July Win2003 SDK
Added the include, lib, and bin paths from the SDK to the VS Express config
Re-downloaded the source from Google and compiled…………And it worked. π
There are a couple of gotchas here: lots and lots of deprecated functions (security stuff that you can ignore for now), and the keywords.db is not found. I copied the keywords from my PRO directory install and it worked just fine.
Thanks tons!
Hi I am trying to build the SQLyog 5.31 source on Visual Studio 2005.
Firstly I get 4 warnings when I convert the project from VS 2003.
Then when I try to build the project I get 375 warnings mostly about deprecated functions and 2 errors:
Error 376 fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409 (file: CVTRES)
Error 377 fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt (file: SQLyogCommunity)
Any idea how to fix this?
-
May 29, 2007 at 9:23 am #22278adarshMember
Hello,
Currently we are using Visual Studio 2003.
Now we are concentrating on releasing of SQLyog60 Final so next week we will try this in VS 2005.
Thanks
-
-
AuthorPosts
- You must be logged in to reply to this topic.