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