summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.cpp
Commit message (Collapse)AuthorAge
...
* Adding support for global metadata. Removing the --package option inMark Spruiell2003-12-12
| | | | | slice2java. Using global metadata to define packaging in slice2java, slice2freezej.
* - Removed dependency on Xerces.Mark Spruiell2003-09-11
| | | | | | | | | - Removed generic stream interface Ice::Stream and ice_marshal functions. - Removed XML stream implementation and related test. - Removed XML transformer and related test. - Removed slice2xsd. - Added C++ wrapper for the expat XML parser in IceXML::Parser. - Removed XML encoding from Freeze.
* generated code for custom sequences did not check for nullMark Spruiell2003-06-03
|
* adding generic sequence patchers; bug fixesMark Spruiell2003-05-24
|
* Fixed the bug that Benoit found yesterday in both ice and icej.Michi Henning2003-05-23
| | | | | | | | | | | | | | | | | | | | (Zero-length sequence containing class elements caused an crash.) :Ice::Object). Obviously, this would cause an assertion failure or a {{{ClassCastException}}}. The solution is simply to force the down-cast in the generated patch function and to check whether the cast failed: if so, the class was sliced too much and we throw a {{{NoObjectFactoryException}}} as we should. (For Java, the exception is thrown from {{{BasicStream.readObject}}}, after catching a {{{ClassCastException}}}. For C++, the exception is thrown directly from the generated patch function.) :Ice::Object}}} and {{{::Printer}}}. Updated the code generator to correctly initialize the {{{type}}} member of a {{{NoObjectFactoryException}}} with the type ID of the type that wasn't found. (Unfortunately, this involved modifying {{{Parser.h}}}, so you will have to rebuild both ice and icej.) Added code generation for custom sequence types for icej. Generated code compiles and looks OK, but I haven't written tests yet, so there may still be a latent bug in this.
* - Fixed bugs relating to use of ends iomanipulator.Michi Henning2003-05-21
| | | | | | | | - Fixed code generation bug for dictionaries with a key type not derived from Object. - Added tests for dictionary slicing. - Restructured slicing tests to use more intuitive file names and better directory structure.
* - Fixed a bug in the code generator for dictionaries with class values.Michi Henning2003-05-19
| | | | | | | | | - Added more support for Java slicing. - Changed config/Make.rules: "make depend" was calling slice2cpp with ICECPPFLAGS, not SLICE2CPPFLAGS. This meant that "make depend" was invoking slice2cpp with options that were potentially different from those passed for normal compilation of slice files, which could lead to inconsistencies.
* version update; date changeMarc Laukien2003-02-04
|
* slice2java fixMarc Laukien2003-02-03
|
* accept null as a sequence argumentMark Spruiell2002-11-08
|
* minor fixesMark Spruiell2002-10-28
|
* changing copyright location; adding GPL noteMark Spruiell2002-10-28
|
* changing Mutable Realms to ZeroCMark Spruiell2002-10-26
|
* make _factory privateMark Spruiell2002-10-08
|
* bug fixMark Spruiell2002-08-27
|
* bug fix in getAbsolute for scope removal - only remove scope if result isMark Spruiell2002-07-24
| | | | unscoped
* fixed bugs in getAbsolute when removing scope with escaped keywordsMark 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...
* 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
|
* removed spaces after keywordsMarc Laukien2002-06-23
|
* bug fixMark Spruiell2002-05-07
|
* adding support for sequence metadataMark Spruiell2002-05-03
|
* WIN32->_WIN32Marc Laukien2002-04-10
|
* removing __getClassIdsMark Spruiell2002-03-16
|
* another trivial bug fixMark Spruiell2002-03-12
|
* bug fix; cleanupMark Spruiell2002-03-08
|
* refactoring slice2java; adding slice2freezejMark Spruiell2002-03-06