Update gwt-log from 3.1.0 to 3.1.2.
[online-glom:gwt-glom.git] / ChangeLog
1 2011-05-24  Ben Konrath  <ben@bagu.org>
2
3         Update gwt-log from 3.1.0 to 3.1.2.
4
5         Gwt-log 3.1.0 has been marked as depreciated.
6
7         * pom.xml:
8
9 2011-05-24  Ben Konrath  <ben@bagu.org>
10
11         Add comment to ListActivity.goTo() method.
12
13         * src/main/java/org/glom/web/client/activity/ListActivity.java:
14
15 2011-05-24  Ben Konrath  <ben@bagu.org>
16
17         Remove FIXME in convertGdkColorToHtmlColour()
18
19         The Gdk::Color value returned by libglom is 16-bits per channel on both
20         64 and 32-bit platforms.
21
22         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
23
24 2011-05-19  Ben Konrath  <ben@bagu.org>
25
26         Improve performance of initial ListView load.
27
28         I removed a round trip to the server for getting the default table name
29         and then requesting information about that table. This also removes a potential
30         problem with the table change handler not being setup in time to receive the
31         table change event from the ListActivity.
32
33         * src/main/java/org/glom/web/client/OnlineGlomService.java:
34         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
35         getDefaultLayoutListTable() method. Improve comments.
36         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
37         getDefaultLayoutListTable() method instead of firing a table change
38         event to get the table to load.
39         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
40         implementation of getDefaultLayoutListTable() method.
41         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
42         table name.
43
44 2011-05-19  Ben Konrath  <ben@bagu.org>
45
46         Override toDebugString() in TableChangeEvent.
47
48         This is useful to have for debugging.
49
50         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
51
52 2011-05-19  Ben Konrath  <ben@bagu.org>
53
54         Add a "Back to List" link when at the DetailsPlace.
55
56         * src/main/java/org/glom/web/client/activity/ListActivity.java:
57         Populate the CellTable based on the selected table of the ListBox if
58         it's set otherwise use the default table. This allows the "Back to
59         List" link to work.
60         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
61         Remove Place from constructors. Add a setPlace() method. Add
62         goToPlace() method. Set class as presenter for TableSelectionView.
63         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
64         Use the same TableSelectionActivity when switching between the List and
65         Details Places.
66         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
67         Subclass the new HasSelectableTablePlace. This removes some duplicate
68         code.
69         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
70         New class to represent Places that display the TableSelectionView.
71         * src/main/java/org/glom/web/client/place/ListPlace.java:
72         Subclass the new HasSelectableTablePlace. This removes some duplicate
73         code.
74         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
75         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
76         Add Presenter interface. Add setBackLinkVisible() method. Add
77         setBackLink() method.
78
79 2011-05-18  Ben Konrath  <ben@bagu.org>
80
81         Enable the "Details" buttons.
82
83         Right now only an empty details view is displayed.
84
85         * src/main/java/org/glom/web/client/ClientFactory.java:
86         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
87         Add DetailsView to ClientFactory.
88         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
89         A basic activity for the details view.
90         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
91         Add a new constructor that takes a DetailsPlace. Rename shutdown() to
92         clearView().
93         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
94         Add DetailsPlace.Tokenizer to the list of tokens that are generated by
95         GWT.
96         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
97         Create a new DetailsActivity when a DetailsPlace is requested. Remove
98         unnecessary super() in constructor.
99         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
100         Create a new TableSelectionActivity when a DetailsPlace is requested. We
101         really shouldn't create a new TableSelectionActivity for both the ListPlace
102         and the DetailsPlace so this should be considered a temporary solution.
103         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
104         New file. Represents a URL for the details view.
105         * src/main/java/org/glom/web/client/ui/DetailsView.java:
106         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
107         A basic details view interface and implementation.
108         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
109         Enable the "Details" buttons.
110
111 2011-05-12  Ben Konrath  <ben@bagu.org>
112
113         Use a LayoutPanel with multiple display areas for main layout.
114
115         This is mostly a refactor in that there are no changes from the user
116         point of view. These changes are required so that we can swap out the list view
117         with the details view when the user clicks the "Details" button.
118
119         * src/main/java/org/glom/web/client/ClientFactory.java:
120         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
121         OnlineGlomView. Add TableSelectionView, ListView and
122         AuthenticationPopup.
123         * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
124         for main layout. Add display regions for main activities. Add
125         activity manager for for main activities.
126         * src/main/java/org/glom/web/client/activity/ListActivity.java: New
127         file from parts of the deleted OnlineGlomActivity.
128         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
129         New file from parts of the deleted OnlineGlomActivity.
130         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
131         * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
132         New files for app wide table change event.
133         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
134         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
135         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
136         Activity mappers for the main activities replace the deleted app-wide
137         AppActivityMapper.
138         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
139         Fix a spelling error in he comment.
140         * src/main/java/org/glom/web/client/ui/ListView.java:
141         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
142         Renamed from LayoutListView and modified for MVP. This still not a
143         proper dumb view as prescribed by the MVP pattern but it works for now.
144         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
145         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
146         New widget stripped out of the deleted OnlineGlomView.
147         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
148         Remove hack that is fixed by this patch.
149
150 2011-05-06  Ben Konrath  <ben@bagu.org>
151
152         Rename OnlineGlomPlace to ListPlace.
153
154         The only change besides the rename is that url will now display #list
155         instead of #Document.
156
157         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
158         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
159         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
160         * src/main/java/org/glom/web/client/place/ListPlace.java:
161         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
162
163 2011-05-06  Ben Konrath  <ben@bagu.org>
164
165         Use Presenter for app navigation.
166
167         This is the proper way to deal with Place (URL) changes with the MVP
168         framework.
169
170         * src/main/java/org/glom/web/client/ClientFactory.java:
171         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
172         PlaceHistoryMapper and PlaceHistoryHandler.
173         * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
174         PlaceHistoryMapper and PlaceHistoryHandler.
175         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
176         Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
177         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
178         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
179         Add Presenter interface and setPresenter methods. Rename addHyperLink
180         to addDocumentLink taking only the document title as a parameter.
181
182 2011-04-14  Ben Konrath  <ben@bagu.org>
183
184         Prompt for db username/password if they haven't been set.
185
186         This is implemented with a popup widget that is contained within the
187         OnlineGlomView and managed by the OnlineGlomActivity.
188
189         * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
190         methods for checking and setting the database username and password.
191         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
192         new methods for checking and setting the database username and
193         password.
194         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
195         Display authentication popup if the JDBC connection to the database
196         has not been authenticated.
197         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
198         file.
199         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
200         for dealing with the authentication popup.
201         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
202         Implement the methods for dealing with the authentication popup.
203         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
204         try to executed queries if the database connection hasn't been
205         authenticated. Implement methods for checking and setting the
206         database username and password.
207
208 2011-04-12  Ben Konrath  <ben@bagu.org>
209
210         Make log messages a little clearer.
211
212         Add a dash betweeen the document title and the table name.
213
214         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
215
216 2011-04-12  Ben Konrath  <ben@bagu.org>
217
218         Protect against NPEs when cleaning up database resources.
219
220         While this isn't strictly necessary because the exception is caught,
221         not protecting against the NPEs makes it harder to find the real error
222         in the log file.
223
224         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
225
226 2011-04-12  Ben Konrath  <ben@bagu.org>
227
228         Move configuration of the servlet to the constructor.
229
230         The servlet will be initialized even if the database authentication
231         information is not set or correct. I still need to add the UI for prompting
232         the user for the authentication information when it's required.
233
234         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
235         javadocs for getDocumentTitles() method.
236         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
237         Set error message when RPC fails.
238         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
239         glom files directory from the configuration file. Try to set the
240         database authentication information for the specific document if it's
241         set and works otherwise try to use the global authentication
242         information set for the directory.
243         * src/main/resources/onlineglom.properties: Moved from
244         src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
245         Added detailed comments for the new keys.
246
247 2011-04-11  Ben Konrath  <ben@bagu.org>
248
249         Remove unnecessary @Override in DocumentSelectionViewImpl.
250
251         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
252
253 2011-04-11  Ben Konrath  <ben@bagu.org>
254
255         Remove center alignment in DocumentSelectionView.
256
257         The title element is still centred but the document titles and bottom
258         sentence are both left-aligned.
259
260         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
261
262 2011-04-11  Ben Konrath  <ben@bagu.org>
263
264         Change 'Demo' naming convention to 'Document'.
265
266         This is just a rename refactor with no functional changes to the code.
267
268         * src/main/java/org/glom/web/client/ClientFactory.java:
269         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
270         * src/main/java/org/glom/web/client/OnlineGlom.java:
271         * src/main/java/org/glom/web/client/OnlineGlomService.java:
272         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
273         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
274         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
275         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
276         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
277         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
278         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
279         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
280         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
281
282 2011-04-08  Ben Konrath  <ben@bagu.org>
283
284         Remove FIXME from safeLongToInt() method.
285
286         Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
287         this method.
288
289         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
290
291 2011-04-08  Ben Konrath  <ben@bagu.org>
292
293         Display an error if no glom documents are found in the specified directory.
294
295         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
296         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
297         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
298         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
299
300 2011-04-08  Ben Konrath  <ben@bagu.org>
301
302         Add copyright header to one more file ... oops.
303
304         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
305
306 2011-04-08  Ben Konrath  <ben@bagu.org>
307
308         Add copyright header to files without it.
309
310         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
311         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
312         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
313         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
314         * src/main/java/org/glom/web/shared/ColumnInfo.java:
315         * src/main/java/org/glom/web/shared/GlomField.java:
316
317 2011-04-08  Ben Konrath  <ben@bagu.org>
318
319         Add support for accessing multiple glom documents in the servlet.
320
321         This completes the demo selection functionality.
322
323         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
324         document title to methods.
325         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
326         document title to methods.
327         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
328         Set browser window title when the activity starts. Correct name of
329         document title variable.
330         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
331         Set browser window title when the activity starts. Set the table
332         selector change handler after table selector has been set. Clear the
333         OnlineGlomView when the activity has been stopped.
334         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
335         document title as the place token. Use "#Document:" instead of
336         "#OnlineGlomPlace:" in the URL.
337         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
338         Change heading to "Online Glom"
339         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
340         document title in RPC methods.
341         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
342         setDocumentTitle() method. Add clear() method.
343         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
344         setDocumentTitle() method. Implement clear() method which removes the
345         change handler on the ListBox, clears the ListBox and clears the
346         DataPanel.
347         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
348         Implement methods with document title. Keep track for the configured
349         glom documents and their corresponding JDBC configurations in a hash
350         table. This information is retrieved using the document title as the
351         key in the hash table.
352         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
353         document title field as it's no longer needed.
354
355 2011-04-08  Ben Konrath  <ben@bagu.org>
356
357         Update the Eclipse JDT configuration.
358
359         * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
360         methods. Automatically add the copyright header to new files.
361
362 2011-04-05  Ben Konrath  <ben@bagu.org>
363
364         Add new page for demo selection.
365
366         This patch adds all the components required to view and start an
367         OnlineGlom demo by clicking on the desired hyperlink. The user is
368         able to return to the demo selection page with the browser's back
369         button. I still need to modify the servlet to work with multiple
370         documents so all demo links will load the file defined in the
371         OnlineGlom.properties.
372
373         * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
374         This is only useful during development so we don't need to save it.
375         * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
376         get a reference to the DemoSelectionView.
377         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
378         method to get a reference to the DemoSelectionView.
379         * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
380         default view to DemoSelectionView.
381         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
382         to get glom document titles for glom files in a hard-coded directory.
383         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
384         method to get glom document titles for glom files in a hard-coded
385         directory.
386         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
387         Presenter for DemoSelectionView.
388         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
389         for DemoSelectionView.
390         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
391         Update for DemoSelectionView.
392         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
393         Basic 'Place' implementation for the DemoSelectionView.
394         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
395         The interface for the DemoSelectionView.
396         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
397         The implementation of the DemoSelectionView.
398         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
399         The GWT UiBuilder xml file used in DemoSelectionViewImpl.
400         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
401         implementation of method to get glom document titles for glom files
402         in a hard-coded directory.
403         * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
404         on longer being used.
405         * src/main/webapp/glom.png: Glom logo.
406
407 2011-04-05  Ben Konrath  <ben@bagu.org>
408
409         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
410
411         This is the forth and final commit of a refactor that will allow
412         OnlineGlom to be used with multiple documents.
413
414         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
415         Move RPC code from OnlineGlomViewImpl to this class.
416         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
417         to inferface.
418         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
419         RPC code to the presenter class (the P in MVP).
420
421 2011-04-04  Ben Konrath  <ben@bagu.org>
422
423         Start moving the existing OnlineGlom code to MVP.
424
425         This work is based on the GWT MVP framework that is documented here:
426
427         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
428
429         This is the third commit of a refactor that will allow OnlineGlom to
430         be used with multiple documents.
431
432         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
433         Interface for client factory which is used to get instances of various
434         classes throughout the app.
435         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
436         Implementation of client factory.
437         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
438         initialize the MVP framework.
439         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
440         New file. Activity manager for the main container widget. This is the
441         Presenter in MVP.
442         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
443         Maps place (URL) to its corresponding activity.
444         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
445         New file. This is just a place holder for a generated file.
446         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
447         New file. Represents the URL for the main Online Glom app.
448         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
449         for changes in LayoutListViewImpl.
450         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
451         interface for View. Move code to OnlineGlomViewImpl class.
452         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
453         file. Implementation of OnlineGlomView.
454         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
455         Place resources. Use ClientFactoryImpl by default.
456
457 2011-04-04  Ben Konrath  <ben@bagu.org>
458
459         Move View classes to their own package.
460
461         This is the second commit of a refactor that will allow OnlineGlom to
462         be used with multiple documents.
463
464         * src/main/java/org/glom/web/client/OnlineGlom.java:
465         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
466         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
467
468 2011-04-02  Ben Konrath  <ben@bagu.org>
469
470         Move UI code from the main module to its own class.
471
472         This is the first commit of a refactor that will allow OnlineGlom to be
473         used with multiple documents.
474
475         * src/main/java/org/glom/web/client/LayoutListView.java: Update
476         references to OnlineGlom to OnlineGlomView.
477         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
478         OnlineGlomView and instantiate it here.
479         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
480         represents the main OnlineGlomView with one document.
481
482 2011-04-01  Ben Konrath  <ben@bagu.org>
483
484         Fix formatting of gwt.xml and add DTD.
485
486         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
487
488 2011-03-30  Ben Konrath  <ben@bagu.org>
489
490         Propperly convert gdkColor string to html colour string.
491
492         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
493
494 2011-03-28  Ben Konrath  <ben@bagu.org>
495
496         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
497
498         This implementation matches
499         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
500         readable and is not tied to Swig.
501
502         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
503
504 2011-03-28  Ben Konrath  <ben@bagu.org>
505
506         Use read-only checkboxes for boolean field types.
507
508         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
509         in the CellTable based on the field type. It currently only
510         distinguishes between boolean and text columns but I'll need to add
511         support for more types.
512         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
513         column type in the ColumnInfo object. Add method to convert between the
514         glom field type enum in ColumnInfo and the glom field type in libglom.
515         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
516         field type.
517         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
518         getting and setting booleans.
519
520 2011-03-25  Ben Konrath  <ben@bagu.org>
521
522         Don't get the Date twice from the ResultSet.
523
524         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
525
526 2011-03-25  Ben Konrath  <ben@bagu.org>
527
528         Cleanup code in the servlet.
529
530         * TODO: Remove item about row count. Add item about testing row count
531         query with large number of rows.
532         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
533         spelling mistakes, change method parameter to be consistent with
534         other methods.
535
536 2011-03-25  Ben Konrath  <ben@bagu.org>
537
538         Add server side logging with the gwt-log library.
539
540         * .gitignore: Ignore the log file we're now producing.
541         * TODO: Add a couple TODO item for logging.
542         * pom.xml: Add gwt-log and log4j as a dependency.
543         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
544         logging of errors, warnings and some important info.
545         * src/main/resources/log4j.properties: New file to configure log4j.
546
547 2011-03-24  Ben Konrath  <ben@bagu.org>
548
549         Add a disable button for the Details view.
550
551         * src/main/java/org/glom/web/client/LayoutListView.java:
552
553 2011-03-22  Ben Konrath  <ben@bagu.org>
554
555         Use a count query to get the number of rows for the list view pager.
556
557         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
558
559 2011-03-22  Ben Konrath  <ben@bagu.org>
560
561         Add more TODO information about CellTable pager positioning. 
562
563         * TODO:
564
565 2011-03-19  Ben Konrath  <ben@bagu.org>
566
567         Add TODO item about CellTable pager positioning.
568
569         * TODO:
570
571 2011-03-18  Ben Konrath  <ben@bagu.org>
572
573         Remove unneeded GlomFieldColumn class.
574
575         This is just a small code cleanup.
576
577         * src/main/java/org/glom/web/client/LayoutListView.java:
578
579 2011-03-18  Ben Konrath  <ben@bagu.org>
580
581         Use cursor mode in the query that gets data for the list view.
582
583         I still need to fix the potential memory problem when getting the row
584         count for the list view.
585
586         * TODO: Add note about testing memory usage with large data sets. Add
587         item about fixing row counting with large data sets.
588         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
589         PostgreSQL JDBC driver into cursor mode when getting data for the
590         list view.
591
592 2011-03-15  Ben Konrath  <ben@bagu.org>
593
594         Remove the GWT Container from the Eclipse build classpath.
595
596         The GWT dependencies are set by Maven so this isn't needed.
597
598         * .classpath:
599
600 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
601
602         Added some earlier mockups to git, but not to the tarball dist.
603
604         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
605         Openismus. These hopefully show how we might structure the HTML so that
606         it can be styled easily with CSS. However, we probably need to adapt them
607         for the CSS structure that GWT dictates for common widgets.
608
609 2011-03-14  Ben Konrath  <ben@bagu.org>
610
611         Locate OnlineGlom.properties using the ServletContext.
612
613         This is required to be able to locate the file in the deployed servlet.
614
615         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
616         Configure the database and glom document in in a helper method so
617         that the ServletContext can be used to locate OnlineGlom.properties.
618         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
619         src/main/webapp. This is the proper location for .properites files.
620
621 2011-03-12  Ben Konrath  <ben@bagu.org>
622
623         Add note to README about why we're compiling down to obfuscated JavaScript.
624
625         * README:
626
627 2011-03-11  Ben Konrath  <ben@bagu.org>
628
629         Use properties file to configure servlet.
630
631         This allows people to change the glom file path, db username and db
632         password without recompiling the code.
633
634         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
635         * src/main/webapp/OnlineGlom.properties:
636
637 2011-03-11  Ben Konrath  <ben@bagu.org>
638
639         Use table fields in layout list view if the layout list is not defined.
640
641         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
642         Manually create a LayoutFieldVector for the query builder using the
643         table fields when a layout list is not defined in the glom file.
644
645 2011-03-11  Ben Konrath  <ben@bagu.org>
646
647         Only show FIXME string for images when there's an image.
648
649         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
650         in this change are some small code cleanups.
651
652 2011-03-11  Ben Konrath  <ben@bagu.org>
653
654         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
655
656         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
657
658 2011-03-11  Ben Konrath  <ben@bagu.org>
659
660         Correctly set the index of the default table.
661
662         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
663         Correctly set the index of the default table. Add commented out example
664         file paths.
665
666 2011-03-10  Ben Konrath  <ben@bagu.org>
667
668         Add comment to pom.xml about the previous change.
669
670         * pom.xml: Add comment about the deployment issue so that it's obvious
671         why java-libglom is set to the provided scope.
672
673 2011-03-10  Ben Konrath  <ben@bagu.org>
674
675         Change java-libglom dependency from compile to provided in pom.xml.
676
677         Since java-libglom uses jni it can only be loaded once and therefore
678         must be placed in $CATALINA_HOME/lib and not included in each war.
679         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
680         More information about this issue can be found in the Tomcat 6 release
681         notes in the "JNI Based Applications" section:
682
683         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
684
685         * README: Remove note about this issue. Deployment info should really
686         be on the wiki anyway so I'll add it right now.
687         * pom.xml: Change java-libglom dependency from compile to provided so
688         that it's copied in to the packaged war.
689
690 2011-03-09  Ben Konrath  <ben@bagu.org>
691
692         Change to using a neutral locale for currency, date and time formatting.
693
694         This solves the problem of currency values being represented without a
695         space between the currency code and the number (e.g. "EUR5.89" is now
696         represented as "EUR 5.89"). More work is required when we implement
697         a locale preference setting.
698
699         * TODO: Add note about currency formatting issues with different
700         locales.
701         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
702         to using the neutral ROOT locale.
703
704 2011-03-09  Ben Konrath  <ben@bagu.org>
705
706         Add support for currency codes that are not ISO 4217 codes.
707
708         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
709         the currency code defined in the glom file when it's not 3 characters
710         long or when Java doesn't recognize the string as an ISO 4217 code.
711
712 2011-03-08  Ben Konrath  <ben@bagu.org>
713
714         Remove test classes, launch configurations and configuration.
715
716         The test stuff was getting in the way when creating the war. To make
717         the war file you can now do 'mvn clean package'. The packaged war file
718         will be in the target directory.
719
720         * .classpath: Remove unused classpathentry for tests and i18n.
721         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
722         property. Don't run test or i18n goals when packaging the war.
723         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
724         formatting.
725
726         Removed files:
727
728         * OnlineGlomTest-dev.launch:
729         * OnlineGlomTest-prod.launch:
730         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
731         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
732
733 2011-03-07  Ben Konrath  <ben@bagu.org>
734
735         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
736
737         These fixes allow me to use 'mvn deploy' to create the war file.
738
739         * .classpath: This generated config has been updated by Eclipse. This
740         change was probably triggered by me updating from Eclipse 3.6.1 to
741         3.6.2.
742         * .gitignore: Add entry to ignore the directory
743         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
744         * .project: The generated config has been updated by Eclipse. This
745         change was probably triggered by me updating from Eclipse 3.6.1 to
746         3.6.2.
747         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
748         so that Eclipse doesn't complain
749         * pom.xml: Update to gwt-maven-plugin 2.2.0.
750         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
751         'tests' directory to 'client' directory. This is the new
752         gwt-maven-plugin convension.
753         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
754         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
755
756 2011-03-07  Ben Konrath  <ben@bagu.org>
757
758         Add support for horizontal alignment in the LayoutList columns.
759
760         * TODO: Remove item about horizontal alignment. Add item about
761         improvements to ColumnInfo.
762         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
763         alignment on the columns. Use ColumnInfo RPC object get the column
764         title and horizontal alignment.
765         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
766         LayoutListView creation with ColumnInfo RPC object.
767         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
768         a ColumnInfo object for every LayoutList columnn. Convert the
769         FieldFormatting.HorizontalAlignment to the correct
770         ColumnnInfo.HorizontatlAlignment with the new
771         getColumnInfoHorizontalAlignment helper method.
772         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
773         to encapsulate column information like alignment and title. This
774         could be used to set the colour instead of on a per cell field basis.
775         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
776         column title storage and retrieval with ColumnInfo.
777
778 2011-03-04  Ben Konrath  <ben@bagu.org>
779
780         Add support for column sorting.
781
782         * src/main/java/org/glom/web/client/LayoutListView.java: Change
783         AsynDataProvider to be an anonymous inner class. Use new
784         getSortedTableData RPC method when column sort is requested. Set all
785         columns sortable and add an AsyncHandler to activate sorting in the
786         AsyncDataProvider.
787         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
788         method getSortedTableData(). Cleanup other method signatures.
789         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
790         new method getSortedTableData(). Cleanup other method signatures.
791         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
792         Implement getSortedTableData() and getTableData() methods by using a
793         private helper method with the appropriate parameters filled in. Use
794         user supplied sort clause when supplied, otherwise fall back to
795         sorting by the primary key. Move destroy() method to be underneath
796         constructor for readability.  Cleanup comments.
797
798 2011-03-03  Ben Konrath  <ben@bagu.org>
799
800         Add support for colour text and colour backgrounds to the layout list cells.
801
802         Only the cell backgrounds are coloured which leaves a gap between the
803         cells that isn't coloured. I need to figure out a way to set
804         'style=background-colour:' on the whole column rather than just the
805         cell.
806
807         * TODO: Add a note about colouring the background of the whole column.
808         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
809         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
810         render the coloured text and backgrounds. Use GlomField[] for the row type.
811         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
812         for the row type.
813         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
814         GlomField[] for the row type.
815         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
816         GlomField[] for the row type. Set the text, text colour and background
817         colour in the GlomField objects as specified in the glom document. Add
818         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
819         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
820         the glom field text, foreground colour and background colour.
821
822 2011-03-02  Ben Konrath  <ben@bagu.org>
823
824         Don't display hidden tables in the combo box.
825
826         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
827         ArrayLists.
828         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
829         code to ignore hidden tables using ArrayLists for the table names and
830         titles.
831         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
832         tableNames to use ArrayLists instead of String[]. Update getter and setter
833         methods.
834
835 2011-03-01  Ben Konrath  <ben@bagu.org>
836
837         Add support for Date and Time number types.
838
839         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
840         Implement formatting for Date and Time values. Change the default glom
841         file to small business example.
842
843 2011-03-01  Ben Konrath  <ben@bagu.org>
844
845         Add support for formatting glom types as specified in the glom file.
846
847         Formatting isn't finished yet - I still need to add support for Date
848         and Time values.
849
850         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
851         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
852         checks for null values in JDBC cleanup code and catch all exceptions
853         instead of just SQLExceptions.
854         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
855         method name.
856
857 2011-03-01  Ben Konrath  <ben@bagu.org>
858
859         Use GWT 2.2.0 instead of 2.1.1.
860
861         * pom.xml: Change GWT version numbers.
862
863 2011-03-01  Ben Konrath  <ben@bagu.org>
864
865         A few small code cleanups.
866
867         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
868         duplicate for loop.
869         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
870         unnecessary object creation in constructor.
871         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
872         unnecessary object creation in constructor.
873
874 2011-02-28  Ben Konrath  <ben@bagu.org>
875
876         Add file for TODO list.
877
878         * TODO: New file.
879
880 2011-02-18  Ben Konrath  <ben@bagu.org>
881
882         Enable the CellTable Pager when more than 20 rows need to be viewed.
883
884         The Pager will automatically become active when the results are larger
885         than the CellTable size which is currently set to 20 lines.
886
887         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
888         name on debug statment in RPC call in LayoutListDataProvider, add
889         numRows parameter to LayoutListView constructor, propperly set rowCount
890         in CellTable.
891         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
892         name on debug statment in RPC call, use LayoutListTable object in RPC
893         calls, pass rowCount to LayoutListView.
894         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
895         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
896         object.
897         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
898         interface for changes in OnlineGlomService.
899         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
900         getLayoutListHeaders() to getLayoutListTable() and return
901         LayoutListTable. Using this object allows me to pass other information
902         about the LayoutList like the expected number of rows in the result set.
903         The Connection object from the connection pool is now propperly closed.
904         Only the requested number of lines are returned to the client in
905         getTableData().
906         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
907         GlomTable and add columnTitles and numRows.
908
909 2011-02-18  Ben Konrath  <ben@bagu.org>
910
911         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
912
913         This is a small performance boost. I'll use GlomTable to get the required
914         layoutlist information.
915
916         * src/main/java/org/glom/web/client/OnlineGlom.java:
917         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
918         * src/main/java/org/glom/web/shared/GlomDocument.java:
919
920 2011-02-18  Ben Konrath  <ben@bagu.org>
921
922         Add option to turn off formatting in JDT formatter preferences.
923
924         * .settings/org.eclipse.jdt.core.prefs:
925
926 2011-02-18  Ben Konrath  <ben@bagu.org>
927
928         Rename LayoutList to LayoutListView.
929
930         I'm working towards setting things up to easily use MVP when the time
931         comes.
932
933         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
934         LayoutList.java.
935         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
936         references.
937
938 2011-02-17  Ben Konrath  <ben@bagu.org>
939
940         Move LayoutListDataProvider class into LayoutList.java.
941
942         * src/main/java/org/glom/web/client/LayoutList.java:
943
944 2011-02-17  Ben Konrath  <ben@bagu.org>
945
946         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
947
948         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
949         references.
950         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
951         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
952         from LibGlomServer.java.
953         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
954         Rename from LibGlomServiceAsync.java.
955         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
956         Rename from LibGlomServiceImpl.java.
957         * src/main/webapp/WEB-INF/web.xml: Update configuration.
958
959 2011-02-17  Ben Konrath  <ben@bagu.org>
960
961         Update JDT settings.
962
963         * .settings/org.eclipse.jdt.core.prefs:
964
965 2011-02-17  Ben Konrath  <ben@bagu.org>
966
967         Move GWT-RPC objects to shared package (where they should be).
968
969         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
970         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
971         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
972         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
973         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
974         org.glom.web.shared package.
975         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
976         org.glom.web.shared package.
977         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
978         directory in compilation to javascript.
979
980 2011-02-16  Ben Konrath  <ben@bagu.org>
981
982         Add sort clause to the sql query that grabs table information.
983
984         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
985         if one of the columns is a primary key.
986
987 2011-02-16  Ben Konrath  <ben@bagu.org>
988
989         Disable generateAsync feature of gwt-maven.
990
991         The generated interface does not correctly match the methods in LibGlomService
992         and the generated singleton Util inner-class doesn't respect the servlet
993         mappings.
994
995         * pom.xml: Turn off generateAsync feature.
996         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
997         with singleton Util inner-class.
998
999 2011-02-14  Ben Konrath  <ben@bagu.org>
1000
1001         Add LGPL v3 licence notices.
1002
1003         Followed directions listed here:
1004         http://www.gnu.org/licenses/gpl-howto.html
1005
1006         * COPYING: This file is a copy of the GPL v3.
1007         * COPYING.LESSER: This file is a copy of the LGPL v3.
1008         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1009         notice.
1010         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1011         notice.
1012         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1013         notice.
1014         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1015         licence notice.
1016         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1017         notice.
1018         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1019         notice.
1020         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1021         licence notice.
1022
1023 2011-02-14  Ben Konrath  <ben@bagu.org>
1024
1025         Use ArrayList instead of Array in GWT-RPC calls.
1026
1027         Apparently this gives a slight performance boost to the compiled
1028         java script.
1029
1030         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1031         instead of Array.
1032         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1033         of Array.
1034
1035 2011-02-14  Ben Konrath  <ben@bagu.org>
1036
1037         Access data from a postgres db rather than the example glom file.
1038
1039         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1040         compile down to obfuscated javascript.
1041         * pom.xml: Add c3p0 and postgres JDBC libraries.
1042         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1043         using a postgres db accessed through the c3p0 connection pooling library.
1044
1045 2011-02-14  Ben Konrath  <ben@bagu.org>
1046
1047         Update Java formatter settings.
1048
1049         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1050
1051 2011-02-02  Ben Konrath  <ben@bagu.org>
1052
1053         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1054
1055         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1056         using Maven.
1057         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1058         the compiled webapp directory that Eclipse uses as we're using Maven now.
1059         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1060         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1061         to 1.6.
1062         * pom.xml: Format file, change target Java version to 1.6.
1063
1064 2011-02-02  Ben Konrath  <ben@bagu.org>
1065
1066         Add information about a deployment related issue.
1067
1068         * README: Add Notes section with the problem outlined.
1069
1070 2011-02-02  Ben Konrath  <ben@bagu.org>
1071
1072         Call Glom.libglom_deinit() when the servlet is shutdown.
1073
1074         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1075         Glom.libglom_deinit() to destroy() method.
1076
1077 2011-01-28  Ben Konrath  <ben@bagu.org>
1078
1079         Use generated Util class to get the RPC Async interface.
1080
1081         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1082         file.
1083         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1084         getInstance() method to get a reference to the RPC Async interface.
1085         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1086         getInstance() method to get a reference to the RPC Async interface, remove
1087         the now unused getLibGlomServiceProxy() method.
1088
1089 2011-01-27  Ben Konrath  <ben@bagu.org>
1090
1091         Cleanup ChangeLog entry from previous commit.
1092
1093         * ChangeLog: Group logical changes together and add comments.
1094
1095 2011-01-25  Ben Konrath  <ben@bagu.org>
1096
1097         Convert to gwt-maven project.
1098
1099         * .gitignore: Update for new project structure.
1100         * README: New file with a link to the online documentation.
1101         * pom.xml: The generated maven configuration file with some tweaks.
1102
1103         Add / update Eclipse settings. These files are a merge of the files that
1104         were generated with the gwt-maven plugin and the files we were previously
1105         using.
1106         * .classpath:
1107         * .project:
1108         * .settings/.jsdtscope:
1109         * .settings/com.google.gdt.eclipse.core.prefs:
1110         * .settings/com.google.gwt.eclipse.core.prefs:
1111         * .settings/org.eclipse.jdt.core.prefs:
1112         * .settings/org.eclipse.wst.common.component:
1113         * .settings/org.eclipse.wst.common.project.facet.core.xml:
1114         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1115         * .settings/org.maven.ide.eclipse.prefs:
1116         * OnlineGlomTest-dev.launch:
1117         * OnlineGlomTest-prod.launch:
1118
1119         Java source files moved from the 'src' directory to the directory structure
1120         required by maven.
1121         * src/main/java/org/glom/web/client/GlomDocument.java:
1122         * src/main/java/org/glom/web/client/GlomTable.java:
1123         * src/main/java/org/glom/web/client/LayoutList.java:
1124         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1125         * src/main/java/org/glom/web/client/LibGlomService.java:
1126         * src/main/java/org/glom/web/client/OnlineGlom.java:
1127         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1128
1129         Non-functional property file used for translations. I included this as
1130         reminder that it's something I need to sort out.
1131         * src/main/resources/org/glom/web/client/Messages.properties:
1132
1133         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1134         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1135
1136         The servlet configuration files moved from the 'war' directory.
1137         * src/main/webapp/OnlineGlom.css:
1138         * src/main/webapp/OnlineGlom.html:
1139         * src/main/webapp/WEB-INF/web.xml:
1140
1141         Generated test files with most of the code commented out. I included these
1142         so that it's easy to add tests when we're ready for them.
1143         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1144         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1145
1146 2011-01-25  Ben Konrath  <ben@bagu.org>
1147
1148         Remove unused println.
1149
1150         * src/org/glom/web/server/LibGlomServiceImpl.java:
1151
1152 2011-01-25  Ben Konrath  <ben@bagu.org>
1153
1154         Add project specific JDT settings.
1155
1156         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1157         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1158
1159 2011-01-25  Ben Konrath  <ben@bagu.org>
1160
1161         Populate celltable with example data.
1162
1163         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1164         * src/org/glom/web/client/GlomTable.java: Correct formatting.
1165         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1166         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1167         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1168         asynchronously gets the example data.
1169         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1170         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1171         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1172         curently selected table to be retrieved by other widgets.
1173         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1174         implement getTableData() in a hacky way. This method needs to be updated
1175         to grab information from the database when database creating is
1176         implemented.
1177
1178 2011-01-20  Ben Konrath  <ben@bagu.org>
1179
1180         Set table headers when table dropBox changes.
1181
1182         * src/org/glom/web/client/GlomDocument.java: Correct some method
1183         names.
1184         * src/org/glom/web/client/LibGlomService.java: Add method
1185         to get list layout field names.
1186         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1187         to get list layout field names.
1188         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1189         widget for list layout table.
1190         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1191         the table drop box and add new updateTable() method to asynchronously
1192         get the layout list field names for the currently selected table.
1193         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1194         implementation of getLayoutListHeaders() method.
1195         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1196
1197 2011-01-18  Ben Konrath  <ben@bagu.org>
1198
1199         Make a listBox with table titles instead of the flexTable demo.
1200
1201         This is the start of something more useful.
1202
1203         * .classpath: Exclude a bunch of packages from the JVM that are
1204         getting in the way of the Eclipse content assist.
1205         * src/org/glom/web/client/GlomDocument.java:
1206         * src/org/glom/web/client/GlomTable.java:
1207         * src/org/glom/web/client/LibGlomService.java:
1208         * src/org/glom/web/client/LibGlomServiceAsync.java:
1209         * src/org/glom/web/client/OnlineGlom.java:
1210         * src/org/glom/web/server/LibGlomServiceImpl.java:
1211         * war/OnlineGlom.html:
1212         * war/WEB-INF/web.xml:
1213
1214 211-01-13  Ben Konrath  <ben@bagu.org>
1215
1216         Update to new java-libglom API.
1217
1218         * .gitignore: Ignore OnlineGlom.war.
1219         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1220
1221 2010-12-20  Ben Konrath  <ben@bagu.org>
1222
1223         Add some basic style to the table listing.
1224
1225         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1226         header, print useful error message on async callback failure.
1227         * war/OnlineGlom.css: Add style for table header, remove defaults
1228         provided by the Eclipse project wizard.
1229
1230 2010-12-20  Ben Konrath  <ben@bagu.org>
1231
1232         Load example file from installed glom dir.
1233
1234         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1235         provided by java-libglom to find the example file.
1236
1237 2010-12-20  Ben Konrath  <ben@bagu.org>
1238
1239         Update Eclipse settings.
1240
1241         * .classpath:
1242         * .settings/com.google.gdt.eclipse.core.prefs:
1243         * .settings/com.google.gwt.eclipse.core.prefs:
1244
1245 2010-12-17  Ben Konrath  <ben@bagu.org>
1246
1247         Initial commit.
1248
1249         * .classpath: New file.
1250         * .gitignore: New file.
1251         * .project: New file.
1252         * .settings/com.google.gdt.eclipse.core.prefs: New file.
1253         * .settings/com.google.gwt.eclipse.core.prefs: New file.
1254         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1255         * src/org/glom/web/client/GlomTable.java: New file.
1256         * src/org/glom/web/client/OnlineGlom.java: New file.
1257         * src/org/glom/web/client/TableNameService.java: New file.
1258         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1259         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1260         * war/OnlineGlom.css: New file.
1261         * war/OnlineGlom.html: New file.
1262         * war/WEB-INF/web.xml: New file.
1263         * war/images/glom.png: New file.