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