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