grantlee:zgyarmatis-grantlee.git
7 years agoRename the strings.h file to avoid conflicts with system files. 0.1
Stephen Kelly [Mon, 1 Aug 2011 08:41:25 +0000 (10:41 +0200)]
Rename the strings.h file to avoid conflicts with system files.

7 years agoUse boost on solaris when 3rd party containers are tested.
tropikhajma [Sun, 31 Jul 2011 21:19:55 +0000 (23:19 +0200)]
Use boost on solaris when 3rd party containers are tested.

The tr1 library is not part of apache stdc++ used by solaris.

7 years agoFix build on solaris and similar buildsystems.
tropikhajma [Sun, 31 Jul 2011 21:16:33 +0000 (23:16 +0200)]
Fix build on solaris and similar buildsystems.

The issue is that some build systems add standard include paths,
finding the wrong exception.h.

By specifying the desired path more explicitly we ensure that the
precedence rules find the correct exception.h.

7 years agoThe join filter now correctly escapes the joiner too.
Stephen Kelly [Sat, 2 Jul 2011 19:15:24 +0000 (21:15 +0200)]
The join filter now correctly escapes the joiner too.

7 years agoOnly use set_property(CACHE) in versions that it works.
Stephen Kelly [Sun, 31 Jul 2011 20:59:48 +0000 (22:59 +0200)]
Only use set_property(CACHE) in versions that it works.

7 years agoCopy macro file from version of cmake that we don't depend on yet.
Stephen Kelly [Sun, 31 Jul 2011 20:28:10 +0000 (22:28 +0200)]
Copy macro file from version of cmake that we don't depend on yet.

7 years agoDon't use a cmake 2.8.3 feature in Grantlee yet.
Stephen Kelly [Sun, 31 Jul 2011 20:25:57 +0000 (22:25 +0200)]
Don't use a cmake 2.8.3 feature in Grantlee yet.

Some distros are behind.

7 years agoSync with version submitted to CMake.
Stephen Kelly [Sun, 31 Jul 2011 20:24:39 +0000 (22:24 +0200)]
Sync with version submitted to CMake.

7 years agoFix build on OSX
Bernhard Rosenkraenzer [Mon, 4 Jul 2011 09:38:49 +0000 (11:37 +0159)]
Fix build on OSX

It uses gcc, but not GNU ld, and its ld doesn't
understand --fatal-warnings or --no-undefined.

7 years agoFill the changelog for the next release. v0.1.9
Stephen Kelly [Fri, 24 Jun 2011 12:53:33 +0000 (14:53 +0200)]
Fill the changelog for the next release.

7 years agoCompile with -DQT_NO_KEYWORDS
Stephen Kelly [Fri, 24 Jun 2011 12:43:27 +0000 (14:43 +0200)]
Compile with -DQT_NO_KEYWORDS

7 years agoFill in the Changelog for all released versions.
Stephen Kelly [Fri, 24 Jun 2011 12:36:30 +0000 (14:36 +0200)]
Fill in the Changelog for all released versions.

7 years agoseemed .resolve( c ).toList() do not work properly with user-registred types
Evgeny Lunegov [Wed, 4 May 2011 19:10:20 +0000 (23:10 +0400)]
seemed .resolve( c ).toList() do not work properly with user-registred types

7 years agoMore documentation for the examples.
Stephen Kelly [Fri, 24 Jun 2011 11:31:27 +0000 (13:31 +0200)]
More documentation for the examples.

7 years agoAdd a convenience header for the textdocument library.
Stephen Kelly [Thu, 23 Jun 2011 17:37:06 +0000 (19:37 +0200)]
Add a convenience header for the textdocument library.

7 years agoAdd a script for creating a docs tarball easily.
Stephen Kelly [Thu, 23 Jun 2011 16:03:17 +0000 (18:03 +0200)]
Add a script for creating a docs tarball easily.

7 years agoEnable some more flags for safety.
Stephen Kelly [Thu, 23 Jun 2011 15:26:22 +0000 (17:26 +0200)]
Enable some more flags for safety.

7 years agoDon't document the Metatype class, but document the relevant macro instead.
Stephen Kelly [Thu, 23 Jun 2011 11:40:36 +0000 (13:40 +0200)]
Don't document the Metatype class, but document the relevant macro instead.

