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