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