7 years agoDocument the smartTrim features, useful for code generation.
Stephen Kelly [Fri, 17 Jun 2011 15:54:21 +0000 (17:54 +0200)]
Document the smartTrim features, useful for code generation.

7 years agoRemove some excludes which no longer exist.
Stephen Kelly [Wed, 22 Jun 2011 23:21:57 +0000 (01:21 +0200)]
Remove some excludes which no longer exist.

7 years agoUse the force...
Stephen Kelly [Wed, 22 Jun 2011 22:38:48 +0000 (00:38 +0200)]
Use the force...

7 years agoUse the USE file before building the library.
Stephen Kelly [Wed, 22 Jun 2011 21:50:03 +0000 (23:50 +0200)]
Use the USE file before building the library.

7 years agoMake sure the CMAKE_BUILD_TYPE is set to something sensible on MinGW.
Stephen Kelly [Wed, 22 Jun 2011 21:49:11 +0000 (23:49 +0200)]
Make sure the CMAKE_BUILD_TYPE is set to something sensible on MinGW.

7 years agoFind Qt in the config file, not the USE file.
Stephen Kelly [Wed, 22 Jun 2011 17:14:46 +0000 (19:14 +0200)]
Find Qt in the config file, not the USE file.

Conditionally look for QtGui based on which Grantlee components
are searched for.

7 years agoDon't hardcode the path to Qt in the GrantleeTargets file.
Stephen Kelly [Wed, 22 Jun 2011 15:44:46 +0000 (17:44 +0200)]
Don't hardcode the path to Qt in the GrantleeTargets file.

Use an import reference instead for portability.

7 years agoFix build on MIPS and ARM.
Sune Vuorela [Mon, 20 Jun 2011 21:40:46 +0000 (23:40 +0200)]
Fix build on MIPS and ARM.

7 years agoGenerate NSIS install wizards on Windows.
Stephen Kelly [Mon, 20 Jun 2011 21:01:38 +0000 (23:01 +0200)]
Generate NSIS install wizards on Windows.

7 years agoAdd a description for the Common component and make it required.
Stephen Kelly [Mon, 20 Jun 2011 20:48:41 +0000 (22:48 +0200)]
Add a description for the Common component and make it required.

7 years agoAdd a reference to the licence file.
Stephen Kelly [Mon, 20 Jun 2011 20:48:27 +0000 (22:48 +0200)]
Add a reference to the licence file.

7 years agoFix mingw build.
Stephen Kelly [Mon, 20 Jun 2011 19:07:32 +0000 (21:07 +0200)]
Fix mingw build.

7 years agoLink to QtNetwork
Stephen Kelly [Fri, 10 Jun 2011 19:24:04 +0000 (21:24 +0200)]
Link to QtNetwork

7 years agoMake it possible to create tarball packages with CPack.
Stephen Kelly [Mon, 20 Jun 2011 17:12:34 +0000 (19:12 +0200)]
Make it possible to create tarball packages with CPack.

7 years agoCreate some components for different frameworks
Stephen Kelly [Mon, 20 Jun 2011 12:45:09 +0000 (14:45 +0200)]
Create some components for different frameworks

7 years agoPort to the shipped version of ParseArguments.
Stephen Kelly [Mon, 20 Jun 2011 17:22:20 +0000 (19:22 +0200)]
Port to the shipped version of ParseArguments.

7 years agoRemove repetition of Qt USE file.
Stephen Kelly [Sun, 19 Jun 2011 20:02:32 +0000 (22:02 +0200)]
Remove repetition of Qt USE file.

7 years agoUse a CMake shortcut instead of specifying the binary dir.
Stephen Kelly [Sun, 19 Jun 2011 20:01:41 +0000 (22:01 +0200)]
Use a CMake shortcut instead of specifying the binary dir.

7 years agoRemove redundant CMake includes.
Stephen Kelly [Sun, 19 Jun 2011 19:57:02 +0000 (21:57 +0200)]
Remove redundant CMake includes.

7 years agoNo need to specify the binary dir for plugins.
Stephen Kelly [Sun, 19 Jun 2011 19:56:15 +0000 (21:56 +0200)]
No need to specify the binary dir for plugins.

They don't include generated files anyway.

7 years agoRemove explicit QT_INCLUDES.
Stephen Kelly [Sun, 19 Jun 2011 19:43:02 +0000 (21:43 +0200)]
Remove explicit QT_INCLUDES.

Not needed when we use the Qt USE file.

