Permalink
Browse files

first open source commit

  • Loading branch information...
adrianmichel committed Jan 10, 2018
0 parents commit ade73b6981196abc333ec774e743ca19bbf40a5b
Showing 344 changed files with 54,766 additions and 0 deletions.
@@ -0,0 +1,2 @@
*.cpp text eol=crlf
*.h text eol=crlf
@@ -0,0 +1,251 @@
Thumbs.db
yloadercore/timestamp.h
doc/output
external/
## from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# DNX
project.lock.json
artifacts/
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Azure Emulator
ecf/
rcf/
# Windows Store app package directory
AppPackages/
BundleArtifacts/
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
# FAKE - F# Make
.fake/
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
@@ -0,0 +1,58 @@
# YLoader
YLoader is a free stock quotes downloader for Windows.
You can find the complete product documentation and download the most recent stable binaries from http://www.yloader.com.
**This document is work in progress and quite incomplete. Email info@yloader.com if you need help or have any questions.**
## License
YLoader is free open-source software distributed under the Terms and Conditions of the GNU General Public License (GPL) version 3 or (at your option) any later version.
For using YLoader, no restrictions apply. You can further redistribute and/or modify this software under the terms of the GPL.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
For details, have a look at the full text of the GPL in the LICENSE file or at http://www.gnu.org/licenses/
## 3rd party components
YLoader uses several 3rd party components, as source code, libraries (need to be downloaded, installed and built separately), or applications. The source code components are already part of the YLoader project, however the libraries and applications need to be downloaded and installed (and libraries built as well) prior to building YLoader. Here is the list:
Source code
* **CSettingsDlg**, a settings dialog class: https://www.codeproject.com/articles/1831/csettingsdialog-a-dialog-customizing-your-project
* **CReportCtrl**, a List control wrapper class: https://www.codeproject.com/Articles/4014/CReportCtrl-An-extremely-convenient-version-of-rep
* **CDropEdit**, a drag & drop enabled CEdit wrapper class: https://www.codeproject.com/Articles/1899/CDropEdit
Libraries
* **boost**, a set of portable C++ libraries: http://www.boost.org
* **libcurl**, a multiprotocol file transfer library: https://curl.haxx.se/libcurl/
* **JSON for modern C++**, a JSON C++ library: https://github.com/nlohmann/json
* **OpenSSL**, a TLS and SSL toolkit: https://www.openssl.org
Applications
* **Visual Studio 2015 Community Edition**: https://www.visualstudio.com/vs/older-downloads/ with **Service Update 3**: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
* **Git Command Line Client for Windows**: https://git-scm.com/downloads.
* **Doxygen** (optional), documentation generator: http://wwww.doxygen.org.
* **NSIS** - Nullsoft Scriptable Install System (optional), a Windows installer generator: http://nsis.sourceforge.net.
## Building YLoader from sources
Follow the steps below to successfully build YLoader binaries. This process will generate around 11Gb of data, so be sure to have enough available storage on the build drive. See above for download URLs for different packages.
Note that this build will generate binaries compatible with Windows 7 or later. **They will not run on Windows XP**.
1. Install Microsoft Visual Studio 2015 Community Edition and make sure to select C++ and all sub-options required to build Windows applications written in C++ using MFC.
2. Install Visual Studio 2015 Service Update 3.
3. Optionally install Doxygen and/or NSIS if you want to be able to build the documentation and/or the YLoader installer.
4. Install the newest Git client.
5. Create the directory where you want to install and build the YLoader source code, for example:<pre><code>c:\yloader_dev</code></pre>
6. Open a Windows console and navigate to that directory:<pre><code>cd c:\yloader_dev</code></pre>
7. Clone YLoader source code from the github repository into the current directory:<pre><code>git clone https://github.com/adrianmichel/yloader.git</code></pre>
8. Navigate to the *src* directory:<pre><code>cd src</code></pre>
9. Run:<pre><code>build</code></pre>This step will download and build all third party packages that YLoader depends on, and may take up to 30 min, depending on your hardware.
10. Once this build has completed successfully, open Visual Studio, open the *File* menu, *Open*, *Project/Solution*, and open the YLoader solution located at:<pre><code>c:\yloader_dev\src\yloader.sln</code></pre>
12. On the *Build* toolbar located under the Visual Studio main menu select the *Solution Configuration* (Debug/Release) and *Solution Platform* (win32/x64) that you would like to build.
11. In the Solution Explorer pane, expand the *yloader* folder, right click on the *yloader* project under that folder and select *Set as Startup Project*.
12. Right click again on the *yloader* project and click on *Build*.
13. The generated binaries will be under <pre><code>c:\yloader_dev\src\bin\[Release/Debug]\[win32/x64]</pre></code>
14. If you have installed NSIS and built the Release version of win32 and/or x64, the YLoader installer(s) will be created under<pre><code>c:\yloader_dev\src\bin\installer</code></pre>
Oops, something went wrong.

0 comments on commit ade73b6

Please sign in to comment.