summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
Commit message (Collapse)AuthorAgeFilesLines
* fix various flake8 whitespace errorsEli Schwartz2021-10-271-2/+2
|
* fix extra whitespaceEli Schwartz2021-10-041-4/+0
| | | | discovered via flake8 --select E303
* remove useless variables that are no longer or were never usedEli Schwartz2021-10-041-1/+0
|
* fix untested codepath? add:item() is surely a typo, not a real functionEli Schwartz2021-09-141-1/+1
|
* pyllint: enable consider-user-enumerateDylan Baker2021-08-311-6/+2
| | | | | | | | | | | | | | | | | | | | | | This caught a couple of cases of us doing: ```python for i in range(len(x)): v = x[i] ``` which are places to use enumerate instead. It also caught a couple of cases of: ```python assert len(x) == len(y) for i in range(len(x)): xv = x[i] yv = y[i] ``` Which should instead be using zip() ```python for xv, yv in zip(x, y): ... ```
* pylint: turn on superflous-parensDylan Baker2021-08-311-16/+16
| | | | | | | | We have a lot of these. Some of them are harmless, if unidiomatic, such as `if (condition)`, others are potentially dangerous `assert(...)`, as `assert(condtion)` works as expected, but `assert(condition, message)` will result in an assertion that never triggers, as what you're actually asserting is `bool(tuple[2])`, which will always be true.
* pylint: enable consider-iterating-dictionaryDylan Baker2021-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | This didn't actually catch what it's supposed to, which is cases of: ```python for x in dict.keys(): y = dict[x] ``` But it did catch one unnecessary use of keys(), and one case where we were doing something in an inefficient way. I've rewritten: ```python if name.value in [x.value for x in self.kwargs.keys() if isinstance(x, IdNode)]: ``` as ``python if any((isinstance(x, IdNode) and name.value == x.value) for x in self.kwargs): ``` Which avoids doing two iterations, one to build the list, and a second to do a search for name.value in said list, which does a single short circuiting walk, as any returns as soon as one check returns True.
* Fix duplicated frameworks in the Xcode backend.Jussi Pakkanen2021-08-211-1/+7
|
* Fix multiple generators in target in Xcode.Jussi Pakkanen2021-08-211-2/+2
|
* Path special casing for the Xcode backend.Jussi Pakkanen2021-08-211-1/+5
|
* Handle .C extension in Xcode.Jussi Pakkanen2021-08-211-1/+4
|
* backends: remove unused name parameter from as_meson_exe_cmdlineDylan Baker2021-08-201-2/+1
| | | | This parameter isn't used, at all, so just remove it
* editorconfig: add setting to trim trailing whitespaceEli Schwartz2021-08-151-15/+15
| | | | | | | and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
* more f-strings too complex to be caught by pyupgradeEli Schwartz2021-07-051-1/+1
|
* another pyupgrade passEli Schwartz2021-06-071-3/+3
|
* Add swift executable support in Xcode.Jussi Pakkanen2021-05-231-1/+8
|
* Remove unnecessary hierarchical layer.Jussi Pakkanen2021-05-231-10/+4
|
* Remove top level sources entry as unnecessary.Jussi Pakkanen2021-05-231-24/+6
|
* Add meson.build files to pbxgroup.Jussi Pakkanen2021-05-231-9/+31
|
* Write project info in a tree structure rather than the current flat one.Jussi Pakkanen2021-05-231-37/+97
|
* Xcode: fix project cleaning.Jussi Pakkanen2021-04-291-2/+2
|
* Xcode: make Swift projects work.Jussi Pakkanen2021-04-251-1/+8
|
* Xcode: add objective C++ flags to plain C++ because Xcode requires it.Jussi Pakkanen2021-04-251-1/+3
|
* Xcode: add objective C flags to plain C because Xcode requires it.Jussi Pakkanen2021-04-251-2/+9
|
* Xcode: fix linking to customtargetindex objects.Jussi Pakkanen2021-04-241-7/+28
|
* Xcode: even more command line argument expansion.Jussi Pakkanen2021-04-231-1/+6
|
* Xcode: Quote McQuoteface.Jussi Pakkanen2021-04-231-2/+2
|
* Xcode: handle CustomTargetIndexes.Jussi Pakkanen2021-04-231-6/+20
|
* Xcode: ever more quoting.Jussi Pakkanen2021-04-231-1/+4
|
* Xcode: only add source and build dirs if implicit_include_directories is set.Jussi Pakkanen2021-04-231-2/+3
|
* Xcode: do not link shared modules against executables.Jussi Pakkanen2021-04-221-0/+2
|
* Xcode: add missing quote character.Jussi Pakkanen2021-04-221-1/+1
|
* Xcode: fix shell quotings.Jussi Pakkanen2021-04-221-2/+2
|
* Xcode: skip link language override test.Jussi Pakkanen2021-04-221-1/+1
|
* Xcode: put all include dirs via a property rather than a cmd line arg.Jussi Pakkanen2021-04-211-6/+9
|
* Xcode: add target private dir to include path.Jussi Pakkanen2021-04-211-0/+1
|
* Xcode: quote some entries as needed.Jussi Pakkanen2021-04-211-2/+8
|
* Xcode: fix file objects in various places.Jussi Pakkanen2021-04-201-13/+31
|
* Xcode: fix compiling shared modules.Jussi Pakkanen2021-04-201-4/+20
|
* Xcode: regenerato project file when build conf changes.Jussi Pakkanen2021-04-191-7/+58
|
* Xcode: replace all backslashes with eight backslashes. Because obviously.Jussi Pakkanen2021-04-191-0/+4
|
* Xcode: fix generators that take custom targets as inputs.Jussi Pakkanen2021-04-181-81/+120
|
* Xcode: add proper target dependencies to custom targets.Jussi Pakkanen2021-04-181-3/+5
|
* Xcode: fix running commands that lie in the build root dir.Jussi Pakkanen2021-04-181-2/+2
|
* Xcode: fix custom target chaining.Jussi Pakkanen2021-04-181-1/+1
|
* Xcode: made custom targets into top level AggregateTargets.Jussi Pakkanen2021-04-181-6/+114
|
* Xcode: make the test target depend on build_all target.Jussi Pakkanen2021-04-161-1/+6
|
* Xcode: fix custom targets that produce objs and libs.Jussi Pakkanen2021-04-161-1/+8
|
* Xcode: handle capturing generators.Jussi Pakkanen2021-04-161-1/+7
|
* Xcode: this is what happens when you do not treat command lines as arrays.Jussi Pakkanen2021-04-151-0/+1
|