summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
Commit message (Collapse)AuthorAge
...
* lots and lots of fixesMarc Laukien2002-09-29
|
* Added adapter member to Ice::Current.Michi Henning2002-09-24
|
* thread fixesMarc Laukien2002-09-22
|
* Runtime->LocalMarc Laukien2002-09-20
|
* Renamed Ice::LocalException to Ice::RuntimeException.Michi Henning2002-09-20
|
* fixed problem with collocated local exceptionsMarc Laukien2002-09-13
|
* Changed Current.ice to use enum OperationMode to distinguish betweenMichi Henning2002-09-04
| | | | | | | | | Normal, Nonmutating, and Idempotent operations. Fixed bug introduced into Freeze with previous changes for saving object state. (State wasn't saved for idempotent operations.) Retested everything. I'm getting a failure in the Yellow (C++) tests, and another failure in the IceBox (Java) tests, but I don't think these are related to these changes.
* fixesMarc Laukien2002-08-23
|
* Added changes for idempotent.Michi Henning2002-08-22
|
* Changed nonmutating from metadata do keyword.Michi Henning2002-08-12
|
* Changed C++ mapping to generate const member functions in the skeletonMichi Henning2002-08-07
| | | | class for nonmutable operations.
* 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.
* 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
|
* 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.
* 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
|
* more fixesMarc Laukien2002-06-10
|
* dll export fixMarc Laukien2002-05-17
|
* dll export fixMarc Laukien2002-05-17
|
* FixesMarc Laukien2002-05-13
|
* fixMarc Laukien2002-05-13
|
* cleaning up sample implsMark Spruiell2002-04-24
|
* added members to object, facet, and operation not exist exceptionsMarc Laukien2002-04-19
|
* WIN32->_WIN32Marc Laukien2002-04-10
|
* removing __getClassIdsMark Spruiell2002-03-16
|
* bug fixMarc Laukien2002-03-12
|
* Ice protocol optimizationsMarc Laukien2002-03-10
|
* 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.
* Rename ice_id() to ice_staticId(). Add ice_id() & ice_facets().Matthew Newhook2002-01-29
|
* Added test/IceXML/encoding. Various bug fixes for IceXML.Matthew Newhook2002-01-29
|
* fixMarc Laukien2002-01-27
|
* removed nonmutating as keywordMarc Laukien2002-01-25
|
* Generation of helper types for sequence & dictionary.Matthew Newhook2002-01-25
|
* Fix bug with generic marshaling code for sequences & dictionaries.'Matthew Newhook2002-01-25
|
* fixing writeAssign, removing Communicator arg to constructor in sampleMark Spruiell2002-01-23
| | | | impls
* Added support for ice_ids.Matthew Newhook2002-01-23
|
* Initial commit of generic marshaling.Matthew Newhook2002-01-23
|
* fixesMarc Laukien2002-01-23
|
* adding --impl optionMark Spruiell2002-01-22
|
* glacier intergrationMarc Laukien2002-01-14
|
* ConnectionMarc Laukien2001-12-16
|