ChangeLog
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:45k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. 2004-07-30  Marcus G. Daniels  <mgd@santafe.edu>
  2. * Makefile.am:  Add GUIOPT to java-stub invocation.
  3. 2003-05-22  Marcus G. Daniels  <mgd@xserve.santafe.edu>
  4. * java-stub.el (java-print-native-method): Add in declarations and
  5. calls to swarm_java_constructors,
  6. __objc_exec_class_for_all_initial_modules, swarm_force_references,
  7. and swarm_java_predispatch.
  8. 2003-04-30    <mgd@arrow.santafe.edu>
  9. * java-stub.el (java-print-native-class): Dump the dispatch table
  10. for each phase.
  11. 2002-10-19    <pauljohn@dv253s74.lawrence.ks.us>
  12. * Makefile.am (install): $(DESTDIR) added
  13. 2002-04-14  Alex Lancaster  <alex@swarm.org>
  14. * java-stub.el, javacswarm.in, javaswarm.in, jdkcswarm, jdkswarm:
  15. Add canonical license statement as suggested by GNU GPL, and
  16. copyright statements where missing.
  17. 2001-11-04  Marcus G. Daniels  <mgd@HELEN>
  18. * Makefile.am (install): Add install-binSCRIPTS as a dependency.
  19. 2001-08-10  Marcus G. Daniels  <mgd@condor.santafe.edu>
  20. * java-stub.el (java-type-category-to-java-type): Always use
  21. protocol name when it is a protocol.
  22. 2001-07-23  Marcus G. Daniels  <mgd@maya.santafe.edu>
  23. * Makefile.am: Change libgcjswarm.la libtool usages to libtool-new.
  24. 2001-07-20  Marcus G. Daniels  <mgd@maya.santafe.edu>
  25. * Makefile.am (libgcjswarm.la): Don't link against javaswarm.
  26. 2001-07-13  Marcus G. Daniels  <mgd@maya.santafe.edu>
  27. * java-stub.el (inheritance-cases): Always inherit from BaseImpl.
  28. (java-print-method-invocation-arguments): Use 
  29. SD_JAVA_FIND_OBJECT_SWARM_OBJC for lookup of self.
  30. * Makefile.am (SWARM_JAVA_BASIC): Add BaseImpl.
  31. 2001-06-25  Marcus G. Daniels  <mgd@maya.santafe.edu>
  32. * Makefile.am (JAVA_SRC, JAVA_OBJS, libgcjswarm.la): New stuff.
  33. (gcjswarm.so): Use JAVA_SRC.
  34. 2001-06-20  Marcus G. Daniels  <mgd@drone.swarm.org>
  35. * Makefile.am (gcjswarm.so): New rule.
  36. 2001-04-04  Marcus G. Daniels  <mgd@drone.swarm.org>
  37. * java-stub.el (*objc-to-java-type-alist*): Convert 
  38. const char * const * to java.lang.String[].
  39. 2000-12-15  Marcus G. Daniels  <mgd@forager.swarm.org>
  40. * java-stub.el (java-print-class-target): New function.
  41. (java-print-method-invocation-arguments): use it.
  42. (java-objc-type): Moved to interface.el as c-objc-type.
  43. (java-print-method-invocation, java-print-native-method,
  44. java-print-native-class): Add support for pre-dispatched methods.
  45. 2000-12-07  Marcus G. Daniels  <mgd@forager.swarm.org>
  46. * java-stub.el (java-print-method-invocation): Re-implement for
  47. (*imp) calls.
  48. (java-print-native-method): Likewise.
  49. 2000-11-28  Marcus G. Daniels  <mgd@forager.swarm.org>
  50. * java-stub.el (java-print-native-method): Handle Selector return.
  51. 2000-09-14  Marcus G. Daniels  <mgd@drone.swarm.org>
  52. * java-stub.el (java-init): New function to set
  53. *extra-removed-methods*.
  54. (java-run-all): Call it.
  55. 2000-08-21  Marcus G. Daniels  <mgd@forager.swarm.org>
  56. * java-stub.el (java-print-method-invocation): Add special case
  57. for Arguments (a non-phase-switched class).
  58. (java-print-native-method): Add call to swarm_java_constructors
  59. and swarm_directory_java_associate_objects_startup.  Return
  60. the creating phase, not the using phase.  Save creating
  61. phase Objective C swarmEnvironment in java_swarmEnvironmentCreating
  62. so that initSwarm in SwarmEnvironmentExtra can do the phase switch.
  63. 2000-08-17  Marcus G. Daniels  <mgd@forager.swarm.org>
  64. * java-stub.el (java-run-all-javadoc, java-run-all): Set *java-flag*.
  65. 2000-08-10  Marcus G. Daniels  <mgd@forager.swarm.org>
  66. * java-stub.el (java-print-native-method): Accomodate rename
  67. of SD_JAVA_ADD_OBJECT_JAVA.
  68. 2000-07-27  Marcus G. Daniels  <mgd@forager.swarm.org>
  69. * java-stub.el (java-print-class-constructor-method): 
  70. Don't use collect-convenience-constructor-name.arguments.
  71. (java-print-native-method-name): Update to use argument-key
  72. instead of raw list access.
  73. 2000-07-26    <mgd@DRONE>
  74. * java-stub.el: Change SD_JAVA_ENSUREOBJCMETHOD to
  75. SD_JAVA_ENSURE_SELECTOR_OBJC,
  76. SD_JAVA_ENSUREOBJCCLASS and SD_JAVA_ENSURE_CLASS_OBJC,
  77. SD_JAVA_ENSUREOBJC to SD_JAVA_ENSURE_OBJECT_OBJC,
  78. SD_JAVA_FINDJAVACLASS to SD_JAVA_FIND_CLASS_JAVA, and
  79. SD_ENSURE_JAVA to SD_JAVA_ENSURE_OBJECT_JAVA.
  80. 2000-07-25  Marcus G. Daniels  <mgd@forager.swarm.org>
  81. * java-stub.el (java-print-method-name): Convert initSwarmUsing
  82. into initSwarm.
  83. 2000-07-24  Marcus G. Daniels  <mgd@forager.swarm.org>
  84. * java-stub.el (java-print-method-name, java-argument-print-conversion,
  85. java-print-method-invocation-arguments, local-ref-p, 
  86. java-print-method-invocation-arguments-lref-deletion,
  87. java-argument-ref, java-print-method-invocation,
  88. java-print-native-method): Update per argument-{key,type,name} and
  89. has-arguments-p.
  90. 2000-07-21  Marcus G. Daniels  <mgd@forager.swarm.org>
  91. * java-stub.el (java-print-class-getter-variables): Don't
  92. handle guiFlag conversion here.
  93. 2000-07-16  Marcus G. Daniels  <mgd@nest.swarm.org>
  94. * java-stub.el (*objc-to-java-type-alist*): Add const char **
  95. conversion.
  96. (java-print-method-name): Simplify initSwarm,
  97. createArchivedProbeDisplay, and setWindowGeometryRecordName to
  98. use names of previous SwarmEnvironment implementation.
  99. (java-print-basic-constructor): Print out constructors
  100. for the getter objects.
  101. (java-print-class-getter-variables): New function.
  102. (java-print-class-phase): Call it.
  103. (java-print-package, java-print-native-method): Handle swarm package.
  104. (java-type-to-signature, java-argument-print-conversion): Handle
  105. String arrays.
  106. (java-print-native-method): Push usages of string arrays onto
  107. string-arrays, noting position (to recover scratch variable name
  108. in stub).
  109. (java-print-native-method): Add complex start-up stub for createBegin.
  110. * Makefile.am (C_EXTRA_DIST): Change SwarmEnvironment.m to
  111. SwarmEnvironmentExtra.m.
  112. (SWARM_EXTRA_DIST): Remove SwarmEnvironment.java.
  113. 2000-07-10  Marcus G. Daniels  <mgd@nest.swarm.org>
  114. * java-stub.el (java-print-method-invocation-arguments,
  115. java-print-method-invocation-arguments-lref-deletion,
  116. java-print-method-invocation, java-print-native-method,
  117. java-print-native-method): Use renamed argument-empty-p.
  118. (java-argument-empty-p): Remove.
  119. (*objc-to-java-type-alist*): Recognize const char **.
  120. (java-print-class-phase): Use inclusive-phase-p instead of eq.
  121. (java-print-interface): Loop over *phases* instead of literal list.
  122. (java-print-makefiles): Skip swarm module.
  123. 2000-07-07    <mgd@DRONE>
  124. * jdk{c}swarm: Look for JDK 1.3.  Append any preexisting CLASSPATH.
  125. 2000-07-06    <mgd@DRONE>
  126. * java-stub.el (java-print-makefiles): Use java-module-path
  127. instead of using a relative path.
  128. 2000-07-03  Marcus G. Daniels  <mgd@nest.swarm.org>
  129. * Makefile.am (SWARM_EXTRA_DIST): Add
  130. swarm/{ObjCProxy,ProxyClassLoader}.java.
  131. 2000-07-02  Marcus G. Daniels  <mgd@nest.swarm.org>
  132. * javaswarm.in, jdkswarm: Add kawa.jar.
  133. * Makefile.am (KAWAJAR): New substitution.
  134. (SWARM_EXTRA_DIST): Add $(KAWAJAR).
  135. (install): Install $(KAWAJAR) when set.
  136. 2000-05-05  Marcus G. Daniels  <mgd@forager.swarm.org>
  137. * java-stub.el (*create-method-p, match-signature,
  138. unwanted-create-method-p, match-create-signature,
  139. convenience-create-method-p, expanded-method-list,
  140. collect-convenience-create-methods,
  141. collect-convenience-constructor-name.arguments): Moved to
  142. interface.el.
  143. (java-print-class-constructor-method): Removed unused internal
  144. capitalization routine.
  145. 2000-05-04  Marcus G. Daniels  <mgd@forager.swarm.org>
  146. * java-stub.el (java-print-native-method): Accomodate rename of
  147. SD_JAVA_NEXTPHASE.
  148. (java-print-native-method): Accommodate rename of
  149. SD_JAVA_SWITCHPHASE.
  150. 2000-05-03  Marcus G. Daniels  <mgd@forager.swarm.org>
  151. * java-stub.el (java-argument-print-conversion,
  152. java-print-method-invocation-arguments, java-print-native-method):
  153. Accomodate renames of string routines and drop the jniEnv
  154. arguments to all our macros.
  155. (java-print-native-class): Include java.h instead of directory.h.
  156. 2000-04-28    <mgd@nest.swarm.org>
  157. * java-stub.el: Change from SD_* to SD_JAVA_*.
  158. 2000-04-27    <mgd@nest.swarm.org>
  159. * java-stub.el (*last-protocol*, *removed-protocols*,
  160. *removed-modules*, *removed-methods*, removed-method-p,
  161. method-ellipsis-p, included-method-p, removed-protocol-p,
  162. the-CREATABLE-protocol-p, the-RETURNABLE-protocol-p, creatable-p,
  163. returnable-p, real-class-p, c-path, module-path,
  164. ensure-directory): Moved to etc/interface.el.
  165. (java-print-implemented-interfaces-list): Use
  166. print-implemented-interfaces-list.
  167. (java-print-implemented-protocols): Remove separator argument.
  168. (java-module-path): New function.
  169. (java-print-makefiles): Move common portion to interface.el.
  170. (java-print-javadoc-module-summary): Update to use module (not
  171. sym) as argument to module-path
  172. (with-protocol-java-file): Use java-module-path instead of
  173. module-path.
  174. * Makefile.am (java-stub.elc): Depend on interface.elc.
  175. 2000-04-09    <mgd@HELEN>
  176. * Swarm 2.1.1 frozen.
  177. * jdkswarm: Add JAVASWARMGDB handling (even though GDB doesn't
  178. currently recognize java.exe).
  179. 2000-02-21    <mgd@nest.swarm.org>
  180. * Swarm 2.1 frozen.
  181. * java-stub.el (unwanted-create-method-p): Strip out
  182. +create:setGenerator:setMean:setVariance: and
  183. +create:setGenerator:setVirtualGenerator:setMean:setVariance:.
  184. 2000-02-18    <mgd@nest.swarm.org>
  185. * java-stub.el (*removed-methods*): Removed +customizeBegin:,
  186. -customizeCopy, and -customizeEnd.
  187. (match-signature, unwanted-create-method-p,
  188. match-create-signature): New functions.
  189. (convenience-create-method-p): Use them.  Add protocol as
  190. argument.
  191. (java-print-native-method): Use convenience-create-method-p
  192. instead of create-method-p.  Handle +customizeBegin: like
  193. +createBegin:.
  194. (java-print-native-class): Skip over methods matching
  195. unwanted-create-method-p.
  196. * Makefile.am (EXTRA_DIST): Distribute swarm/CustomizedType.java.
  197. 2000-02-14    <mgd@HELEN>
  198. * Makefile.am (EXTRA_SCRIPTS): Add jdkcswarm and jdkswarm.
  199. * jdkcswarm, jdkswarm: New files.
  200. 2000-02-12    <mgd@HELEN>
  201. * Makefile.am (Makefile.common): Don't pass SWARMSRCDIR here. 
  202. Use dos_abs_builddir for java-stub.elc.
  203. 2000-01-22    <mgd@nest.swarm.org>
  204. * java-stub.el (*removed-methods*):  Remove -containsAlloc:.
  205. 2000-01-11    <mgd@nest.swarm.org>
  206. * java-stub.el (*removed-methods*): Change
  207. -storeAsDataset:typeName:type:ptr: to
  208. -storeAsDataset:typeName:type:rank:dims:ptr:.
  209. 1999-12-29  Marcus G. Daniels  <mgd@drone.swarm.org>
  210. * java-stub.el (*removed-methods*): Add -iterate:drop:.
  211. 1999-12-27    <mgd@DRONE>
  212. * java-stub.el (*objc-to-java-type-alist*): Map long, unsigned
  213. long, timeval_t, and size_t to Java int.  Map unsigned long long
  214. int, unsigned long long, and long long to Java long.
  215. (*removed-methods*): Activate -addLongLong:,
  216. -addUnsignedLongLong:, -jumpGenerator:toSegment:,
  217. -jumpAllToSegment:, -getCurrentCount, -getCurrentSegment,
  218. -getCurrentCount:, and -getCurrentSegment:.
  219. (java-print-nextphase-class-constructor): Use interface name
  220. for argument to creating-phase constructor.
  221. 1999-11-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  222. * java-stub.el (*removed-protocols*): Add ActivityIndex.
  223. 1999-11-19  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  224. * java-stub.el (*objc-to-java-type-alist*): Add JOBJECT.
  225. (*removed-methods*): Add getCallType.  Remove setJavaMethod:inObject:.
  226. (java-print-method): Remove dead, impossible code for return
  227. types on +createBegin and -createEnd.
  228. (java-print-interface-methods-in-phase): Don't remove +create methods.
  229. (java-print-class-phase): Handle Creating phase as well as Using
  230. interface pair to implementation.
  231. (java-argument-print-conversion): Use JOBJECTs raw.
  232. 1999-10-22  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  233. * javaswarm.in: Individually accumulate quoted arguments in argsexpr.
  234. Use $argsexpr instead of $* throughout.
  235. 1999-09-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  236. * Makefile.am (SWARM_EXTRA_DIST): Add Primitives.java.
  237. 1999-09-25  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  238. * javaswarm.in (JAVAENV): Quote substitution.
  239. 1999-09-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  240. * javaswarm.in: Only convert @swarm_bindir@ with cygpath -w.
  241. * Makefile.am (Makefile.common): Use quoted top_dossrcdir instead of
  242. top_srcdir for SWARMSRCDIR.
  243. (C_EXTRA_DIST): Add c/javaswarm.dll.c.
  244. 1999-09-18  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  245. * Swarm 2.0.1 released.
  246. 1999-09-16  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  247. * Makefile.am (SWARM_EXTRA_DIST): Switch from Globals.java.in
  248. to Globals.java.
  249. 1999-09-15  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  250. * java-stub.el (argname-number, java-argument-ref, 
  251. java-print-method-invocation-arguments,
  252. java-print-method-invocation-arguments-lref-deletion): New functions.
  253. (java-print-method-invocation): Use argname-number instead of 
  254. SD_ENSURE_OBJC and java-argument-ref instead of direct conversions.
  255. (java-print-native-method): Use return variable as appropriate
  256. when localref/string cleanups are needed.
  257. (java-print-native-class): Import objectbase.h and avoid double
  258. inclusion of it.
  259. 1999-09-14  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  260. * java-stub.el (java-print-native-method): Remove SD_NEXTJAVAPHASE
  261. local reference.
  262. 1999-09-12  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  263. * java-stub.el (*removed-protocols*): Add ArchiverQuoted.
  264. 1999-09-08  Alex Lancaster  <alex@santafe.edu>
  265. * java-stub.el (java-print-javadoc-protocol): Add optional
  266. is-class flag.  When both a class and returnable (i.e. not
  267. directly creatable by a user), generate a `@hide' Javadoc
  268. directive.
  269. (java-print-class-phase): Set the optional is-class to `t'.
  270. 1999-09-07  Alex Lancaster  <alex@santafe.edu>
  271. * java-stub.el (*removed-protocols*): Remove GUIComposite from
  272. list of removed protocols, required for -enableDestroyNotification
  273. methods on analysis widgets.
  274. (java-print-javadoc-method): Remove code to generate `@hide'
  275. directives.
  276. 1999-09-04    <mgd@HELEN>
  277. * java-stub.el (inheritance-cases): Split out and disable handling of
  278. implementation handling.  It's not needed now that things are
  279. interface-based.
  280. 1999-09-03    <mgd@HELEN>
  281. * javaswarm.in: Loop over elements of JAVALIBS and JAVACLASSES 
  282. evalulating and cygpath-converting each one.
  283. * javacswarm.in: Likewise, but just for JAVACLASSES.
  284. 1999-09-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  285. * java-stub.el (*removed-protocols*): Re-enable CustomProbeMap,
  286. CompleteProbeMap, CompleteVarMap, Widget, and
  287. ArchivedGeometryWidget.
  288. (java-objc-to-java-type-category,
  289. java-type-category-to-java-type): New functions.  Note the latter
  290. now prints interface names not implementation names.
  291. (java-objc-to-java-type, java-print-native-method): Use them.
  292. (java-print-type, java-print-argument,
  293. java-argument-print-conversion): Add current-module argument.
  294. (java-qualified-name): Handle case of current-module of `t'.  This
  295. means to force qualification.
  296. (java-print-class-constructor-method): Use Zone interface instead
  297. of implementation.
  298. (java-argument-convert): Force package qualification of types --
  299. this function is used for writing native types.
  300. 1999-08-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  301. * Swarm 2.0 released.
  302. 1999-08-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  303. * java-stub.el (java-print-class-phase): Use
  304. java-qualified-interface-name for printing compliance with own
  305. interface.
  306. * Makefile.am (SWARM_EXTRA_DIST): Add swarm/PhaseCImpl.java,
  307. swarm/SwarmEnvironment.java, swarm/Globals.java.in, and JavaDeps.jar.
  308. 1999-08-24  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  309. * java-stub.el (*removed-protocols*): Disable all generators but
  310. MT19937, PSWB, C2TAUS, and PMMLCG1gen (which Mousetrap happened to
  311. use).
  312. (java-print-class-phase): Handle inheritance for ZoomRaster,
  313. DblBuffer2d, Grid2d, ConwayLife2d, Diffuse2d, ScheduleActivity, 
  314. and SwarmActivity.
  315. (*removed-protocols*): Remove Graph, Histogram, and Pixmap.
  316. (*removed-methods*): Disable getters than reference Graph and
  317. Histogram.
  318. 1999-08-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  319. * java-stub.el (java-print-class-phase): Extend GUISwarmImpl
  320. from SwarmImpl.
  321. 1999-08-22  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  322. * java-stub.el (*removed-protocols*): Disable most of gui library,
  323. and some stuff in objectbase and simtoolsgui.
  324. (*removed-modules*, removed-protocol-p): Add support for disabling
  325. whole modules.
  326. (the-RETURNABLE-protocol-p): New function
  327. (returnable-p): New function, use function above.
  328. (real-class-p): Likewise.
  329. (java-print-class-phase, java-print-makefiles,
  330. java-print-makefiles, java-print-classes, java-run-all-javadoc):
  331. Use it.
  332. (java-print-convenience-constructors): Renamed from
  333. java-print-class-constructors.  Remove call to
  334. java-print-basic-class-constructor.
  335. (java-print-class-phase): Always print basic constructor, and
  336. print convenience and nextphase constructors when creatable (using
  337. and creating phase respective).
  338. (*objc-to-java-type-alist*): Add pattern for objects conforming to
  339. a protocol.
  340. (*removed-protocols*): Remove HDF5.  Add ArchiverList.
  341. (*removed-methods*): Add HDF5 methods with non-convertable types.
  342. (freakyp, freaky-message-): Remove.
  343. (java-objc-to-java-type): Add support for protocol type
  344. conversion.
  345. (java-print-class-constructor-method,
  346. java-print-nextphase-class-constructor): Don't do casting to
  347. Object for call to nextphase constructor.
  348. (java-print-native-method): Handle swarm.* types just like Object.
  349. 1999-08-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  350. * java-stub.el (*removed-protocols*): Add OutFile and AppendFile.
  351. 1999-08-15    <mgd@HELEN>
  352. * java-stub.el (java-print-native-class): Use import of
  353. <defobj/directory.h> instead of include of "directory.h".
  354. 1999-08-09  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  355. * javaswarm.in (SHLIBPATH_VAR): Add hdf5libdir.
  356. 1999-08-08  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  357. * java-stub.el (*removed-methods*): Exclude -addLongDouble:.
  358. 1999-08-08  Alex Lancaster  <alex@santafe.edu>
  359. * java-stub.el (java-print-native-method): Reverse order of
  360. multiple string argument generation, order was being reversed
  361. relative to the documented interface for that native method.
  362. 1999-08-03  Alex Lancaster  <alex@santafe.edu>
  363. * java-stub.el (java-print-class-constructor-method): Don't
  364. manually print `$set' concatenated with the variable name, use the
  365. parsed method component name directly, so they match the native
  366. Objective C factory method names.
  367. 1999-08-02  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  368. * java-stub.el (collect-convenience-constructor-name.arguments):
  369. Strip off "set" prefix, but check first to see if it is really
  370. there.  Renamed from collect-name.arguments.
  371. 1999-07-30  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  372. * java-stub.el (java-print-native-method): Accomodate more
  373. renames.  Use new SD_NEXTPHASE for -createEnd.
  374. 1999-07-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  375. * java-stub.el (java-argument-print-conversion,
  376. java-print-method-invocation, java-print-native-method):
  377. Accomodate J* to SD_* renames in directory.h.
  378. (java-print-native-method): Use add for creates and switch for
  379. createEnd.  Eliminate `update' distinction.
  380. 1999-07-26  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  381. * java-stub.el (*objc-to-java-type-alist*,
  382. java-type-to-native-type, java-print-native-method): Use
  383. java.lang.String instead of String.
  384. 1999-07-23  Vladimir Jojic  <vjojic@chama.santafe.edu>
  385. * java-stub.el (*removed-methods*): Remove getDisplayName, 
  386. getTypeName, setDisplayName, copy and remove from 
  387. *removed-methods*.
  388. 1999-07-21  Vladimir Jojic  <vjojic@chama.santafe.edu>
  389. * java-stub.el (java-print-nextphase-class-constructor): In 
  390. creating phase make empty constructor that calls super().
  391. 1999-07-12  Vladimir Jojic  <vjojic@chama.santafe.edu>
  392. * java-stub.el (java-print-native-class): Print setting phase
  393. methods in Objective-C stubs for both creating and using phase 
  394. implementations.
  395. 1999-07-09  Alex Lancaster  <alex@santafe.edu>
  396. * java-stub.el (java-print-javadoc-default-contructor): New
  397. function.  Print out a default constructor message for javadoc.
  398. (java-print-class-constructor-method): Use it there are no
  399. arguments to the constructor (i.e. not a convenience constructor).
  400. (java-print-class-phase): If a `USING' phase class, also append
  401. the name of the using phase protocol to the list of `implemented'
  402. protocols.
  403. 1999-07-06  Alex Lancaster  <alex@santafe.edu>
  404. * java-stub.el (java-run-all-javadoc): Only call java-print-class
  405. if protocol is CREATABLE.
  406. (java-run-all-javadoc): Make function interactive.
  407. 1999-07-03  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  408. * java-stub.el (java-print-native-method): Add JNIEXPORT before
  409. return type and JNICALL after.
  410. 1999-07-02  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  411. * javacswarm.in: Run JAVAC with eval.
  412. 1999-07-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  413. * java-stub.el (java-print-class-phase): Remove conditional
  414. on creatable-p.
  415. (java-print-classes): Put it here.
  416. Move java-print-makefiles to java-run-all.
  417. (java-print-makefiles): Split protocols into creatable
  418. and noncreatable variables.
  419. 1999-06-30  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  420. * java-stub.el (java-print-class-phase): Don't print Impl classes
  421. when protocol is not creatable.
  422. (included-method-p): Remove exclusion for non-creatable protocols.
  423. 1999-06-29  Vladimir Jojic  <vjojic@chama.santafe.edu>
  424. * java-stub.el (*removed-methods*): Add VarProbe methods for array
  425. operations and string operations due to freaky types and type
  426. problems with strings[] being const char.
  427. (*removed-protocols*): Remove VarProbe.
  428. 1999-06-29  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  429. * java-stub.el (included-method-p): Don't put +create methods
  430. methods in using phase.
  431. (java-suffix-for-phase): Make using phase the common (non-suffix)
  432. case.
  433. (java-print-class-constructor-method): Use create phase
  434. constructor in using phase constructor.  Pass `this' as argument
  435. to create phase constructor, so that phase switch can chain them
  436. together.
  437. (java-print-nextphase-class-constructor): New method.
  438. (java-print-class-phase): Have create-phase classes extend
  439. PhaseCImpl.  Print the next-phase-as-argument create-time
  440. constructors.
  441. (java-print-native-method): For +create:* and -createEnd methods,
  442. use JNEXTPHASE instead of JINSTANTIATEUSING (instead of string
  443. manipulation to determine string, it's waiting for use in the
  444. PhaseCImpl nextPhase instance variable).
  445. 1999-06-25  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  446. * java-stub.el (java-print-basic-class-constructor): New function.
  447. (java-print-class-constructors): Call it.
  448. 1999-06-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  449. * java-stub.el (*removed-methods*): Exclude
  450.  +create:setA:setV:setW:setStateFromSeeds: instead of 
  451.  +create:setA:setv:setw:setStateFromSeeds:.
  452.  (java-print-javadoc-method): Don't print javadoc hide message.
  453.  (included-method-p): Include convenience factory methods in using 
  454. phase.
  455. (convenience-create-method-p, collect-convenience-create-methods, 
  456. collect-name.arguments, java-print-class-constructor-method, 
  457. java-print-class-constructors, java-print-imports): New functions.
  458. (java-print-class-phase): Call java-print-class-constructors when
  459. protocol is creatable and in using phase.
  460. (java-print-class-phase-to-file): Call java-print-imports.
  461. 1999-06-22  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  462. * java-stub.el (expanded-method-list): Use methodinfo-method
  463. instead of caddr.
  464. 1999-06-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  465. * java-stub.el (java-argument-print-conversion): Use
  466. JENSUREOBJC{METHOD,CLASS} instead of JFINDOBJC{METHOD,CLASS},
  467. (java-print-native-method): Use JENSUREJAVA instead of JFINDJAVA.
  468. (load-path): Add TOP_BUILDDIR instead of BUILDDIR.
  469. * Makefile.am (java-stub.elc): Depend on
  470. $(abs_top_builddir)/protocol.elc (not in current directory).
  471. 1999-06-21  Alex Lancaster  <alex@santafe.edu>
  472. * java-stub.el (java-print-deprecated-doc): New function, common
  473. for methods and protocols.  Use generic-deprecated-list from
  474. protocol.el to extract the deprecated-list.
  475. (java-print-javadoc-method): Use it.  Also use `deprecated-p'
  476. predicate from protocol.el to determine whether the tag is
  477. generated at all
  478. (java-print-javadoc-protocol): Likewise.
  479. 1999-06-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  480. * Makefile.am: Include $(top_srcdir)/etc/Makefile.protocol.
  481. Remove protocol compilation rules.
  482. (EMACS): Remove addition of {TOP_}BUILDDIR environment here.
  483. (Makefile.common): Use ENVEMACS instead of EMACS.
  484. 1999-06-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  485. * java-stub.el (java-protocol-name, java-name): New functions.
  486. (java-interface-name): Use java-protocol-name.
  487. (java-qualified-name, with-protocol-java-file): Use java-name.
  488. 1999-06-19  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  489. * java-stub.el (java-class-name): Add "Impl" suffix.
  490. (java-interface-name): Remove "i_" prefix.
  491. 1999-06-18  Alex Lancaster  <alex@santafe.edu>
  492. * java-stub.el (java-print-javadoc-method): Print @deprecated tag,
  493. if method has been parsed as `deprecated'.
  494. (java-print-javadoc-protocol): Likewise for protocols.
  495. 1999-06-17  Alex Lancaster  <alex@santafe.edu>
  496. * java-stub.el (method-in-protocol-p): New function, checks to see
  497. if the specified method is in the current protocol.
  498. (java-print-javadoc-method): Use `method-in-protocol-p'.  Now
  499. accepts the `protocol' as parameter as well.  Print `@hide' tag
  500. for javadoc if it fails the `method-in-protocol-p' call.
  501. (java-print-class-methods-in-phase): Call
  502. `java-print-javadoc-method' with new parameter.
  503. 1999-06-15  Alex Lancaster  <alex@santafe.edu>
  504. * java-stub.el (java-run-all-javadoc): New function, suppress
  505. generation of Makefiles and generation of native class stubs,
  506. which are not required for javadoc.
  507. 1999-06-14  Alex Lancaster  <alex@santafe.edu>
  508. * java-stub.el (java-print-javadoc-method): New function.  Print
  509. out method-description-list in javadoc syntax.
  510. (java-print-class-methods-in-phase): Use it.
  511. (java-print-javadoc-protocol): New function.  Print out
  512. protocol-{summary, description-list} in javadoc syntax.
  513. (java-print-class-phase): Use it.
  514. (java-print-javadoc-module-summary): New function.  For each
  515. module, print out the module-{summary, description-list} into
  516. `package.html' in the appropriate subdirectory for collection by
  517. javadoc.
  518. (java-print-classes): Use it.
  519. 1999-06-13  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  520. * java-stub.el (*removed-methods*): Add -addLongLong: and
  521. -addUnsignedLongLong:.
  522. 1999-06-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  523. * Makefile.am (C_EXTRA_DIST): Remove setup.c.
  524. 1999-06-04  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  525. * Makefile.am (EXTRA_SCRIPTS): Switch to javacswarm.in.
  526. * javacswarm.in: New file.
  527. * javacswarm: Remove.
  528. 1999-06-02    <mgd@HELEN>
  529. * javaswarm.in (JAVALIBPATH_VAR): Include JAVALIBS.
  530. 1999-06-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  531. * javaswarm.in (JAVALIBPATH_VAR): If @USEDOSCLASSPATH@ is true,
  532. adapt @swarm_bindir@ using cygpath -w, and don't include JAVALIBS.
  533. 1999-05-31  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  534. * Makefile.am (stubs): Use just one intermediate file, Makefile.common.
  535. Other dependencies will result in multiple invocations of
  536. Emacs in a parallel make.
  537. * javaswarm.in: Set path separator and delimiter per
  538. @USEDOSCLASSPATH@, @PATHSEP@, and @PATHDELIM@.
  539. (swarmclassdir): New variable.  If Windows, convert swarm_datadir
  540. to a Windows path using cygpath -w.  Otherwise, use literal
  541. swarm_datadir.  Use swarmclassdir to set classpath.  Add a special
  542. case for setting SHLIBPATH_VAR (PATH) in the case of DLLs.  These
  543. with be `bin' directories, not `lib' directories.
  544. 1999-05-30  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  545. * javaswarm.in: New file.  Do this to get substitutions for
  546. shared library path and Java runtime paths.
  547. * javaswarm: Remove.
  548. 1999-05-27  Alex Lancaster  <alex@santafe.edu>
  549. * Makefile.am (C_EXTRA_DIST): Remove c/directory.[hm],
  550. c/JavaProxy.[hm], have been moved to src/defobj.
  551. 1999-05-15  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  552. * javacswarm, javaswarm: Prefix $JAVA_CLASSES_INSTALLED_AS and
  553. "jar" with "x" to avoid shell error.
  554. 1999-05-14  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  555. * javacswarm: Use JAVAC.
  556. 1999-05-09  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  557. * java-stub.el (*removed-methods*): Update to use getRetVal:buf:
  558. instead of getRetVal:.
  559. 1999-05-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  560. * java-stub.el (java-argument-print-conversion): Use %d, not 
  561. %u (which doesn't exist).
  562. 1999-05-02  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  563. * java-stub.el (java-path, c-path): New function.
  564. (*java-path*, *c-path*): Remove.
  565. (module-path, java-print-classes): Use java-path.
  566. (with-protocol-c-file, java-print-makefiles): Use c-path.
  567. * Makefile.am (elcrule): Use $(shell cd $(dir $@); pwd) instead of
  568. $(dir $@), since Emacs for Windows loses with ./ derived from the
  569. latter (it can't be frozen due to files like common.el that are
  570. expected to be found in top_builddir).
  571. (Makefile.common $(SUBMAKEFILES)): Use $(abs_builddir) instead of
  572. $(dir $@).  Add SWARMSRCDIR in stub generation environment.
  573. 1999-04-30  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  574. * Makefile.am (C_EXTRA_DIST): Remove SwarmEnvironment.h.
  575. * java-stub.el (java-print-native-class): Don't include jni.h.
  576. 1999-04-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  577. * Makefile.am (JAVASWARMSCRIPTS): New substitution.
  578. (bin_SCRIPTS): Use it.
  579. (EXTRA_SCRIPTS: Add javacswarm and javaswarm.
  580. (EXTRA_DIST): Use it.
  581. 1999-04-25  Marcus G. Daniels  <mgd@helen.santafe.edu>
  582. * javaswarm, javacswarm: Adjust classpath per
  583. JAVA_CLASSES_INSTALLED_AS.
  584. 1999-04-25  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  585. * java-stub.el (*removed-methods*): Switch getRetVal:buf: to
  586. getRetVal:. 
  587. 1999-04-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  588. * javaswarm (JAVASWARMGDB): Use JAVAENV + JAVACMD with 
  589. JAVASWARMGDB as a hook for gdb (instead of just JAVA).
  590. Don't insist on arguments if JAVASWARMGDB is set.  
  591. Use CLASSPATH= instead of -classpath since GDB won't be
  592. able to cope with the arguments.
  593. 1999-04-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  594. * java-stub.el (*objc-to-java-type-alist*): Handle unsigned short
  595. and short.  Map unsigned long to long, not int.
  596. (*removed-methods*): Don't include addArgument:ofObjCType:
  597. (from FArguments).
  598. (java-print-native-method): Handle Class.
  599. * Makefile.am (bin_SCRIPTS): Add javacswarm.
  600. * javacswarm: New file.
  601. 1999-04-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  602. * java-stub.el (*objc-to-java-type-alist*): Don't treat Class as
  603. freaky.
  604. (*removed-protocols*): Remove Class-related excluded protocols.
  605. (*removed-methods*): Likewise for method.
  606. (java-type-to-signature): Map Class to Ljava_lang_Class_2.  Remove
  607. freaky handling.
  608. (java-type-to-native-type): Handle Class.
  609. (java-argument-print-conversion): Handle jclass.
  610. 1999-04-19  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  611. * java-stub.el (java-argument-print-conversion): Add position
  612. argument and use it to offset new C variable strings.
  613. (java-print-method-invocation): Increment position in sync with
  614. arguments, pass to java-argument-print-conversion.
  615. (java-print-native-method): Accumulate arguments that are jstrings
  616. to strings.  If there are any, do a more complex call that
  617. initializes the C `strings' array and fills it with copies of the
  618. jstring arguments.  If there is a non-void return type, set a
  619. return variable, and then cleans up returning the return variable.
  620. If there are no jstring arguments, the call remains as it was.
  621. 1999-04-16  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  622. * java-stub.el (*removed-methods*): -getRetVal:buf: instead of
  623. getReturnVal.
  624. 1999-04-07  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  625. * javaswarm: Use eval "$JAVA .." instead of setting JAVA_HOME before
  626. running Java interpreter (eliminate superfluous use of JAVA_HOME
  627. for Java implementations where it is not used).
  628. * Makefile.am (Makefile.common $(SUBMAKEFILES)): Use JAVASTUBS_FUNCTION
  629. instead of java-run-all.
  630. * java-stub.el (set-dollar-sign, java-run-all-unicode,
  631. java-run-all-literal): New functions.
  632. (java-run-all): Add unicode flag key.
  633. (*dollar-sign*): New variable.
  634. (java-print-method-name, java-print-native-method-name): 
  635. Use *dollar-sign* instead of unicode mangling.
  636. * javaswarm: Use JAVACLASSES instead of hardcoded classes.zip.
  637. (LD_LIBRARY_PATH): Add JAVALIBS.  Pre-split :-delimited values.
  638. Print shell instructions, instead of just value of LD_LIBRARY_PATH
  639. in non-argument case.  
  640. Use $JAVA instead of $jdkdir/bin/java.
  641. 1999-04-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  642. * java-stub.el (java-print-native-class): Print #include jni.h
  643. after directory.h to avoid jmalloc malloc, free, calloc
  644. preprocessor redefines causing conflict with stdlib declarations
  645. of same.  Don't print defobj.h inclusion twice when module is
  646. defobj.
  647. 1999-04-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  648. * java-stub.el (java-print-makefiles): Name MODULES by hand, for
  649. ordering.
  650. 1999-03-31  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  651. * Makefile.am (jdkdir): Remove.
  652. 1999-03-24  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  653. * java-stub.el (java-print-method,
  654. java-print-interface-methods-in-phase, java-print-native-method):
  655. Go back to non-static constructors.
  656. 1999-03-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  657. * java-stub.el (java-print-native-method): Use
  658. JINSTANTIATEUSINGFROMCLASS for +create* and
  659. JINSTANTIATEUSINGFROMOBJECT for -createEnd.
  660. (*removed-methods*): Add getReturnVal.
  661. 1999-03-22  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  662. * java-stub.el (java-suffix-for-phase): Use S and U instead of _s
  663. and _u (avoids Unicode chars and is easier to type).
  664. (java-qualified-name, java-qualified-native-name,
  665. java-qualified-class-name, java-qualified-native-class-name): New
  666. functions.
  667. (java-qualified-interface-name): Use java-qualified-name.
  668. (java-print-method-name): New function.
  669. (java-print-native-method, java-print-method): Use it.
  670. (java-print-native-method): Handle +createBegin before other
  671. +create* methods, which require use of JINSTANTIATENAME with a
  672. fully qualified using phase class.
  673. (*objc-to-java-type-alist*): SEL -> swarm.Selector, not Object.
  674. (*removed-protocols*): Exclude CompleteVarMap, CustomProbeMap,
  675. DefaultProbeMap, ProbeLibrary, and ActiveOutFile because of use of
  676. Class.
  677. (*removed-methods*): Exclude +customizeBegin:, customizeCopy:, and
  678. -customizeEnd.  Exclude allocBlock: because of void * return and
  679. FCall's -setJavaMethod:inObject: and getResult because of void*.
  680. Exclude setProbedClass:.
  681. (freaky-message): Use error, not message.
  682. (java-print-method): Add [disabled, argh] support for
  683. +createBegin: and +create*/-createEnd to returning typed interface
  684. objects.  Add protocol argument (for typing info).
  685. (create-method-p): Don't bother checking for +customizeBegin:.
  686. (java-print-class-methods-in-phase,
  687. java-print-interface-methods-in-phase): Accomodate.
  688. 1999-03-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  689. * java-stub.el (java-qualified-interface-name): New function.
  690. (java-print-implemented-interfaces-list): Use it.
  691. (java-print-import, java-print-imports): Remove.
  692. (java-print-class-phase-to-file,
  693. java-print-interface-phase-to-file): Don't call
  694. java-print-imports.
  695. (java-print-native-method): Put two underlines after method name,
  696. not one.
  697. * Makefile.am (SWARM_EXTRA_DIST): Add
  698. swarm/NonUniqueMethodSignatureException.java and
  699. swarm/SignatureNotFoundException.java.
  700. 1999-03-21  Marcus G. Daniels  <mgd@chimayo.santafe.edu>
  701. * javaswarm: Add . to front of -classpath and $CLASSPATH to end.
  702. 1999-03-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  703. * javaswarm: Pass -classpath for swarm.jar.  Use $jdkdir/bin/java;
  704. don't home that the PATH has something reasonable.  Set JAVA_HOME
  705. for java and pass $jdkdir/lib/classes.zip along with swarm.jar.
  706. * java-stub.el (java-print-method): Denote factory methods with
  707. static.
  708. (create-method-p): New method.
  709. (included-method-p): Use it; exclude +create* methods when
  710. protocol is not creatable.  Add protocol argument.
  711. (java-print-interface-methods-in-phase): Exclude factory methods
  712. as interfaces don't allow static modifier.
  713. (creatable-p): Renamed from CREATABLE-p.
  714. (java-print-method-invocation): Take protocol and method as
  715. arguments.  Handle factory methods.
  716. (java-print-native-method): Handle static method arguments and
  717. +create* methods in particular.
  718. (java-print-native-class): Don't check methods with
  719. included-method-p.
  720. (java-argument-print-conversion, java-print-method-invocation):
  721. Pass JNIEnv to JFINDOBJC.
  722. (java-print-native-method): Pass JNIEnv to JUPDATE and
  723. JSWITCHUPDATE.
  724. (java-print-makefiles): Print simply the module name; don't use
  725. computed variable name to get modulePROTOCOLS; it is now done in
  726. Makefile.rules.
  727. 1999-03-19  Vladimir Jojic  <vjojic@wupatki.santafe.edu>
  728. * java-stub.el (java-print-class-phase): Make all classes
  729. public.
  730. 1999-03-18  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  731. * java-stub.el (expanded-method-list): Renamed from method-list.
  732. (java-print-class-methods-in-phase, java-print-native-class): 
  733. Accommodate.
  734. (java-print-native-method): Use JSWITCHUPDATE / JINSTANTIATE of
  735. user-phase class for createEnd.
  736. * javaswarm: Print out LD_LIBRARY_PATH additions if there are no
  737. arguments (otherwise export and run java).
  738. 1999-03-17  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  739. * javaswarm: Use 12 instead of n to avoid problems with ucb tr.
  740. * java-stub.el (java-print-native-class): Use method-list instead
  741. of protocol-method-list.
  742. 1999-03-16  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  743. * Makefile.am (C_EXTRA_DIST): Add JavaProxy and SwarmEnvironment.
  744. * javaswarm: New file.
  745. * Makefile.am (bin_SCRIPTS): Install it.
  746. * java-stub.el (java-print-method-invocation): New function.
  747. (java-print-native-method): Use it.  Handle +createBegin: and
  748. -createEnd.
  749. 1999-03-11  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  750. * java-stub.el (java-print-method, java-print-native-method):
  751. Print "$" between method keys (instead of mixing case).
  752. (java-argument-print-conversion): Handle selectors. 
  753. (*removed-methods*): Remove the parameter SEL exceptions.
  754. (java-print-native-class): Don't declare jniEnv extern.
  755. (java-print-native-method, java-argument-print-conversion): Refer
  756. to env stub parameter, not jniEnv extern.
  757. * Makefile.am (SWARM_EXTRA_DIST): Add swarm/Selector.java.
  758. 1999-03-09  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  759. * java-stub.el (*objc-to-java-type-alist*): Convert timeval_t and
  760. size_t to long and Color to byte.
  761. (*removed-protocols*, *removed-methods*): New lists.
  762. (method-ellipsis-p): New function.
  763. (removed-method-p): Use it and *removed-methods*.
  764. (removed-protocol-p): New function.
  765. (included-protocol-list): Use it instead of just
  766. the-CREATABLE-protocol-p.
  767. (java-type-to-native-type): Handle java.lang.reflect.Method.
  768. (java-argument-print-conversion): Handle jmethodID.
  769. (java-print-makefiles, java-print-classes): Use removed-protocol-p
  770. instead of the-CREATABLE-protocol-p.
  771. 1999-03-08  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  772. * Makefile.am (C_EXTRA_DIST, SWARM_EXTRA_DIST): New variables.
  773. (EXTRA_DIST): Include them.
  774. * java-stub.el (java-type-to-native-type): Add boolean and void.
  775. (java-argument-print-conversion): New function.
  776. (java-print-native-method): Make the call. Handle argument and
  777. return value conversions for String and Object.
  778. (java-print-native-class): Include the module's header file and
  779. directory.h.  Declare JNIEnv object.
  780. 1999-03-05  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  781. * Makefile.am (jdkdir, JAVASTUBS): Substitute.
  782. (all, install): Depend on computed variable name based on
  783. JAVASTUBS.
  784. (all-stubs, install-stubs): Formerly the all and install targets.
  785. 1999-03-02  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  786. * java-stub.el (java-print-native-method): Print out some return
  787. values to avoid compiler warnings [temporary].
  788. (included-method-p): New function.
  789. (method-list, java-print-interface-methods-in-phase,
  790. java-print-native-class): Use included-method-p.
  791. (java-print-native-class): Import defobj.h.
  792. 1999-03-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  793. * Makefile.am (SUBMAKEFILES): Use instead of MAKEFILES.  (MAKEFILES
  794. is the environmental equivalent of include!)
  795. (install): New target.
  796. * java-stub.el (java-print-native-method): Take phase argument.
  797. (java-print-native-class): Loop over creating and using phase,
  798. passing to java-print-native-method.
  799. (with-protocol-c-file): Use .m files.
  800. 1999-02-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  801. * Makefile.am (all, stubs): Mark as phony.
  802. (stubs): Depend on Makefile.conf and $(MAKEFILES).
  803. (all): Depend on stubs.
  804. (Makefile.common $(MAKEFILES)): Depend on java-stub.elc
  805. and module headers.
  806. * java-stub.el (*java-path*, *c-path*): New constants.
  807. (with-protocol-c-file): Use *c-path*.
  808. (*stub-directory*): Remove.
  809. (module-path): Don't use *stub-directory*.
  810. (java-print-makefiles): Simplify to use templates.  Generate
  811. only Makefile.common with protocol and module lists, and
  812. per-module Makefiles.
  813. (java-print-classes): Use *java-path* instead of literal.
  814. * Makefile.am (stubs): Run stub generation in c and swarm
  815. directories.
  816. 1999-02-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  817. * java-stub.el (removed-method-p): Avoid all methods with an
  818. ellipsis argument.
  819. (java-print-methods-in-phase): Remove.
  820. (java-print-interface-methods-in-phase): Loop over protocol
  821. methods.
  822. (java-print-class-methods-in-phase): Loop over expanded list of
  823. methods.
  824. (*objc-to-java-type-alist*): Treat void*, ref_t, val_t, Protocol*,
  825. and unsigned long long int as freaky.
  826. (java-objc-to-java-type): Renamed from java-type-for-objc-type.
  827. (with-protocol-java-file): Renamed from with-protocol-file.
  828. (with-protocol-c-file): New macro.
  829. (mangle-signature, java-type-to-signature,
  830. java-type-to-native-type, java-argument-convert,
  831. java-argument-empty-p, java-print-native-method,
  832. java-print-native-class): New functions.
  833. (java-print-classes): Call java-print-native-class.
  834. (java-run-all): Pass :uniquify-method-lists t.
  835. (module-path): New function.
  836. (with-protocol-{c,java}-file): Use it.
  837. (java-print-interface-name): Removed.
  838. (java-class-name, java-interface-name): New functions.  Latter
  839. uses former.
  840. (java-print-makefiles): New function.
  841. (java-print-classes): Use it.
  842. 1999-02-26  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  843. * java-stub.el: Use insert throughout instead of java-print wrapper.
  844. (ensure-directory): New function.
  845. (with-protocol-file, java-print-interface-phase-to-file): Use it.
  846. (java-print-class-phase-to-file): Use it.
  847. (java-print-classes): Create swarm directory.
  848. (the-CREATABLE-protocol-p): New function.
  849. (CREATABLE-p): Use it.
  850. (removed-method-p): New function.
  851. (method-list): New function.  Use it.
  852. (java-print-methods-in-phase): Use it.
  853. (*objc-to-java-type-alist*): notify_t and long doubles are freaky.
  854. (java-print-method): Concatenate method keys together into single
  855. Java method name. Upcase second and after keys.
  856. (removed-method-p): Also reject getDisplayName, setDisplayName,
  857. getTypeName, copy, and remove.
  858. (method-list): Use expanded method list.
  859. (java-print-argument): Avoid use of "class" as a variable name.
  860. (freaky-message): New function.
  861. (java-type-for-objc-type): Use it.
  862. (java-print-classes): Don't print stubs for CREATABLE protocol.
  863. 1999-02-25  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  864. * java-stub.el: Rewrite.  Stubs mostly compile now.  Two
  865. significant conceptual change: interfaces are generated
  866. for all phases of classes (prefixed with i_), and abstract
  867. classes are generated for when a protocol is not tagged CREATABLE.
  868. 1999-02-24  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  869. * java-stub.el: Use eval-and-compile to set load-path from
  870. BUILDDIR.  require protocol instead of loading it.
  871. 1999-02-24  Vladimir Jojic  <vjojic@chama.santafe.edu>
  872. * java-stub-new.el: New java stub generator. 
  873. (java-make-interface): Convert module symbol to string.
  874. (java-make-interface-setting): Likewise.
  875. (java-make-class): Likewise.
  876. 1999-02-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  877. * java-stub.el: Load protocol.el from $SWARMSRCDIR/etc/protocol.el.
  878. Remove buffer arguments throughout, depending instead on
  879. use of with-temp-file, etc.  Use java-print throughout instead of
  880. print and princ.
  881. (java-protocol-creatable-p): Renamed from java-is-creatable.
  882. (*objc-to-java-type-alist*): Regular express alist of type
  883. conversion rules.
  884. (*last-protocol*, *stub-directory*): New variables.
  885. (java-type-for-objc-type): Use it.  Use string-match using alist
  886. patterns as ^$ wrappedregular expressions.
  887. (java-protocol-creatable-p): Use find instead of loop.
  888. (java-print, freakyp): New functions.
  889. (java-print-type): Print a message when freaky types are seen.
  890. (java-print-argument): Don't do anything when varname doesn't
  891. exist (the case of method with no arguments).
  892. (java-print-methods-in-protocol): Use mapcar instead of loop, set
  893. (java-print-class): Use with-current-buffer instead of creating
  894. and passing down Makefile buffer to java-print-makefile.
  895. (java-print-classes): Kill the makefile-buffer when finished.
  896. Set *last-protocol* for use by debugging messages.
  897. (java-print-protocol-list-with-suffix): Remove (similiar contents
  898. were inlined in java-print-implemented-protocols-list -- now are
  899. in flet).
  900. (java-print-implemented-protocols-list): New internal function
  901. protocol-loop, reused several times.
  902. (stub-protocol-path): New function.
  903. (java-print-interface, java-print-interface-setting,
  904. java-print-class-creating, java-print-class-using): Use it.  Use
  905. with-temp-file instead of creating buffer by hand and passing it
  906. down.
  907. 1999-02-16  Vladimir Jojic  <vjojic@chama.santafe.edu>
  908. * java-stub.el: Makefile generation. 
  909. * Makefile.am (EXTRA_DIST): Add java-stub.el.
  910. * java-stub.el: New file.