Fix formatting of gwt.xml and add DTD.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-04-01  Ben Konrath  <ben@bagu.org>
2
3         Fix formatting of gwt.xml and add DTD.
4
5         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
6
7 2011-03-30  Ben Konrath  <ben@bagu.org>
8
9         Propperly convert gdkColor string to html colour string.
10
11         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
12
13 2011-03-28  Ben Konrath  <ben@bagu.org>
14
15         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
16
17         This implementation matches
18         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
19         readable and is not tied to Swig.
20
21         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
22
23 2011-03-28  Ben Konrath  <ben@bagu.org>
24
25         Use read-only checkboxes for boolean field types.
26
27         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
28         in the CellTable based on the field type. It currently only
29         distinguishes between boolean and text columns but I'll need to add
30         support for more types.
31         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
32         column type in the ColumnInfo object. Add method to convert between the
33         glom field type enum in ColumnInfo and the glom field type in libglom.
34         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
35         field type.
36         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
37         getting and setting booleans.
38
39 2011-03-25  Ben Konrath  <ben@bagu.org>
40
41         Don't get the Date twice from the ResultSet.
42
43         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
44
45 2011-03-25  Ben Konrath  <ben@bagu.org>
46
47         Cleanup code in the servlet.
48
49         * TODO: Remove item about row count. Add item about testing row count
50         query with large number of rows.
51         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
52         spelling mistakes, change method parameter to be consistent with
53         other methods.
54
55 2011-03-25  Ben Konrath  <ben@bagu.org>
56
57         Add server side logging with the gwt-log library.
58
59         * .gitignore: Ignore the log file we're now producing.
60         * TODO: Add a couple TODO item for logging.
61         * pom.xml: Add gwt-log and log4j as a dependency.
62         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
63         logging of errors, warnings and some important info.
64         * src/main/resources/log4j.properties: New file to configure log4j.
65
66 2011-03-24  Ben Konrath  <ben@bagu.org>
67
68         Add a disable button for the Details view.
69
70         * src/main/java/org/glom/web/client/LayoutListView.java:
71
72 2011-03-22  Ben Konrath  <ben@bagu.org>
73
74         Use a count query to get the number of rows for the list view pager.
75
76         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
77
78 2011-03-22  Ben Konrath  <ben@bagu.org>
79
80         Add more TODO information about CellTable pager positioning. 
81
82         * TODO:
83
84 2011-03-19  Ben Konrath  <ben@bagu.org>
85
86         Add TODO item about CellTable pager positioning.
87
88         * TODO:
89
90 2011-03-18  Ben Konrath  <ben@bagu.org>
91
92         Remove unneeded GlomFieldColumn class.
93
94         This is just a small code cleanup.
95
96         * src/main/java/org/glom/web/client/LayoutListView.java:
97
98 2011-03-18  Ben Konrath  <ben@bagu.org>
99
100         Use cursor mode in the query that gets data for the list view.
101
102         I still need to fix the potential memory problem when getting the row
103         count for the list view.
104
105         * TODO: Add note about testing memory usage with large data sets. Add
106         item about fixing row counting with large data sets.
107         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
108         PostgreSQL JDBC driver into cursor mode when getting data for the
109         list view.
110
111 2011-03-15  Ben Konrath  <ben@bagu.org>
112
113         Remove the GWT Container from the Eclipse build classpath.
114
115         The GWT dependencies are set by Maven so this isn't needed.
116
117         * .classpath:
118
119 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
120
121         Added some earlier mockups to git, but not to the tarball dist.
122
123         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
124         Openismus. These hopefully show how we might structure the HTML so that
125         it can be styled easily with CSS. However, we probably need to adapt them
126         for the CSS structure that GWT dictates for common widgets.
127
128 2011-03-14  Ben Konrath  <ben@bagu.org>
129
130         Locate OnlineGlom.properties using the ServletContext.
131
132         This is required to be able to locate the file in the deployed servlet.
133
134         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
135         Configure the database and glom document in in a helper method so
136         that the ServletContext can be used to locate OnlineGlom.properties.
137         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
138         src/main/webapp. This is the proper location for .properites files.
139
140 2011-03-12  Ben Konrath  <ben@bagu.org>
141
142         Add note to README about why we're compiling down to obfuscated JavaScript.
143
144         * README:
145
146 2011-03-11  Ben Konrath  <ben@bagu.org>
147
148         Use properties file to configure servlet.
149
150         This allows people to change the glom file path, db username and db
151         password without recompiling the code.
152
153         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
154         * src/main/webapp/OnlineGlom.properties:
155
156 2011-03-11  Ben Konrath  <ben@bagu.org>
157
158         Use table fields in layout list view if the layout list is not defined.
159
160         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
161         Manually create a LayoutFieldVector for the query builder using the
162         table fields when a layout list is not defined in the glom file.
163
164 2011-03-11  Ben Konrath  <ben@bagu.org>
165
166         Only show FIXME string for images when there's an image.
167
168         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
169         in this change are some small code cleanups.
170
171 2011-03-11  Ben Konrath  <ben@bagu.org>
172
173         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
174
175         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
176
177 2011-03-11  Ben Konrath  <ben@bagu.org>
178
179         Correctly set the index of the default table.
180
181         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
182         Correctly set the index of the default table. Add commented out example
183         file paths.
184
185 2011-03-10  Ben Konrath  <ben@bagu.org>
186
187         Add comment to pom.xml about the previous change.
188
189         * pom.xml: Add comment about the deployment issue so that it's obvious
190         why java-libglom is set to the provided scope.
191
192 2011-03-10  Ben Konrath  <ben@bagu.org>
193
194         Change java-libglom dependency from compile to provided in pom.xml.
195
196         Since java-libglom uses jni it can only be loaded once and therefore
197         must be placed in $CATALINA_HOME/lib and not included in each war.
198         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
199         More information about this issue can be found in the Tomcat 6 release
200         notes in the "JNI Based Applications" section:
201
202         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
203
204         * README: Remove note about this issue. Deployment info should really
205         be on the wiki anyway so I'll add it right now.
206         * pom.xml: Change java-libglom dependency from compile to provided so
207         that it's copied in to the packaged war.
208
209 2011-03-09  Ben Konrath  <ben@bagu.org>
210
211         Change to using a neutral locale for currency, date and time formatting.
212
213         This solves the problem of currency values being represented without a
214         space between the currency code and the number (e.g. "EUR5.89" is now
215         represented as "EUR 5.89"). More work is required when we implement
216         a locale preference setting.
217
218         * TODO: Add note about currency formatting issues with different
219         locales.
220         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
221         to using the neutral ROOT locale.
222
223 2011-03-09  Ben Konrath  <ben@bagu.org>
224
225         Add support for currency codes that are not ISO 4217 codes.
226
227         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
228         the currency code defined in the glom file when it's not 3 characters
229         long or when Java doesn't recognize the string as an ISO 4217 code.
230
231 2011-03-08  Ben Konrath  <ben@bagu.org>
232
233         Remove test classes, launch configurations and configuration.
234
235         The test stuff was getting in the way when creating the war. To make
236         the war file you can now do 'mvn clean package'. The packaged war file
237         will be in the target directory.
238
239         * .classpath: Remove unused classpathentry for tests and i18n.
240         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
241         property. Don't run test or i18n goals when packaging the war.
242         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
243         formatting.
244
245         Removed files:
246
247         * OnlineGlomTest-dev.launch:
248         * OnlineGlomTest-prod.launch:
249         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
250         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
251
252 2011-03-07  Ben Konrath  <ben@bagu.org>
253
254         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
255
256         These fixes allow me to use 'mvn deploy' to create the war file.
257
258         * .classpath: This generated config has been updated by Eclipse. This
259         change was probably triggered by me updating from Eclipse 3.6.1 to
260         3.6.2.
261         * .gitignore: Add entry to ignore the directory
262         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
263         * .project: The generated config has been updated by Eclipse. This
264         change was probably triggered by me updating from Eclipse 3.6.1 to
265         3.6.2.
266         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
267         so that Eclipse doesn't complain
268         * pom.xml: Update to gwt-maven-plugin 2.2.0.
269         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
270         'tests' directory to 'client' directory. This is the new
271         gwt-maven-plugin convension.
272         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
273         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
274
275 2011-03-07  Ben Konrath  <ben@bagu.org>
276
277         Add support for horizontal alignment in the LayoutList columns.
278
279         * TODO: Remove item about horizontal alignment. Add item about
280         improvements to ColumnInfo.
281         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
282         alignment on the columns. Use ColumnInfo RPC object get the column
283         title and horizontal alignment.
284         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
285         LayoutListView creation with ColumnInfo RPC object.
286         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
287         a ColumnInfo object for every LayoutList columnn. Convert the
288         FieldFormatting.HorizontalAlignment to the correct
289         ColumnnInfo.HorizontatlAlignment with the new
290         getColumnInfoHorizontalAlignment helper method.
291         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
292         to encapsulate column information like alignment and title. This
293         could be used to set the colour instead of on a per cell field basis.
294         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
295         column title storage and retrieval with ColumnInfo.
296
297 2011-03-04  Ben Konrath  <ben@bagu.org>
298
299         Add support for column sorting.
300
301         * src/main/java/org/glom/web/client/LayoutListView.java: Change
302         AsynDataProvider to be an anonymous inner class. Use new
303         getSortedTableData RPC method when column sort is requested. Set all
304         columns sortable and add an AsyncHandler to activate sorting in the
305         AsyncDataProvider.
306         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
307         method getSortedTableData(). Cleanup other method signatures.
308         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
309         new method getSortedTableData(). Cleanup other method signatures.
310         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
311         Implement getSortedTableData() and getTableData() methods by using a
312         private helper method with the appropriate parameters filled in. Use
313         user supplied sort clause when supplied, otherwise fall back to
314         sorting by the primary key. Move destroy() method to be underneath
315         constructor for readability.  Cleanup comments.
316
317 2011-03-03  Ben Konrath  <ben@bagu.org>
318
319         Add support for colour text and colour backgrounds to the layout list cells.
320
321         Only the cell backgrounds are coloured which leaves a gap between the
322         cells that isn't coloured. I need to figure out a way to set
323         'style=background-colour:' on the whole column rather than just the
324         cell.
325
326         * TODO: Add a note about colouring the background of the whole column.
327         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
328         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
329         render the coloured text and backgrounds. Use GlomField[] for the row type.
330         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
331         for the row type.
332         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
333         GlomField[] for the row type.
334         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
335         GlomField[] for the row type. Set the text, text colour and background
336         colour in the GlomField objects as specified in the glom document. Add
337         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
338         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
339         the glom field text, foreground colour and background colour.
340
341 2011-03-02  Ben Konrath  <ben@bagu.org>
342
343         Don't display hidden tables in the combo box.
344
345         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
346         ArrayLists.
347         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
348         code to ignore hidden tables using ArrayLists for the table names and
349         titles.
350         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
351         tableNames to use ArrayLists instead of String[]. Update getter and setter
352         methods.
353
354 2011-03-01  Ben Konrath  <ben@bagu.org>
355
356         Add support for Date and Time number types.
357
358         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
359         Implement formatting for Date and Time values. Change the default glom
360         file to small business example.
361
362 2011-03-01  Ben Konrath  <ben@bagu.org>
363
364         Add support for formatting glom types as specified in the glom file.
365
366         Formatting isn't finished yet - I still need to add support for Date
367         and Time values.
368
369         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
370         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
371         checks for null values in JDBC cleanup code and catch all exceptions
372         instead of just SQLExceptions.
373         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
374         method name.
375
376 2011-03-01  Ben Konrath  <ben@bagu.org>
377
378         Use GWT 2.2.0 instead of 2.1.1.
379
380         * pom.xml: Change GWT version numbers.
381
382 2011-03-01  Ben Konrath  <ben@bagu.org>
383
384         A few small code cleanups.
385
386         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
387         duplicate for loop.
388         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
389         unnecessary object creation in constructor.
390         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
391         unnecessary object creation in constructor.
392
393 2011-02-28  Ben Konrath  <ben@bagu.org>
394
395         Add file for TODO list.
396
397         * TODO: New file.
398
399 2011-02-18  Ben Konrath  <ben@bagu.org>
400
401         Enable the CellTable Pager when more than 20 rows need to be viewed.
402
403         The Pager will automatically become active when the results are larger
404         than the CellTable size which is currently set to 20 lines.
405
406         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
407         name on debug statment in RPC call in LayoutListDataProvider, add
408         numRows parameter to LayoutListView constructor, propperly set rowCount
409         in CellTable.
410         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
411         name on debug statment in RPC call, use LayoutListTable object in RPC
412         calls, pass rowCount to LayoutListView.
413         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
414         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
415         object.
416         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
417         interface for changes in OnlineGlomService.
418         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
419         getLayoutListHeaders() to getLayoutListTable() and return
420         LayoutListTable. Using this object allows me to pass other information
421         about the LayoutList like the expected number of rows in the result set.
422         The Connection object from the connection pool is now propperly closed.
423         Only the requested number of lines are returned to the client in
424         getTableData().
425         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
426         GlomTable and add columnTitles and numRows.
427
428 2011-02-18  Ben Konrath  <ben@bagu.org>
429
430         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
431
432         This is a small performance boost. I'll use GlomTable to get the required
433         layoutlist information.
434
435         * src/main/java/org/glom/web/client/OnlineGlom.java:
436         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
437         * src/main/java/org/glom/web/shared/GlomDocument.java:
438
439 2011-02-18  Ben Konrath  <ben@bagu.org>
440
441         Add option to turn off formatting in JDT formatter preferences.
442
443         * .settings/org.eclipse.jdt.core.prefs:
444
445 2011-02-18  Ben Konrath  <ben@bagu.org>
446
447         Rename LayoutList to LayoutListView.
448
449         I'm working towards setting things up to easily use MVP when the time
450         comes.
451
452         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
453         LayoutList.java.
454         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
455         references.
456
457 2011-02-17  Ben Konrath  <ben@bagu.org>
458
459         Move LayoutListDataProvider class into LayoutList.java.
460
461         * src/main/java/org/glom/web/client/LayoutList.java:
462
463 2011-02-17  Ben Konrath  <ben@bagu.org>
464
465         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
466
467         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
468         references.
469         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
470         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
471         from LibGlomServer.java.
472         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
473         Rename from LibGlomServiceAsync.java.
474         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
475         Rename from LibGlomServiceImpl.java.
476         * src/main/webapp/WEB-INF/web.xml: Update configuration.
477
478 2011-02-17  Ben Konrath  <ben@bagu.org>
479
480         Update JDT settings.
481
482         * .settings/org.eclipse.jdt.core.prefs:
483
484 2011-02-17  Ben Konrath  <ben@bagu.org>
485
486         Move GWT-RPC objects to shared package (where they should be).
487
488         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
489         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
490         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
491         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
492         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
493         org.glom.web.shared package.
494         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
495         org.glom.web.shared package.
496         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
497         directory in compilation to javascript.
498
499 2011-02-16  Ben Konrath  <ben@bagu.org>
500
501         Add sort clause to the sql query that grabs table information.
502
503         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
504         if one of the columns is a primary key.
505
506 2011-02-16  Ben Konrath  <ben@bagu.org>
507
508         Disable generateAsync feature of gwt-maven.
509
510         The generated interface does not correctly match the methods in LibGlomService
511         and the generated singleton Util inner-class doesn't respect the servlet
512         mappings.
513
514         * pom.xml: Turn off generateAsync feature.
515         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
516         with singleton Util inner-class.
517
518 2011-02-14  Ben Konrath  <ben@bagu.org>
519
520         Add LGPL v3 licence notices.
521
522         Followed directions listed here:
523         http://www.gnu.org/licenses/gpl-howto.html
524
525         * COPYING: This file is a copy of the GPL v3.
526         * COPYING.LESSER: This file is a copy of the LGPL v3.
527         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
528         notice.
529         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
530         notice.
531         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
532         notice.
533         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
534         licence notice.
535         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
536         notice.
537         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
538         notice.
539         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
540         licence notice.
541
542 2011-02-14  Ben Konrath  <ben@bagu.org>
543
544         Use ArrayList instead of Array in GWT-RPC calls.
545
546         Apparently this gives a slight performance boost to the compiled
547         java script.
548
549         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
550         instead of Array.
551         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
552         of Array.
553
554 2011-02-14  Ben Konrath  <ben@bagu.org>
555
556         Access data from a postgres db rather than the example glom file.
557
558         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
559         compile down to obfuscated javascript.
560         * pom.xml: Add c3p0 and postgres JDBC libraries.
561         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
562         using a postgres db accessed through the c3p0 connection pooling library.
563
564 2011-02-14  Ben Konrath  <ben@bagu.org>
565
566         Update Java formatter settings.
567
568         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
569
570 2011-02-02  Ben Konrath  <ben@bagu.org>
571
572         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
573
574         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
575         using Maven.
576         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
577         the compiled webapp directory that Eclipse uses as we're using Maven now.
578         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
579         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
580         to 1.6.
581         * pom.xml: Format file, change target Java version to 1.6.
582
583 2011-02-02  Ben Konrath  <ben@bagu.org>
584
585         Add information about a deployment related issue.
586
587         * README: Add Notes section with the problem outlined.
588
589 2011-02-02  Ben Konrath  <ben@bagu.org>
590
591         Call Glom.libglom_deinit() when the servlet is shutdown.
592
593         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
594         Glom.libglom_deinit() to destroy() method.
595
596 2011-01-28  Ben Konrath  <ben@bagu.org>
597
598         Use generated Util class to get the RPC Async interface.
599
600         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
601         file.
602         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
603         getInstance() method to get a reference to the RPC Async interface.
604         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
605         getInstance() method to get a reference to the RPC Async interface, remove
606         the now unused getLibGlomServiceProxy() method.
607
608 2011-01-27  Ben Konrath  <ben@bagu.org>
609
610         Cleanup ChangeLog entry from previous commit.
611
612         * ChangeLog: Group logical changes together and add comments.
613
614 2011-01-25  Ben Konrath  <ben@bagu.org>
615
616         Convert to gwt-maven project.
617
618         * .gitignore: Update for new project structure.
619         * README: New file with a link to the online documentation.
620         * pom.xml: The generated maven configuration file with some tweaks.
621
622         Add / update Eclipse settings. These files are a merge of the files that
623         were generated with the gwt-maven plugin and the files we were previously
624         using.
625         * .classpath:
626         * .project:
627         * .settings/.jsdtscope:
628         * .settings/com.google.gdt.eclipse.core.prefs:
629         * .settings/com.google.gwt.eclipse.core.prefs:
630         * .settings/org.eclipse.jdt.core.prefs:
631         * .settings/org.eclipse.wst.common.component:
632         * .settings/org.eclipse.wst.common.project.facet.core.xml:
633         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
634         * .settings/org.maven.ide.eclipse.prefs:
635         * OnlineGlomTest-dev.launch:
636         * OnlineGlomTest-prod.launch:
637
638         Java source files moved from the 'src' directory to the directory structure
639         required by maven.
640         * src/main/java/org/glom/web/client/GlomDocument.java:
641         * src/main/java/org/glom/web/client/GlomTable.java:
642         * src/main/java/org/glom/web/client/LayoutList.java:
643         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
644         * src/main/java/org/glom/web/client/LibGlomService.java:
645         * src/main/java/org/glom/web/client/OnlineGlom.java:
646         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
647
648         Non-functional property file used for translations. I included this as
649         reminder that it's something I need to sort out.
650         * src/main/resources/org/glom/web/client/Messages.properties:
651
652         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
653         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
654
655         The servlet configuration files moved from the 'war' directory.
656         * src/main/webapp/OnlineGlom.css:
657         * src/main/webapp/OnlineGlom.html:
658         * src/main/webapp/WEB-INF/web.xml:
659
660         Generated test files with most of the code commented out. I included these
661         so that it's easy to add tests when we're ready for them.
662         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
663         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
664
665 2011-01-25  Ben Konrath  <ben@bagu.org>
666
667         Remove unused println.
668
669         * src/org/glom/web/server/LibGlomServiceImpl.java:
670
671 2011-01-25  Ben Konrath  <ben@bagu.org>
672
673         Add project specific JDT settings.
674
675         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
676         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
677
678 2011-01-25  Ben Konrath  <ben@bagu.org>
679
680         Populate celltable with example data.
681
682         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
683         * src/org/glom/web/client/GlomTable.java: Correct formatting.
684         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
685         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
686         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
687         asynchronously gets the example data.
688         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
689         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
690         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
691         curently selected table to be retrieved by other widgets.
692         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
693         implement getTableData() in a hacky way. This method needs to be updated
694         to grab information from the database when database creating is
695         implemented.
696
697 2011-01-20  Ben Konrath  <ben@bagu.org>
698
699         Set table headers when table dropBox changes.
700
701         * src/org/glom/web/client/GlomDocument.java: Correct some method
702         names.
703         * src/org/glom/web/client/LibGlomService.java: Add method
704         to get list layout field names.
705         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
706         to get list layout field names.
707         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
708         widget for list layout table.
709         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
710         the table drop box and add new updateTable() method to asynchronously
711         get the layout list field names for the currently selected table.
712         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
713         implementation of getLayoutListHeaders() method.
714         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
715
716 2011-01-18  Ben Konrath  <ben@bagu.org>
717
718         Make a listBox with table titles instead of the flexTable demo.
719
720         This is the start of something more useful.
721
722         * .classpath: Exclude a bunch of packages from the JVM that are
723         getting in the way of the Eclipse content assist.
724         * src/org/glom/web/client/GlomDocument.java:
725         * src/org/glom/web/client/GlomTable.java:
726         * src/org/glom/web/client/LibGlomService.java:
727         * src/org/glom/web/client/LibGlomServiceAsync.java:
728         * src/org/glom/web/client/OnlineGlom.java:
729         * src/org/glom/web/server/LibGlomServiceImpl.java:
730         * war/OnlineGlom.html:
731         * war/WEB-INF/web.xml:
732
733 211-01-13  Ben Konrath  <ben@bagu.org>
734
735         Update to new java-libglom API.
736
737         * .gitignore: Ignore OnlineGlom.war.
738         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
739
740 2010-12-20  Ben Konrath  <ben@bagu.org>
741
742         Add some basic style to the table listing.
743
744         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
745         header, print useful error message on async callback failure.
746         * war/OnlineGlom.css: Add style for table header, remove defaults
747         provided by the Eclipse project wizard.
748
749 2010-12-20  Ben Konrath  <ben@bagu.org>
750
751         Load example file from installed glom dir.
752
753         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
754         provided by java-libglom to find the example file.
755
756 2010-12-20  Ben Konrath  <ben@bagu.org>
757
758         Update Eclipse settings.
759
760         * .classpath:
761         * .settings/com.google.gdt.eclipse.core.prefs:
762         * .settings/com.google.gwt.eclipse.core.prefs:
763
764 2010-12-17  Ben Konrath  <ben@bagu.org>
765
766         Initial commit.
767
768         * .classpath: New file.
769         * .gitignore: New file.
770         * .project: New file.
771         * .settings/com.google.gdt.eclipse.core.prefs: New file.
772         * .settings/com.google.gwt.eclipse.core.prefs: New file.
773         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
774         * src/org/glom/web/client/GlomTable.java: New file.
775         * src/org/glom/web/client/OnlineGlom.java: New file.
776         * src/org/glom/web/client/TableNameService.java: New file.
777         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
778         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
779         * war/OnlineGlom.css: New file.
780         * war/OnlineGlom.html: New file.
781         * war/WEB-INF/web.xml: New file.
782         * war/images/glom.png: New file.