| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This drops Visual Studio projects that does the build of the Test DLLs, as
the new NMake Makefiles will cover the building of them. Please note that
the cmph test program is still built with the Visual Studio projects
though.
|
|
|
|
|
|
|
| |
The NMake Makefiles that build the tests cover these, so remove the parts
building the Test DLLs from the solution files. This is done as a separate
commit as solution files must have DOS/Windows line endings, not UNIX line
endings.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds NMake Makefiles for one to build the tests for Visual Studio
builds, which is not done with an MSYS shell. Shared items from the
existing NMake Makefiles for building the introspection files, which are
also used to build the tests, are split out into common NMake Makefiles,
which are then included.
This also means that we do not need to include the test_gir_cmd.txt for
people to look at when building the tests as the NMake Makefiles will do
the job for them, which cover the material there.
|
|
|
|
|
| |
...so that people can use it as a first check that g-i and the
introspection files are built properly.
|
|
|
|
|
|
|
|
| |
As the MSVC 2010 x64 (and later) compiler/linker do not have the
optimization bug that prevents g-ir-compiler.exe from being built (due to
a compiler/linker hang) under /O2 (max speed) (or /Ox, complete
optimization), use /O2 for the optimization setting, like the other parts
of g-i under Visual Studio 2010.
|
|
|
|
|
|
|
|
| |
Due to an optimization bug in the Visual Studio 2008 x64 compiler/linker,
compilation of some programs shipped with g-i will hang, so use different
optimization settings for it, so that programs built through the NMake
Makefiles can build correctly. A similar setting for the g-ir-compiler
is already in there.
|
|
|
|
|
|
|
|
|
|
|
|
| |
As the Visual Studio 2012/2013 are only slightly different from the Visual
Studio 2010 projects, we can provide support for them by using scripts to
copy the Visual Studio 2010 projects, and update the specific parts as
necessary.
Thus, there would be little maintenance overhead for these as only the 2010
projects need to be kept up-to-date as a result. This might change when we
do get the stack working with WinRT/Metro, but that's going to be another
totally different issue.
|
|
|
|
|
| |
Standardize on using VSVer, like the other parts of the GTK+/Clutter stack,
it makes it easier to use a script to support later Visual Studio versions.
|
|
|
|
|
|
|
|
| |
Since commit f3128da2 we are passing in the .lib('s) to deduce the DLL(s)
that the introspection files need to look, so we don't have to make an
extra copy of the .lib that matches the
<namespace-name>-<namespace-version> convention anymore. Clean up a bit
as a result.
|
|
|
|
|
| |
There aren't architecture-specific naming for binaries for g-i on Windows,
so don't bother checking for them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, due to the way that Visual Studio 2010+ projects are handled,
the "install" project does not re-build upon changes to the sources, as it
does not believe that its dependencies have changed, although the changed
sources are automatically recompiled. This means that if a part or more
of the solution does not build, or if the sources need some other fixes
or enhancements, the up-to-date build is not copied automatically, which
can be misleading.
Improve on the situation by forcing the "install" project to trigger its
rebuild, so that the updated binaries can be copied. This does trigger an
MSBuild warning, but having that warning is way better than not having an
up-to-date build, especially during testing and development.
|
|
|
|
|
|
|
|
| |
Copy the .gir files that are bundled with g-i to build/ before trying to
compile the .gir's that were generated during the build process, so that
the compilation of these .gir's may succeed. Also, create the
share/gir-1.0 and lib/girepository-1.0 directories, if needed, before
trying to copy the .gir/.typelib files.
|
|
|
|
|
|
| |
The -I flags for generating GIRepository-2.0.gir should use $(BASEDIR), not
%BASEDIR%, as we are not using a Windows .bat to generate the introspection
files.
|
|
|
|
|
|
|
|
| |
The introspection build on Windows recently received support to deduce the
DLL name from the library that is passed into g-ir-scanner, so the library
name (without the file name extensions, etc) ought to be passed in for the
build of introspection files on Windows, just like the *nix builds of
g-i.
|
|
|
|
|
| |
Fix up more grammar stuff in the README.txt file, and fix the CLEANFILES
line.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes the build of G-I on Visual Studio 2010 into a two-step
process, as it would make it clearer and easier to the one building G-I by:
-Splitting up the property sheets into multiple parts, where pre-configured
code (which is currently shipped with the tarball) is copied using custom
build steps, so that they can be re-copied when they are updated. This
also removes the need for setting environment variables before launching
the Visual Studio Project to build the G-I DLL, the tools written in C and
the _giscanner Python2 module. The Python2 paths (set to Python 2.7.x)
are now set in a property sheet, which can be updated quite easily, if
needed.
-Directing people to use the set of NMake Makefiles to build the
introspection files for GLib, and also the .gir's that are shipped with
G-I, which was added in a previous commit, as it would make it clearer
what are needed to build the introspection files.
|
|
|
|
|
|
| |
Otherwise the .gir/.typelib for the GIRepository DLL would not be build
correctly-leftover oops when reworking the introspection files build
process.
|
|
|
|
|
|
| |
Fix grammar and formatting of items, remove a line in the README.txt that
is currently not true, and avoid including an extra property sheet that
isn't really needed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes the build of G-I on Visual Studio 2008 into a two-step
process, as it would make it clearer and easier to the one building G-I by:
-Splitting up the property sheets into multiple parts, where pre-configured
code (which is currently shipped with the tarball) is copied using custom
build steps, so that they can be re-copied when they are updated. This
also removes the need for setting environment variables before launching
the Visual Studio Project to build the G-I DLL, the tools written in C and
the _giscanner Python2 module. The Python2 paths (set to Python 2.7.x)
are now set in a property sheet, which can be updated quite easily, if
needed.
-Use a set of NMake Makefiles to build the introspection files for GLib,
and also the .gir's that are shipped with G-I, and make it clear to people
what things are needed to build the introspection files.
-Standardizing across the board that we now use $(ApiVersion) for the .lib
files and the "installation" of headers, etc.
Similar updates to the Visual Studio 2010 files will follow later.
|
|
|
|
|
|
|
| |
Add the new symbols to export for the new tests introduced in commits
a19bfeb4 (gimarshalingtests: Add tests for multiple utf8 args with
allow-none) and 6c9e4d5d (gimarshalingtests: Add tests for mixed
allow-none and implicit args).
|
|
|
|
|
| |
Commit 08958a30 added a gmodule-2.0.c that is to be used to generate the
.gir file for GModule. Update gengir.bat accordingly for GModule-2.0.gir.
|
|
|
|
|
|
| |
...and include it when we generate GLib-2.0.gir as the Windows types are
used from there on, and update the .typelib compilation command lines
accordingly, as it will be referenced.
|
|
|
|
|
|
| |
Add the "PC" folder in the Python installation root as one of the include
folders, as that is where pyconfig.h would reside (at least for the people
that compiled Python themselves from source using Visual Studio)
|
|
|
|
|
| |
Copy cairo-1.0.gir, which is now built during the introspection building
process.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a simple Python script that uses Python REGEX abilities to create
cairo-1.0.gir from cairo-1.0.gir.in with the correct values for Cairo, for
use in the Visual Studio builds of g-i. It can be later extended if
needed.
Also dist this, and call this script from gengir.bat so that cairo-1.0.gir
and cairo-1.0.typelib can be built and "installed"
https://bugzilla.gnome.org/show_bug.cgi?id=692165
|
|
|
|
|
| |
Some functions were added or renamed in the various DLLs, so reflect these
changes there.
|
|
|
|
|
| |
The gdump.c source/data file was missed from the "install" process, which
is required for a proper installation of G-I. Make up for that.
|
|
|
|
|
|
|
|
| |
This will compile the .typelib files for FreeType, GL and libxml2, and
copy the these .gir and their resulting .typelib files to the appropriate
folder to prepare for the "install" phase.
Note that the ones that aren't normally used in Windows are not processed.
|
|
|
|
|
| |
Be a little bit more clear on how certain environmental variables are to
be set.
|
|
|
|
|
|
| |
We need to force-include io.h as there is no longer a prototype for
isatty() in the generated scannerlexer.c source file, which broke the
build. (possibly due to a flex program or calling change/update?)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the PlatformToolset tag to the project configs so that we can use
a simple script later to the autotools files to copy the projects and
change the value of that tag (v100 -> v110, and other simple changes)
in order that we can quickly provide and maintain support for Visual
Studio 2012 with minimal effort.
Note that at the moment G-I does not yet support the API/SDK requirements
for Windows 8 Modern UI (formerly known as Metro), but this paves the very
initial step.
|
|
|
|
|
|
|
|
| |
...So that they will have Windows line endings.
Specifically, this is something that affects how Windows detect the Visual
Studio version from the .sln files, and the README.txt's should have
Windows line endings.
|
|
|
|
|
|
|
|
|
|
| |
This will enable one to generate the .gir and .typelib files for GLib,
GModule, GObject, GIO and G-I without using a bash-style shell on Windows.
This is also the .bat that is used during the Visual C++ build process to
generate the .gir and .typelib files
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
|
|
|
|
|
|
|
| |
-Add Makefile-msvcproj.am to fill in the cmph, girepository and
g-ir-compiler projects
-Add various Makefile.am's under build/ to distribute the
Visual C++-related files.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
|
|
|
|
|
|
| |
These are the master solution files that will load the Visual C++ projects
for building/generating gobject-introspection and its related tools and
files.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are the Visual C++ 2008/2010 project files that can be used to build
gobject-introspection. The main girepository dll (along with cmph), tools
(in C), certain test/sample programs dlls are built with this project file
set.
Due to a bug in the Visual C++ 2008 linker, the g-ir-compiler and
g-ir-generator tools have the libgirepository-internals sources built
along side with the sources of these respective tool programs.
In order to ease future maintenance, the cmph, girepository,
g-ir-compiler and property sheets (for the "install" part) are done as
templates where header/source listings are filled in during "make dist",
so that the headers/sources listings are kept up to date between releases.
The GLib and girepository .gir and .typelib files are also generated and
"compiled" as part of the build process, using gengir.bat that
was committed earlier.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
|
|
|
|
|
|
| |
Add instructions to tell people how to build gobject-introspection with
Visual C++, especially as there are special steps and additional
requirements for a successful build.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
|
|
|
|
|
|
|
| |
This is to show how one may be able to generate the .gir files from the
various DLL files in tests\ in a standard Windows cmd.exe prompt, which
will also attempt to demonstrate how .gir files are generated without a
shell.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|
|
This will enable the exports of functions to create the .lib files needed
to create the .gir files.
https://bugzilla.gnome.org/show_bug.cgi?id=681820
|