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