summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
Commit message (Collapse)AuthorAge
...
* Added changes for idempotent.Michi Henning2002-08-22
|
* Changed nonmutating from metadata do keyword.Michi Henning2002-08-12
|
* bug fixes for constant scopingMark Spruiell2002-07-23
|
* Picked up a few style crimes and fixed them.Michi Henning2002-07-19
| | | | | | | | | | | | | | | | | | Added code generation for Java constants to slice2java. Added missing keyword (strictfp) to lists of keywords that need escaping for Java. Fixed bug in Java code generator: if a type name had a prefix in common with the name of its enclosing scope, the scope mangling code stripped off too much of the scope. For example: enum color { red }; const color c = red; This resulted in the generated type name being "olor" instead of "color" because the constant starts with the same letter as the name of the type. Fixed bug in the keyword escape mechanism -- keywords embedded in scoped names were not escaped. Keywords escaping for both Java and C++ still has bugs. I wrote two Slice torture files full of keywords. Neither the generated C++ code nor the generated Java code work for those files yet. Need to look at this...
* facet pathMarc Laukien2002-07-17
|
* Updated slice parser to put parameter declarations into their own scope.Michi Henning2002-07-17
| | | | | | | | | | | | | | | | | | | | | | That way, we can check whether meaning changes as identifiers are introduced into parameter declarartions. Changes were quite extensive because one thing dragged another behind it... Got rid of some of the pesky parse errors caused by returning zero from some creation operations. In general, it seems easier to, whenever possible, to create a dummy instance of something that doesn't quite parse or doesn't quite get through a semantic check. This avoids calling YYERROR, which can make a big mess of the scope stack. (I got stuck on this for quite a long time before I figured out what was going on.) Took the opportunity to get rid of the awkward parsing for parameter lists. We now have only a single parameters non-terminal, which simplifies things (and also got rid of the one remaining shift/reduce conflict in the grammar). Updated all the code generators to work with the new structure for the syntax tree. Kept a rather ugly hack in Grammar.y to still permit use of semicolons to indicate out params. This will go with stable_39, so I don't mind that it's ugly for now.
* Changed C++ code generator to escape Slice identifiers that are C++Michi Henning2002-07-10
| | | | | | keywords with a "_cpp_" prefix. Changed Java code generator to use binary_search() instead of the hand-coded binary search.
* added spaceMarc Laukien2002-07-09
|
* More work on constant definitions. For C++, code is generated now (notMichi Henning2002-07-03
| | | | | | | | quite correct yet for enums and long long). The other code generators (java, xsl, etc.) ignore constants for now. Semantic checks are in place, apart from enums. Still more work to do -- this is just an intermediate check-in. (About to test this on Windows too...)
* Merged location branch.Benoit Foucher2002-06-28
|
* const correctnessMarc Laukien2002-06-26
|
* removed spacesMarc Laukien2002-06-25
|
* removed spaces after keywordsMarc Laukien2002-06-23
|
* adding --clone, which generates a simple clone() implementation forMark Spruiell2002-05-09
| | | | non-abstract classes and structs
* cleaning up sample implsMark Spruiell2002-05-03
|
* adding support for sequence metadataMark Spruiell2002-05-03
|
* fix scoping bug with dispatch codeMark Spruiell2002-04-30
|
* Fix bug with generation of Disp classes.Matthew Newhook2002-04-23
|
* added members to object, facet, and operation not exist exceptionsMarc Laukien2002-04-19
|
* generate PrxHolder for interfacesMark Spruiell2002-03-28
|
* adding default constructor for tie classesMark Spruiell2002-03-27
|
* bug fix for Operations interfacesMark Spruiell2002-03-26
|
* adding support for TIE classesMark Spruiell2002-03-25
|
* removing __getClassIdsMark Spruiell2002-03-16
|
* more performance fixesMark Spruiell2002-03-14
|
* bug fixMarc Laukien2002-03-12
|
* Ice protocol optimizationsMarc Laukien2002-03-10
|
* initial performance fixesMark Spruiell2002-03-08
|
* adding constructors to holder classesMark Spruiell2002-03-07
|
* refactoring slice2java; adding slice2freezejMark Spruiell2002-03-06
|
* bug fix for dispatching new operationsMark Spruiell2002-03-04
|
* bug fix: BooleanSeq => BoolSeqMark Spruiell2002-02-21
|
* bug fix; generate Helper for sequences of primitive typesMark Spruiell2002-02-21
|
* adding collocated supportMark Spruiell2002-02-12
|
* fix for readObject; generic marshalling supportMark Spruiell2002-02-05
|
* minor reformat of comment.Matthew Newhook2002-01-31
|
* WIN32 updates.Matthew Newhook2002-01-31
|
* Move Slice/OutputUtil to IceUtil. Integrate IceXML/Output.cpp withMatthew Newhook2002-01-31
| | | | OutputUtil. Various Makefile fixes.
* restoring 1.22 changesMark Spruiell2002-01-29
|
* fix for stable_31 compatibility (temporarily removing 1.22 revision)Mark Spruiell2002-01-29
|
* removed nonmutating as keywordMarc Laukien2002-01-25
|
* revising servant mapping for interfacesMark Spruiell2002-01-21
|
* adding --impl optionMark Spruiell2002-01-16
|
* started with removal of wstringMarc Laukien2002-01-16
|
* changing HashMap to Map for context paramMark Spruiell2002-01-15
|
* bug fixMark Spruiell2002-01-04
|
* more server, bug fixesMark Spruiell2002-01-03
|
* initial server support; align with stable_31Mark Spruiell2001-12-27
|
* Win32 fixMark Spruiell2001-12-18
|
* more bug fixesMark Spruiell2001-12-15
|