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