summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
Commit message (Collapse)AuthorAge
...
* Fixed version check for generated code so we can actually use 2.1.0 codeMichi Henning2005-05-11
| | | | against a 2.1.1 library.
* 2004 -> 2005Bernard Normier2005-02-16
|
* Updated copyrights to 2005Bernard Normier2005-02-16
|
* fix for normalizePathMark Spruiell2005-01-13
|
* normalize pathsMark Spruiell2005-01-13
|
* fixed include path handlingMarc Laukien2004-11-03
|
* adding streaming APIMark Spruiell2004-10-19
|
* Fixed the way keywords are escaped. A Slice keyword is now escaped onlyMichi Henning2004-09-10
| | | | | | | | where needed, instead of everywhere. That is, Slice "while" maps to "_while", but "whilePrx". This makes the generated code a lot easier to use. Fixed a bug in the --impl code -- fully-qualified names caused syntax errors in the generated method definitions.
* Copyright fixesBernard Normier2004-05-19
|
* Fixed copyrightBernard Normier2004-05-18
|
* Updated copyright noticeBernard Normier2004-05-11
|
* - 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.
* Fixed Sun warningsBernard Normier2003-05-23
|
* Merged HEAD and slicing trees.Michi Henning2003-05-08
|
* Eliminated numerous warnings from Sun C++ 5.4 buildsBernard Normier2003-04-24
|
* Macro reorg/cleanupBernard Normier2003-04-17
|
* marshal code optimizationMarc Laukien2003-03-22
|
* Fixed unmarshaling side for classes that have a member that is only forwardMichi Henning2003-03-20
| | | | declared, but not defined.
* The following Slice file generated incorrect code:Michi Henning2003-03-19
| | | | | | class X; class Y { X myX; }; Fixed the marshaling side (__write() and __marshal()) for this, but the reading side (__read() and __unmarshal()) are still broken.
* version update; date changeMarc Laukien2003-02-04
|
* fixed copyright dateMarc Laukien2002-11-06
|
* changing copyright location; adding GPL noteMark Spruiell2002-10-28
|
* changing Mutable Realms to ZeroCMark Spruiell2002-10-26
|
* Made _factory member of generated classes private.Michi Henning2002-10-08
|
* Fixed remaining bugs for escaped keywords in C++ code generation. TheMichi Henning2002-07-23
| | | | | torture test IDL compiles correctly now. Removed a few commented-out sections of code that I left behind earlier.
* 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...
* Added sanity checks to make sure that the meaning of an identifier doesn'tMichi Henning2002-07-16
| | | | | | | | | change halfway through a scope. This all works now, except for operations because, currently, parameter lists are not in their own scope (but they have to be). Will add that tomorrow. Also want to improve diagnostics to show, if an identifier changes meaning, where it was introduced with different meaning.
* 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
|
* Move the ICE_INT64_LITERAL macro into its own header file (Ice/Const.h).Michi Henning2002-07-05
| | | | | That was cleaner than polluting the generated files with the macro definition over and over...
* Changed the way 64-bit literals are done in the generated code. TheMichi Henning2002-07-05
| | | | | approach used now (a macro) makes the generated source more readable than the previous one.
* Constant definitions for Slice are complete now. (Code generation for C++Michi Henning2002-07-05
| | | | | | | | | | | | | | | | | | | | | | only.) I couldn't avoid adding a few #ifdefs because of the different 64-bit integer APIs across Linux and Windows. (#including config.h wasn't an option because that would have created a circular dependency between Ice and Slice.) Added sufficient test cases to convince myself that things actually work as intended. Will compile under Windows now, so bear with me if things are broken under Windows for a few minutes... Some things that aren't quite right yet: - No support for universal character names (\uxxxx) - gcc appears to have a preprocessor bug. For example, preprocessing a file containing a single '@' character just echos that '@' character to the output. According to the C++ spec, '@' should be translated to its universal character name (because it isn't part of the basic C++ source character set). - Why is the Slice string type mapped to std::string? Given that we are supposed to support unicode for everything, shouldn't that be mapped to std::wstring? Once Windows compiles OK, I'll start on the Java code generation.
* removed spaces after keywordsMarc Laukien2002-06-23
|
* fixMarc Laukien2002-05-13
|
* fixMarc Laukien2002-05-06
|
* WIN32->_WIN32Marc Laukien2002-04-10
|
* removing __getClassIdsMark Spruiell2002-03-16
|
* revising Stream.ice to remove out paramsMark Spruiell2002-02-13
|
* Move Slice/OutputUtil to IceUtil. Integrate IceXML/Output.cpp withMatthew Newhook2002-01-31
| | | | OutputUtil. Various Makefile fixes.
* Initial commit of generic marshaling.Matthew Newhook2002-01-23
|
* started with removal of wstringMarc Laukien2002-01-16
|
* fixMarc Laukien2001-12-05
|
* fixesMarc Laukien2001-12-05
|
* fixed marshaling bug for Ice::ObjectMarc Laukien2001-12-04
|
* removed truncation featureMarc Laukien2001-10-22
|
* ServantFactory->ObjectFactoryMarc Laukien2001-10-20
|
* slicified local exceptionsMarc Laukien2001-10-11
|
* more error checksMarc Laukien2001-10-10
|
* removed pickler, nativeMarc Laukien2001-10-09
|
* fixesMarc Laukien2001-10-08
|