- Apr 09, 2013
-
-
Nikolai Kosjar authored
Change-Id: I120b47c0af14afec01b653a01baac78d6ca8a78e Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Mar 15, 2013
-
-
Friedemann Kleint authored
Change-Id: I46ff779bae6d7bba105bc2019228ba38b95dc352 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Mar 11, 2013
-
-
Friedemann Kleint authored
Change-Id: I1c78f5f5a7174002cd25bea109d5fe795530cdb5 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- Jan 29, 2013
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Jan 08, 2013
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- Dec 06, 2012
-
-
Nikolai Kosjar authored
The tool produced always different output because of an iteration through a QSet (order not defined). Change-Id: I002997cc7e20a89e428cad439eb7afee5abb8b86 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I9de2c7fe51fea7844813cecb7c68f9a85a8e1e62 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 22, 2012
-
-
Nikolai Kosjar authored
* Add -h and -help options describing the tools and their usage. * Make the tools compile and run on Windows (MinGW, MSVC). * Rename project dirs, executables and main source files to more meaningful names: - Use same base name for project dir, *.pro file, main source file and (if applicable) script file. - Use the prefix "cplusplus-". - The names are now: - gen-cpp-ast/generate-ast --> cplusplus-update-frontend - mkvisitor --> cplusplus-mkvisitor - cplusplus-dump/cplusplus0 --> cplusplus-ast2png * Get rid of 'c++' shell scripts. * Get rid of duplicates of 'conf.c++'. Rename to 'pp-configuration.inc'. * Introduce src/tools/cplusplus-tools-utils containing common stuff that is used at least in two tools. 'pp-configuration.inc' can also be found here. * cplusplus-update-frontend: - Print file paths of written files to stdout. - Convenience: Use default values referencing the appropriate dirs and files. * cplusplus-mkvisitor: - Take only one argument, namely the path to AST.h. - Convenience: Use default path to AST.h. * cplusplus-ast2png: - Make it run without LD_LIBRARY_PATH. - As the name suggests, generate image files in png format (needs 'dot' from graphviz). - Convenience: Read from stdin, which useful for small snippets. Change-Id: I79c4061fce4a1571c0588dfedd50d4a70715d9df Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 05, 2012
-
-
Nikolai Kosjar authored
Change-Id: Ib3a6662e8ba374f46a1d9bf7056bf44a704879b6 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Nikolai Kosjar authored
1. Earlier refactoring did not adapt usages here. 2. Compile with Qt5. Change-Id: Ic461f2acb03d51e9ad903c4aa65b7d9e6d80fe86 Reviewed-by:
hjk <qthjk@ovi.com>
-
- Oct 05, 2012
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 19, 2012
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- Jan 26, 2012
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- Jan 13, 2012
-
-
Leandro Melo authored
Continuinng a previous commit... This is in order to make the interface clearer. Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Nov 03, 2011
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Aug 30, 2011
-
-
Roberto Raggi authored
Change-Id: I9d18224699034150eee13249ec90e0747afe0814 Reviewed-on: http://codereview.qt.nokia.com/3866 Reviewed-by:
Christian Kamm <christian.d.kamm@nokia.com> Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com>
-
- Jul 06, 2011
-
-
hjk authored
Change-Id: I61e7cf189a1c4ea04e2a88a80a4f15e43cd3c018 Reviewed-on: http://codereview.qt.nokia.com/1187 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- May 16, 2011
-
-
Roberto Raggi authored
-
- Apr 19, 2011
-
-
Friedemann Kleint authored
-
- Apr 13, 2011
-
-
hjk authored
-
- Jan 12, 2011
- Jan 06, 2011
-
-
Christian Kamm authored
* Updated for new AST nodes. * Now also includes helpers for building Lists. Reviewed-by: Erik Verbruggen
-
Christian Kamm authored
-
- Dec 17, 2010
- Sep 15, 2010
-
-
Erik Verbruggen authored
-
- Sep 09, 2010
-
-
Erik Verbruggen authored
- Changed generator to generate: - Changed AST::lastToken to return 1 if there is none - Changed Bind.cpp to set the scope of the block following a control statement to extend upto (and not including) the first token after the block. So basically, including any whitespace after the control statement. Reviewed-by: Roberto Raggi
-
- Aug 12, 2010
-
-
Roberto Raggi authored
-
- Aug 02, 2010
-
-
Roberto Raggi authored
-
- Jul 06, 2010
-
-
Erik Verbruggen authored
-
- Jul 02, 2010
-
-
Erik Verbruggen authored
-
- Jul 01, 2010
-
-
Erik Verbruggen authored
-
- Jun 24, 2010
-
-
Erik Verbruggen authored
-
- Mar 18, 2010
-
-
Erik Verbruggen authored
-
Erik Verbruggen authored
-
Roberto Raggi authored
-
- Mar 05, 2010
-
-
hjk authored
-
- Feb 04, 2010
-
-
Erik Verbruggen authored
Also removed the (conditional) invoke_token from DeclarationAST and use the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch code generation.
-
- Feb 02, 2010
-
-
Erik Verbruggen authored
-