7 years agoMake sure to list all required modules.
Stephen Kelly [Sun, 19 Jun 2011 19:48:12 +0000 (21:48 +0200)]
Make sure to list all required modules.

7 years agoUse cccc to get metrics about Grantlee source.
Stephen Kelly [Sun, 19 Jun 2011 17:49:26 +0000 (19:49 +0200)]
Use cccc to get metrics about Grantlee source.

7 years agoAdd a Coverage build type and target for running unit tests
Stephen Kelly [Sun, 19 Jun 2011 15:43:48 +0000 (17:43 +0200)]
Add a Coverage build type and target for running unit tests

7 years agoGenerate dependency graphs with dot instead of using static images.
Stephen Kelly [Thu, 9 Jun 2011 22:44:17 +0000 (00:44 +0200)]
Generate dependency graphs with dot instead of using static images.

7 years agoAdd missing file.
Stephen Kelly [Tue, 14 Jun 2011 22:59:27 +0000 (00:59 +0200)]
Add missing file.

7 years agoUse the new export header generating macro.
Stephen Kelly [Fri, 10 Jun 2011 00:03:57 +0000 (02:03 +0200)]
Use the new export header generating macro.

7 years agoNo need to set these variables when using the export/import mechanism.
Stephen Kelly [Fri, 10 Jun 2011 23:05:27 +0000 (01:05 +0200)]
No need to set these variables when using the export/import mechanism.

7 years agoAdd export targets for grantlee.
Stephen Kelly [Thu, 9 Jun 2011 22:21:45 +0000 (00:21 +0200)]
Add export targets for grantlee.

Simplifies the Config file considerably.

7 years agoThere is no need to specify dependencies in the LIBRARIES variable.
Stephen Kelly [Thu, 9 Jun 2011 22:16:33 +0000 (00:16 +0200)]
There is no need to specify dependencies in the LIBRARIES variable.

7 years agoTake this outside of the conditional
Stephen Kelly [Thu, 9 Jun 2011 21:57:52 +0000 (23:57 +0200)]
Take this outside of the conditional

7 years agoUse more variables instead of hardcoding.
Stephen Kelly [Thu, 9 Jun 2011 21:48:30 +0000 (23:48 +0200)]
Use more variables instead of hardcoding.

7 years agoDon't hardcode the install path into the config file.
Stephen Kelly [Thu, 9 Jun 2011 21:40:10 +0000 (23:40 +0200)]
Don't hardcode the install path into the config file.

Makes it possible to use a different prefix eg for packaging and deployment.

7 years agoDon't hardcode the install path. Let it be overridden.
Stephen Kelly [Wed, 8 Jun 2011 22:07:53 +0000 (00:07 +0200)]
Don't hardcode the install path. Let it be overridden.

7 years agoFix the configured path to the USE file.
Stephen Kelly [Thu, 9 Jun 2011 00:44:24 +0000 (02:44 +0200)]
Fix the configured path to the USE file.

7 years agoUse the defined directory.
Stephen Kelly [Thu, 9 Jun 2011 00:10:05 +0000 (02:10 +0200)]
Use the defined directory.

7 years agoInstall the cmake stuff to a better location.
Stephen Kelly [Wed, 8 Jun 2011 22:09:03 +0000 (00:09 +0200)]
Install the cmake stuff to a better location.

7 years agoUse automatic RPATH handling
Stephen Kelly [Wed, 8 Jun 2011 22:05:12 +0000 (00:05 +0200)]
Use automatic RPATH handling

7 years agoDon't make QTSCRIPT part of the link interface of grantlee_core.
Stephen Kelly [Tue, 7 Jun 2011 11:19:52 +0000 (13:19 +0200)]
Don't make QTSCRIPT part of the link interface of grantlee_core.

7 years agoPlugins don't need all the extra stuff.
Stephen Kelly [Tue, 7 Jun 2011 11:19:30 +0000 (13:19 +0200)]
Plugins don't need all the extra stuff.

7 years agoPlugins should be modules, not libraries as other targets don't link to them.
Stephen Kelly [Tue, 7 Jun 2011 11:17:30 +0000 (13:17 +0200)]
Plugins should be modules, not libraries as other targets don't link to them.

7 years agoDon't set the link_directories behind the users back.
Stephen Kelly [Tue, 7 Jun 2011 11:17:03 +0000 (13:17 +0200)]
Don't set the link_directories behind the users back.

