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