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