7 years agoNo need to use IMMEDIATE anymore.
Stephen Kelly [Tue, 7 Jun 2011 11:16:20 +0000 (13:16 +0200)]
No need to use IMMEDIATE anymore.

It is legacy from a declarative version of CMake.

7 years agoUse Grantlee_PLUGIN_DIR instead of PATH, which is usually a list in CMake.
Stephen Kelly [Tue, 7 Jun 2011 13:47:12 +0000 (15:47 +0200)]
Use Grantlee_PLUGIN_DIR instead of PATH, which is usually a list in CMake.

7 years agoUse _DIR for a single path and don't confuse built ins.
Stephen Kelly [Tue, 7 Jun 2011 11:15:14 +0000 (13:15 +0200)]
Use _DIR for a single path and don't confuse built ins.

7 years agoUse a more specific minimum cmake version.
Stephen Kelly [Tue, 7 Jun 2011 11:13:42 +0000 (13:13 +0200)]
Use a more specific minimum cmake version.

7 years agoUse PersonWrapper consistently instead of MyPersonWrapper.
Stephen Kelly [Sun, 29 May 2011 12:00:10 +0000 (14:00 +0200)]
Use PersonWrapper consistently instead of MyPersonWrapper.

7 years agoAdd a unit test for QObject derived custom types in properties.
Stephen Kelly [Sun, 29 May 2011 11:57:18 +0000 (13:57 +0200)]
Add a unit test for QObject derived custom types in properties.

7 years agoMake sure QObject conversion is exported.
Stephen Kelly [Sun, 29 May 2011 11:56:39 +0000 (13:56 +0200)]
Make sure QObject conversion is exported.

7 years agoFix the docs regarding QObject derived pointers in QVariant.
Stephen Kelly [Sun, 29 May 2011 11:55:59 +0000 (13:55 +0200)]
Fix the docs regarding QObject derived pointers in QVariant.

7 years agoClarify documentation a bit. Qt 4.8 does not fix this issue.
Stephen Kelly [Sun, 29 May 2011 11:11:32 +0000 (13:11 +0200)]
Clarify documentation a bit. Qt 4.8 does not fix this issue.

7 years agoAdd a list property to the Contact class.
Stephen Kelly [Mon, 14 Mar 2011 02:11:38 +0000 (03:11 +0100)]
Add a list property to the Contact class.

7 years agoUse a QObject in a Q_PROPERTY for the Address.
Stephen Kelly [Mon, 14 Mar 2011 01:35:08 +0000 (02:35 +0100)]
Use a QObject in a Q_PROPERTY for the Address.

7 years agoSpecialize registering of QObject derived types automatically.
Stephen Kelly [Mon, 14 Mar 2011 01:33:34 +0000 (02:33 +0100)]
Specialize registering of QObject derived types automatically.

7 years agoAdd clearer documentation about QObject derived types in Q_PROPERTY
Stephen Kelly [Sun, 13 Mar 2011 20:14:28 +0000 (21:14 +0100)]
Add clearer documentation about QObject derived types in Q_PROPERTY

7 years agoUse the new Context::insert overload.
Stephen Kelly [Sun, 13 Mar 2011 20:21:05 +0000 (21:21 +0100)]
Use the new Context::insert overload.

7 years agoAdd a convenience overload for QObject derived types.
Stephen Kelly [Sun, 13 Mar 2011 19:07:46 +0000 (20:07 +0100)]
Add a convenience overload for QObject derived types.

7 years agoDisambiguate type from nested type.
Stephen Kelly [Sat, 26 Feb 2011 20:20:28 +0000 (21:20 +0100)]
Disambiguate type from nested type.

Fixes build on MSVC.

7 years agoCreate a new example showing template requests from webkit.
Stephen Kelly [Sat, 29 Jan 2011 09:43:50 +0000 (10:43 +0100)]
Create a new example showing template requests from webkit.

7 years agoRemove the benchmarks for now.
Stephen Kelly [Sat, 29 Jan 2011 15:22:46 +0000 (16:22 +0100)]
Remove the benchmarks for now.

They can be re-added when they are more useful.

7 years agoBuild with QT_NO_CAST_FROM_BYTEARRAY
Stephen Kelly [Thu, 27 Jan 2011 22:10:07 +0000 (23:10 +0100)]
Build with QT_NO_CAST_FROM_BYTEARRAY

