Rasmus Lerchedahl Petersen
2539e2ec1a
Python: slightly improve tarslip logic
2023-12-08 17:18:25 +01:00
erik-krogh
e8f9e366d5
remove redundant imports for JS
2023-12-08 16:56:54 +01:00
Ed Minnix
1526da5929
Deprecation change note
2023-12-08 10:50:04 -05:00
Ed Minnix
aebbc7d4ab
Add private imports to prevent compile warnings
2023-12-08 10:42:11 -05:00
Ed Minnix
1b8f3f3450
Deprecate or remove imports of dataflow library copies
2023-12-08 10:42:10 -05:00
Michael Nebel
fd12c3a3ba
C#: Update expected test output.
2023-12-08 16:10:38 +01:00
Harry Maclean
944fbeb34c
Ruby: Update comment
...
We don't actually generate type models for `extend` relationships yet,
because they are more complex than `include`.
2023-12-08 14:54:21 +00:00
Harry Maclean
ece196cb25
Ruby: Update model editor tests
2023-12-08 14:52:51 +00:00
Anders Schack-Mulligen
0618568cdc
Merge pull request #15045 from aschackmull/java/fix-cp
...
Java: Fix accidental cartesian product.
2023-12-08 15:43:01 +01:00
Anders Schack-Mulligen
1ea2f89e27
Merge pull request #15046 from aschackmull/dataflow/deprecation-changenote
...
Dataflow: Add change note about deprecation.
2023-12-08 15:42:34 +01:00
Mathias Vorreiter Pedersen
90b06c2046
C++: Switch the source of use-after-free and double-free to be post-update nodes.
2023-12-08 14:41:29 +00:00
Michael Nebel
9aeba5063f
C#: Use cast expressions for object defaults.
2023-12-08 15:37:12 +01:00
Harry Maclean
ec24b25c8b
Ruby: fix location in model editor query
2023-12-08 14:16:50 +00:00
Harry Maclean
e6df264865
Ruby: Report module declarations to model editor
...
This allows us to render type relations between modules/classes, not
just methods.
2023-12-08 14:16:49 +00:00
Harry Maclean
c1c258f567
Ruby: Include ancestors in type model generation
2023-12-08 14:16:49 +00:00
Mathias Vorreiter Pedersen
5bb2144c80
C++: Add field-flow through addresses of fields
2023-12-08 14:13:01 +00:00
Michael Nebel
6c30f6a748
C#: Add some test cases and update (incorrect) expected output.
2023-12-08 15:09:35 +01:00
Jeroen Ketema
db6b1e5f5e
Merge pull request #14912 from jketema/dep-userinput
...
C++: Deprecate `isUserInput`, `userInputArgument`, and `userInputReturned`
2023-12-08 15:04:23 +01:00
Ian Lynagh
eab32ea24b
Kotlin 2: Accept changes in query-tests/UnderscoreIdentifier
2023-12-08 13:49:25 +00:00
Alex Eyers-Taylor
da5c2d9bad
CPP: Use guard libraries to find equalities with zero.
2023-12-08 13:30:30 +00:00
Alexander Eyers-Taylor
df32e9556c
Update cpp/ql/src/change-notes/2023-12-04-incorrectly-checked-scanf.md
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2023-12-08 13:29:13 +00:00
Anders Schack-Mulligen
64eb4ff753
Merge pull request #14983 from aschackmull/dataflow/deprecate-old-api
...
Data Flow: Deprecate old data flow api.
2023-12-08 14:27:25 +01:00
Anders Schack-Mulligen
75d8da9007
Dataflow: Add change note about deprecation.
2023-12-08 14:25:20 +01:00
Jeroen Ketema
c6b0a2363a
C++: Add change note
2023-12-08 13:31:32 +01:00
Anders Schack-Mulligen
7ee3068fe7
Java: Fix accidental cartesian product.
2023-12-08 13:27:05 +01:00
Jeroen Ketema
5165999e9e
C++: Deprecate isUserInput, userInputArgument, and userInputReturned
2023-12-08 13:21:31 +01:00
Mathias Vorreiter Pedersen
30c67ba6e7
Merge pull request #15040 from MathiasVP/fewer-dataflow-branches
...
C++: Fix dataflow inconsistencies
2023-12-08 12:14:49 +00:00
Harry Maclean
1dc0a063b0
Merge pull request #14679 from hmac/hmac-model-editor-ruby
...
Ruby: Experimental model editor support
2023-12-08 11:03:38 +00:00
Mathias Vorreiter Pedersen
90a62b27f5
Merge branch 'main' into fewer-dataflow-branches
2023-12-08 10:35:33 +00:00
Rasmus Wriedt Larsen
dc90411809
Python: Don't include docs/ folder
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
004bb50ef2
Python: Disallow invalid path component
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
6ce8cd38d8
Python: Disallow examples
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
6db3b37ed7
Python: Use separate directory for subclass capture models
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
c4abffe77e
Python: Ignore any captured info with tests in it
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
de41f199fc
Python: Allow single file processing
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
2c0bed174f
Python: Remove suspicious packages
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
0b5c73ae1e
Python: Allow any .bqrs file
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
b24e565128
SubclassFinder: don't include site-packages
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
aa5eee1eac
Python: Revert manual pickle modeling
...
This reverts commit 62910f0cab525ca4d4901c4c27f6e6b22c3375fc.
This reverts commit 75a8197879ec47094d9b18f3dab7bcc1c1cdba28.
We don't find `kombu.serialization.pickle_load` since we respect
`__all__`. I think that was an attempt to not flood the captured
modeling with useless re-exports, but I think we've ended up doing that
anyway... we should consider to remove that restriction!
see 21d7df29c7/kombu/serialization.py (L29)
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
f74581ad09
Revert "Python: Model owslib.etree.etree directly"
...
This reverts commit 1213e786519a11142746fd3a725c874181f3a42b.
By fixing a few bugs in the SubclassFinder + manually running Find.ql on the geonode DB from DCA, I found that the installed version of owslib had both: https://github.com/geopython/OWSLib/blob/0.27.2/owslib/etree.py
2023-12-08 11:27:53 +01:00
Rasmus Wriedt Larsen
6ef9a2b11e
Python: Fix problem if import is used
...
I fixed it in both predicates... I think we might still be able to remove
`newDirectAlias` -- but with it being better, it will allow us to better test if `newImportAlias` actually cover everything we need!
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
fcdc8102e2
Python: Add test highlight problem is import is used :O
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
f1fd9b4c7a
Python: Fix underlying problem of not using Alias
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
a956e1f613
Python: Use django View instead of MethodView
...
Due to the 'only model most specific spec' logic highlighted in previous
commit, I'm changing away from MethodView/View, and use Django view instead.
In practice this shouldn't matter at all, but for writing tests it would
have been a nice fix to only have the "same name but more specific"
logic apply when it's the same _definition_ location. We used to have
this information available, but right now we don't... so instead of
spending a lot of time rewriting the core library, I simply used a
different class :D :O :(
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
03aa2e27df
Python: Explain the funky logic in Find.ql
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
1f8f6dd0ec
Python: Ensure no deps visible in FindSubclass tests
2023-12-08 11:27:52 +01:00
Rasmus Wriedt Larsen
af2d783b38
Python: More examples of things to handle in find-subclass
2023-12-08 11:27:52 +01:00
Taus
fa6aec7ae2
Python: Model owslib.etree.etree directly
...
Somehow, this alias did not get picked up by the tooling.
2023-12-08 11:27:52 +01:00
Taus
6d40e7e0fc
Python: Add extensible modelling for lxml.etree
2023-12-08 11:27:52 +01:00
Taus
5b9d56774b
Python: Refactor references to ElementTree
...
This would probably be better as a module, but I wanted to verify
first that this would yield the right results.
2023-12-08 11:27:52 +01:00