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