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