Activity log for bug #622272

Date Who What changed Old value New value Message
2010-08-22 15:11:33 Luís Oliveira bug added bug
2010-08-22 15:11:45 Luís Oliveira cffi: importance Undecided Wishlist
2010-08-22 15:11:50 Luís Oliveira cffi: status New Triaged
2010-08-22 15:12:16 Luís Oliveira description Sun Nov 15 10:18:33 EST 2009 Greg Pfeil <greg@technomadic.org> * more flexible name translations FOREIGN-/LISP-NAME are now exported and take a package argument. This allows users to override the name translations on a package-by-package basis. EG, (defmethod cffi:lisp-name ((spec string) (package (eql (find-package :llvm))) &optional varp) "LLVMUpperCamelCase -> 'llvm:upper-camel-case" (intern (format nil (if varp "*~a*" "~a") (translate-camelcase-name (subseq spec 4) :upper-initial-p t :special-words special-words)))) The functions TRANSLATE-UNDERSCORE-SEPARATED-NAME and TRANSLATE-CAMELCASE-NAME have also been added and are exported. They cover common foreign name translations (TRANSLATE-UNDERSCORE-SEPARATED-NAME is the default, and you can see TRANSLATE-CAMELCASE-NAME in the example above). The patch needs to be reviewed, tests and documentation need to be written. LISP-NAME is probably too generic a name to be exported from CFFI. This patch needs to be reviewed. Tests and documentation need to be written. LISP-NAME is probably too generic a name to be exported from CFFI. Sun Nov 15 10:18:33 EST 2009 Greg Pfeil <greg@technomadic.org>  * more flexible name translations  FOREIGN-/LISP-NAME are now exported and take a package argument. This allows users to override the name translations on a package-by-package basis. EG,  (defmethod cffi:lisp-name               ((spec string) (package (eql (find-package :llvm))) &optional varp)      "LLVMUpperCamelCase -> 'llvm:upper-camel-case"      (intern (format nil (if varp "*~a*" "~a")                      (translate-camelcase-name (subseq spec 4)                                                :upper-initial-p t                                                :special-words special-words))))  The functions TRANSLATE-UNDERSCORE-SEPARATED-NAME and TRANSLATE-CAMELCASE-NAME have also been added and are exported. They cover common foreign name translations (TRANSLATE-UNDERSCORE-SEPARATED-NAME is the default, and you can see TRANSLATE-CAMELCASE-NAME in the example above).
2010-08-22 15:12:37 Luís Oliveira attachment added more-flexible-name-translations.dpatch https://bugs.launchpad.net/cffi/+bug/622272/+attachment/1510841/+files/more-flexible-name-translations.dpatch
2010-09-06 21:37:58 Luís Oliveira attachment added Updated patch by Greg. https://bugs.launchpad.net/cffi/+bug/622272/+attachment/1551693/+files/name-translation.patch
2010-09-07 10:46:30 Greg Pfeil cffi: assignee Greg Pfeil (greg-technomadic)
2010-09-19 20:56:36 Greg Pfeil attachment added name-translation.patch https://bugs.launchpad.net/cffi/+bug/622272/+attachment/1610184/+files/name-translation.patch
2010-09-19 20:59:01 Greg Pfeil cffi: status Triaged In Progress
2011-04-17 22:46:35 Luís Oliveira cffi: status In Progress Fix Committed
2013-02-26 00:06:56 Luís Oliveira cffi: status Fix Committed Fix Released