3dd12b4a5c
fdo#82427 disambiguate "NOT LIKE 'foo'"
...
Change-Id: Iab383639ea73cc87c03f4f42433bc9ccfcd988ef
2014-08-18 22:23:57 +02:00
32551a546c
fdo#81336 bison priority increase with bigger number
...
Change-Id: Ib99f08c52379fd9df90c30b61cc246ee53022506
Reviewed-on: https://gerrit.libreoffice.org/10401
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu >
Tested-by: Lionel Elie Mamane <lionel@mamane.lu >
2014-07-19 07:45:30 +00:00
b5997b9354
JOINs are left-associative
...
Change-Id: I24fdd2ce9bb87cc52a7c84ec8cd300bc13b11461
2014-07-03 15:44:11 +02:00
0de1e3a015
remove spurious com::sun: ⭐ :chaos
...
Apparently some time before inital CVS import a global
search-and-replace went horribly wrong and added spurious namespace
prefixes everywhere.
Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-25 15:04:46 +02:00
39d3f2bb3a
connectivity: sal_Bool->bool
...
Change-Id: Ice855d69c70d4f5fc119ddf1ddebf18ee6add270
2014-04-01 07:38:09 +02:00
ac9212feed
Remove visual noise from connectivity
...
Conflicts:
connectivity/source/inc/odbc/OConnection.hxx
Change-Id: I5ca98359e18cf1b27bf53037dde211774d798626
Reviewed-on: https://gerrit.libreoffice.org/8245
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-02-27 06:54:35 -06:00
c69b6417af
fdo#72598 Remove SunStudio cruft from code base
...
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6
Reviewed-on: https://gerrit.libreoffice.org/7066
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2013-12-13 09:07:07 +00:00
ee712dd696
fdo#72267 boolean_test is subsumed by general case "foo IS [NOT] bar"
...
Change-Id: Ie9666b1c8878dd26593629b4b64d74b7448f98c1
2013-12-07 21:35:57 +01:00
2fde764591
sqlbison.y string clean-up
...
Change-Id: I1ab32794a10f78f305de8057af5885d7719f87a3
2013-11-26 23:15:36 +01:00
7eb42bddb3
windows: warning 4706 is disabled globally in com_MSC_defs.mk
...
So there is no need to do this locally, too.
Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
2013-10-28 01:08:27 +01:00
abb6ab4145
Fix warnings in sqlflex.l, sqlbison.y
...
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
2013-10-02 16:49:48 +02:00
fac0354929
translate german comments in sqlbison.y
...
Change-Id: Ic573e5ae63fdfb3d4ff79eb6d81fe0f4b058d582
2013-09-13 14:56:32 +02:00
04e92a626e
fix Apple g++ 4.2.1 unused function warning in sqlbison.y
...
Change-Id: Icc55a6b485341e3be0d3e96f51f41a2bba1629c1
2013-09-13 14:56:32 +02:00
231cb07d0e
connectivity bison/flex: get rid on unnecessary static OUString()
...
Change-Id: I06057fd5fddde278333bf3b65388c70d30b69d79
2013-07-11 22:34:19 -05:00
a0c50b739c
Further fallout from the connectivity SQL parser changes
...
A couple of headers now need to be public because they are indirectly
included in other modules.
Change-Id: Id01945197b67183a0a042e854289875ae147a0eb
2013-07-10 20:48:49 +03:00
986b39aa4f
Avoid duplicate definition of xxx_pGLOBAL_SQLPARSER at linking stage
...
Change-Id: I29a3a68f9ee434332cad7199a90a1b01c22fbe0e
2013-07-10 20:48:49 +03:00
60a1254495
WaE: unused functions
...
Change-Id: Ie54546ef97fe102de09888ce9c7eefe6c879aae4
2013-07-10 20:48:49 +03:00
86ffbdcd40
make aEmptyString const
...
ensures nobody mistakenly modifies it, and makes other code get
a non-empty string where empty string is expected.
Change-Id: I477edd0e589444da19b68381234eb5e85ecd54cc
2013-07-10 18:15:14 +02:00
f220c3913a
make SQL grammar Generalised LR
...
This fixes parsing failures, like e.g.
warn:legacy.osl:30429:1:dbaccess/source/core/api/SingleSelectQueryComposer.cxx:783: OSingleSelectQueryComposer::getColumns: could not parse the column retrieval statement!
when opening query "Balance" of https://bugs.freedesktop.org/attachment.cgi?id=71964
OTOH, since we have reduce/reduce conflicts, we might have true
ambiguities in our grammar. This change makes the parsing fail
in the presence of full-expression ambiguities instead of making
a ~arbitrary choice.
Change-Id: I88574da91045dd52f198f193c78d144302f298a4
2013-07-10 03:15:12 +02:00
fccfa69c15
remove unused const
...
Change-Id: I94c274e8afc70fa702063d61139299a7bde9165b
2013-04-26 16:49:49 +02:00
5fb4fe1b97
demote OSQLParser::RuleIDToRule failure to INFO
...
Change-Id: Ica2d3485c62f44311f612ade20924690bfbb2666
2013-04-15 11:52:39 +02:00
d42b1afc4f
janitorial: indentation
...
Change-Id: Icf3b500b9317cd45b3dc424da155ab6c48227ea5
2013-04-10 18:12:09 +02:00
488e6875e9
remove external include guards
...
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25 19:58:16 +01:00
f63423d585
Revert "cleanup sqlflex and sqlbison options"
...
This reverts commit b659d7c33fcacdbbef86557e78f071abf94bead2.
That commit appears to have broken the build on Linux. Reverting it
fixes it.
Change-Id: I70d62c04e9fb284ed2c360c0976d0cbeafc2ddc2
2013-03-15 23:11:33 -04:00
b659d7c33f
cleanup sqlflex and sqlbison options
...
Change-Id: I3f01636ef861828fdbe87e4057b6dc293ca63576
2013-03-15 21:19:13 -04:00
6dddefc6e7
fdo#43460: use isEmpty()
...
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09 21:47:31 +01:00
4bf95c4c31
make use of startsWith()
...
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679
Reviewed-on: https://gerrit.libreoffice.org/2599
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-08 13:16:49 +00:00
09109f3dcd
OSQLParser::RuleIDToRule should not silently change s_aReverseRuleIDLookup
...
Change-Id: I2b408a23162b1200bbcd530be7acb42435388b04
2013-01-23 16:32:52 +01:00
369e3fdcda
fdo#46808, Adapt i18n::LocaleData UNO service to new style
...
The implementation of the LocaleData implements the optional XLocaleData4,
so rather than creating a new interface for the new-style service, we simply
make the service implement XLocaleData4, which in turn implements
XLocaleData3, XLocaleData2, XLocaleData.
Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
2012-09-17 14:28:21 +02:00
e8409cbd72
fdo#53887 ConvertLikeToken(): make escape character properly escape itself
...
Change-Id: Ic2b79e78f95e298a08794fa11f227d76152244f5
2012-08-21 19:30:20 +02:00
cc430308c3
Put functions exported by sqlbison.hxx into a .hxx file
...
Change-Id: Ibf4fed39e4d36cb03d079cf55a12d4ec37a70f2b
2012-08-21 19:30:18 +02:00
6c1dd94d78
re-base on ALv2 code.
2012-06-26 11:33:03 +01:00
2b88442ce8
.y files don't need executable bits
...
Change-Id: I3229ae20624c753d5e802d56251a628399a85817
2012-06-22 22:39:31 +02:00
f14bd201ad
ancient bison nees %token-table for yytname to be usable
...
fixes build with XCode 2.5 (Mac/PPC)
2012-06-15 01:34:32 +02:00
f5e1c75333
WaE: avoid build break on Mac PPC/XCode 2.5
...
otherwise breaks with comparison beetween signed and unsigned integer
expressions
2012-06-13 23:27:29 +02:00
874926b2e2
use commandline parameters instead of bison directives (XCode 2.5)
...
XCode 2.5 only has ancient bison that doesn't support the %file-prefix,
%name-prefix,... directives. So use the more compatible commandline
arguments (just like before gbuildification of the module)
2012-06-13 16:09:25 +02:00
2fbb371fa1
cosmetic clean-up
...
Change-Id: I78ecfec2c03df2d040671722c255af2c63f81991
2012-06-02 19:06:50 -05:00
a7d4a73b5e
targeted string re-work
...
Change-Id: I2124610768910ff147ca6496b178c91ea90b48ac
2012-06-02 19:05:06 -05:00
575e8d8d3e
connectivity: Mac use bison 2.3 which need a '=' for %file-prefix
...
Change-Id: I87c2b301739946163c4b5cecf04e30ed6f137e67
2012-05-29 07:35:35 +02:00
62d48a9726
WaE: the address of 'yytname' will always evaluate as 'true'
...
Change-Id: I6e39870bd5fea3bebb0f6f9ecf4ba5e68b4a9d5c
2012-05-29 07:24:49 +02:00
0bd892ed03
WaE: comparison between signed and unsigned integer expressions
...
Change-Id: I32423e8334938b356f0f2a6c5a81e176bbd308c0
2012-05-29 07:24:48 +02:00
2d552f6501
WaE: #pragma system_header ignored outside include file
...
Change-Id: I4e5e7a42f16323d8cfd9f6dbe89f27d78d6c6348
2012-05-29 07:24:48 +02:00
091e018205
connectivity: convert dbt to gbuild
2012-05-29 07:24:26 +02:00
00e26baaf5
fdo#46206 accept an arbitrary query for INSERT
2012-02-17 07:28:46 +01:00
6f3ebfc4c7
fdo#46198: NULL is a perfectly fine general_value
2012-02-17 07:28:46 +01:00
b713652b33
Also teach "foo IS [NOT] bar" to our SQL parser (when bar is not NULL)
...
Syntax supported by at least SQLite.
2012-01-17 15:47:44 +01:00
6031d1285c
fdo#44813: teach "IS (NOT) DISTINCT FROM" to our SQL parser
2012-01-17 15:47:43 +01:00
9ee19c8fad
fdo#41474: remove setCharAt and charAt from O[U]StringBuffer
2011-12-01 16:23:08 -05:00
217046eb34
only used with higher debug level
2011-11-19 21:11:01 +00:00
14e3351b22
Small fix OParseNode->OSQLParseNode
2011-10-30 13:32:11 +01:00