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