7 years agoUse smart trim to make these templates more readable.
Stephen Kelly [Sun, 16 Jan 2011 21:56:06 +0000 (22:56 +0100)]
Use smart trim to make these templates more readable.

7 years agoAdd API for enabling smartTrim.
Stephen Kelly [Sun, 16 Jan 2011 02:30:27 +0000 (03:30 +0100)]
Add API for enabling smartTrim.

7 years agoRestore newline counting to the token creation.
Stephen Kelly [Sun, 16 Jan 2011 22:51:36 +0000 (23:51 +0100)]
Restore newline counting to the token creation.

7 years agoStrip insignificant whitespace from templates.
Stephen Kelly [Sat, 15 Jan 2011 13:58:10 +0000 (14:58 +0100)]
Strip insignificant whitespace from templates.

7 years agoPort the lexer from a QRegExp based state machine to a TextProcessor.
Stephen Kelly [Sat, 15 Jan 2011 03:41:22 +0000 (04:41 +0100)]
Port the lexer from a QRegExp based state machine to a TextProcessor.

7 years agoAdd a state machine for processing a stream of QChars.
Stephen Kelly [Sat, 15 Jan 2011 03:39:28 +0000 (04:39 +0100)]
Add a state machine for processing a stream of QChars.

7 years agoAdd a generic state machine
Stephen Kelly [Sat, 15 Jan 2011 03:38:57 +0000 (04:38 +0100)]
Add a generic state machine

7 years agoFix some encoding issues.
Stephen Kelly [Wed, 26 Jan 2011 20:10:33 +0000 (21:10 +0100)]
Fix some encoding issues.

7 years agoRemove some noise.
Stephen Kelly [Wed, 26 Jan 2011 19:59:38 +0000 (20:59 +0100)]
Remove some noise.

7 years agoBump the patch version in the 0.1 branch.
Stephen Kelly [Wed, 26 Jan 2011 18:05:42 +0000 (19:05 +0100)]
Bump the patch version in the 0.1 branch.

7 years agoUse toUtf8 so as not to constrain the original text. v0.1.8
Stephen Kelly [Mon, 24 Jan 2011 08:32:38 +0000 (09:32 +0100)]
Use toUtf8 so as not to constrain the original text.

7 years agoRedesign to remove the global.
Stephen Kelly [Sat, 22 Jan 2011 17:08:46 +0000 (18:08 +0100)]
Redesign to remove the global.

7 years agoRename the objects to translatable strings.
Stephen Kelly [Sat, 22 Jan 2011 17:02:44 +0000 (18:02 +0100)]
Rename the objects to translatable strings.

7 years agoAdd documentation and simplify the script
Stephen Kelly [Sat, 22 Jan 2011 16:48:31 +0000 (17:48 +0100)]
Add documentation and simplify the script

7 years agoUse liberal BSD style licence for scripts.
Stephen Kelly [Fri, 21 Jan 2011 00:25:09 +0000 (01:25 +0100)]
Use liberal BSD style licence for scripts.

7 years agoClear some containers to avoid processing strings many times.
Stephen Kelly [Thu, 20 Jan 2011 23:10:08 +0000 (00:10 +0100)]
Clear some containers to avoid processing strings many times.

7 years agoRename core/templates and gui/textdocument everywhere practical.
Stephen Kelly [Thu, 20 Jan 2011 22:09:07 +0000 (23:09 +0100)]
Rename core/templates and gui/textdocument everywhere practical.

The libraries themselves can't be renamed for BC reasons

7 years agoAdd some tests showing that garbage input is well handled.
Stephen Kelly [Sat, 15 Jan 2011 23:51:40 +0000 (00:51 +0100)]
Add some tests showing that garbage input is well handled.

7 years agoRemove the settingsToken, which is not used anywhere.
Stephen Kelly [Sun, 16 Jan 2011 22:59:16 +0000 (23:59 +0100)]
Remove the settingsToken, which is not used anywhere.

7 years agoWorkaround MSVC behaviour regarding template initialization.
Stephen Kelly [Wed, 19 Jan 2011 23:08:22 +0000 (00:08 +0100)]
Workaround MSVC behaviour regarding template initialization.

Not sure which compiler has the bug...

7 years agoResolve MinGW warning.
Stephen Kelly [Wed, 19 Jan 2011 22:26:29 +0000 (23:26 +0100)]
Resolve MinGW warning.

The method is defined with inline below.