Move getListLayoutGroup() into getListViewLayoutGroup().
[online-glom:gwt-glom.git] / ChangeLog
1 2011-12-05  Ben Konrath  <ben@bagu.org>
2
3         Move getListLayoutGroup() into getListViewLayoutGroup().
4
5         This removes getListLayoutGroup(). It was only being called by
6         getListViewLayoutGroup().
7
8         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
9
10 2011-12-05  Ben Konrath  <ben@bagu.org>
11
12         Remove check for LayoutItem_Portal in list table method.
13
14         This check is no longer necessary because the method isn't being used
15         to create the LayoutItemPortal DTO.
16
17         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
18
19 2011-12-05  Ben Konrath  <ben@bagu.org>
20
21         Properly support related list navigation.
22
23         Navigation from the "Repository Analyzer -> Package Scans ->
24         Dependencies" related table wasn't working because the primary key for
25         related tables wasn't being set properly. This commit fixes the
26         problem.
27
28         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't use
29         getListLayoutGroup() to create the LayoutItemPortal DTO. This method
30         doesn't set the primary key properly for related list tables.
31         * src/main/java/org/glom/web/server/database/DBAccess.java: Add table
32         name parameter to getPrimaryKeyLayoutItemField(). This makes the method
33         useful for getting the primary key for list view tables and for related
34         list tables.
35         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
36         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
37         Move code to set the primary key for the table from the abstract
38         ListDBAccess class to ListViewDBAccess as it's only correct for list
39         view tables.
40         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
41         Properly add primary key to related list tables.
42
43 2011-12-02  Ben Konrath  <ben@bagu.org>
44
45         Properly set the horizontal alignment of fields.
46
47         This fix is for both the list tables and the details view.
48
49         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
50         LayoutItem_WithFormatting.get_formatting_used_horizontal_alignment(boolean)
51         to set the horizontal alignment of fields.
52
53 2011-12-02  Ben Konrath  <ben@bagu.org>
54
55         Display currency codes in the details view.
56
57         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
58
59 2011-12-02  Ben Konrath  <ben@bagu.org>
60
61         Avoid duplicate JNI call.
62
63         JNI is not as efficient as pure Java and this is an easy (and small)
64         optimization.
65
66         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
67         Use previously retrieved value for whereClauseToTableName instead of
68         getting it again.
69
70 2011-12-02  Ben Konrath  <ben@bagu.org>
71
72         Rename a couple of variables in RelatedListNavigation.
73
74         This is a rename-only refactor.
75
76         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
77
78 2011-12-02  Ben Konrath  <ben@bagu.org>
79
80         Indicate clearly that a mismatched primary key type is a bug.
81
82         * src/main/java/org/glom/web/server/Utils.java: Change log level from
83         warning to error. Add 'This is a bug.' to message.
84
85 2011-12-02  Ben Konrath  <ben@bagu.org>
86
87         Update / fix some comments.
88
89         * src/main/java/org/glom/web/client/OnlineGlomService.java: Remove old
90         comments.
91         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Fix
92         comment.
93         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
94         Fix comments. Add some TODOs.
95
96 2011-12-02  Ben Konrath  <ben@bagu.org>
97
98         Enable navigation to details view with string primary key from related list.
99
100         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
101         Create a text primary key value when return type of result is
102         java.sql.Types.VARCHAR.
103
104 2011-12-02  Ben Konrath  <ben@bagu.org>
105
106         Use checkboxes for booleans in the details view.
107
108         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
109
110 2011-12-01  Ben Konrath  <ben@bagu.org>
111
112         Improve performance of related list height calculation.
113
114         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
115         Put code to calculate the expected height in a static initializer so
116         that that it's only called once.
117
118 2011-12-01  Ben Konrath  <ben@bagu.org>
119
120         Show related list tables in notebooks (again).
121
122         Calculate the height of the related list tables so the Notebook can be
123         set the correct height. The height of the related list table is also needed by
124         FlowTable to be able decide how to create the layout.
125
126         * src/main/java/org/glom/web/client/ui/details/Portal.java: Calculate
127         and set the Portal height based on the height of the related list
128         table and the Portal container.
129         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
130         Add method to calculate the height of the related list tables.
131         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
132         * src/main/webapp/style.css: Add css class for Pager. This is needed to
133         calculate the height of the Pager widget.
134
135 2011-12-01  Ben Konrath  <ben@bagu.org>
136
137         Use CellTable API for table property instead of setting style on Element.
138
139         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
140
141 2011-12-01  Ben Konrath  <ben@bagu.org>
142
143         Make ListViewTable and RelatedListTable a consistent height.
144
145         The tables are now a consistent height regardless of the contents of
146         the table. A hidden button is added to empty rows to ensure that the
147         height of these rows will match the height of rows with data.
148
149         A navigation button column is now added to every table. The width of
150         the navigation column is set to 0px when a RelatedListTable shouldn't
151         have navigation buttons. This maintains the a consistent row height in
152         tables that don't show the navigation buttons.
153
154         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Hide
155         navigation column when not needed.
156         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move method
157         arguments for navigation button to constructor of ListViewTable.
158         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Render
159         hidden button for empty data rows.
160         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java: Add method
161         arguments for navigation button to constructor.
162         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Always
163         create navigation buttons. Add hideNavigationButtons() method.
164         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add method
165         arguments for navigation button to constructor.
166
167 2011-12-01  Ben Konrath  <ben@bagu.org>
168
169         Use 'visibility: hidden' in Utils.getWidgetHeight().
170
171         This is better choice because hidden elements are invisible, don't
172         respond to events and are not part of the tab order. They will,
173         however, take up space which is required to be able to calculate the
174         height of the widget.
175
176         * src/main/java/org/glom/web/client/Utils.java:
177
178 2011-12-01  Ben Konrath  <ben@bagu.org>
179
180         Use Utils.getWidgetHeight() in FlowTable.
181
182         * src/main/java/org/glom/web/client/Utils.java: Remove TODO item about
183         this.
184         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
185
186 2011-12-01  Ben Konrath  <ben@bagu.org>
187
188         Put the details css class name on the correct table column.
189
190         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
191
192 2011-11-30  Ben Konrath  <ben@bagu.org>
193
194         Update for java-libglom API change.
195
196         The getters and setters on FieldFormatting and NumericFormat were
197         changed to remove the 'M'.
198
199         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
200
201 2011-11-29  Ben Konrath  <ben@bagu.org>
202
203         Only allow RelatedListTables in Portals.
204
205         * src/main/java/org/glom/web/client/ui/details/Portal.java:
206
207 2011-11-29  Ben Konrath  <ben@bagu.org>
208
209         Only create a contents panel for Portals when title is being set.
210
211         * src/main/java/org/glom/web/client/ui/details/Portal.java:
212
213 2011-11-29  Ben Konrath  <ben@bagu.org>
214
215         Set TabLayoutPanel height based on calculated height its widgets.
216
217         This is a potential fix for this bug:
218
219         https://bugzilla.gnome.org/show_bug.cgi?id=665133
220
221         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
222
223 2011-11-29  Ben Konrath  <ben@bagu.org>
224
225         Align details field labels and data with the Open buttons.
226
227         * src/main/webapp/style.css:
228
229 2011-11-29  Ben Konrath  <ben@bagu.org>
230
231         Remove unnecessary <div> in the Notebook widget.
232
233         * src/main/java/org/glom/web/client/ui/details/Group.java: Remove
234         method to get container FlowPanel (<div>).
235         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Run the
236         initWidget() method directly on the TabLayoutPanel widget instead of
237         Group's container widget.
238
239 2011-11-29  Ben Konrath  <ben@bagu.org>
240
241         Don't add group titles for Portals in Notebooks.
242
243         This reverts the previous patch and fixes a bug I introduced with
244         commit b1753fd27bd2c4ea189c4c353e0ece92dcc66c2c .
245
246         * src/main/java/org/glom/web/client/ui/details/Group.java:
247         * src/main/java/org/glom/web/client/ui/details/Portal.java:
248
249 2011-11-28  Ben Konrath  <ben@bagu.org>
250
251         Remove unused boolean argument in Portal constructor.
252
253         Just a code cleanup.
254
255         * src/main/java/org/glom/web/client/ui/details/Group.java:
256         * src/main/java/org/glom/web/client/ui/details/Portal.java:
257
258 2011-11-28  Ben Konrath  <ben@bagu.org>
259
260         Remove hack for glom 1.18 style glom files.
261
262         * src/main/java/org/glom/web/client/ui/details/Group.java:
263         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
264         * src/main/java/org/glom/web/client/ui/details/Portal.java:
265
266 2011-11-28  Ben Konrath  <ben@bagu.org>
267
268         Use Gda Value version of primary key to log result too large error.
269
270         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
271
272 2011-11-28  Ben Konrath  <ben@bagu.org>
273
274         Don't use TypedDataItem.getText() for Unknown types from the URL.
275
276         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
277         * src/main/java/org/glom/web/server/Utils.java: Use getUnknown()
278         instead of getText().
279         * src/main/java/org/glom/web/shared/TypedDataItem.java: Add unknown
280         String field and getUnknown() method.
281
282 2011-11-28  Ben Konrath  <ben@bagu.org>
283
284         Log an error message when the java-libglom .so is not present.
285
286         The error message was being set in the exception but not logged.
287
288         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
289
290 2011-11-28  Ben Konrath  <ben@bagu.org>
291
292         Ignore LayoutItem_CalendarPortals.
293
294         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't
295         create the LayoutItemPortal DTO for LayoutItem_CanendarPortals.
296
297 2011-11-28  Ben Konrath  <ben@bagu.org>
298
299         Extract method for creating the LayoutItemPortal DTO.
300
301         Just breaking the code up into smaller chunks.
302
303         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
304
305 2011-11-28  Ben Konrath  <ben@bagu.org>
306
307         Add TypedDataItem.
308
309         This should have been added with the refactor. Oops!
310
311         * src/main/java/org/glom/web/shared/TypedDataItem.java:
312
313 2011-11-28  Ben Konrath  <ben@bagu.org>
314
315         Create primary key value from URL string using type from Glom document.
316
317         See this bug, comments 19 - 25:
318
319         https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19
320
321         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
322         create a TypeDataItem for the primary key here when loading from a
323         URL. Show the same string for the primary key value as was received
324         from the URL string (when loading from a URL).
325         * src/main/java/org/glom/web/server/Utils.java: Update method for
326         creating the Gda Value from the TypeDataItem to properly deal with
327         creating a Gda Value based on the Glom document type for the primary
328         key value string when loading from a URL.
329         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
330         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
331         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
332         Update for changed method name.
333
334 2011-11-27  Ben Konrath  <ben@bagu.org>
335
336         Rename PrimaryKeyItem to TypedDataItem.
337
338         The name PrimaryKeyItem suggests what the class should be used for.
339         TypedDataItem is a neutral name that describes the class better.
340
341         This is a rename-only refactor.
342
343         * src/main/java/org/glom/web/client/OnlineGlomService.java:
344         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
345         * src/main/java/org/glom/web/client/Utils.java:
346         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
347         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
348         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
349         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
350         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
351         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
352         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
353         * src/main/java/org/glom/web/server/Utils.java:
354         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
355         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
356         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
357         * src/main/java/org/glom/web/shared/NavigationRecord.java:
358
359 2011-11-25  Ben Konrath  <ben@bagu.org>
360
361         Improve Gda Value conversion from PrimaryKeyItem.
362
363         The value from the PrimaryKeyItem is only used if its type match the
364         type from the glom document.
365
366         * src/main/java/org/glom/web/server/Utils.java:
367
368 2011-11-25  Ben Konrath  <ben@bagu.org>
369
370         Manually check if the java-liblgom .so is visible to the JVM.
371
372         It seems that Tomcat has problems when a static initializer throws an
373         exception. This check is done before the first method call into
374         java-libglom so that execution doesn't continue if the .so is not
375         found.
376
377         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
378
379 2011-11-25  Ben Konrath  <ben@bagu.org>
380
381         Improve browser configuration error messages.
382
383         This fixes:
384
385         https://bugzilla.gnome.org/show_bug.cgi?id=662792
386
387         * src/main/java/org/glom/web/client/OnlineGlomService.java:
388         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
389         getConfigurationErrorMessage() method.
390         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
391         Get and display a specific configuration error message when no Glom
392         documents are found.
393         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
394         Implement getConfigurationErrorMessage() method. Surround configuration
395         code in the init() method with a try/catch block. This allows the
396         errors to be caught while keeping the servlet available to retrieve the
397         configuration error message.
398
399 2011-11-25  Ben Konrath  <ben@bagu.org>
400
401         Don't use Strings to hold primary key values.
402
403         The primary key values are now held in a new data object
404         (PrimaryKeyItem) that holds type information and the primary key value
405         using the correct type.
406
407         * src/main/java/org/glom/web/client/OnlineGlomService.java:
408         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
409         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
410         PrimaryKeyItem instead of String to hold the primary key value.
411         * src/main/java/org/glom/web/client/Utils.java: Remove
412         getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
413         PrimaryKeyItem based on the GlomFieldType and the DataItem.
414         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
415         PrimaryKeyItem instead of String to hold the primary key value. Load
416         document selection page when the documentID has not been set correctly.
417         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
418         DetailsPlace -> URL and URL -> DetailsPlace conversion with
419         PrimaryKeyItem.
420         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
421         Return empty string for URL instead of "null".
422         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
423         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
424         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
425         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
426         PrimaryKeyItem instead of String to hold primary key values.
427         * src/main/java/org/glom/web/server/Utils.java: New method to convert a
428         PrimaryKeyValue to a Gda Value.
429         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
430         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
431         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
432         Replace temporary database access code that uses the PrimaryKeyValue to
433         Gda Value conversion.
434         * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
435         * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
436         PrimaryKeyItem instead of String.
437         * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
438         hold primary key values.
439
440 2011-11-24  Ben Konrath  <ben@bagu.org>
441
442         Use newly added java-libglom API to create queries.
443
444         This isn't finished. I still need to stop using Strings for primary key
445         values in the client code.
446
447         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
448         libglom to use fake connections so that retrieving the query string will
449         work.
450         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
451         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
452         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
453         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
454         Use the newly added libglom sql methods and classes to create the
455         query. Add temporary hack to convert primary value strings to Gda
456         Value.
457
458 2011-11-23  Ben Konrath  <ben@bagu.org>
459
460         Don't explicitly set the height of Portals.
461
462         See comments 6 - 10 of this bug for details:
463
464         https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
465
466         * src/main/java/org/glom/web/client/ui/details/Portal.java:
467
468 2011-11-23  Ben Konrath  <ben@bagu.org>
469
470         Use an HTML table instead of CSS for the FlowTable layout.
471
472         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
473         GWT's FlexTable to implement the FlowTable.
474         * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
475
476 2011-11-18  Ben Konrath  <ben@bagu.org>
477
478         Add boolean example to HTML table mockup.
479
480         * mockups/details-view-html-tables-text-entries.html:
481
482 2011-11-17  Ben Konrath  <ben@bagu.org>
483
484         Ensure the pager buttons are always visible for related lists.
485
486         To accomplish this, I've turned off text wrapping in the list view and
487         related list tables for both the header and data text. The related list
488         table now has a fixed layout so the it doesn't overflow its container.
489         This is required to ensure that the cell text is clipped when it
490         overflows the cell and an ellipsis is added to the right side of the
491         cell when text is clipped.
492
493         A fixed table layout for the related list table in the details view
494         seems what we want for the details view anyway, so the side-effect is
495         desirable.
496
497         The ellipsis will only be displayed in Firefox >= 7.
498
499         This fixes bug:
500
501         https://bugzilla.gnome.org/show_bug.cgi?id=662930
502
503         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
504         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
505         'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
506         cell text.
507         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
508         Set the 'table-layout: fixed' CSS property to the related list table.
509         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
510         'white-space: nowrap;' CSS property on both the list view and the
511         related list tables.
512
513 2011-11-16  Ben Konrath  <ben@bagu.org>
514
515         Rework the fix for empty notebook tab labels.
516
517         Setting the empty group titles with its name caused problems for the
518         details layout. Instead of using libglom's
519         LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
520         to the client when the title is empty. This allows the Notebook to use
521         the name when the title is empty without affecting anything else.
522
523         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
524         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
525
526 2011-11-16  Ben Konrath  <ben@bagu.org>
527
528         Set group titles with name when title is empty.
529
530         This fixes a problem with an empty notebook tab label in the Lesson
531         Planner document. The forth tab in the notebook should be "Internet":
532
533         http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
534
535         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
536         libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
537         DTO title.
538
539 2011-11-16  Ben Konrath  <ben@bagu.org>
540
541         Remove whitespace from the configured username properties.
542
543         This assumes that usernames won't have whitespace at the beginning
544         or end. But I think this is a reasonable assumption.
545
546         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
547         String.trim() to remove the whitespace from the username properties.
548
549 2011-11-15  Ben Konrath  <ben@bagu.org>
550
551         Add details view mockup with HTML tables and text entries.
552
553         This is from the attachment on this bug:
554
555         https://bugzilla.gnome.org/show_bug.cgi?id=663109
556
557         * mockups/details-view-html-tables-text-entries.html:
558
559 2011-11-15  Ben Konrath  <ben@bagu.org>
560
561         Add space between the columns of the flow table.
562
563         This fixes:
564
565         https://bugzilla.gnome.org/show_bug.cgi?id=662918
566
567         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
568         space between columns in the flow table.
569
570 2011-11-15  Ben Konrath  <ben@bagu.org>
571
572         Add backup files to the .gitignore.
573
574         * .gitignore: Ignore files that end with ~.
575
576 2011-11-09  Ben Konrath  <ben@bagu.org>
577
578         Use latest release of gwt-log.
579
580         Gwt-log releases are now being submitted to the maven central
581         repository so manual installation of the jar is no longer required.
582
583         * pom.xml: Update version and groupId of gwt-log dependency.
584
585 2011-10-31  Ben Konrath  <ben@bagu.org>
586
587         Don't use GWT numeric formatting to override the glom currency formatting.
588
589         Currencies are now displayed like they are in Glom. See this bug:
590
591         https://bugzilla.gnome.org/show_bug.cgi?id=646216
592
593         * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
594         formatting.
595         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
596         currency code to constructor and set it when the cell is rendered.
597         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
598         currency code to the constructor of the NumericCell.
599
600 2011-10-27  Ben Konrath  <ben@bagu.org>
601
602         Require the latest release of java-libglom (1.17.4).
603
604         * pom.xml:
605
606 2011-10-26  Ben Konrath  <ben@bagu.org>
607
608         Add style to Notebook that matches current theme.
609
610         It's not the best style in the world but it's better than the default.
611
612         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
613         padding at the bottom of the child widgets.
614         * src/main/webapp/style.css: Add style for the Notebook.
615
616 2011-10-26  Ben Konrath  <ben@bagu.org>
617
618         Move servlet initialization code to overridden init method.
619
620         This is half of the solution to getting proper error messages
621         displayed when configuration errors occur. Here's the relevant bug:
622
623         https://bugzilla.gnome.org/show_bug.cgi?id=662792
624
625         The rest of the solution involves surrounding the init method with a
626         try/catch block and setting a global variable with the error /
627         exception. A new async method should be created to retrieve and display
628         the error message / exception.
629
630         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
631         code from constructor to init method adding exceptions as needed.
632
633 2011-10-26  Ben Konrath  <ben@bagu.org>
634
635         Add script to monitor and restart tomcat if required.
636
637         * utils/check-and-recover-tomcat.py: New file.
638
639 2011-10-26  Ben Konrath  <ben@bagu.org>
640
641         Display the correct number of data items in the pager.
642
643         This commit fixes:
644
645         https://bugzilla.gnome.org/show_bug.cgi?id=661441
646
647         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
648         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
649         The implementation is the same for both tables: Keep track of the
650         number of non-empty rows and fire and RowCountChangeEvent after the data has
651         been updated.
652         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
653         custom Pager class that subclasses SimplePager to handle displaying
654         the correct number when empty rows have been added.
655
656 2011-10-26  Ben Konrath  <ben@bagu.org>
657
658         Correct error in previous commit.
659
660         * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
661         eventBus parameter from listView.setCellTable().
662
663 2011-10-26  Ben Konrath  <ben@bagu.org>
664
665         Fix error in TODO comment.
666
667         * src/main/java/org/glom/web/client/activity/ListActivity.java:
668
669 2011-10-24  Ben Konrath  <ben@bagu.org>
670
671         Create Notebook widgets to the details view.
672
673         This isn't finished just yet - I still need to create a reasonable
674         style to match the current theme.
675
676         * src/main/java/org/glom/web/client/Utils.java: Add method for
677         calculating the height of a widget. This is used in the Notebook class.
678         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
679         new constructor method in Group.
680         * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
681         method for creating child widget that can be used by subclasses
682         like Notebook. New constructor that allows disabling the group
683         titles - Notebooks don't set a group title for their child groups.
684         * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
685         to make Notebooks using GWT's TabLayoutPanel.
686         * src/main/java/org/glom/web/client/ui/details/Portal.java: New
687         constructor that allows disabling the group titles.
688         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
689         LayoutItemNotebook DTO.
690         * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
691         DTO for Notebooks. It's just an empty class for now but we might need
692         it to transfer some specific information in the future.
693
694 2011-10-21  Ben Konrath  <ben@bagu.org>
695
696         Add navigation buttons to related list tables.
697
698         * src/main/java/org/glom/web/client/OnlineGlomService.java:
699         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
700         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
701         method getSuitableRecordToViewDetails() for getting the table name
702         and primary key value for related list navigation buttons.
703         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
704         private cell renderer class to get the navigation information for
705         related list tables from the server. Extract the navigation
706         processing code from the details cell navigation and use it for the
707         related list navigation as well.
708         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
709         cell renderer class for the details open buttons. This was needed
710         because the related list navigation buttons and the list view
711         navigation buttons need to react differently when clicked.
712         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
713         the onEnterKeyDown() method because it's now overriden in the
714         subclasses that are specific to the related list tables and the list
715         view tables.
716         * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
717         the vertical size a little because the buttons add a bit of vertical
718         space to table. This is not a perfect solution because the vertical
719         size of with table fewer than 5 rows will be a little smaller.
720         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
721         changes in how navigation buttons are handled.
722         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
723         getSuitableRecordToViewDetails() using the new RelatedListNavigation
724         database access object.
725         * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
726         to find the portal for a given relationship name from
727         RelatedListDBAccess. Add method to find a primary key field for a
728         given table.
729         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
730         Move code to find the portal for a given relationship name to
731         DBAccess.
732         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
733         New file: database access object for getting the related list
734         navigation information (the table name and the primary key value).
735         * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
736         DTO for transferring a table name to navigate to and a primary key
737         value.
738         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
739         boolean and getter/setter to specifies if the related list should add
740         navigation buttons.
741
742 2011-10-24  Murray Cumming  <murrayc@murrayc.com>
743
744         Use the master branch of java-libglom
745
746         * pom.xml: Depend on java-libglom 1.19 instead.
747         
748         This is the master branch. See also the libglom-1-18 branch.
749
750 2011-10-11  Ben Konrath  <ben@bagu.org>
751
752         Enable the open navigation button when the data has been set.
753
754         This avoids having active buttons that don't do anything when the data
755         has not been set.
756
757         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
758
759 2011-10-11  Ben Konrath  <ben@bagu.org>
760
761         Use IsWidget interface for FlowTableItem.
762
763         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
764         FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
765
766 2011-10-11  Ben Konrath  <ben@bagu.org>
767
768         Remove GWT styling from open button in details view.
769
770         There are still some issues with how the details cell is arranged but
771         this should be made to match Glom 1.20. I'm going to leave fixing this
772         until I have Glom 1.20 up and running.
773
774         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
775         style name on open button.
776         * src/main/webapp/style.css: Move and edit details-navigation class.
777         Re-arrange some classes to make them appear in the same order as the
778         UI.
779
780 2011-10-07  Ben Konrath  <ben@bagu.org>
781
782         Update to GWT 2.4.0.
783
784         * .gitignore: Ignore new cache directory.
785         * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
786         * pom.xml: Change GWT and maven plugin to 2.4.0.
787         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
788         2.4.0.
789         * src/main/java/org/glom/web/client/ClientFactory.java:
790         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
791         * src/main/java/org/glom/web/client/OnlineGlom.java:
792         Update source for API changes.
793         * utils/build-onlineglom-war.sh: Remove cache directory before the
794         build.
795
796 2011-10-07  Ben Konrath  <ben@bagu.org>
797
798         Add navigation buttons in the details view.
799
800         This isn't finished but I thought I'd commit what I have as it's a
801         pretty good start. I still need to:
802
803         1. Change the style so that it fits better into the current theme
804         2. Adjust the details cell to expand as much as possible.
805
806         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
807         click handlers to navigation buttons in the DetailsCells. Create a
808         refreshData() method to get just the data from the server without the
809         layout.
810         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
811         Update the tableSelector and browser title when the table name
812         changes without using the tableSelector.
813         * src/main/java/org/glom/web/client/ui/DetailsView.java:
814         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
815         getDetailsCells() to getCells(). Update variable names.
816         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
817         method to set click handler on navigation button. Rename a few
818         variables. Add navigation buttons where needed.
819         * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
820         variables and methods.
821         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
822         navigation boolean and navigation table as required in the
823         LayoutItemField DTO.
824         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
825         variables for navigation along with getter/setter methods.
826
827 2011-10-07  Ben Konrath  <ben@bagu.org>
828
829         Rename Field to DetailsCell.
830
831         This is a refactor-only commit. No functionality has been added or
832         removed.
833
834         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
835         Update variable and method names.
836         * src/main/java/org/glom/web/client/ui/DetailsView.java:
837         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
838         variable and method names.
839         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
840         Renamed from Field.
841         * src/main/java/org/glom/web/client/ui/details/Group.java: Update
842         variable and method names.
843
844 2011-10-07  Ben Konrath  <ben@bagu.org>
845
846         Create separate methods for layout and data the details view.
847
848         This is a refactor-only commit. No functionality has been added or
849         removed.
850
851         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
852         private methods: setData(), createLayout().
853
854 2011-10-07  Ben Konrath  <ben@bagu.org>
855
856         Don't use TableSelectorImpl implementation details in TableSelectorActivity.
857
858         This is part of a change to get navigation buttons in the details view
859         but it should have been done this way from the start.
860
861         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
862         for method name change in TableSelectionView.
863         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
864         Create TableChangeEvent and set the browser title using the
865         TableSelectionView API.
866         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
867         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
868         Change getSelectedTable() to getSelectedTableName(). Add
869         getSelectedTableTitle().
870
871 2011-10-07  Ben Konrath  <ben@bagu.org>
872
873         Use primaryKeyValue naming convention in constructor of DetailsPlace.
874
875         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
876
877 2011-10-07  Ben Konrath  <ben@bagu.org>
878
879         Update TableChangeEvent to use newTableName naming convention.
880
881         This makes the class more consistent with GWT naming conventions.
882
883         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
884         Update for method name change in TableChangeEvent.
885         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
886         for method name change in TableChangeEvent.
887         * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
888         newTableName variable and getter method. Make toDebugString()
889         actually work.
890
891 2011-09-30  Ben Konrath  <ben@bagu.org>
892
893         Disable the pager in the list tables when the data row count is less than the minimum.
894
895         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
896         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
897
898 2011-09-30  Ben Konrath  <ben@bagu.org>
899
900         Add empty rows to the end of related list and list view tables.
901
902         I also extracted the cell rendering classes from the ListTable because
903         the code was becoming a little crazy with all the anonymous inner
904         classes. My plan is to use these cell rendering classes in the details
905         view as well so this refactor will be needed for that change.
906
907         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
908         set the row count in related list tables if the data has more rows
909         than the minimum number of rows visible.
910         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
911         row count in list view tables if the data has more rows than the
912         minimum number of rows visible.
913         * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
914         for rendering TYPE_BOOLEAN cells. The code was extracted from the
915         ListTable class.
916         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
917         for rendering TYPE_NUMERIC cells. The code was extracted from the
918         ListTable class.
919         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
920         class for rendering cells with buttons in list views. The code was
921         extracted from the ListTable class.
922         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
923         for rendering TYPE_TEXT cells. The code was extracted from the
924         ListTable class.
925         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
926         Add empty rows to the end of the data if required. Implement
927         ListTable.getMinNumVisibleRows().
928         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
929         cell renderer code to public classes. Return null in
930         Column.getValue() for empty rows. Add new abstract method:
931         getMinNumVisibleRows(). Move code to set the row count of the list view
932         table to ListViewImpl.
933         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
934         empty rows to the end of the data if required. Implement
935         ListTable.getMinNumVisibleRows().
936
937
938 2011-09-27  Ben Konrath  <ben@bagu.org>
939
940         Use GWT.log for client-side debugging statements.
941
942         These are optimized out when deployed so I should have used this method
943         in the first place. These statements will eventually be replaced with some sort
944         of notification in the browser.
945
946         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
947         * src/main/java/org/glom/web/client/activity/ListActivity.java:
948         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
949         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
950         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
951
952 2011-09-27  Ben Konrath  <ben@bagu.org>
953
954         Put tableselector on the right, back to list link on right.
955
956         The idea is that the table selector is acting like a label for the
957         currently displayed table so it should be placed below the document title. This
958         puts the table title in a similar position to where it is in Glom.
959
960         * mockups/details-contacts.html:
961         * mockups/details-projects.html:
962         * mockups/listview-contacts.html:
963         * mockups/listview-projects.html:
964         * mockups/style.css:
965         Update mockups to match how the interfaces currently look.
966         * src/main/webapp/style.css: Swap positions of backlink with the table
967         selector. Add some space on the left side of the table selector to
968         line things up with the document title.
969
970 2011-09-27  Ben Konrath  <ben@bagu.org>
971
972         Add field colouring to details view.
973
974         This change re-works how field colouring works. The colour formatting
975         information is now set to the client with the layout information instead of
976         with the data. This eliminates the need to send the same colour strings for
977         data in list view column when colour information is set.
978
979         In order to set an alternate colour for negative numeric values, the
980         number is now sent to client and formatted with the GWT NumberFormat class.
981
982         This change also fixes:
983
984         https://bugzilla.gnome.org/show_bug.cgi?id=659752
985
986         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
987         internationalization framework which is needed for client side numeric
988         formatting.
989         * src/main/java/org/glom/web/client/Utils.java: New file for some
990         client static utility methods.
991         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
992         the DataItem object to the Field class. Use a utility method to
993         create the foreignKeyValue string.
994         * src/main/java/org/glom/web/client/ui/details/Field.java: Set
995         alignment and text colours in the constructor. Add setData(DataItem)
996         method. Remove setText(String) method.
997         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
998         colour information to GlomTextCell. Create and use GlomNumberCell for
999         rendering numbers. Use utility method to get the string for the
1000         primary key of the key provider. Re-work how the horizontal alignment
1001         is set.
1002         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1003         formatting to layout information. Methods for converting the libglom
1004         formatting information were moved from DBAccess.
1005         * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
1006         numeric formatting (it's now done on the client side). Don't set text
1007         colours in DataItem. Move libglom formatting conversion methods to
1008         ConfiguredDocument.
1009         * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
1010         getters/setters for text colour information.
1011         * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
1012         for transferring the libglom NumericFormat information to the client.
1013         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
1014         and getters/setters for: GlomNumericFormat, background colour and
1015         foreground colour strings.
1016
1017 2011-09-26  Ben Konrath  <ben@bagu.org>
1018
1019         Simplify code that iterates through the LayoutGroup.
1020
1021         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1022
1023 2011-09-26  Ben Konrath  <ben@bagu.org>
1024
1025         Accept Eclipse formatting for OnlineGlomServiceAsync.
1026
1027         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1028
1029 2011-09-26  Ben Konrath  <ben@bagu.org>
1030
1031         Don't use the ListDBAccess classes to get the primary key layout information.
1032
1033         This was causing a bug where the wrong index for the hidden primary key
1034         was being sent to the client.
1035
1036         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
1037         primary key while creating the LayoutGroup DTO. Create a
1038         LayoutItemField DTO for hidden primary keys. Don't use the
1039         RelatedListDBAccess because it was only used for getting the primary
1040         key.
1041         * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
1042         access modifier from public to protected for getPrimaryKeyField() and
1043         getPrimaryKeyLayoutItemField().
1044         * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
1045         abstract method getExpectedResultSize() because RelatedListDBAccess
1046         doesn't have enough info to implement it.
1047         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1048         Remove @Override for getExpectedResultSize().
1049         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1050         Remove method getExpectedResultSize().
1051
1052 2011-09-23  Ben Konrath  <ben@bagu.org>
1053
1054         Log which layout (list or details) the ignored item is from.
1055
1056         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1057
1058 2011-09-23  Ben Konrath  <ben@bagu.org>
1059
1060         Remove annotations that turn off code formatting in DataItem.
1061
1062         * src/main/java/org/glom/web/shared/DataItem.java:
1063
1064 2011-09-23  Ben Konrath  <ben@bagu.org>
1065
1066         Rename GlomField to DataItem and update associated methods.
1067
1068         This is a rename-only refactor. No functionality has been added or
1069         removed.
1070
1071         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1072         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1073         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1074         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1075         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1076         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1077         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1078         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1079         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1080         * src/main/java/org/glom/web/server/database/DBAccess.java:
1081         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1082         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1083         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1084         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1085         * src/main/java/org/glom/web/shared/DataItem.java:
1086         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
1087         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1088
1089 2011-09-23  Ben Konrath  <ben@bagu.org>
1090
1091         Rename GlomDocument to DocumentInfo and update associated methods.
1092
1093         This is a rename-only refactor. No functionality has been added or
1094         removed.
1095
1096         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1097         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1098         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1099         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1100         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1101         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1102         * src/main/java/org/glom/web/shared/DocumentInfo.java:
1103
1104 2011-09-20  Ben Konrath  <ben@bagu.org>
1105
1106         Require java-libglom 1.17.3.
1107
1108         This picks up the fix for the seg fault problem with the Scenes table
1109         in the Openismus Film Manager example.
1110
1111         * pom.xml:
1112
1113 2011-09-20  Ben Konrath  <ben@bagu.org>
1114
1115         Change the way sort clause is added for primary key when no sort clause is requested.
1116
1117         The primary key is now added to the LayoutFieldVector (fieldsToGet)
1118         before the sort clause is created. When a sort clause is not requested, the
1119         sort clause is created by finding the primary key in the LayoutFieldVector
1120         (fieldsToGet).
1121
1122         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1123
1124 2011-09-20  Ben Konrath  <ben@bagu.org>
1125
1126         Log error message if no documents are found in the configured directory.
1127
1128         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
1129         Extract the glom file extension string to a private static final class
1130         variable (mostly as syntactic sugar). Accept a minor formatting change.
1131         * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
1132         the example glom.document.directory configuration property to make it
1133         more clear that it can any directory, not just the home directory.
1134
1135 2011-09-18  Ben Konrath  <ben@bagu.org>
1136
1137         Add related lists to details view.
1138
1139         The related list table has support for paging and sorting just like the
1140         table in the list view.
1141
1142         * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
1143         SQL queries for the related list tables.
1144         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1145         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1146         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1147         Rename getList methods to getListView and add comments. Remove
1148         getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
1149         it being unused. Add methods: getDetailsLayoutAndData(),
1150         getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
1151         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1152         Create the layout and set the data for the fields in one async call
1153         instead of two. Create related lists where appropriate.
1154         * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
1155         for method name changes in OnlineGlomService.
1156         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1157         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
1158         addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
1159         visible UI objects.
1160         * src/main/java/org/glom/web/client/ui/ListView.java:
1161         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
1162         tableName from setCellTable(). Create a ListViewTable instead of
1163         ListTable.
1164         * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
1165         represent a data field in the details view.
1166         * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
1167         from addDetailsCell() to Field class. Keep track of the Fields and
1168         Portals in the details view.
1169         * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
1170         a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
1171         and add a method to get it. Add method to set the contents of the
1172         portal.
1173         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1174         New class for related list tables. This class has the data provider
1175         for the related list table.
1176         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
1177         abstract class which is the base class for the ListViewTable and the
1178         RelatedListTable.
1179         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1180         New class for list view tables. This class has the data provider for
1181         the list view table.
1182         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1183         methods for related list tables. Add more information to the
1184         LayoutItemField and LayoutItemPortal DTOs.
1185         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1186         Remove debugging print statement.
1187         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1188         Remove debugging print statements. Add primary key field to SQL count
1189         query.
1190         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1191         Remove unnecessary LayoutFieldVector parameter from
1192         getResultSizeOfSQLQuery() method.
1193         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1194         New class for related list table database access.
1195         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
1196         class that is a wrapper DTO for details view layout and data.
1197         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1198         new 'fromField' string to this DTO.
1199         * src/main/webapp/style.css: Remove bottom margin and override top
1200         margin with 0em.
1201
1202 2011-09-15  Ben Konrath  <ben@bagu.org>
1203
1204         Breakup the OnlineGlomServiceImpl class to make it more manageable.
1205
1206         This sets things up to make it easier to add the data retrieval for
1207         related lists (portals). No user noticeable changes were made with
1208         this commit.
1209
1210         * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
1211         class has the code to retrieve the layouts and access the
1212         database using the new database helper classes.
1213         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1214         Most of the functionality has been removed from this class. This
1215         class now represents the public interface for the client side
1216         code. It also deals with configuring the servlet and cleaning
1217         things up when the servlet is stopped.
1218         * src/main/java/org/glom/web/server/Utils.java: Extract a couple
1219         of static methods into this utility class.
1220         * src/main/java/org/glom/web/server/database/DBAccess.java:
1221         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1222         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1223         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1224         These classes have the database retrieval code. The class hierarchy
1225         has been setup to make it easy to reuse code for similar
1226         functionality.
1227
1228 2011-09-06  Ben Konrath  <ben@bagu.org>
1229
1230         Create separate classes for list table code and the data provider.
1231
1232         As part of this refactor, I also split up the code a bit to make it
1233         more manageable.
1234
1235         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
1236         table code to two new classes (below).
1237         * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
1238         with code from ListViewImpl.
1239         * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
1240         New file with code from ListViewImpl.
1241
1242 2011-09-06  Ben Konrath  <ben@bagu.org>
1243
1244         Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
1245
1246         This fixes the LayoutItemPortal DTO to match the libglom layout object
1247         hierarchy.
1248
1249         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
1250
1251 2011-09-01  Ben Konrath  <ben@bagu.org>
1252
1253         Set title of Portals in the Details View.
1254
1255         * pom.xml: Bump required version of java-libglom to 1.17.1.
1256         * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
1257         widget creation to its own class. Add comments to constructor.
1258         * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
1259         The code is mostly from the Group class with the title now set.
1260         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1261         title of Portal. Update some comments. Fix some code formatting.
1262
1263 2011-09-01  Ben Konrath  <ben@bagu.org>
1264
1265         Remove TODO comment for the flow table column width.
1266
1267         The flow table column width is working correctly and doesn't need to be
1268         changed. See this mailing list post for more info:
1269
1270         https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
1271
1272         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
1273
1274 2011-08-27  Ben Konrath  <ben@bagu.org>
1275
1276         Add document title (database name) to top of the browser page.
1277
1278         I added the document title to the TableSelecitonView but that will
1279         change if / when we add a view that doesn't require table selection.
1280
1281         * mockups/details-contacts.html:
1282         * mockups/details-projects.html:
1283         * mockups/listview-contacts.html:
1284         * mockups/listview-projects.html:
1285         * mockups/style.css: Add document title to mockups to keep things
1286         consistent.
1287         * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
1288         sizes to account for the document title.
1289         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1290         Set the document title when it has been retrieved from the server.
1291         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1292         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
1293         and implement setDocumentTitle(String) method.
1294         * src/main/webapp/style.css: Add ID for document title style.
1295
1296 2011-08-25  Ben Konrath  <ben@bagu.org>
1297
1298         Add NavigationType enum to LayoutItemPortal DTO.
1299
1300         This is the start of adding support for Portals to the Details View.
1301
1302         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
1303         LayoutItem_Portal.navigation_type enum from libglom to
1304         LayoutItemPortal.NavigationType enum.
1305         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
1306         NavigationType enum, field for storing the NavigationType and getter
1307         and setter methods.
1308
1309 2011-08-25  Ben Konrath  <ben@bagu.org>
1310
1311         Implement the flow table layout in the Details View.
1312
1313         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1314         FlowTable to Group to account for the renamed class.
1315         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
1316         File. This is a container widget that implements the Glom details view
1317         flow table behaviour.
1318         * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
1319         org/glom/web/client/ui/FlowTable.java.
1320         * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
1321         so that the size of the subgroups are a closer match to the size of
1322         the Glom subgroups. This makes the flowtable layout match the layout
1323         in Glom for the Music Collection example file.
1324
1325 2011-08-16  Ben Konrath  <ben@bagu.org>
1326
1327         Create container element for LayoutItemPortal in Details View.
1328
1329         This will help me develop the layout for the FlowTable.
1330
1331         * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
1332         fieldPanel variable to detailsCell.
1333
1334 2011-08-15  Ben Konrath  <ben@bagu.org>
1335
1336         Set the height of the data element in the Details View.
1337
1338         I changed the InlineLabels (text in a span element) to Labels (text in
1339         a div element) so that I could set the height of the details-data
1340         elements instead of the details-cell parent elements. This allows the
1341         the details-data element to display the correct height if style is
1342         applied that shows the height.
1343
1344         This change has the added benefit of allowing the order of the labels
1345         and data elements to be changed for right-to-left languages.
1346
1347         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
1348         InlineLabels to Labels.
1349         * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
1350         InlineLabels to Labels. Set the height of the data element.
1351         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1352         multiline text height in the Formatting DTO.
1353         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
1354         for multiline height along with getter and setter methods.
1355         * src/main/webapp/style.css: Adjust style to account for the change
1356         from span elements to div elements in the details cell.
1357
1358 2011-08-15  Ben Konrath  <ben@bagu.org>
1359
1360         Make the List View appearance match the mockups.
1361
1362         It doesn't match exactly but it's much better than it was.
1363
1364         * mockups/listview-contacts.html: Remove unused css classes.
1365         * mockups/listview-projects.html: Remove unused css classes.
1366         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
1367         rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
1368         for mainPanel instead of VerticalPanel (table). Set style name on
1369         CellTable. Set style name on Details column. Right-align Details
1370         buttons.
1371         * src/main/webapp/style.css: Adjust properties to match the mockups.
1372
1373 2011-08-12  Ben Konrath  <ben@bagu.org>
1374
1375         Add better support for subgroups in the details view.
1376
1377         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1378         changed FlowTable constructor.
1379         * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
1380         support for subgroups and subgroup-titles.
1381         * src/main/webapp/style.css: Add CSS class for subgroups and
1382         subgroup-titles.
1383
1384 2011-08-12  Ben Konrath  <ben@bagu.org>
1385
1386         Return the top level LayoutGroup title.
1387
1388         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1389
1390 2011-08-11  Ben Konrath  <ben@bagu.org>
1391
1392         Make the TableSelector header match the mockup.
1393
1394         * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
1395         the layout panel. Properly lineup the table selection header with
1396         the list and details view.
1397         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
1398         margin around the details view.
1399         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1400         Rename listBox variable to tableSelector. Set id for the style sheet.
1401         Use a FlowPanel instead of a HorizontalPanel.
1402         * src/main/webapp/style.css: Add properties to make the TableSelector
1403         box match the mockups.
1404
1405 2011-07-13  Ben Konrath  <ben@bagu.org>
1406
1407         Update install script for java-libglom version change.
1408
1409         * utils/install-onlineglom-war.sh: Also exit if 'make check' in
1410         java-libglom fails.
1411
1412 2011-07-13  Ben Konrath  <ben@bagu.org>
1413
1414         Add support sub-group in the details view.
1415
1416         I also removed the code that special-cased the default details view
1417         layout. See:
1418
1419         http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
1420
1421         I still have to make a proper flowtable.
1422
1423         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1424         Don't special-case default details view layout.
1425         * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
1426         addLayoutField() as I'm going to use it.
1427         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
1428         GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
1429         method.
1430         * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
1431         extracted from DetailsViewImpl.GroupPanel. Add support for
1432         sub-groups.
1433         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1434         column count when getting the details layout.
1435
1436 2011-07-12  Ben Konrath  <ben@bagu.org>
1437
1438         Set browser title with database and table titles.
1439
1440         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1441         Set the browser title when the table changes and when the activity
1442         first starts.
1443         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1444         title when retrieving document info (the GlomDocument object).
1445         * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
1446         with getter and setter methods. Remove unused convenience constructor.
1447         Use default code formatting.
1448
1449 2011-07-12  Ben Konrath  <ben@bagu.org>
1450
1451         Ignore LayoutItemPortals in the details view.
1452
1453         I added a new DTO for the LayoutItemPortal so that I can ignore it in
1454         the client code.
1455
1456         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
1457         LayoutItemPortal layout objects.
1458         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1459         LayoutItemPortal objects when retrieving the details layout.
1460         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
1461         file. This is an empty class and just used to get type information for
1462         now.
1463
1464 2011-07-12  Ben Konrath  <ben@bagu.org>
1465
1466         Use java-libglom 1.17.0.
1467
1468         * pom.xml:
1469
1470 2011-07-11  Ben Konrath  <ben@bagu.org>
1471
1472         Remove "Table:" label from table selector.
1473
1474         This matches a recent change in the Glom UI.
1475
1476         * mockups/details-contacts.html:
1477         * mockups/details-projects.html:
1478         * mockups/listview-contacts.html:
1479         * mockups/listview-projects.html: Remove the "Table:" label from the
1480         mockups as well.
1481         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1482
1483 2011-07-11  Ben Konrath  <ben@bagu.org>
1484
1485         Add main groups to the details view.
1486
1487         This makes things look a little nicer in the details view. The next step
1488         is to implement the flowtable.
1489
1490         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
1491         resources from the standard gwt css theme. Standard.css is now
1492         included in OnlineGlom.html so that the online glom css rules have
1493         precedence over the gwt theme.
1494         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1495         the whole LayoutGroup to the DetailsView instead of just the titles.
1496         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1497         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
1498         details layout with a helper class (GroupPanel). I might extract this
1499         class when I make the full flowtable.
1500         * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
1501         string as default so I don't have to worry about NPEs when processing
1502         the layout objects.
1503         * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
1504         note beside OnlineGlom.gwt.xml above).
1505         * src/main/webapp/style.css: Add default font-size to body to override
1506         the font-size set by the standard theme. Don't use h2 tags for
1507         group-title. Create new details-cell class.
1508
1509 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1510
1511         ConfiguredDocument: Set the port number too.
1512
1513         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1514         (ConfiguredDocument.ConfiguredDocument): Get the port number from the 
1515         Glom document. Presumably this worked sometimes so far because there is a 
1516         default port number.
1517
1518 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1519
1520         ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
1521
1522         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1523         (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is 
1524         correct, though we should throw an exception too.
1525
1526 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1527
1528         Fix a addDocuemnt typo.
1529
1530         * src/main/java/org/glom/web/shared/Documents.java
1531         (Documents.addDocuemnt): Rename to addDocument().
1532         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1533         (OnlineGlomServiceImpl.getDocuments): Adapt.
1534         
1535 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
1536
1537         Slightly improved log output when connection fails.
1538
1539         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1540         (ConfiguredDocument.setUsernameAndPassword):
1541         We don't know for sure if it' the username/password that's wrong, so 
1542         rephrase the message.
1543         Also ouput the exception message, though it's generic in this case.
1544
1545 2011-07-08  Ben Konrath  <ben@bagu.org>
1546
1547         Cleanup comments.
1548
1549         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
1550         added braces to a one line if statement because the Eclipse formatter
1551         was getting confused.
1552
1553 2011-07-07  Ben Konrath  <ben@bagu.org>
1554
1555         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
1556
1557         These should really be two separate tasks but I counldn't get things to
1558         work with GWT 2.2.0 and Eclipse 3.7.
1559
1560         * .classpath:
1561         * .project:
1562         * .settings/org.eclipse.jdt.core.prefs:
1563         * .settings/org.eclipse.jdt.ui.prefs:
1564         * .settings/org.eclipse.ltk.core.refactoring.prefs:
1565         * .settings/org.eclipse.m2e.core.prefs:
1566         Add new config files. Update current files. Remove references to the
1567         webtools plugins as we're not using any of the webtools features.
1568         * .gitignore: Add logs directory which is created when running with
1569         'mvn gwt:run'.
1570         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
1571         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
1572         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
1573         limitation:
1574         http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
1575
1576 2011-07-07  Murray Cumming  <murrayc@murrayc.com>
1577
1578         onlineglom.properties: Add explanatory comments.
1579
1580         * src/main/resources/onlineglom.properties: Also change the default user 
1581         from ben to someuser, to avoid the risk of people thinking we just 
1582         stupidly hard-coded a locale path, when they see that on stderr or in a log.
1583
1584 2011-06-28  Ben Konrath  <ben@bagu.org>
1585
1586         Use filename in Log for incorrect passwords.
1587
1588         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1589         getFileName(String) method to get the filename from the URI.
1590
1591 2011-06-28  Ben Konrath  <ben@bagu.org>
1592
1593         Add the table name to the URL token for the ListPlace.
1594
1595         This makes things consistent between the DetailsPlace and the
1596         ListPlace. It also allows the the ListPlace to be bookmarked.
1597
1598         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1599         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1600         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1601         Remove getDefaultListLayout(). The default layout is now returned
1602         by the getListLayout() method when the table name is an empty string.
1603         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1604         Add table name field. Change to a new ListPlace when the table
1605         has been changed. Use getListLayout() for getting the default
1606         list layout.
1607         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1608         Add table name field. Set the correct table name in the list box
1609         when loading from bookmark. This corrects a problem for the
1610         DetailsPlace too.
1611         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1612         Move table name to super-class (HasSelectableTable). Move document
1613         and table URL keys to super-class in HasSelectableTable.
1614         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1615         Add table name field. Add Tokenizer class with URL key common to
1616         the subclasses (DetailsPlace and ListPlace).
1617         * src/main/java/org/glom/web/client/place/ListPlace.java:
1618         Add table name. Add code to parse the URL token.
1619         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1620         Update ListPlace construction with empty table name string.
1621         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1622         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1623         Change setTableSelectedIndex(int) to setSelectedTableName(String).
1624         Update ListPlace construction with table name string.
1625         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1626         Change defaultTableName field to tableName to reflect how it's now
1627         used. Update the getter and setter methods.
1628
1629 2011-06-28  Ben Konrath  <ben@bagu.org>
1630
1631         Enable the table selector in the DetailsView.
1632
1633         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1634         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1635         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1636         Remove getDefaultDetailsLayout(). The default layout is now returned
1637         by the getDetailsLayout() method when the table name is an empty
1638         string.
1639         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1640         event handler for table change event. Change to using
1641         getDetailsLayout() for the default details layout.
1642         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
1643         name to URL token.
1644         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
1645         when navigating to the details place.
1646
1647 2011-06-27  Ben Konrath  <ben@bagu.org>
1648
1649         Use filename based unique document ID in URL and for RPC.
1650
1651         The document ID is the glom document name with spaces (' ') replaced
1652         with pluses ('+') and without the .glom extension.
1653
1654         This change is mostly a string substitution of 'documentTitle' for
1655         'documentID'. The only code change is the addition of a Documents DTO to get the
1656         filename to document title mappings as indicated below.
1657
1658         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1659         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1660         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1661         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1662         Use Documents DTO to create the document links in the document
1663         selection view.
1664         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1665         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1666         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1667         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1668         * src/main/java/org/glom/web/client/place/ListPlace.java:
1669         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1670         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1671         * src/main/java/org/glom/web/client/ui/ListView.java:
1672         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1673         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1674         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1675         * src/main/java/org/glom/web/server/Log.java:
1676         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1677         getDocumentTitles() to getDocuments() and return the Documents DTO.
1678         * src/main/java/org/glom/web/shared/Documents.java: New DTO for
1679         transferring the filename to document title mappings.
1680
1681 2011-06-25  Ben Konrath  <ben@bagu.org>
1682
1683         Make the authentication popup work again.
1684
1685         This bug was introduced when I extracted ConfiguredDocument to its own class.
1686
1687         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
1688         correct success / fail status in setUsernameAndPassword().
1689
1690 2011-06-25  Ben Konrath  <ben@bagu.org>
1691
1692         Use filename as unique key for configuring database usernames and passwords.
1693
1694         This replaces the use of the Glom document title which could change
1695         depending on the locale. Thanks to Murray Cumming for pointing out this
1696         problem.
1697
1698         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1699         * src/main/resources/onlineglom.properties:
1700
1701 2011-06-24  Ben Konrath  <ben@bagu.org>
1702
1703         Pass primary key value to DetailsView.
1704
1705         This enables the DetailsView to load the correct data.
1706
1707         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1708         primary key value field and set in constructor. Pass primary key
1709         value to getDetailsData().
1710         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
1711         variables for document title and primary key value.
1712         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
1713         key value to the DetailsPlace.
1714
1715 2011-06-24  Ben Konrath  <ben@bagu.org>
1716
1717         Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
1718
1719         This allows the primary key to be retrieved by the Details button. This
1720         functionality has not been implemented yet but it's in the works.
1721
1722         * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
1723         the LayoutGroup result to ListView.setCellTable instead of all of its
1724         fields individually.
1725         * src/main/java/org/glom/web/client/ui/ListView.java:
1726         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
1727         LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
1728         get the primary key for the table.
1729         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1730         index of the primary key in the LayoutGroup accounting for hidden
1731         primary keys. Rename getJavaNumberFormat() to
1732         convertToJavaNumberFormat() for consistency. Cleanup / add some
1733         comments.
1734         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
1735         field for primary key index and a field to indicate whether the
1736         primary key is hidden or not.
1737
1738 2011-06-23  Ben Konrath  <ben@bagu.org>
1739
1740         Rename getTableData methods to getListData.
1741
1742         This is a rename refactor for consistency with other methods.
1743
1744         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1745         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1746         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1747         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1748
1749 2011-06-23  Ben Konrath  <ben@bagu.org>
1750
1751         Extract the ConfiguredDocument innerclass into its own class.
1752
1753         This makes the servlet code more object oriented.
1754
1755         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1756         from private ConfiguredDocument class in OnlineGlomServiceImpl.
1757         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1758         new ConfiguredDocument class.
1759
1760 2011-06-21  Ben Konrath  <ben@bagu.org>
1761
1762         Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1763
1764         This makes things more inline with how libglom works and reduces code
1765         duplication. This refactor lays the groundwork for adding the primary key to
1766         the LayoutGroup object.
1767
1768         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1769         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1770         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1771         Change method names to getListLayout and getDefaultListLayout for
1772         consistency. Use LayoutGroup as the DTO for the list layout instead of
1773         ColumnInfo and LayoutListTable.
1774         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1775         new method names along with the LayoutGroup object for transferring the
1776         list layout.
1777         * src/main/java/org/glom/web/client/ui/ListView.java:
1778         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1779         Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1780         * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1781         with LayoutGroup.
1782         * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1783         Replaced with LayoutGroup.
1784         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1785         expectedResultSize and defaultTableName fields which are needed for
1786         the list layout.
1787         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1788         type field which is needed for the list layout but will also be
1789         useful for the details layout as things progress.
1790         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1791         Make class abstract. Remove the unnecessary
1792         getFormattingHorizontalAlignment method. Add setFormatting method.
1793
1794 2011-06-16  Ben Konrath  <ben@bagu.org>
1795
1796         Add scripts for building and installing war.
1797
1798         These will help when updating OnlineGlom but they're also good
1799         supplemental documentation of the build and deployment proceeding.
1800
1801         * utils/build-onlineglom-war.sh: New file.
1802         * utils/install-onlineglom-war.sh: New file.
1803
1804 2011-06-16  Ben Konrath  <ben@bagu.org>
1805
1806         Create wrapper class to create consistent log messages.
1807
1808         I wrapped methods in the Log class of gwt-log to add the method names
1809         from the servlet and create consistent formatting of the document title
1810         and table names in the log messages.
1811
1812         * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1813         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1814         log methods to use methods from wrapped Log class.
1815
1816 2011-06-16  Ben Konrath  <ben@bagu.org>
1817
1818         Remove superfluous conditional return.
1819
1820         Thanks to Murray Cumming for pointing this out!
1821
1822         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1823
1824 2011-06-15  Ben Konrath  <ben@bagu.org>
1825
1826         Return an ArrayList of LayoutGroups for the Details layout.
1827
1828         This corrects a problem with the details layout as it can have more
1829         than one top level LayoutGroup.
1830
1831         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1832         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1833         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1834         an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1835         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1836         with ArrayList of LayoutGroups for the details view layout.
1837         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1838         method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1839         ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1840         getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1841         the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1842         getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1843
1844 2011-06-14  Ben Konrath  <ben@bagu.org>
1845
1846         Use cast_dynamic method to determine the libglom LayoutItem type.
1847
1848         This is better than finding the LayoutItem type by using the string
1849         returned from the get_part_type_name() method.
1850
1851         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1852
1853 2011-06-14  Ben Konrath  <ben@bagu.org>
1854
1855         Add method names to log entries in the servlet.
1856
1857         This helps when tracking down deployment problems.
1858
1859         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1860
1861 2011-06-14  Ben Konrath  <ben@bagu.org>
1862
1863         Add data to the DetailsView using a hard-coded primary key value.
1864
1865         The layout and functionality of the DetailsView is not complete. This
1866         is just a checkpoint so the patch doesn't get too big.
1867
1868         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1869         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1870         Add getDetailsData() servlet method.
1871         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1872         Add RPC to getDetailsData(). Change the way the LayoutGroups and
1873         LayoutFields are added to the DetailsView.
1874         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1875         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1876         Add setData() method. Change addLayoutGroup() and addLayoutField() to
1877         take the string for the title instead of the object.
1878         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1879         Add implementation getDetailsData() along with some private helper
1880         methods.
1881         * src/main/webapp/style.css: Add padding to details-data class. Add a
1882         details-label class with the same padding as the details-data class.
1883
1884 2011-06-03  Ben Konrath  <ben@bagu.org>
1885
1886         Use presenter.goTo() to change to the DetailsPlace.
1887
1888         This will make things easier when we need to open the DetailsView with
1889         data specific to the row that was clicked.
1890
1891         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1892
1893 2011-06-02  Ben Konrath  <ben@bagu.org>
1894
1895         Add CSS file from mockups.
1896
1897         I'm adding this now because it's going to be useful to have when
1898         developing the DetailsView. The TableSelectionView and ListView aren't
1899         setup properly yet.
1900
1901         * src/main/webapp/OnlineGlom.html:
1902         * src/main/webapp/style.css:
1903
1904 2011-06-02  Ben Konrath  <ben@bagu.org>
1905
1906         Use String.isEmpty() to check for empty string.
1907
1908         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1909
1910 2011-06-02  Ben Konrath  <ben@bagu.org>
1911
1912         Display main layout group titles in the DetailsView.
1913
1914         This is the start of the DetailsActivity/DetailsView implementation.
1915
1916         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1917         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1918         Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1919         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1920         Get the layout information for the details view from the server and set
1921         the main layout group titles.
1922         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1923         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1924         Add addLayoutGroup() and addLayoutField() methods. This are just
1925         temporary methods for creating the the details view that will change
1926         in the future.
1927         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1928         Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1929         methods.
1930         * src/main/java/org/glom/web/shared/layout/Formatting.java:
1931         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1932         * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1933         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1934         * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1935         Data Transfer Objects that mimic the libglom object structure. These are
1936         used for transferring the details layout but could also be used for
1937         transferring the list layout.
1938
1939 2011-05-27  Ben Konrath  <ben@bagu.org>
1940
1941         Reset the AuthenticationPopup when clearing the ListView.
1942
1943         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1944
1945 2011-05-27  Ben Konrath  <ben@bagu.org>
1946
1947         Fix problem with onlineglom.properties file loading.
1948
1949         The old way worked in Eclipse but not on the server. Loading the
1950         onlineglom.properties file now works in Eclipse and on the server.
1951
1952         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1953
1954 2011-05-24  Ben Konrath  <ben@bagu.org>
1955
1956         Update gwt-log from 3.1.0 to 3.1.2.
1957
1958         Gwt-log 3.1.0 has been marked as depreciated.
1959
1960         * pom.xml:
1961
1962 2011-05-24  Ben Konrath  <ben@bagu.org>
1963
1964         Add comment to ListActivity.goTo() method.
1965
1966         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1967
1968 2011-05-24  Ben Konrath  <ben@bagu.org>
1969
1970         Remove FIXME in convertGdkColorToHtmlColour()
1971
1972         The Gdk::Color value returned by libglom is 16-bits per channel on both
1973         64 and 32-bit platforms.
1974
1975         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1976
1977 2011-05-19  Ben Konrath  <ben@bagu.org>
1978
1979         Improve performance of initial ListView load.
1980
1981         I removed a round trip to the server for getting the default table name
1982         and then requesting information about that table. This also removes a potential
1983         problem with the table change handler not being setup in time to receive the
1984         table change event from the ListActivity.
1985
1986         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1987         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1988         getDefaultLayoutListTable() method. Improve comments.
1989         * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1990         getDefaultLayoutListTable() method instead of firing a table change
1991         event to get the table to load.
1992         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1993         implementation of getDefaultLayoutListTable() method.
1994         * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1995         table name.
1996
1997 2011-05-19  Ben Konrath  <ben@bagu.org>
1998
1999         Override toDebugString() in TableChangeEvent.
2000
2001         This is useful to have for debugging.
2002
2003         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
2004
2005 2011-05-19  Ben Konrath  <ben@bagu.org>
2006
2007         Add a "Back to List" link when at the DetailsPlace.
2008
2009         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2010         Populate the CellTable based on the selected table of the ListBox if
2011         it's set otherwise use the default table. This allows the "Back to
2012         List" link to work.
2013         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2014         Remove Place from constructors. Add a setPlace() method. Add
2015         goToPlace() method. Set class as presenter for TableSelectionView.
2016         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2017         Use the same TableSelectionActivity when switching between the List and
2018         Details Places.
2019         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2020         Subclass the new HasSelectableTablePlace. This removes some duplicate
2021         code.
2022         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
2023         New class to represent Places that display the TableSelectionView.
2024         * src/main/java/org/glom/web/client/place/ListPlace.java:
2025         Subclass the new HasSelectableTablePlace. This removes some duplicate
2026         code.
2027         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2028         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2029         Add Presenter interface. Add setBackLinkVisible() method. Add
2030         setBackLink() method.
2031
2032 2011-05-18  Ben Konrath  <ben@bagu.org>
2033
2034         Enable the "Details" buttons.
2035
2036         Right now only an empty details view is displayed.
2037
2038         * src/main/java/org/glom/web/client/ClientFactory.java:
2039         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2040         Add DetailsView to ClientFactory.
2041         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2042         A basic activity for the details view.
2043         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2044         Add a new constructor that takes a DetailsPlace. Rename shutdown() to
2045         clearView().
2046         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2047         Add DetailsPlace.Tokenizer to the list of tokens that are generated by
2048         GWT.
2049         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
2050         Create a new DetailsActivity when a DetailsPlace is requested. Remove
2051         unnecessary super() in constructor.
2052         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2053         Create a new TableSelectionActivity when a DetailsPlace is requested. We
2054         really shouldn't create a new TableSelectionActivity for both the ListPlace
2055         and the DetailsPlace so this should be considered a temporary solution.
2056         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2057         New file. Represents a URL for the details view.
2058         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2059         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
2060         A basic details view interface and implementation.
2061         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2062         Enable the "Details" buttons.
2063
2064 2011-05-12  Ben Konrath  <ben@bagu.org>
2065
2066         Use a LayoutPanel with multiple display areas for main layout.
2067
2068         This is mostly a refactor in that there are no changes from the user
2069         point of view. These changes are required so that we can swap out the list view
2070         with the details view when the user clicks the "Details" button.
2071
2072         * src/main/java/org/glom/web/client/ClientFactory.java:
2073         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
2074         OnlineGlomView. Add TableSelectionView, ListView and
2075         AuthenticationPopup.
2076         * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
2077         for main layout. Add display regions for main activities. Add
2078         activity manager for for main activities.
2079         * src/main/java/org/glom/web/client/activity/ListActivity.java: New
2080         file from parts of the deleted OnlineGlomActivity.
2081         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2082         New file from parts of the deleted OnlineGlomActivity.
2083         * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
2084         * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
2085         New files for app wide table change event.
2086         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
2087         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
2088         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
2089         Activity mappers for the main activities replace the deleted app-wide
2090         AppActivityMapper.
2091         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
2092         Fix a spelling error in he comment.
2093         * src/main/java/org/glom/web/client/ui/ListView.java:
2094         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2095         Renamed from LayoutListView and modified for MVP. This still not a
2096         proper dumb view as prescribed by the MVP pattern but it works for now.
2097         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2098         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2099         New widget stripped out of the deleted OnlineGlomView.
2100         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2101         Remove hack that is fixed by this patch.
2102
2103 2011-05-06  Ben Konrath  <ben@bagu.org>
2104
2105         Rename OnlineGlomPlace to ListPlace.
2106
2107         The only change besides the rename is that url will now display #list
2108         instead of #Document.
2109
2110         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2111         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
2112         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2113         * src/main/java/org/glom/web/client/place/ListPlace.java:
2114         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2115
2116 2011-05-06  Ben Konrath  <ben@bagu.org>
2117
2118         Use Presenter for app navigation.
2119
2120         This is the proper way to deal with Place (URL) changes with the MVP
2121         framework.
2122
2123         * src/main/java/org/glom/web/client/ClientFactory.java:
2124         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
2125         PlaceHistoryMapper and PlaceHistoryHandler.
2126         * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
2127         PlaceHistoryMapper and PlaceHistoryHandler.
2128         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2129         Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
2130         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
2131         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2132         Add Presenter interface and setPresenter methods. Rename addHyperLink
2133         to addDocumentLink taking only the document title as a parameter.
2134
2135 2011-04-14  Ben Konrath  <ben@bagu.org>
2136
2137         Prompt for db username/password if they haven't been set.
2138
2139         This is implemented with a popup widget that is contained within the
2140         OnlineGlomView and managed by the OnlineGlomActivity.
2141
2142         * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
2143         methods for checking and setting the database username and password.
2144         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
2145         new methods for checking and setting the database username and
2146         password.
2147         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2148         Display authentication popup if the JDBC connection to the database
2149         has not been authenticated.
2150         * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
2151         file.
2152         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2153         for dealing with the authentication popup.
2154         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
2155         Implement the methods for dealing with the authentication popup.
2156         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
2157         try to executed queries if the database connection hasn't been
2158         authenticated. Implement methods for checking and setting the
2159         database username and password.
2160
2161 2011-04-12  Ben Konrath  <ben@bagu.org>
2162
2163         Make log messages a little clearer.
2164
2165         Add a dash betweeen the document title and the table name.
2166
2167         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2168
2169 2011-04-12  Ben Konrath  <ben@bagu.org>
2170
2171         Protect against NPEs when cleaning up database resources.
2172
2173         While this isn't strictly necessary because the exception is caught,
2174         not protecting against the NPEs makes it harder to find the real error
2175         in the log file.
2176
2177         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2178
2179 2011-04-12  Ben Konrath  <ben@bagu.org>
2180
2181         Move configuration of the servlet to the constructor.
2182
2183         The servlet will be initialized even if the database authentication
2184         information is not set or correct. I still need to add the UI for prompting
2185         the user for the authentication information when it's required.
2186
2187         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
2188         javadocs for getDocumentTitles() method.
2189         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2190         Set error message when RPC fails.
2191         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
2192         glom files directory from the configuration file. Try to set the
2193         database authentication information for the specific document if it's
2194         set and works otherwise try to use the global authentication
2195         information set for the directory.
2196         * src/main/resources/onlineglom.properties: Moved from
2197         src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
2198         Added detailed comments for the new keys.
2199
2200 2011-04-11  Ben Konrath  <ben@bagu.org>
2201
2202         Remove unnecessary @Override in DocumentSelectionViewImpl.
2203
2204         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2205
2206 2011-04-11  Ben Konrath  <ben@bagu.org>
2207
2208         Remove center alignment in DocumentSelectionView.
2209
2210         The title element is still centred but the document titles and bottom
2211         sentence are both left-aligned.
2212
2213         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
2214
2215 2011-04-11  Ben Konrath  <ben@bagu.org>
2216
2217         Change 'Demo' naming convention to 'Document'.
2218
2219         This is just a rename refactor with no functional changes to the code.
2220
2221         * src/main/java/org/glom/web/client/ClientFactory.java:
2222         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2223         * src/main/java/org/glom/web/client/OnlineGlom.java:
2224         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2225         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2226         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2227         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
2228         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2229         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
2230         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
2231         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
2232         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
2233         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2234
2235 2011-04-08  Ben Konrath  <ben@bagu.org>
2236
2237         Remove FIXME from safeLongToInt() method.
2238
2239         Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
2240         this method.
2241
2242         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2243
2244 2011-04-08  Ben Konrath  <ben@bagu.org>
2245
2246         Display an error if no glom documents are found in the specified directory.
2247
2248         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2249         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2250         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2251         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2252
2253 2011-04-08  Ben Konrath  <ben@bagu.org>
2254
2255         Add copyright header to one more file ... oops.
2256
2257         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2258
2259 2011-04-08  Ben Konrath  <ben@bagu.org>
2260
2261         Add copyright header to files without it.
2262
2263         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2264         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
2265         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2266         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2267         * src/main/java/org/glom/web/shared/ColumnInfo.java:
2268         * src/main/java/org/glom/web/shared/GlomField.java:
2269
2270 2011-04-08  Ben Konrath  <ben@bagu.org>
2271
2272         Add support for accessing multiple glom documents in the servlet.
2273
2274         This completes the demo selection functionality.
2275
2276         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
2277         document title to methods.
2278         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2279         document title to methods.
2280         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2281         Set browser window title when the activity starts. Correct name of
2282         document title variable.
2283         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2284         Set browser window title when the activity starts. Set the table
2285         selector change handler after table selector has been set. Clear the
2286         OnlineGlomView when the activity has been stopped.
2287         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
2288         document title as the place token. Use "#Document:" instead of
2289         "#OnlineGlomPlace:" in the URL.
2290         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
2291         Change heading to "Online Glom"
2292         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
2293         document title in RPC methods.
2294         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
2295         setDocumentTitle() method. Add clear() method.
2296         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
2297         setDocumentTitle() method. Implement clear() method which removes the
2298         change handler on the ListBox, clears the ListBox and clears the
2299         DataPanel.
2300         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2301         Implement methods with document title. Keep track for the configured
2302         glom documents and their corresponding JDBC configurations in a hash
2303         table. This information is retrieved using the document title as the
2304         key in the hash table.
2305         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2306         document title field as it's no longer needed.
2307
2308 2011-04-08  Ben Konrath  <ben@bagu.org>
2309
2310         Update the Eclipse JDT configuration.
2311
2312         * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
2313         methods. Automatically add the copyright header to new files.
2314
2315 2011-04-05  Ben Konrath  <ben@bagu.org>
2316
2317         Add new page for demo selection.
2318
2319         This patch adds all the components required to view and start an
2320         OnlineGlom demo by clicking on the desired hyperlink. The user is
2321         able to return to the demo selection page with the browser's back
2322         button. I still need to modify the servlet to work with multiple
2323         documents so all demo links will load the file defined in the
2324         OnlineGlom.properties.
2325
2326         * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
2327         This is only useful during development so we don't need to save it.
2328         * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
2329         get a reference to the DemoSelectionView.
2330         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
2331         method to get a reference to the DemoSelectionView.
2332         * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
2333         default view to DemoSelectionView.
2334         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
2335         to get glom document titles for glom files in a hard-coded directory.
2336         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2337         method to get glom document titles for glom files in a hard-coded
2338         directory.
2339         * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
2340         Presenter for DemoSelectionView.
2341         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
2342         for DemoSelectionView.
2343         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2344         Update for DemoSelectionView.
2345         * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
2346         Basic 'Place' implementation for the DemoSelectionView.
2347         * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
2348         The interface for the DemoSelectionView.
2349         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
2350         The implementation of the DemoSelectionView.
2351         * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
2352         The GWT UiBuilder xml file used in DemoSelectionViewImpl.
2353         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2354         implementation of method to get glom document titles for glom files
2355         in a hard-coded directory.
2356         * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
2357         on longer being used.
2358         * src/main/webapp/glom.png: Glom logo.
2359
2360 2011-04-05  Ben Konrath  <ben@bagu.org>
2361
2362         Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
2363
2364         This is the forth and final commit of a refactor that will allow
2365         OnlineGlom to be used with multiple documents.
2366
2367         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2368         Move RPC code from OnlineGlomViewImpl to this class.
2369         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
2370         to inferface.
2371         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
2372         RPC code to the presenter class (the P in MVP).
2373
2374 2011-04-04  Ben Konrath  <ben@bagu.org>
2375
2376         Start moving the existing OnlineGlom code to MVP.
2377
2378         This work is based on the GWT MVP framework that is documented here:
2379
2380         https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
2381
2382         This is the third commit of a refactor that will allow OnlineGlom to
2383         be used with multiple documents.
2384
2385         * src/main/java/org/glom/web/client/ClientFactory.java: New file.
2386         Interface for client factory which is used to get instances of various
2387         classes throughout the app.
2388         * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
2389         Implementation of client factory.
2390         * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
2391         initialize the MVP framework.
2392         * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2393         New file. Activity manager for the main container widget. This is the
2394         Presenter in MVP.
2395         * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
2396         Maps place (URL) to its corresponding activity.
2397         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2398         New file. This is just a place holder for a generated file.
2399         * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
2400         New file. Represents the URL for the main Online Glom app.
2401         * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
2402         for changes in LayoutListViewImpl.
2403         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
2404         interface for View. Move code to OnlineGlomViewImpl class.
2405         * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
2406         file. Implementation of OnlineGlomView.
2407         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
2408         Place resources. Use ClientFactoryImpl by default.
2409
2410 2011-04-04  Ben Konrath  <ben@bagu.org>
2411
2412         Move View classes to their own package.
2413
2414         This is the second commit of a refactor that will allow OnlineGlom to
2415         be used with multiple documents.
2416
2417         * src/main/java/org/glom/web/client/OnlineGlom.java:
2418         * src/main/java/org/glom/web/client/ui/LayoutListView.java:
2419         * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
2420
2421 2011-04-02  Ben Konrath  <ben@bagu.org>
2422
2423         Move UI code from the main module to its own class.
2424
2425         This is the first commit of a refactor that will allow OnlineGlom to be
2426         used with multiple documents.
2427
2428         * src/main/java/org/glom/web/client/LayoutListView.java: Update
2429         references to OnlineGlom to OnlineGlomView.
2430         * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
2431         OnlineGlomView and instantiate it here.
2432         * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
2433         represents the main OnlineGlomView with one document.
2434
2435 2011-04-01  Ben Konrath  <ben@bagu.org>
2436
2437         Fix formatting of gwt.xml and add DTD.
2438
2439         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2440
2441 2011-03-30  Ben Konrath  <ben@bagu.org>
2442
2443         Propperly convert gdkColor string to html colour string.
2444
2445         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2446
2447 2011-03-28  Ben Konrath  <ben@bagu.org>
2448
2449         Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
2450
2451         This implementation matches
2452         OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
2453         readable and is not tied to Swig.
2454
2455         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2456
2457 2011-03-28  Ben Konrath  <ben@bagu.org>
2458
2459         Use read-only checkboxes for boolean field types.
2460
2461         * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
2462         in the CellTable based on the field type. It currently only
2463         distinguishes between boolean and text columns but I'll need to add
2464         support for more types.
2465         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2466         column type in the ColumnInfo object. Add method to convert between the
2467         glom field type enum in ColumnInfo and the glom field type in libglom.
2468         * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
2469         field type.
2470         * src/main/java/org/glom/web/shared/GlomField.java: Add support for
2471         getting and setting booleans.
2472
2473 2011-03-25  Ben Konrath  <ben@bagu.org>
2474
2475         Don't get the Date twice from the ResultSet.
2476
2477         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2478
2479 2011-03-25  Ben Konrath  <ben@bagu.org>
2480
2481         Cleanup code in the servlet.
2482
2483         * TODO: Remove item about row count. Add item about testing row count
2484         query with large number of rows.
2485         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
2486         spelling mistakes, change method parameter to be consistent with
2487         other methods.
2488
2489 2011-03-25  Ben Konrath  <ben@bagu.org>
2490
2491         Add server side logging with the gwt-log library.
2492
2493         * .gitignore: Ignore the log file we're now producing.
2494         * TODO: Add a couple TODO item for logging.
2495         * pom.xml: Add gwt-log and log4j as a dependency.
2496         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2497         logging of errors, warnings and some important info.
2498         * src/main/resources/log4j.properties: New file to configure log4j.
2499
2500 2011-03-24  Ben Konrath  <ben@bagu.org>
2501
2502         Add a disable button for the Details view.
2503
2504         * src/main/java/org/glom/web/client/LayoutListView.java:
2505
2506 2011-03-22  Ben Konrath  <ben@bagu.org>
2507
2508         Use a count query to get the number of rows for the list view pager.
2509
2510         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2511
2512 2011-03-22  Ben Konrath  <ben@bagu.org>
2513
2514         Add more TODO information about CellTable pager positioning. 
2515
2516         * TODO:
2517
2518 2011-03-19  Ben Konrath  <ben@bagu.org>
2519
2520         Add TODO item about CellTable pager positioning.
2521
2522         * TODO:
2523
2524 2011-03-18  Ben Konrath  <ben@bagu.org>
2525
2526         Remove unneeded GlomFieldColumn class.
2527
2528         This is just a small code cleanup.
2529
2530         * src/main/java/org/glom/web/client/LayoutListView.java:
2531
2532 2011-03-18  Ben Konrath  <ben@bagu.org>
2533
2534         Use cursor mode in the query that gets data for the list view.
2535
2536         I still need to fix the potential memory problem when getting the row
2537         count for the list view.
2538
2539         * TODO: Add note about testing memory usage with large data sets. Add
2540         item about fixing row counting with large data sets.
2541         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
2542         PostgreSQL JDBC driver into cursor mode when getting data for the
2543         list view.
2544
2545 2011-03-15  Ben Konrath  <ben@bagu.org>
2546
2547         Remove the GWT Container from the Eclipse build classpath.
2548
2549         The GWT dependencies are set by Maven so this isn't needed.
2550
2551         * .classpath:
2552
2553 2011-03-15  Murray Cumming  <murrayc@murrayc.com>
2554
2555         Added some earlier mockups to git, but not to the tarball dist.
2556
2557         * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
2558         Openismus. These hopefully show how we might structure the HTML so that
2559         it can be styled easily with CSS. However, we probably need to adapt them
2560         for the CSS structure that GWT dictates for common widgets.
2561
2562 2011-03-14  Ben Konrath  <ben@bagu.org>
2563
2564         Locate OnlineGlom.properties using the ServletContext.
2565
2566         This is required to be able to locate the file in the deployed servlet.
2567
2568         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2569         Configure the database and glom document in in a helper method so
2570         that the ServletContext can be used to locate OnlineGlom.properties.
2571         * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
2572         src/main/webapp. This is the proper location for .properites files.
2573
2574 2011-03-12  Ben Konrath  <ben@bagu.org>
2575
2576         Add note to README about why we're compiling down to obfuscated JavaScript.
2577
2578         * README:
2579
2580 2011-03-11  Ben Konrath  <ben@bagu.org>
2581
2582         Use properties file to configure servlet.
2583
2584         This allows people to change the glom file path, db username and db
2585         password without recompiling the code.
2586
2587         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2588         * src/main/webapp/OnlineGlom.properties:
2589
2590 2011-03-11  Ben Konrath  <ben@bagu.org>
2591
2592         Use table fields in layout list view if the layout list is not defined.
2593
2594         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2595         Manually create a LayoutFieldVector for the query builder using the
2596         table fields when a layout list is not defined in the glom file.
2597
2598 2011-03-11  Ben Konrath  <ben@bagu.org>
2599
2600         Only show FIXME string for images when there's an image.
2601
2602         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
2603         in this change are some small code cleanups.
2604
2605 2011-03-11  Ben Konrath  <ben@bagu.org>
2606
2607         Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
2608
2609         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2610
2611 2011-03-11  Ben Konrath  <ben@bagu.org>
2612
2613         Correctly set the index of the default table.
2614
2615         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2616         Correctly set the index of the default table. Add commented out example
2617         file paths.
2618
2619 2011-03-10  Ben Konrath  <ben@bagu.org>
2620
2621         Add comment to pom.xml about the previous change.
2622
2623         * pom.xml: Add comment about the deployment issue so that it's obvious
2624         why java-libglom is set to the provided scope.
2625
2626 2011-03-10  Ben Konrath  <ben@bagu.org>
2627
2628         Change java-libglom dependency from compile to provided in pom.xml.
2629
2630         Since java-libglom uses jni it can only be loaded once and therefore
2631         must be placed in $CATALINA_HOME/lib and not included in each war.
2632         This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
2633         More information about this issue can be found in the Tomcat 6 release
2634         notes in the "JNI Based Applications" section:
2635
2636         http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
2637
2638         * README: Remove note about this issue. Deployment info should really
2639         be on the wiki anyway so I'll add it right now.
2640         * pom.xml: Change java-libglom dependency from compile to provided so
2641         that it's copied in to the packaged war.
2642
2643 2011-03-09  Ben Konrath  <ben@bagu.org>
2644
2645         Change to using a neutral locale for currency, date and time formatting.
2646
2647         This solves the problem of currency values being represented without a
2648         space between the currency code and the number (e.g. "EUR5.89" is now
2649         represented as "EUR 5.89"). More work is required when we implement
2650         a locale preference setting.
2651
2652         * TODO: Add note about currency formatting issues with different
2653         locales.
2654         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2655         to using the neutral ROOT locale.
2656
2657 2011-03-09  Ben Konrath  <ben@bagu.org>
2658
2659         Add support for currency codes that are not ISO 4217 codes.
2660
2661         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2662         the currency code defined in the glom file when it's not 3 characters
2663         long or when Java doesn't recognize the string as an ISO 4217 code.
2664
2665 2011-03-08  Ben Konrath  <ben@bagu.org>
2666
2667         Remove test classes, launch configurations and configuration.
2668
2669         The test stuff was getting in the way when creating the war. To make
2670         the war file you can now do 'mvn clean package'. The packaged war file
2671         will be in the target directory.
2672
2673         * .classpath: Remove unused classpathentry for tests and i18n.
2674         * pom.xml: Remove junit.jar dependency. Properly use gwt.version
2675         property. Don't run test or i18n goals when packaging the war.
2676         * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
2677         formatting.
2678
2679         Removed files:
2680
2681         * OnlineGlomTest-dev.launch:
2682         * OnlineGlomTest-prod.launch:
2683         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
2684         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2685
2686 2011-03-07  Ben Konrath  <ben@bagu.org>
2687
2688         Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
2689
2690         These fixes allow me to use 'mvn deploy' to create the war file.
2691
2692         * .classpath: This generated config has been updated by Eclipse. This
2693         change was probably triggered by me updating from Eclipse 3.6.1 to
2694         3.6.2.
2695         * .gitignore: Add entry to ignore the directory
2696         src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
2697         * .project: The generated config has been updated by Eclipse. This
2698         change was probably triggered by me updating from Eclipse 3.6.1 to
2699         3.6.2.
2700         * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
2701         so that Eclipse doesn't complain
2702         * pom.xml: Update to gwt-maven-plugin 2.2.0.
2703         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
2704         'tests' directory to 'client' directory. This is the new
2705         gwt-maven-plugin convension.
2706         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
2707         refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
2708
2709 2011-03-07  Ben Konrath  <ben@bagu.org>
2710
2711         Add support for horizontal alignment in the LayoutList columns.
2712
2713         * TODO: Remove item about horizontal alignment. Add item about
2714         improvements to ColumnInfo.
2715         * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
2716         alignment on the columns. Use ColumnInfo RPC object get the column
2717         title and horizontal alignment.
2718         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2719         LayoutListView creation with ColumnInfo RPC object.
2720         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2721         a ColumnInfo object for every LayoutList columnn. Convert the
2722         FieldFormatting.HorizontalAlignment to the correct
2723         ColumnnInfo.HorizontatlAlignment with the new
2724         getColumnInfoHorizontalAlignment helper method.
2725         * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
2726         to encapsulate column information like alignment and title. This
2727         could be used to set the colour instead of on a per cell field basis.
2728         * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
2729         column title storage and retrieval with ColumnInfo.
2730
2731 2011-03-04  Ben Konrath  <ben@bagu.org>
2732
2733         Add support for column sorting.
2734
2735         * src/main/java/org/glom/web/client/LayoutListView.java: Change
2736         AsynDataProvider to be an anonymous inner class. Use new
2737         getSortedTableData RPC method when column sort is requested. Set all
2738         columns sortable and add an AsyncHandler to activate sorting in the
2739         AsyncDataProvider.
2740         * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
2741         method getSortedTableData(). Cleanup other method signatures.
2742         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2743         new method getSortedTableData(). Cleanup other method signatures.
2744         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2745         Implement getSortedTableData() and getTableData() methods by using a
2746         private helper method with the appropriate parameters filled in. Use
2747         user supplied sort clause when supplied, otherwise fall back to
2748         sorting by the primary key. Move destroy() method to be underneath
2749         constructor for readability.  Cleanup comments.
2750
2751 2011-03-03  Ben Konrath  <ben@bagu.org>
2752
2753         Add support for colour text and colour backgrounds to the layout list cells.
2754
2755         Only the cell backgrounds are coloured which leaves a gap between the
2756         cells that isn't coloured. I need to figure out a way to set
2757         'style=background-colour:' on the whole column rather than just the
2758         cell.
2759
2760         * TODO: Add a note about colouring the background of the whole column.
2761         * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2762         column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2763         render the coloured text and backgrounds. Use GlomField[] for the row type.
2764         * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2765         for the row type.
2766         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2767         GlomField[] for the row type.
2768         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2769         GlomField[] for the row type. Set the text, text colour and background
2770         colour in the GlomField objects as specified in the glom document. Add
2771         method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2772         * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2773         the glom field text, foreground colour and background colour.
2774
2775 2011-03-02  Ben Konrath  <ben@bagu.org>
2776
2777         Don't display hidden tables in the combo box.
2778
2779         * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2780         ArrayLists.
2781         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2782         code to ignore hidden tables using ArrayLists for the table names and
2783         titles.
2784         * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2785         tableNames to use ArrayLists instead of String[]. Update getter and setter
2786         methods.
2787
2788 2011-03-01  Ben Konrath  <ben@bagu.org>
2789
2790         Add support for Date and Time number types.
2791
2792         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2793         Implement formatting for Date and Time values. Change the default glom
2794         file to small business example.
2795
2796 2011-03-01  Ben Konrath  <ben@bagu.org>
2797
2798         Add support for formatting glom types as specified in the glom file.
2799
2800         Formatting isn't finished yet - I still need to add support for Date
2801         and Time values.
2802
2803         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2804         formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2805         checks for null values in JDBC cleanup code and catch all exceptions
2806         instead of just SQLExceptions.
2807         * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2808         method name.
2809
2810 2011-03-01  Ben Konrath  <ben@bagu.org>
2811
2812         Use GWT 2.2.0 instead of 2.1.1.
2813
2814         * pom.xml: Change GWT version numbers.
2815
2816 2011-03-01  Ben Konrath  <ben@bagu.org>
2817
2818         A few small code cleanups.
2819
2820         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2821         duplicate for loop.
2822         * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2823         unnecessary object creation in constructor.
2824         * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2825         unnecessary object creation in constructor.
2826
2827 2011-02-28  Ben Konrath  <ben@bagu.org>
2828
2829         Add file for TODO list.
2830
2831         * TODO: New file.
2832
2833 2011-02-18  Ben Konrath  <ben@bagu.org>
2834
2835         Enable the CellTable Pager when more than 20 rows need to be viewed.
2836
2837         The Pager will automatically become active when the results are larger
2838         than the CellTable size which is currently set to 20 lines.
2839
2840         * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2841         name on debug statment in RPC call in LayoutListDataProvider, add
2842         numRows parameter to LayoutListView constructor, propperly set rowCount
2843         in CellTable.
2844         * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2845         name on debug statment in RPC call, use LayoutListTable object in RPC
2846         calls, pass rowCount to LayoutListView.
2847         * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2848         getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2849         object.
2850         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2851         interface for changes in OnlineGlomService.
2852         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2853         getLayoutListHeaders() to getLayoutListTable() and return
2854         LayoutListTable. Using this object allows me to pass other information
2855         about the LayoutList like the expected number of rows in the result set.
2856         The Connection object from the connection pool is now propperly closed.
2857         Only the requested number of lines are returned to the client in
2858         getTableData().
2859         * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2860         GlomTable and add columnTitles and numRows.
2861
2862 2011-02-18  Ben Konrath  <ben@bagu.org>
2863
2864         Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2865
2866         This is a small performance boost. I'll use GlomTable to get the required
2867         layoutlist information.
2868
2869         * src/main/java/org/glom/web/client/OnlineGlom.java:
2870         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2871         * src/main/java/org/glom/web/shared/GlomDocument.java:
2872
2873 2011-02-18  Ben Konrath  <ben@bagu.org>
2874
2875         Add option to turn off formatting in JDT formatter preferences.
2876
2877         * .settings/org.eclipse.jdt.core.prefs:
2878
2879 2011-02-18  Ben Konrath  <ben@bagu.org>
2880
2881         Rename LayoutList to LayoutListView.
2882
2883         I'm working towards setting things up to easily use MVP when the time
2884         comes.
2885
2886         * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2887         LayoutList.java.
2888         * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2889         references.
2890
2891 2011-02-17  Ben Konrath  <ben@bagu.org>
2892
2893         Move LayoutListDataProvider class into LayoutList.java.
2894
2895         * src/main/java/org/glom/web/client/LayoutList.java:
2896
2897 2011-02-17  Ben Konrath  <ben@bagu.org>
2898
2899         Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2900
2901         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2902         references.
2903         * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2904         * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2905         from LibGlomServer.java.
2906         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2907         Rename from LibGlomServiceAsync.java.
2908         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2909         Rename from LibGlomServiceImpl.java.
2910         * src/main/webapp/WEB-INF/web.xml: Update configuration.
2911
2912 2011-02-17  Ben Konrath  <ben@bagu.org>
2913
2914         Update JDT settings.
2915
2916         * .settings/org.eclipse.jdt.core.prefs:
2917
2918 2011-02-17  Ben Konrath  <ben@bagu.org>
2919
2920         Move GWT-RPC objects to shared package (where they should be).
2921
2922         * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2923         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2924         * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2925         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2926         * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2927         org.glom.web.shared package.
2928         * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2929         org.glom.web.shared package.
2930         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2931         directory in compilation to javascript.
2932
2933 2011-02-16  Ben Konrath  <ben@bagu.org>
2934
2935         Add sort clause to the sql query that grabs table information.
2936
2937         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2938         if one of the columns is a primary key.
2939
2940 2011-02-16  Ben Konrath  <ben@bagu.org>
2941
2942         Disable generateAsync feature of gwt-maven.
2943
2944         The generated interface does not correctly match the methods in LibGlomService
2945         and the generated singleton Util inner-class doesn't respect the servlet
2946         mappings.
2947
2948         * pom.xml: Turn off generateAsync feature.
2949         * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2950         with singleton Util inner-class.
2951
2952 2011-02-14  Ben Konrath  <ben@bagu.org>
2953
2954         Add LGPL v3 licence notices.
2955
2956         Followed directions listed here:
2957         http://www.gnu.org/licenses/gpl-howto.html
2958
2959         * COPYING: This file is a copy of the GPL v3.
2960         * COPYING.LESSER: This file is a copy of the LGPL v3.
2961         * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2962         notice.
2963         * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2964         notice.
2965         * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2966         notice.
2967         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2968         licence notice.
2969         * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2970         notice.
2971         * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2972         notice.
2973         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2974         licence notice.
2975
2976 2011-02-14  Ben Konrath  <ben@bagu.org>
2977
2978         Use ArrayList instead of Array in GWT-RPC calls.
2979
2980         Apparently this gives a slight performance boost to the compiled
2981         java script.
2982
2983         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2984         instead of Array.
2985         * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2986         of Array.
2987
2988 2011-02-14  Ben Konrath  <ben@bagu.org>
2989
2990         Access data from a postgres db rather than the example glom file.
2991
2992         * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2993         compile down to obfuscated javascript.
2994         * pom.xml: Add c3p0 and postgres JDBC libraries.
2995         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2996         using a postgres db accessed through the c3p0 connection pooling library.
2997
2998 2011-02-14  Ben Konrath  <ben@bagu.org>
2999
3000         Update Java formatter settings.
3001
3002         * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
3003
3004 2011-02-02  Ben Konrath  <ben@bagu.org>
3005
3006         Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
3007
3008         * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
3009         using Maven.
3010         * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
3011         the compiled webapp directory that Eclipse uses as we're using Maven now.
3012         * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
3013         * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
3014         to 1.6.
3015         * pom.xml: Format file, change target Java version to 1.6.
3016
3017 2011-02-02  Ben Konrath  <ben@bagu.org>
3018
3019         Add information about a deployment related issue.
3020
3021         * README: Add Notes section with the problem outlined.
3022
3023 2011-02-02  Ben Konrath  <ben@bagu.org>
3024
3025         Call Glom.libglom_deinit() when the servlet is shutdown.
3026
3027         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
3028         Glom.libglom_deinit() to destroy() method.
3029
3030 2011-01-28  Ben Konrath  <ben@bagu.org>
3031
3032         Use generated Util class to get the RPC Async interface.
3033
3034         * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
3035         file.
3036         * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
3037         getInstance() method to get a reference to the RPC Async interface.
3038         * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
3039         getInstance() method to get a reference to the RPC Async interface, remove
3040         the now unused getLibGlomServiceProxy() method.
3041
3042 2011-01-27  Ben Konrath  <ben@bagu.org>
3043
3044         Cleanup ChangeLog entry from previous commit.
3045
3046         * ChangeLog: Group logical changes together and add comments.
3047
3048 2011-01-25  Ben Konrath  <ben@bagu.org>
3049
3050         Convert to gwt-maven project.
3051
3052         * .gitignore: Update for new project structure.
3053         * README: New file with a link to the online documentation.
3054         * pom.xml: The generated maven configuration file with some tweaks.
3055
3056         Add / update Eclipse settings. These files are a merge of the files that
3057         were generated with the gwt-maven plugin and the files we were previously
3058         using.
3059         * .classpath:
3060         * .project:
3061         * .settings/.jsdtscope:
3062         * .settings/com.google.gdt.eclipse.core.prefs:
3063         * .settings/com.google.gwt.eclipse.core.prefs:
3064         * .settings/org.eclipse.jdt.core.prefs:
3065         * .settings/org.eclipse.wst.common.component:
3066         * .settings/org.eclipse.wst.common.project.facet.core.xml:
3067         * .settings/org.eclipse.wst.jsdt.ui.superType.container:
3068         * .settings/org.maven.ide.eclipse.prefs:
3069         * OnlineGlomTest-dev.launch:
3070         * OnlineGlomTest-prod.launch:
3071
3072         Java source files moved from the 'src' directory to the directory structure
3073         required by maven.
3074         * src/main/java/org/glom/web/client/GlomDocument.java:
3075         * src/main/java/org/glom/web/client/GlomTable.java:
3076         * src/main/java/org/glom/web/client/LayoutList.java:
3077         * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
3078         * src/main/java/org/glom/web/client/LibGlomService.java:
3079         * src/main/java/org/glom/web/client/OnlineGlom.java:
3080         * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
3081
3082         Non-functional property file used for translations. I included this as
3083         reminder that it's something I need to sort out.
3084         * src/main/resources/org/glom/web/client/Messages.properties:
3085
3086         The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
3087         * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
3088
3089         The servlet configuration files moved from the 'war' directory.
3090         * src/main/webapp/OnlineGlom.css:
3091         * src/main/webapp/OnlineGlom.html:
3092         * src/main/webapp/WEB-INF/web.xml:
3093
3094         Generated test files with most of the code commented out. I included these
3095         so that it's easy to add tests when we're ready for them.
3096         * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
3097         * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
3098
3099 2011-01-25  Ben Konrath  <ben@bagu.org>
3100
3101         Remove unused println.
3102
3103         * src/org/glom/web/server/LibGlomServiceImpl.java:
3104
3105 2011-01-25  Ben Konrath  <ben@bagu.org>
3106
3107         Add project specific JDT settings.
3108
3109         * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
3110         * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
3111
3112 2011-01-25  Ben Konrath  <ben@bagu.org>
3113
3114         Populate celltable with example data.
3115
3116         * src/org/glom/web/client/GlomDocument.java: Correct formatting.
3117         * src/org/glom/web/client/GlomTable.java: Correct formatting.
3118         * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
3119         add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
3120         * src/org/glom/web/client/LayoutListDataProvider.java: New file,
3121         asynchronously gets the example data.
3122         * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
3123         * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
3124         * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
3125         curently selected table to be retrieved by other widgets.
3126         * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
3127         implement getTableData() in a hacky way. This method needs to be updated
3128         to grab information from the database when database creating is
3129         implemented.
3130
3131 2011-01-20  Ben Konrath  <ben@bagu.org>
3132
3133         Set table headers when table dropBox changes.
3134
3135         * src/org/glom/web/client/GlomDocument.java: Correct some method
3136         names.
3137         * src/org/glom/web/client/LibGlomService.java: Add method
3138         to get list layout field names.
3139         * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
3140         to get list layout field names.
3141         * src/org/glom/web/client/ListLayoutTable.java: New file - composite
3142         widget for list layout table.
3143         * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
3144         the table drop box and add new updateTable() method to asynchronously
3145         get the layout list field names for the currently selected table.
3146         * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
3147         implementation of getLayoutListHeaders() method.
3148         * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
3149
3150 2011-01-18  Ben Konrath  <ben@bagu.org>
3151
3152         Make a listBox with table titles instead of the flexTable demo.
3153
3154         This is the start of something more useful.
3155
3156         * .classpath: Exclude a bunch of packages from the JVM that are
3157         getting in the way of the Eclipse content assist.
3158         * src/org/glom/web/client/GlomDocument.java:
3159         * src/org/glom/web/client/GlomTable.java:
3160         * src/org/glom/web/client/LibGlomService.java:
3161         * src/org/glom/web/client/LibGlomServiceAsync.java:
3162         * src/org/glom/web/client/OnlineGlom.java:
3163         * src/org/glom/web/server/LibGlomServiceImpl.java:
3164         * war/OnlineGlom.html:
3165         * war/WEB-INF/web.xml:
3166
3167 211-01-13  Ben Konrath  <ben@bagu.org>
3168
3169         Update to new java-libglom API.
3170
3171         * .gitignore: Ignore OnlineGlom.war.
3172         * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
3173
3174 2010-12-20  Ben Konrath  <ben@bagu.org>
3175
3176         Add some basic style to the table listing.
3177
3178         * src/org/glom/web/client/OnlineGlom.java: Add style to the table
3179         header, print useful error message on async callback failure.
3180         * war/OnlineGlom.css: Add style for table header, remove defaults
3181         provided by the Eclipse project wizard.
3182
3183 2010-12-20  Ben Konrath  <ben@bagu.org>
3184
3185         Load example file from installed glom dir.
3186
3187         * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
3188         provided by java-libglom to find the example file.
3189
3190 2010-12-20  Ben Konrath  <ben@bagu.org>
3191
3192         Update Eclipse settings.
3193
3194         * .classpath:
3195         * .settings/com.google.gdt.eclipse.core.prefs:
3196         * .settings/com.google.gwt.eclipse.core.prefs:
3197
3198 2010-12-17  Ben Konrath  <ben@bagu.org>
3199
3200         Initial commit.
3201
3202         * .classpath: New file.
3203         * .gitignore: New file.
3204         * .project: New file.
3205         * .settings/com.google.gdt.eclipse.core.prefs: New file.
3206         * .settings/com.google.gwt.eclipse.core.prefs: New file.
3207         * src/org/glom/web/OnlineGlom.gwt.xml: New file.
3208         * src/org/glom/web/client/GlomTable.java: New file.
3209         * src/org/glom/web/client/OnlineGlom.java: New file.
3210         * src/org/glom/web/client/TableNameService.java: New file.
3211         * src/org/glom/web/client/TableNameServiceAsync.java: New file.
3212         * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
3213         * war/OnlineGlom.css: New file.
3214         * war/OnlineGlom.html: New file.
3215         * war/WEB-INF/web.xml: New file.
3216         * war/images/glom.png: New file.