AsyncMessage onFailure() callbacks: Log the exception message.
[online-glom:gwt-glom.git] / ChangeLog
1 2012-05-06  Murray Cumming  <murrayc@murrayc.com>
2
3         AsyncMessage onFailure() callbacks: Log the exception message.
4
5         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
6         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
7         * src/main/java/org/glom/web/client/activity/ListActivity.java:
8         * src/main/java/org/glom/web/client/activity/ReportActivity.java:
9         * src/main/java/org/glom/web/client/activity/TableSelectionActivity:
10         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
11         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
12         These are useful clues when something is wrong.
13
14 2012-05-06  Murray Cumming  <murrayc@murrayc.com>
15
16         ConfiguredDocument: Avoid a null dereference.
17
18         * src/main/java/org/glom/web/server/ConfiguredDocument.java
19         TableLayoutsForLocale.getMapWithAdd(): Make sure that the list and 
20         details maps are created.
21
22 2012-05-06  Murray Cumming  <murrayc@murrayc.com>
23
24         Document: Correct the port number parsing.
25
26         * src/main/java/org/glom/web/server/libglom/Document.java:
27         This lets us actually connect to the database and show the document.
28
29 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
30
31         Fix mvn gwt:test
32
33         * pom.xml: Use htmlunit mode for gwt:test, because the default demands
34         user-interaction, asking us to load a temporary URL in a browser.s
35         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add a servlet node,
36         which is apparently necessary for testing the service. See the comment.
37         * src/test/java/org/glom/web/client/GwtTestOnlineGlomService.java: 
38         Show the exception, if any. This is how I saw the 404 in the HTML in 
39         the exception.
40
41 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
42
43         DocumentTest: Move the .glom files into the resources directory.
44
45         * src/test/java/org/glom/web/server/libglom/DocumentTest: And get the
46         URI via getResource().
47
48 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
49
50         Document: Remove the FieldIdentifies inner class.
51
52         * src/main/java/org/glom/web/server/libglom/Document.java: We only
53         use the Relationship (though the same function in libglom is maybe
54         used in other ways) and so this removes a compiler warning.
55
56 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
57
58         Document.load() Remove the error code parameter.
59
60         * src/main/java/org/glom/web/server/libglom/Document.java: load():
61         Remove the parameter. We do not set it yet and it could never have
62         worked as an output parameter (though maybe it did in java-libglom).
63         We could use an exception if we really want the failure reason.
64         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
65         init():
66         * src/test/java/org/glom/web/server/libglom/DocumentTest.java:
67         setUp(), testGetSuitableTableToViewDetails(): Adapt.
68
69 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
70
71         Make some inner classes static.
72
73         * src/main/java/org/glom/web/server/ConfiguredDocument.java
74         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
75         * src/main/java/org/glom/web/server/ReportGenerator.java
76         * src/main/java/org/glom/web/server/libglom/Document.java
77         Make all inner classes static that can be static.
78
79 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
80
81         OnlineGlomServiceImpl: Do not load and check for java-libglom.
82
83         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
84         init(): We do not use java-libglom any more.
85
86 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
87
88         Remove mentions of java-libglom.
89
90         * README: Remove mention of java-libglom, because it no longer needed.
91         * utils/build-onlineglom-war.sh:
92         * utils/check-and-recover-tomcat.py:
93         * utils/install-onlineglom-war.sh: Remove these as they are no longer
94         useful. Building is now far easier, with no need for jhbuild.
95
96 2012-05-05  Murray Cumming  <murrayc@murrayc.com>
97
98         Fix the build (mvn package)
99
100         * src/main/java/org/glom/web/shared/libglom/layout/LayoutGroup.java
101         (LayoutGroup): Make the LayoutItemList inner class static and protected.
102         Otherwise the GWT Java->Javascript compilation fails with just this
103         error, during mvn package or when attempting to view in a browser, 
104         in the GWT developer mode in Eclipse.
105
106         [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ gwt-glom ---
107         [INFO] auto discovered modules [org.glom.web.OnlineGlom]
108         [INFO] Compiling module org.glom.web.OnlineGlom
109         [INFO]    [ERROR] Errors in 'file:/home/murrayc/checkouts/gnome/gwt-glom/src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java'
110         [INFO]       [ERROR] Line 46:  Failed to resolve 'org.glom.web.client.OnlineGlomService' via deferred binding
111         [INFO]    Scanning for additional dependencies: file:/home/murrayc/checkouts/gnome/gwt-glom/src/main/java/org/glom/web/client/ui/details/DetailsCell.java
112         [INFO]       [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
113         [INFO]          [WARN] org.glom.web.client.OnlineGlomService_Proxy
114         [INFO]    [ERROR] Cannot proceed due to previous errors
115
116         It has taken me 2 days to find out what was causing that. After reducing
117         the code, the compiler eventually showed me the full error message.
118
119 2012-05-04  Murray Cumming  <murrayc@murrayc.com>
120
121         ConfiguredDocument: Cache the cloned and stripped layouts.
122
123         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
124         getValidListViewLayoutGroup(), .getDetailsLayoutGroup(): Store the cloned
125         layout in a map, so we can retrieve it again without rebuilding it.
126
127 2012-05-04  Murray Cumming  <murrayc@murrayc.com>
128
129         UsesRelationshipImpl: Complete the relationshipEquals() implementation.
130
131 2012-05-04  Murray Cumming  <murrayc@murrayc.com>
132
133         libglom classes: Implement some auto-generated emthods.
134
135 2012-05-04  Murray Cumming  <murrayc@murrayc.com>
136
137         Add GwtTestOnlineGlomService.
138
139         * src/test/java/org/glom/web/client/GwtTestOnlineGlomService.java:
140         However, this (and the other GwtTest*) does not seem to run during 
141         mvn test. 
142
143 2012-05-04  Murray Cumming  <murrayc@murrayc.com>
144
145         Remove use of unsupported features from client code.
146
147         * src/main/java/org/glom/web/client/StringUtils.java: Add equals().
148         * src/main/java/org/glom/web/shared/libglom/layout/UsesRelationshipImpl.java:
149         * src/main/java/org/glom/web/shared/libglom/layout/reportparts/LayoutItemGroupBy.java:
150         Use our client version of StringUtils instead of the apache commons one.
151         
152         However, the GWT Javascript compliation still fails.
153
154 2012-04-25  Murray Cumming  <murrayc@murrayc.com>
155
156         Add a Field class and implement some loading of it in Document.
157
158 2012-04-25  Murray Cumming  <murrayc@murrayc.com>
159
160         Initial Document loading implementation, instead of libglom.
161
162         * src/test/java/org/glom/web/shared/libglom/: Add Document, Report,
163         and Translatable classes, and adapt the rest of the code to use them.
164         However, this is still missing Layout and Field classes and loading.
165
166 2012-04-24  Murray Cumming  <murrayc@murrayc.com>
167
168         Use of jOOQ: Move Field creation into a utility method.
169
170         * src/main/java/org/glom/web/server/SqlUtils.java:
171         This lets us improve it more easily.
172
173 2012-04-24  Murray Cumming  <murrayc@murrayc.com>
174
175         Use of jOOQ: Improve the code to COUNT a sub-select.
176
177         * src/main/java/org/glom/web/server/SqlUtils.java:
178         Move initial query creation into 
179         build_sql_select_step_with_where_clause().
180         build_sql_select_count_rows(): Use the jOOQ API instead of
181         concatentating text, because a jOOQ Select*Step is a TableLike,
182         which is what from() takes.
183
184 2012-04-23  Murray Cumming  <murrayc@murrayc.com>
185
186         Use jOOQ instead of Glom.build_sql*(), to avoid native calls.
187
188         * pom.xml: Depend on jooq.
189         * src/main/java/org/glom/web/server/SqlUtils.java: Reimplement the
190         methods with jOOQ, based on the C++ implementations in libglom,
191         with some changes to the logic required by jooQ.
192         Take a jOOQ Condition rather than a Glom.SqlExpr (GdaSqlExpr) for the
193         where clause.
194         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
195         * src/main/java/org/glom/web/server/ReportGenerator.java:
196         * src/main/java/org/glom/web/server/SqlUtils.java:
197         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
198         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
199         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
200         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
201         * src/main/java/org/glom/web/server/database/RelatedListNavigation:
202         Adapt. In particular, the SqlUtils methods now need to take a Connection,
203         because jOOQ needs that, though it seems unnecessary.
204
205         This is not quite finished. Ideally jOOQ would help us to build 
206         table_name.field_name names, quoting and escaping them properly.
207         See http://stackoverflow.com/questions/10264001/instantiating-a-jooq-field-by-name
208
209 2012-04-21  Murray Cumming  <murrayc@murrayc.com>
210
211         Move use of Glom.build_sql*() into a new SqlUtils class.
212
213         * src/main/java/org/glom/web/server/SqlUtils.java: Add static methods
214         to wrap Glom.build_sql*(). The parameter types are still Glom one,
215         but this will make it easier to start using something other than 
216         libglom or SqlBuilder.
217
218 2012-04-21  Murray Cumming  <murrayc@murrayc.com>
219
220         Update the project URL.
221
222         * pom.xml: Use an OnlineGlom-specific URL for the project URL.
223
224 2012-04-21  Murray Cumming  <murrayc@murrayc.com>
225
226         Main layout: Use a FlowTable instead of absolute positioning.
227
228         * src/main/java/org/glom/web/client/OnlineGlom.java: onModuleLoad():
229         The RootLayoutPanel is a (extends) AbsolutePanel, so each of its 
230         child panels/widgets must have an absolute position. But that is annoying, so
231         this adds a FlowTable and puts the child panels in there.
232
233 2012-04-21  Murray Cumming  <murrayc@murrayc.com>
234
235         GwtTestOnlineGlom: Comment out unused code.
236
237         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
238         Eclipse has started to say that some code is unused.
239
240 2012-04-21  Murray Cumming  <murrayc@murrayc.com>
241
242         Update to the latest versions of dependencies.
243
244         * pom.xml: Update version numbers of dependencies to the latest
245         versions.
246         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
247         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
248         * src/main/java/org/glom/web/server/ReportGenerator.java:
249         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
250         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
251         * src/main/java/org/glom/web/server/database/RelatedListNavigation.
252         java:
253         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
254         Modify the imports where necessary.
255
256 2012-04-17  Murray Cumming  <murrayc@murrayc.com>
257
258         Style: Remove overflow:hidden from searchbox
259
260         * src/main/webapp/style.css: Because this pushes the Back To Link
261         label/link on to the next row, which is then hidden due to the 
262         hard-coded (in ems) height.
263
264 2012-04-20  Murray Cumming  <murrayc@murrayc.com>
265
266         Remove some duplicate code.
267
268         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
269         getDocumentInfo(): This must have been duplicated during the merge from the
270         reports branch.
271
272 1.21.8.1:
273
274 2012-04-19  Murray Cumming  <murrayc@murrayc.com>
275
276         Reports: Localize the waiting for report message.
277
278         * src/main/java/org/glom/web/client/activity/ReportActivity.java
279         start(): Get the message from the contants.
280         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
281         Add the string here.
282         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
283         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
284         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
285         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
286         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
287         Update these files with the English text for newer strings for now.
288
289 2012-04-19  Murray Cumming  <murrayc@murrayc.com>
290
291         Reports: Show a message while waiting for the report.
292
293         * src/main/java/org/glom/web/client/ui/ReportView.java
294         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java:
295         Add setWaitingText(), to show a message saying that we are 
296         waiting for the report to be ready.
297         * src/main/java/org/glom/web/client/activity/ReportActivity.java
298         start(): Call setWaitingText() before calling the async
299         report generation.
300
301 2012-04-19  Murray Cumming  <murrayc@murrayc.com>
302
303         ReportGenerator: Specify date and time formats.
304
305         * src/main/java/org/glom/web/server/ReportGenerator.java:
306         createFieldValueElement(): Use the default (and localized)
307         short formats, though we still need a way to show 4-digit
308         years without providing the format for every locale.
309         * src/main/java/org/glom/web/server/database/DBAccess.java:
310         convertResultSetToDTO(): Use the short formats here too.
311
312 2012-04-18  Murray Cumming  <murrayc@murrayc.com>
313
314         ReportGenerator: Use the correct numeric formatting.
315
316         * src/main/java/org/glom/web/server/ReportGenerator.java
317         createFieldExpression(), createFieldValueElement(): Take the
318         whole LayoutItem_Field instead of just the field name, so
319         we have access to the formatting.
320         createFieldValueElement(): Use JRTextField.setPattern() to
321         specify the numeric formatting, with the help of a 
322         regular DecimalFormat.
323
324 2012-04-18  Murray Cumming  <murrayc@murrayc.com>
325
326         ReportGenerator: Avoid showing null for group by titles.
327
328         * src/main/java/org/glom/web/server/ReportGenerator.java
329         generateReport(): Use setBlankWhenNull() on the field title
330         style too, because this is used for values in group by
331         sections.
332
333 2012-04-18  Murray Cumming  <murrayc@murrayc.com>
334
335         ReportGenerator: Add a colon to titles in vertical groups.
336
337         * src/main/java/org/glom/web/server/ReportGenerator.java
338         addFieldToDetailBandVertical(): Pass true for the withColon
339         parameter.
340
341 2012-04-18  Murray Cumming  <murrayc@murrayc.com>
342
343         ReportGenerator: Simplify the code by using Position more.
344
345 2012-04-18  Murray Cumming  <murrayc@murrayc.com>
346
347         Reports: Support vertical groups, roughly.
348
349         * src/main/java/org/glom/web/server/ReportGenerator.java:
350         addToReport(): Rename to addGroupToReport() and, if necessary,
351         call the new addVerticalGroupToReport() method.
352         createFieldValueElement(): Let the caller specify the Y position
353         too.
354
355 2012-04-17  Murray Cumming  <murrayc@murrayc.com>
356
357         Reports: Allow a second report to be shown.
358
359         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java:
360         clear(): Do not remove the HTML widget, which broke the whole layout.
361
362 2012-04-17  Murray Cumming  <murrayc@murrayc.com>
363
364         Locales drop-down: Show that we use English by default.
365
366         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
367         fillView(): When we use English, just because that is the default, when
368         no locale is specified, show that in the Locales drop-down instead of 
369         just showing the first item.
370
371 2012-04-17  Murray Cumming  <murrayc@murrayc.com>
372
373         Unselect the Report/Locale/Table combo item when appropriate.
374
375         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
376         setPlace(): clear reportName if this is not a ReportPlace.
377         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
378         setSelectedTableName(), setSelectedLocale(), setSelectedReport():
379         When the provided name is empty, unselect all items, so that none are
380         indicated. This uses a for loop because I cannot find a single method
381         to do this.
382
383 2012-04-17  Murray Cumming  <murrayc@murrayc.com>
384
385         Report: Give the user a way to get back to the list.
386
387         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
388         start(), setPlace(): Show the Back To List link on reports, and also 
389         interpret selecting the empty report item as back to list.
390
391 2012-04-13  Murray Cumming  <murrayc@murrayc.com>
392
393         Really show the selected Report name.
394
395         * src/main/java/org/glom/web/client/activity/TableSelectionActivity:
396         setPlace(): Store the reportName here, if it is that kind of Place.
397         fillView(): Set the selected Report after filling the list of reports.
398         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
399         setSelectedLocale(), setSelectedReport(): Avoid possible uses of
400         null Strings, though we need some way to unselect all ListBox items
401         in that case.
402
403 2012-04-13  Murray Cumming  <murrayc@murrayc.com>
404
405         ReportGenerator: Try to avoid some problems.
406
407         * src/main/java/org/glom/web/server/ReportGenerator.java
408         addField(): Try to avoid duplicates, and avoid using a null
409         class type.
410
411 2012-04-13  Murray Cumming  <murrayc@murrayc.com>
412
413         Reports: Use quickFind.
414
415         * src/main/java/org/glom/web/client/OnlineGlomService.java;
416         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
417         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
418         getReportHTML(): Add a quickFind parameter.
419         * src/main/java/org/glom/web/client/activity/ReportActivity.java
420         start(): Pass the quickFind parameter.
421         * src/main/java/org/glom/web/server/ReportGenerator.java
422         generateReport(): Take a quickFind parameter.
423
424 2012-04-13  Murray Cumming  <murrayc@murrayc.com>
425
426         ReportPlace: Actually use the report name.
427
428         * src/main/java/org/glom/web/client/place/ReportPlace.java
429         getPlace(): Do not assign the report name to the quickfind.
430
431 2012-04-13  Murray Cumming  <murrayc@murrayc.com>
432
433         Show java.library.path when complaining.
434
435         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
436         init(): When telling us to check java.library.path, show the
437         current value.
438
439 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
440
441         ReportGenerator: Do not show nulls.
442
443 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
444
445         ReportGenerator: Make the title font larger.
446
447 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
448
449         ReportGenerator: Put field titles inside groups, if there are groups.
450
451 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
452
453         ReportGenerator: Take the Report itself instead of the name and group.
454
455         * src/main/java/org/glom/web/server/ConfiguredDocument.java
456         Remove getReportLayoutGroup().
457         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
458         getReportHTML(): Pass the report instead
459         of its name and layout group.
460         * src/main/java/org/glom/web/server/ReportGenerator.java
461         generateReport(): Use the report object to use the title 
462         instead of the name.
463
464 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
465
466         ReportGenerator: Remove designBand parameters.
467
468         * src/main/java/org/glom/web/server/ReportGenerator.java:
469         Make designBand a class member instead of passing it to all
470         methods.
471
472 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
473
474         ReportGenerator: Add lines, a bit like in the desktop version.
475
476         * src/main/java/org/glom/web/server/ReportGenerator.java
477         addToReport(): Use JRDesignLine.
478
479 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
480
481         ReportGenerator: Correct the title positions and use some bold style.
482
483         * src/main/java/org/glom/web/server/ReportGenerator.java:
484         Break the code up into reusable functions, correct the placement of 
485         titles, and use normal/bold styles as in the reports in the desktop 
486         version.
487
488 2012-03-06  Murray Cumming  <murrayc@murrayc.com>
489
490         ReportGenerator: Add a header band to show the field titles.
491
492         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
493         getReportHTML(): Pass the localeId to the ReportGenerator 
494         constructor.
495         * src/main/java/org/glom/web/server/ReportGenerator.java
496         constructor: Take the localeID so we can get translated field
497         titles.
498         generateReport(), addToReport(), addFieldToBand(): Add field 
499         titles in a column header band.
500
501 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
502
503         Reports drop-down list: Some improvement.
504
505         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
506         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
507         Adedd setSelectedReport(),
508         setReportList(): Add a blank line so that the user can select the 
509         first one.
510         * src/main/java/org/glom/web/client/activity/ReportActivity.java
511         start(): Show the current report by calling setSelectedReport().
512         This does not seem to work yet.
513
514 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
515
516         DetailsActivity, ListActivity: Move some variables into a base class.
517
518         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
519         * src/main/java/org/glom/web/client/activity/HasTableActivity.java:
520         * src/main/java/org/glom/web/client/activity/ListActivity.java: Move 
521         the clientFactory, documentID, tableName and authenticationPopup into
522         a base class, to avoid duplication.
523
524 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
525
526         Translate the Reports label.
527
528         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
529         Get the "Reports" label string from the constants.
530         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.pro
531         perties: Add Reports to the constants.
532
533 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
534
535         Reports: Implement grouping.
536
537         * src/main/java/org/glom/web/server/ReportGenerator.java:
538         Handle LayoutItem_GroupBy items and try to do the right thing
539         with JRDesignGroup. It seems to work.
540
541 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
542
543         Actually show some data with JasperReports.
544
545         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: 
546         getReportHTML(): Move most code into a ReportGenerator class.
547         * src/main/java/org/glom/web/server/ReportGenerator.java:
548         Recurse into sub-groups, adding fields to the JasperDesign's details
549         band. Note that we must set an arbitrary width and height, or it just
550         will not show any data.
551
552 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
553
554         Reports Chooser: Show the titles, not the names.
555
556         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
557         (TableSelectionViewImpl.setReportList): Show the titles in the UI,
558         and the names as the values.
559         * src/main/java/org/glom/web/server/ConfiguredDocument.java
560         (ConfiguredDocument.getReportLayoutGroup): Do not return a default
561         group now that we provide the report name, so it should always 
562         succeed.
563
564 2012-02-15  Murray Cumming  <murrayc@murrayc.com>
565
566         Depend on jasperreports.
567
568         * pom.xml: Add the dependency. My plan is to use this on the 
569         server side.
570
571 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
572
573         Implement navigation to report places.
574
575         * src/main/java/org/glom/web/client/activity/ReportActivity.java
576         start(): Do not bother to handle all events here.
577         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
578         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
579         Added getSelectedReport().
580         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
581         .java: start(): When handling a change to the reports chooser,
582         call getSelectedReport() and goTo() its ReportPlace.
583         * src/main/java/org/glom/web/client/ui/ReportView.java
584         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java:
585         Added setReportHTML() which puts the html in a gwt HTML widget.
586         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
587         getReportHTML(): Return "TODO" just to show that this works.
588
589 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
590
591         Make ReportPlace usable.
592
593         * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
594         Mention ReportPlace.
595         * src/main/java/org/glom/web/client/place/ReportPlace.java:
596         Correct the @prefix annotation.
597
598 2012-01-31  Murray Cumming  <murrayc@murrayc.com>
599
600         OnlineGlomService: Return report HTML rather than the LayoutGroup.
601
602         * src/main/java/org/glom/web/client/OnlineGlomService.java:
603         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
604         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
605         Change getReportLayout() to getReportHMTL() because we will not need to 
606         parse or render the report layout on the client side.
607         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
608         getReportLayout(): Return the libglom LayoutGroup type because we will
609         not need to convert to a shared type, because this will not be used on
610         the client side.
611         * src/main/java/org/glom/web/client/activity/ReportActivity.java:
612         Adapted.
613
614         Note that there is still no implementation for this.
615
616
617 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
618
619         Add a (empty) Report Place, View, and Activity.
620
621         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
622         Rename to:
623         * src/main/java/org/glom/web/client/place/HasTablePlace.java
624         * src/main/java/org/glom/web/client/place/ListPlace.java: Move some of
625         this into a superclass:
626         * src/main/java/org/glom/web/client/place/HasRecordsPlace.java
627         and also use it as the base of this new ReportPlace:
628         * src/main/java/org/glom/web/client/place/ReportPlace.java
629
630         * src/main/java/org/glom/web/client/ui/ReportView.java
631         * src/main/java/org/glom/web/client/ui/ReportViewImpl.java
632         * src/main/java/org/glom/web/client/activity/ReportActivity.java:
633         Add these, containing mostly boiler-plate for now.
634
635         * src/main/java/org/glom/web/client/OnlineGlomService.java
636         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
637         * src/main/java/org/glom/web/server/ConfiguredDocument.java
638         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
639         Add API to get the LayoutGroup for the report.
640
641 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
642
643         Add and fill a Reports drop-down list box.
644
645         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
646         Aded getReports():
647         * src/main/java/org/glom/web/client/OnlineGlomService.java:
648         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
649         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
650         Added getReports(document, table, localeID), calling 
651         ConfiguredDocument.getReports().
652         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
653         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
654         Added setReportsList() and a list widget.
655         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
656         .java (TableSelectionActivity.fillView(): Fill the view's reports list.
657
658
659 1.21.8:
660
661 2012-04-12  Murray Cumming  <murrayc@murrayc.com>
662
663         Translations: Add Esperanto.
664
665         * src/main/java/org/glom/web/OnlineGlom.gwt.xml
666         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_eo.
667         properties: Add this translation because someone took the time to make it.
668
669 2012-03-15  Murray Cumming  <murrayc@murrayc.com>
670
671         Adapt to the java-libglom 1.21.7 API. 
672
673         * src/main/java/org/glom/web/server/ReportGenerator.java:
674         addToReport(): get_group_secondary_fields() is now
675         get_secondary_fields().
676
677
678 2012-03-15  Murray Cumming  <murrayc@murrayc.com>
679
680         Use the latest java-libglom version.
681
682         * pom.xml: Use java-libglom 1.21.7.
683
684 2012-03-03  Ben Konrath  <ben@bagu.org>
685
686         Display date and time in details view.
687
688         https://bugzilla.gnome.org/show_bug.cgi?id=671257
689
690         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
691
692 2012-03-05  Murray Cumming  <murrayc@murrayc.com>
693
694         Require the latest java-libglom.
695
696         * pom.xml: java-libglom 1.21.5 has LayoutItem_GroupBy.
697
698 2012-03-04  Murray Cumming  <murrayc@murrayc.com>
699
700         ListViewDbAccess.getSelectQuery(): Avoid using empty quickfind strings.
701
702         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java
703         ListViewDBAccess.getSelectQuery(): Do not create a where clause for 
704         an empty quickfind string. I also corrected libglom to create only 
705         empty where clauses for empty quickfind strings, but this avoids the
706         need for that fix.
707
708 2012-02-24  Ben Konrath  <ben@bagu.org>
709
710         Improve the tabs in the Notebook widget.
711
712         Bug #670728
713
714 2012-01-30  Murray Cumming  <murrayc@murrayc.com>
715
716         Translations: Try to translate the strings.
717
718         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
719         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
720         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
721         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
722         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
723         Take the Open translation from GTK+'s .po files.
724         Take the Details translation from Glom's po files.
725         I have added the other strings to Glom so we can get translations that way:
726         http://git.gnome.org/browse/glom/commit/?id=c3cefe607428a84bdf8de1b04e8bef6f70b04564
727
728 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
729
730         TableSelectionViewImpl: Put the search label and entry in a div.
731
732         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
733         Put the search widgets in a FlowTable so that the CSS can be used to
734         style them while keeping them together.
735         * src/main/webapp/style.css: Mention the new div.
736
737 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
738
739         Translate more strings in more locales.
740
741         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
742         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
743         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
744         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
745         Translate the "Details" and "Open" string too.
746
747         * src/main/java/org/glom/web/OnlineGlom.gwt.xml:
748         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
749         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
750         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
751         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
752         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
753         Add these new locales as placeholders though they currently contain English.
754
755 2012-01-27  Murray Cumming  <murrayc@murrayc.com>
756
757         OnlineGlomServiceImpl: Avoid (unlikely) null object dereferences.
758
759         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: get*():
760         Check the ConfiguredDocument* for null before using it.
761
762 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
763
764         Tell Eclipse about the generated java files.
765
766         * .classpath: This lets it find OnlineGlomConstants.java.
767         It would be nice if Eclipse just used the maven build files.
768
769 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
770
771         Prevent a crash when no locale is specified in the URL.
772
773         * src/main/java/org/glom/web/client/Utils.java: getCurrentLocaleID():
774         Avoid returning a null string, obtained from 
775         Window.Location.getParameter(). This caused a crash when it was
776         later passed to libglom's API.
777         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
778         init(), getDocumentInfo(), getListViewLayout(), getDocuments(),
779         getDetailsLayoutAndData(): Use StringUtils.defaultString() to
780         guard against future null strings.
781
782 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
783
784         Use the ?locale= query param instead of the &lang= token param. 
785
786         * src/main/java/org/glom/web/client/place/ListPlace.java
787         * src/main/java/org/glom/web/client/place/DetailsPlace.java
788         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
789         Remove the lang token key and value.
790         
791         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
792         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
793         When the user selects a different locale from the chooser, use 
794         Window.Location.assign() to change the URL, which then causes a reload.
795         
796         * src/main/java/org/glom/web/client/Utils.java: Added getCurrentLocaleID().
797         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
798         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java
799         * src/main/java/org/glom/web/client/activity/ListActivity.java
800         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
801         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java
802         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
803         * src/main/java/org/glom/web/client/ui/ListView.java:
804         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
805
806         Remove localeID member variables and method/constructor parameters, instead
807         using Utils.getCurrentLocaleID() when we need a localID to pass to 
808         OnlineGlomService.
809
810 2012-01-26  Murray Cumming  <murrayc@murrayc.com>
811
812         Internationalize the UI strings.
813
814         * pom.xml: gwt-maven-plugin: Add the i18n goal and specify a 
815         <i18nConstantsBundle>, removing the unused <i18nMessagesBundle>.
816         * src/main/resources/org/glom/web/client/Messages.properties: Remove this
817         because it is unused. Messages are apparently strings that can have 
818         parameters, but we do not need that yet, so Contants will be enough for now.
819         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add extend-property lines
820         to say that we support the en and de locales.
821         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
822         The original English strings.
823         * src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
824         Some German translations of the English strings.
825         The i18n goal then uses the .properties file to generate an 
826         OnlineGlomConstants.java file in target/ and somehow GWT.create() magically
827         returns an implementation that returns the translated strings.
828         The documentation suggests putting these in src/java/*/client/, but it seems
829         best to put it in src/resources/*/client/.
830         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
831         Instantiate OnlineGlomConstants via GWT.create() and use it to get the strings
832         instead of hard-coding them.
833         Note that we cannot import OnlineGlomConstants because it does not exist yet,
834         but that does not seem to stop the build, though it confuses Eclipse.
835         
836         You can see the translated string by adding ?locale=de to the URL, like so:
837         http://127.0.0.1:8888/OnlineGlom.html?gwt.codesvr=127.0.0.1:9997?locale=de#list:document=film_manager
838
839 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
840
841         Improve null/empty String checks. 
842
843         * pom.xml: Add a dependency on commons-lang, to use
844         org.apache.commons.lang.StringUtils.
845         * src/main/java/org/glom/web/server/ConfiguredDocument.java
846         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
847         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java
848         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
849         Use StringUtils.isEmpty().
850
851         * src/main/java/org/glom/web/client/StringUtils.java: Add a tiny
852         StringUtils class with a static isEmpty() function because we 
853         cannot use org.apache.commons.lang.StringUtils in client-side
854         GWT code because it (apparently) cannot be compiled to javascript.
855         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
856         * src/main/java/org/glom/web/client/activity/ListActivity.java
857         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java
858         * src/main/java/org/glom/web/client/place/DetailsPlace.java
859         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
860         * src/main/java/org/glom/web/client/place/ListPlace.java
861         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java
862         * src/main/java/org/glom/web/client/ui/cell/TextCell.java
863         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java
864         * src/main/java/org/glom/web/client/ui/details/Group.java
865         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Use 
866         our StringUtils.isEmpty() function.
867
868 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
869
870         Update to the latest java-libglom API.
871
872         * pom.xml: Require java-libglom 1.21.4.
873         * src/main/java/org/glom/web/server/ConfiguredDocument.java
874         getDocumentInfo(), getListViewLayoutGroup():
875         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
876         getDocuments():
877         * src/main/java/org/glom/web/server/database/DBAccess.java
878         getFieldsToShowForSQLQueryAddGroup(),
879         getPrimaryKeyLayoutItemField(): Replace get_database_title()
880         with either get_database_title_original() or 
881         get_database_title(localeID).
882
883 2012-01-24  Murray Cumming  <murrayc@murrayc.com>
884
885         ConfiguredDocument: Avoid a null pointer exception.
886
887         * src/main/java/org/glom/web/server/ConfiguredDocument.java
888         Initialize localeID to "" to avoid returning a null String which 
889         causes a crash in java-libglom's swing-generated code.
890
891 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
892
893         Some simple renaming.
894
895         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
896         * src/main/webapp/style.css: Rename, tableChooser to tablesChooser. Likewise
897         for localeChooser. This seems more appropriate and is less ambiguous 
898         particularly in the .css file.
899
900 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
901
902         ConfiguredDocument: Rename the localedID private member variable.
903
904 2012-01-23  Murray Cumming  <murrayc@murrayc.com>
905
906         Adapt to the latest java-libglom API from git master.
907
908         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
909         libglom now uses only Vector instead of List, which uses add() instead of
910         addLast(). 
911
912 2012-01-22  Murray Cumming  <murrayc@murrayc.com>
913
914         ConfiguredDocument: Rename the localedID private member variable.
915
916 2012-01-20  Murray Cumming  <murrayc@murrayc.com>
917
918         Build a source tarball with mvn assembly:single
919
920         * assembly.xml: Add this file.
921         * pom.xml: Use the maven-assembly-plugin and tell it to use 
922         our assembly.xml file.
923
924 2012-01-19  Murray Cumming  <murrayc@murrayc.com>
925
926         OnlineGlomServiceImpl: Get .glom files recursively.
927
928         * pom.xml: Depend on commons-io from org.apache.commons.
929         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
930         init(): Use org.apache.commons.io.FileUtils.listFiles() to get the 
931         files recursively, and with the easier filter for the extension.
932         Use org.apache.commons.io.FilenameUtils.removeExtension() to 
933         simplify that code too.
934
935 2012-01-19  Murray Cumming  <murrayc@murrayc.com>
936
937         README: Mention that you must install java-libglom packages separately.
938
939         But then it works, because java-libglom is now in the central maven 
940         repository.
941
942 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
943
944         locales drop-down: Show the correct selected locale when the URL changes.
945
946         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
947         .java: setPlace(): Move some code into fillView().
948
949 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
950
951         locales drop-down: Do not lose the primary key.
952
953         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
954         start(): onLocaleChange(): Pass the current primary key value, 
955         instead of an empty value.
956
957 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
958
959         locales drop-down: Do not lose the drop-down selection.
960
961         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
962         .java (TableSelectionActivity.fillView): Set the selected locale
963         after changing the drop-down items (though we do not really need
964         to change them just because the locale changes.)
965
966 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
967
968         locales drop-down: Change the tables list when this changes.
969
970         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
971         .java: TableSelectionActivity.start(): Move the async table titles
972         retrieval into a private fillView() method and also call this when 
973         the chosen locale changes.
974         Note that the document title is not actually translatable yet, but
975         that is a problem that I should fix soon in libglom.
976
977 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
978
979         Improve the placement of the locales drop-down.
980
981         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
982         Put the title and locales drop-down in a div (gwt.FlowTable).
983         * src/main/webapp/style.css: Add magic css properties to make this work.
984         Also remove the left margin from the title so that it lines up with the 
985         headerbox below it.
986
987 2012-01-18  Murray Cumming  <murrayc@murrayc.com>
988
989         locales selector: Show human-readable locale titles.
990
991         * src/main/java/org/glom/web/server/ConfiguredDocument.java
992         getDocumentInfo(): Use java.util.Locale to show a real title of 
993         each locale, in the locale's own language.
994
995 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
996
997         Add a language/locale selector drop-down.
998
999         * src/main/java/org/glom/web/shared/DocumentInfo.java:
1000         Add getLocaleIDs(), setLocaleIDs(), getLocaleTitles(), setLocaleTitles().
1001         * /src/main/java/org/glom/web/server/ConfiguredDocument.java:
1002         getDocumentInfo(): Store the available Locales in the DocumentInfo.
1003         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1004         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1005         Add a ListBox to show the available locales. Add getLocaleSelector(),
1006         setLocaleList(), getSelectedLocale(), setSelectedLocale().
1007         * src/main/java/org/glom/web/client/event/LocaleChangeEvent.java
1008         * src/main/java/org/glom/web/client/event/LocaleChangeEventHandler.
1009         java: Add these classes.
1010         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1011         start(): Fill the locales ListBox. Handle its change event, firing a 
1012         LocaleChangeEvent.
1013         setPlace(): Show the selected locale as specified by the URL token.
1014         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1015         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1016         Handle LocaleChangeEvent, going to a new *Place with that locale.
1017
1018         The placement of the ListBox is not pretty, and it currently uses the ID
1019         as a title, instead of "English", "Deutsch", "Espanola", etc, but it 
1020         is a start.
1021
1022
1023 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
1024
1025         Search box: Show the search text from the URL token.
1026
1027         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1028         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1029         Add setQuickFindText().
1030         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
1031         .java: setPlace(): Store the queryText if the place is a ListPlace, 
1032         and call TableSelectionView.setQuickFindText().
1033
1034 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
1035
1036         Allow use of translations via, for instance, &lang=de in the URL.
1037
1038         * pom.xml: Use the unstable java-libglom 1.21 version.
1039
1040         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1041         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
1042         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1043         init(): Instead of calling TranslatableItem.set_current_locale() 
1044         (now removed), call ConfiguredDocument.setDefaultLocaleID().
1045         However, this is only for default locales, which are not needed to 
1046         change the locale in the URL.
1047         getDocumentInfo(), getListViewLayout(), getSortedListViewData(),
1048         getDetailsData(), getDetailsLayoutAndData(), getRelatedListData(),
1049         getSortedRelatedListData(): Add a localeID parameter, so we can get the 
1050         layout for a particular locale.
1051         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1052         Add get/setDefaultLocaleID().
1053         getDocumentInfo(), getListViewData(), getRelatedListData(),
1054         getDetailsLayoutGroup(), getListViewLayoutGroup(),
1055         createLayoutItemPortalDTO(), convertToGWTGlomLayoutItemField(): Add a 
1056         localeID parameter, so we can get the layout for a particular locale.
1057
1058         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1059         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1060         * src/main/java/org/glom/web/client/place/ListPlace.java:
1061         Parse and construct a lang parameter too.
1062
1063         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1064         start(): Pass the defaultLocaleID to addDocumentLink(). It is then
1065         passed to subsequent methods and constructors.
1066         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1067         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1068         Store the localeID from the *Place and pass it to other constructors
1069         and methods, such as OnlineGlomServiceAsync.getDetailsLayoutAndData().
1070
1071         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1072         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1073         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
1074         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java
1075         * src/main/java/org/glom/web/client/ui/ListView.java:
1076         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1077         Take localeID parameters and pass them to subsequent constructors and 
1078         methods, so that the layout is always retrieved for that locale.
1079
1080         This is rather repetitive.
1081
1082         Note that "" means the original (default) locale of the Glom document,
1083         which is usually English.       
1084
1085 2012-01-17  Murray Cumming  <murrayc@murrayc.com>
1086
1087         Documents: Remove final keyword to fix startup configuration.
1088
1089         * src/main/java/org/glom/web/shared/Documents.java: Remove the
1090         final keywords on the private member variables because that breaks
1091         the startup, apparently (there are warnings) because it stops them
1092         from being serialized. I added these in the previous commit.
1093
1094 2012-01-13  Murray Cumming  <murrayc@murrayc.com>
1095
1096         Documents: Add some final keywords.
1097
1098         * src/main/java/org/glom/web/shared/Documents.java: Eclipse suggested
1099         this.
1100
1101 2012-01-13  Murray Cumming  <murrayc@murrayc.com>
1102
1103         OnlineGlomServiceImpl: Add to overview comments.
1104
1105         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1106         Note that this is where all the document are loaded. They are not 
1107         loaded freshly for each page.
1108
1109 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
1110
1111         Add a search box.
1112
1113         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1114         Add a TextBox for the text of a quick find.
1115         Add getQuickFindBox(), to get the widget, and getQuickFindText() to 
1116         get the text.
1117         setBackLink(): Add a String quickFind parameter.
1118         * src/main/java/org/glom/web/client/ui/TableSelectionView.java
1119         (TableSelectionView): Add getQuickFindBox() and getQuickFindText()
1120         to the base interface, because that is how TableSelectionViewImpl is used.
1121         * src/main/webapp/style.css: Add style for the search box and its label.
1122
1123         * src/main/java/org/glom/web/client/event/QuickFindChangeEvent.java:
1124         * src/main/java/org/glom/web/client/event/QuickFindChangeEventHandler.java:
1125         Add these files, based on the existing TableChangeEvent and 
1126         TableChangeEventHandlers.
1127         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
1128         start(): Handle QuickFindChangeEvent, passing its quickFind text to
1129         a ListPlace() that the user should be taken to.
1130         * src/main/java/org/glom/web/client/activity/ListActivity.java
1131         start(): Handle it here too and adapt the TableChangeEvent handler to 
1132         pass the extra "" quickFind parameter to ListPlace.
1133         * src/main/java/org/glom/web/client/place/ListPlace.java: 
1134         Constructor: Take an extra String quickFind parameter and store it, 
1135         returning it from a new  getQuickFind() method.
1136         getToken(): Put the quickFind text in the URL token.
1137         getPlace(): Parse the quickFind text from the URL token.
1138         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ja
1139         va: addDocumentLink(): Pass an extra "" quickFind parameter to the 
1140         ListPlace constructor.
1141         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
1142         .java: start(): Add a Change handler for the TableSelectionView's
1143         TextBox (via its base HasChangeHandlers interface), firing the new 
1144         QuickFindChangeEvent.
1145         setPlace(): Adapt the call to TableSelectionView.setbackLink(), to 
1146         pass the extra "" quickFind parameter.
1147
1148         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1149         setCellTable(): Add a String quickFind parameter and pass it to 
1150         the ListViewTable() constructor.
1151         * src/main/java/org/glom/web/client/ui/ListView.java: Change 
1152         setCellTable() in the base interface, because that is how ListViewImpl
1153         is used.
1154
1155         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1156         Add a String quickFind member variable.
1157         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1158         Constructor: Add a String quickFind parameter, storing it in the
1159         base ListTable's member variable.
1160         onRangeChanged(): Pass quickFind to the 
1161         OnlineGlomServiceAsync.getSortedListViewData() and 
1162         OnlineGlomServiceAsync.getListViewData() methods.
1163
1164         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1165         getListViewData(), getSortedListViewData(): Add a String quickFind 
1166         parameter, passing it to ConfiguredDocument.getListViewData().
1167         * src/main/java/org/glom/web/client/OnlineGlomService.java:
1168         Change getListViewData(), getSortedListViewData() in the base interface,
1169         because that is how OnlineGlomServiceImpl is used, via this:
1170         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1171         Change getListViewData(), getSortedListViewData() here too.
1172         This class can apparently be used to asynchronously call methods on 
1173         OnlineGlomService, and GWT seems to implement that after recognizing 
1174         just the *Async name convention and the extra AsyncCallback parameters.
1175
1176         * src/main/java/org/glom/web/server/ConfiguredDocument.java
1177         getListViewData(): Add a String quickFind parameter, and pass it to 
1178         ListViewDBAccess.getData().
1179         * src/main/java/org/glom/web/server/database/ListDBAccess.java
1180         getListData(): Add a String quickFind parameter and pass it to 
1181         getSelectQuery().
1182         getSelectQuery(): Add a String quickFind parameter.
1183         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java
1184         getSelectQuery(): Add a String quickFind parameter and use it with 
1185         Glom.get_find_where_clause_quick() to pass a where_clause to 
1186         Glom.build_sql_select_with_where_clause(), to actually filter the 
1187         list view results.
1188         getData(): Add a String quickFind parameter, passing it to getListData().
1189         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.ja
1190         va: getData(): Pass an empty string to getListData() for the 
1191         quickFind parameter.
1192
1193 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
1194
1195         ListTable: Minor change.
1196
1197         * src/main/java/org/glom/web/client/ui/list/ListTable.java
1198         createCellTable(): Make this protected instead of public.
1199
1200 2012-01-12  Murray Cumming  <murrayc@murrayc.com>
1201
1202         Many files: Use final for the parameters and use the @override attribute.
1203
1204 2012-01-22  Ben Konrath <ben@bagu.org>
1205
1206         Add anchor links for single line text that starts with http, ftp and www.
1207
1208         Bug #667269
1209
1210 2012-01-22  Ben Konrath <ben@bagu.org>
1211
1212         Add ellipsis to single line text in details view.
1213
1214         Bug #667269
1215
1216 2012-01-04  Murray Cumming  <murrayc@murrayc.com>
1217
1218         Remove all javadoc author tags.
1219
1220         Because they are awkward and meaningless when many people touch
1221         many files.
1222         See https://gitorious.org/online-glom/gwt-glom/commit/7628b732cb90cbc6d5635420a75568504e8b3655#comment_81164
1223  
1224 2012-01-04  Murray Cumming  <murrayc@murrayc.com>
1225
1226         Revert the COPYING.LESSER to COPYING rename.
1227
1228         Apparently both should be there if it is LGPL.
1229
1230 2012-01-03  Murray Cumming  <murrayc@murrayc.com>
1231
1232         *View: Remove unused imports.
1233
1234         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1235         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java
1236         * src/main/java/org/glom/web/client/ui/ListView.java:
1237         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1238         Remove unused imports, as suggested by Eclipse.
1239
1240 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
1241
1242         Move the *View::Presenter types, and some API into one base View.
1243
1244         * src/main/java/org/glom/web/client/ui/DetailsView.java:
1245         * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1246         * src/main/java/org/glom/web/client/ui/ListView.java:
1247         * src/main/java/org/glom/web/client/ui/TableSelectionView.java: Move
1248         Presenter, setPresenter() and clear() into a shared base interface,
1249         to avoid the unnecessary duplicate Presenter types and to more clearly
1250         show how the *Views share the same structure, even if they are not 
1251         used polymorphically.
1252
1253         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1254         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ja
1255         va:
1256         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1257         * src/main/java/org/glom/web/client/activity/ListActivity.java:
1258         * src/main/java/org/glom/web/client/activity/DocumentSelectionActiv
1259         ity.java:
1260         * src/main/java/org/glom/web/client/activity/TableSelectionActivity
1261         .java: Adapt.
1262
1263         Feel free to revert this if there is a good reason for the duplicate
1264         types.
1265
1266 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
1267
1268         OnlineGlom: Make clientFactory a (protected) member, and test it a bit.
1269
1270         * src/main/java/org/glom/web/client/OnlineGlom.java: Make clientFactory
1271         a class member instead of a local variable in the method.
1272         This lets us use it to get the view instances, for use in tests.
1273         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1274         beforeOnlineGlom(): Test some more details of the initial view.
1275         Again, this is not very useful.
1276
1277         To really test gwt-glom we will need to start a local postgresql 
1278         instance with local data, like the Glom tests in C++.
1279
1280 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
1281
1282         pom.xml: Mention the LGPL license.
1283
1284         * pom.xml: Add a licenses section.
1285         * COPYING.LESSER: Move this to COPYING, which
1286         previously contained the GPL. But gwt-glom is all LGPL.
1287
1288 2012-01-02  Murray Cumming  <murrayc@murrayc.com>
1289
1290         Add project information to README and pom.xml.
1291
1292         * README: Add a brief description and mention some mvn
1293         commands.
1294         * pom.xml: This extra information shows up in mvn site
1295         generated pages.
1296
1297 2011-01-02  Murray Cumming  <murrayc@murrayc.com>
1298
1299         Use the latest java-libglom version.
1300
1301         * pom.xml: Use java-libglom 1.19.2 instead of 1.19.1.
1302
1303 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
1304
1305         GwtTestOnlineGlom: Test a little more.
1306
1307         * src/main/java/org/glom/web/client/OnlineGlom.java: Make the panels
1308         protected rather than private, as suggested by the gwt-test-utils
1309         maintianer here:
1310         http://stackoverflow.com/questions/7931724/gwt-testcase-simulating-clicking-a-button-on-my-page
1311         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java
1312         Test the initial visibility of the panels.
1313
1314         However, this is not a very useful test.
1315         And I wonder how we should generally test using this idea for an
1316         activity/places app like ours where the real changes happen implicitly
1317         based on the history token/URL.
1318
1319 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
1320
1321         Slight modification to *Mapper comments.
1322
1323         * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java
1324         (DataActivityMapper)
1325         * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMa
1326         pper.java
1327         * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMappe
1328         r.java
1329         Remove comments mentioning GIN because they are just copied from 
1330         the example code and are apparently not helpful:
1331         http://groups.google.com/group/google-web-toolkit/msg/82f0098b20669a73
1332         Also change the mention of a class that is only in the example code.
1333
1334 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
1335
1336         GwtTestOnlineGlom test: Minor changes.
1337
1338         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1339         Avoid the long qualified class name and modify the comment 
1340         because it is now obvious to me that the mocked class is the only
1341         custom one created via GWT.create().
1342
1343 2012-01-01  Murray Cumming  <murrayc@murrayc.com>
1344
1345         Tests: Added the beginnings of a test using gwt-test-utils.
1346
1347         * pom.xml: Add dependencies on gwt-test-utils and easymock.
1348         * src/test/resources/META-INF/gwt-test-utils.properties: Add this file
1349         which tells gwt-test-utils what class will be tested.
1350         * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1351         Add a simple (but empty) test case. One class, used by the OnlineGlom
1352         class, is mocked so that it can be created. However, I am not sure 
1353         why only this class needs to be mocked.
1354
1355         Note that mockito seems more popular, and clearer, than easymock,
1356         but I have not got that working yet. It might be a matter of the 
1357         mockito version.
1358
1359         This test is run during mvn integration-test.
1360
1361 2011-12-31  Murray Cumming  <murrayc@murrayc.com>
1362
1363         Tests: Use junit4-style syntax instead of junit3-style.
1364
1365         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
1366         * src/test/java/org/glom/web/client/place/ListPlaceTest.java:
1367         * src/test/java/org/glom/web/shared/DataItemTest.java:
1368         Use the @Test annotation rather than relying on the test*() prefix.
1369         Also no longer implement TestCase, to avoid triggering support for 
1370         the junit3-way, which stops the annotations from working.
1371         Change the imports from import junit.framework.* to 
1372         import org.junit.*, which is apparently the new way.
1373
1374 2011-12-31  Murray Cumming  <murrayc@murrayc.com>
1375
1376         Added a test for ListPlace token parsing and creation.
1377
1378         * src/test/java/org/glom/web/client/place/ListPlaceTest.java:
1379         This is much the same as DetailsPlaceTest.
1380
1381         I wonder how we could test the other parts of the *Place API.
1382
1383 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
1384
1385         DetailsPlace test: Also test getToken() and recreation via getPlace().
1386
1387         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
1388         testGetPlaceParameters(): Get the tokens from the DetailsPlace and 
1389         recreate it, testing the recreated DetailsPlace for the same parameter
1390         values.
1391
1392 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
1393
1394         Use the surefire-report plugin.
1395
1396         * pom.xml: This generates a HTML report about the tests in 
1397         target/site/surefire-report.html
1398         when you do mvn surefire-report:report. It seems to be popular/normal.
1399
1400 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
1401
1402         Added a test for DetailsPlace.
1403
1404         * src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
1405         Test the getPlace() token parsing.
1406
1407 2011-12-30  Murray Cumming  <murrayc@murrayc.com>
1408
1409         Added a first unit test.
1410
1411         * pom.xml: Add a test goal, and a dependency on junit in that scope.
1412         * src/test/java/org/glom/web/shared/DataItemTest.java:
1413         This is a silly test but it is just to get things started. Note that
1414         maven/junit finds the test because it looks in src/test by default.
1415
1416 2011-12-22  Ben Konrath  <ben@bagu.org>
1417
1418         Change charsetName to "UTF-8" when replacing line breaks.
1419
1420         JavaScript requires the charsetName to be "UTF-8". CharsetName values
1421         that work in Java (such as "UTF8") will not work when compiled to
1422         JavaScript.
1423
1424         This fixes a problem with multi-line details view fields that have hard
1425         line breaks. The "License Text" field on this page demonstrates the
1426         problem:
1427
1428         http://onlineglom.openismus.com/OnlineGlom/#details:document=debian_repository_analyzer&table=licenses&value=197
1429
1430         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1431
1432 2011-12-22  Ben Konrath  <ben@bagu.org>
1433
1434         Fix another bug with related list navigation.
1435
1436         I've tested all the navigation buttons in all of the related lists
1437         so things should be good now.
1438
1439         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1440
1441 2011-12-22  Ben Konrath  <ben@bagu.org>
1442
1443         Fix a crasher when refreshing the list view with the default table.
1444
1445         This crash will also happen when loading the list view with the default
1446         table from a link or bookmark.
1447
1448         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Go
1449         to the main document selection page when the document id hasn't been
1450         set.
1451         * src/main/java/org/glom/web/client/activity/ListActivity.java: Go to
1452         the main document selection page when the document id hasn't been
1453         set.
1454         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Use empty
1455         values for the details place when the document id hasn't been set.
1456         * src/main/java/org/glom/web/client/place/ListPlace.java: Use empty
1457         values for the list place when the document id hasn't been set.
1458
1459 2011-12-21  Ben Konrath  <ben@bagu.org>
1460
1461         Protect against NPE when glom.document.locale is not in config.
1462
1463         This patch protects against an NPE when glom.document.locale is not in
1464         the config file. This NPE will also happen if glom.document.locale is
1465         commented out.
1466
1467         The patch also updates the error message to display the class name when
1468         the getMessage() returns null. This was happening when the NPE was
1469         thrown and I had "Configuration Error: null". If an NPE is encountered
1470         with this patch, "Configuration Error: NullPointerException " will be
1471         displayed.
1472
1473         This commit closes this bug:
1474
1475         https://bugzilla.gnome.org/show_bug.cgi?id=666669
1476
1477         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1478
1479 2011-12-20  Murray Cumming  <murrayc@murrayc.com>
1480
1481         Rename onlineglom.properties to onlineglom.properties.sample.
1482
1483         * src/main/resources/onlineglom.properties: Rename to:
1484         * src/main/resources/onlineglom.properties.sample:
1485         * src/main/resources/README: And add this file explaining that people
1486         should rename it back when deploying.
1487
1488 2011-12-20  Murray Cumming  <murrayc@murrayc.com>
1489
1490         Allow choosing the translation in the .properties file.
1491
1492         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1493         init(): Read a glom.document.locale value from the configuration file 
1494         and call Glom's TransatableItem::set_current_locale() method.
1495         * src/main/resources/onlineglom.properties: Add a commented-out 
1496         example of this new setting.
1497
1498         It would be better to add &lang=de_DE to the URL, but the current 
1499         libglom API does not allow us to do this easily. I am working on that.
1500
1501 2011-12-19  Murray Cumming  <murrayc@murrayc.com>
1502
1503         Avoid a crash in parsing of token parameters.
1504
1505         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.j
1506         ava: getTokenParams(): Do not crash if a parameter has a key but no 
1507         value, and ignore parameters with neither.
1508
1509 2011-12-17  Murray Cumming  <murrayc@murayc.com>
1510
1511         History token building/handling: Improve use of token parameters.
1512
1513         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java 
1514         (HasSelectableTablePlace.Tokenizer): Add getTokenParams(String)
1515         and buildParamsToken(HashMap), for use by derived classes.
1516         Make the separator private because it is no longer be needed.
1517         * src/main/java/org/glom/web/client/place/DetailsPlace.java
1518         (DetailsPlace.Tokenizer.getToken): Use buildParamsToken()
1519         instead of manual string concatenation.
1520         (DetailsPlace.Tokenizer.getPlace): Use getTokenParams() instead 
1521         of hardcoded indices and awkward splitting code.
1522         * src/main/java/org/glom/web/client/place/ListPlace.java
1523         (ListPlace.Tokenizer.getToken): Use buildParamsToken()
1524         instead of manual string concatenation.
1525         (ListPlace.Tokenizer.getPlace): Use getTokenParams() instead 
1526         of hardcoded indices and awkward splitting code.
1527         This should fix bug #666420
1528
1529 2011-12-16  Murray Cumming  <murrayc@murrayc.com>
1530
1531         Fix a Navgiation->Navigation typo in the code.
1532
1533         * src/main/java/org/glom/web/client/activity/DetailsActivity.java
1534         Rename processNavgiation() to processNavigation().
1535
1536 2011-12-16  Murray Cumming  <murrayc@murrayc.com>
1537
1538         Fix a seperator->separator typo in the code.
1539
1540         * src/main/java/org/glom/web/client/place/DetailsPlace.java
1541         * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
1542         * src/main/java/org/glom/web/client/place/ListPlace.java: Just a 
1543         misspelling.
1544
1545 2011-12-15  Ben Konrath <ben@bagu.org>
1546
1547         Cleanup some comments.
1548
1549         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1550
1551 2011-12-14  Ben Konrath <ben@bagu.org>
1552
1553         Replace \n with <br/> for multiline text in the details view.
1554
1555         Vertical scrollbars are added when needed as well.
1556
1557         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1558
1559 2011-12-14  Ben Konrath <ben@bagu.org>
1560
1561         Specify the font for document selection links.
1562
1563         * src/main/webapp/style.css:
1564
1565 2011-12-14  Ben Konrath <ben@bagu.org>
1566
1567         Fix bouncy CellTable while paging.
1568
1569         This doesn't currently work with related list tables in unselected
1570         Notebook tabs.
1571
1572         * src/main/java/org/glom/web/client/ui/list/ListTable.java
1573
1574 2011-12-14  Ben Konrath <ben@bagu.org>
1575
1576         Revamp the appearance of the document selection page.
1577
1578         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1579         * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1580         * src/main/webapp/style.css:
1581
1582 2011-12-13  Ben Konrath <ben@bagu.org>
1583
1584         Set navigation button column to the smallest size possible.
1585
1586         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1587
1588 2011-12-13  Ben Konrath <ben@bagu.org>
1589
1590         Change OpenButton nomenclature to NavigationButton.
1591
1592         Using NavigtionButton makes things more generic. Classes, methods and
1593         variables have been changed.
1594
1595         This is a rename-only refactor.
1596
1597         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1598         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1599         * src/main/java/org/glom/web/client/ui/cell/NavigationButtonCell.java:
1600         Renamed from OpenButtonCell.
1601         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1602         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1603         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1604
1605 2011-12-12  Ben Konrath <ben@bagu.org>
1606
1607         Remove unnecessary String argument in RelatedListTable and ListViewTable.
1608
1609         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1610         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1611         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1612         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1613
1614 2011-12-12  Ben Konrath <ben@bagu.org>
1615
1616         Update variable names and comments.
1617
1618         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1619         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1620
1621 2011-12-12  Ben Konrath <ben@bagu.org>
1622
1623         Properly initialize numNonEmptyRows variable to zero.
1624
1625         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1626         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
1627
1628 2011-12-05  Ben Konrath  <ben@bagu.org>
1629
1630         Add latest mockup with HTML tables.
1631
1632         Features of this mockup:
1633
1634         -> HTML table for flowtable
1635         -> HTML table for flowtable column
1636         -> Example of how related lists would look
1637         -> Not using text entries for data items
1638
1639         The current version of Online Glom doesn't use HTML tables for the
1640         flowtable columns.
1641
1642         This mockup has been sent to the glom-devel mailing list but it's good
1643         to have it here as well.
1644
1645         * mockups/details-view-html-tables.html:
1646
1647 2011-12-05  Ben Konrath  <ben@bagu.org>
1648
1649         Remove unnecessary getPrimaryKeyField() method.
1650
1651         getPrimaryKeyFieldForTable(String) has been renamed to
1652         getPrimaryKeyField(String).
1653
1654         * src/main/java/org/glom/web/server/database/DBAccess.java:
1655         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1656         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1657
1658 2011-12-05  Ben Konrath  <ben@bagu.org>
1659
1660         Add string representation of TypedDataItem value to conversion error message.
1661
1662         * src/main/java/org/glom/web/server/Utils.java: Logging the error
1663         message was extracted into its own method to avoid duplication.
1664
1665 2011-12-05  Ben Konrath  <ben@bagu.org>
1666
1667         Add type checking to navigation primary key value creation.
1668
1669         Create navigation primary key only if the expected type from the Glom
1670         document matches the type returned by the SQL query.
1671
1672         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1673
1674 2011-12-05  Ben Konrath  <ben@bagu.org>
1675
1676         Rename a couple of variables in RelatedListNavigation.
1677
1678         This is a rename-only refactor.
1679
1680         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1681
1682 2011-12-05  Ben Konrath  <ben@bagu.org>
1683
1684         Move getListLayoutGroup() into getListViewLayoutGroup().
1685
1686         This removes getListLayoutGroup(). It was only being called by
1687         getListViewLayoutGroup().
1688
1689         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1690
1691 2011-12-05  Ben Konrath  <ben@bagu.org>
1692
1693         Remove check for LayoutItem_Portal in list table method.
1694
1695         This check is no longer necessary because the method isn't being used
1696         to create the LayoutItemPortal DTO.
1697
1698         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1699
1700 2011-12-05  Ben Konrath  <ben@bagu.org>
1701
1702         Properly support related list navigation.
1703
1704         Navigation from the "Repository Analyzer -> Package Scans ->
1705         Dependencies" related table wasn't working because the primary key for
1706         related tables wasn't being set properly. This commit fixes the
1707         problem.
1708
1709         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't use
1710         getListLayoutGroup() to create the LayoutItemPortal DTO. This method
1711         doesn't set the primary key properly for related list tables.
1712         * src/main/java/org/glom/web/server/database/DBAccess.java: Add table
1713         name parameter to getPrimaryKeyLayoutItemField(). This makes the method
1714         useful for getting the primary key for list view tables and for related
1715         list tables.
1716         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
1717         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
1718         Move code to set the primary key for the table from the abstract
1719         ListDBAccess class to ListViewDBAccess as it's only correct for list
1720         view tables.
1721         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1722         Properly add primary key to related list tables.
1723
1724 2011-12-02  Ben Konrath  <ben@bagu.org>
1725
1726         Properly set the horizontal alignment of fields.
1727
1728         This fix is for both the list tables and the details view.
1729
1730         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
1731         LayoutItem_WithFormatting.get_formatting_used_horizontal_alignment(boolean)
1732         to set the horizontal alignment of fields.
1733
1734 2011-12-02  Ben Konrath  <ben@bagu.org>
1735
1736         Display currency codes in the details view.
1737
1738         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1739
1740 2011-12-02  Ben Konrath  <ben@bagu.org>
1741
1742         Avoid duplicate JNI call.
1743
1744         JNI is not as efficient as pure Java and this is an easy (and small)
1745         optimization.
1746
1747         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1748         Use previously retrieved value for whereClauseToTableName instead of
1749         getting it again.
1750
1751 2011-12-02  Ben Konrath  <ben@bagu.org>
1752
1753         Rename a couple of variables in RelatedListNavigation.
1754
1755         This is a rename-only refactor.
1756
1757         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1758
1759 2011-12-02  Ben Konrath  <ben@bagu.org>
1760
1761         Indicate clearly that a mismatched primary key type is a bug.
1762
1763         * src/main/java/org/glom/web/server/Utils.java: Change log level from
1764         warning to error. Add 'This is a bug.' to message.
1765
1766 2011-12-02  Ben Konrath  <ben@bagu.org>
1767
1768         Update / fix some comments.
1769
1770         * src/main/java/org/glom/web/client/OnlineGlomService.java: Remove old
1771         comments.
1772         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Fix
1773         comment.
1774         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
1775         Fix comments. Add some TODOs.
1776
1777 2011-12-02  Ben Konrath  <ben@bagu.org>
1778
1779         Enable navigation to details view with string primary key from related list.
1780
1781         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
1782         Create a text primary key value when return type of result is
1783         java.sql.Types.VARCHAR.
1784
1785 2011-12-02  Ben Konrath  <ben@bagu.org>
1786
1787         Use checkboxes for booleans in the details view.
1788
1789         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
1790
1791 2011-12-01  Ben Konrath  <ben@bagu.org>
1792
1793         Improve performance of related list height calculation.
1794
1795         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1796         Put code to calculate the expected height in a static initializer so
1797         that that it's only called once.
1798
1799 2011-12-01  Ben Konrath  <ben@bagu.org>
1800
1801         Show related list tables in notebooks (again).
1802
1803         Calculate the height of the related list tables so the Notebook can be
1804         set the correct height. The height of the related list table is also needed by
1805         FlowTable to be able decide how to create the layout.
1806
1807         * src/main/java/org/glom/web/client/ui/details/Portal.java: Calculate
1808         and set the Portal height based on the height of the related list
1809         table and the Portal container.
1810         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1811         Add method to calculate the height of the related list tables.
1812         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1813         * src/main/webapp/style.css: Add css class for Pager. This is needed to
1814         calculate the height of the Pager widget.
1815
1816 2011-12-01  Ben Konrath  <ben@bagu.org>
1817
1818         Use CellTable API for table property instead of setting style on Element.
1819
1820         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
1821
1822 2011-12-01  Ben Konrath  <ben@bagu.org>
1823
1824         Make ListViewTable and RelatedListTable a consistent height.
1825
1826         The tables are now a consistent height regardless of the contents of
1827         the table. A hidden button is added to empty rows to ensure that the
1828         height of these rows will match the height of rows with data.
1829
1830         A navigation button column is now added to every table. The width of
1831         the navigation column is set to 0px when a RelatedListTable shouldn't
1832         have navigation buttons. This maintains the a consistent row height in
1833         tables that don't show the navigation buttons.
1834
1835         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Hide
1836         navigation column when not needed.
1837         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move method
1838         arguments for navigation button to constructor of ListViewTable.
1839         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Render
1840         hidden button for empty data rows.
1841         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java: Add method
1842         arguments for navigation button to constructor.
1843         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Always
1844         create navigation buttons. Add hideNavigationButtons() method.
1845         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add method
1846         arguments for navigation button to constructor.
1847
1848 2011-12-01  Ben Konrath  <ben@bagu.org>
1849
1850         Use 'visibility: hidden' in Utils.getWidgetHeight().
1851
1852         This is better choice because hidden elements are invisible, don't
1853         respond to events and are not part of the tab order. They will,
1854         however, take up space which is required to be able to calculate the
1855         height of the widget.
1856
1857         * src/main/java/org/glom/web/client/Utils.java:
1858
1859 2011-12-01  Ben Konrath  <ben@bagu.org>
1860
1861         Use Utils.getWidgetHeight() in FlowTable.
1862
1863         * src/main/java/org/glom/web/client/Utils.java: Remove TODO item about
1864         this.
1865         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
1866
1867 2011-12-01  Ben Konrath  <ben@bagu.org>
1868
1869         Put the details css class name on the correct table column.
1870
1871         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
1872
1873 2011-11-30  Ben Konrath  <ben@bagu.org>
1874
1875         Update for java-libglom API change.
1876
1877         The getters and setters on FieldFormatting and NumericFormat were
1878         changed to remove the 'M'.
1879
1880         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1881
1882 2011-11-29  Ben Konrath  <ben@bagu.org>
1883
1884         Only allow RelatedListTables in Portals.
1885
1886         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1887
1888 2011-11-29  Ben Konrath  <ben@bagu.org>
1889
1890         Only create a contents panel for Portals when title is being set.
1891
1892         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1893
1894 2011-11-29  Ben Konrath  <ben@bagu.org>
1895
1896         Set TabLayoutPanel height based on calculated height its widgets.
1897
1898         This is a potential fix for this bug:
1899
1900         https://bugzilla.gnome.org/show_bug.cgi?id=665133
1901
1902         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
1903
1904 2011-11-29  Ben Konrath  <ben@bagu.org>
1905
1906         Align details field labels and data with the Open buttons.
1907
1908         * src/main/webapp/style.css:
1909
1910 2011-11-29  Ben Konrath  <ben@bagu.org>
1911
1912         Remove unnecessary <div> in the Notebook widget.
1913
1914         * src/main/java/org/glom/web/client/ui/details/Group.java: Remove
1915         method to get container FlowPanel (<div>).
1916         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Run the
1917         initWidget() method directly on the TabLayoutPanel widget instead of
1918         Group's container widget.
1919
1920 2011-11-29  Ben Konrath  <ben@bagu.org>
1921
1922         Don't add group titles for Portals in Notebooks.
1923
1924         This reverts the previous patch and fixes a bug I introduced with
1925         commit b1753fd27bd2c4ea189c4c353e0ece92dcc66c2c .
1926
1927         * src/main/java/org/glom/web/client/ui/details/Group.java:
1928         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1929
1930 2011-11-28  Ben Konrath  <ben@bagu.org>
1931
1932         Remove unused boolean argument in Portal constructor.
1933
1934         Just a code cleanup.
1935
1936         * src/main/java/org/glom/web/client/ui/details/Group.java:
1937         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1938
1939 2011-11-28  Ben Konrath  <ben@bagu.org>
1940
1941         Remove hack for glom 1.18 style glom files.
1942
1943         * src/main/java/org/glom/web/client/ui/details/Group.java:
1944         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
1945         * src/main/java/org/glom/web/client/ui/details/Portal.java:
1946
1947 2011-11-28  Ben Konrath  <ben@bagu.org>
1948
1949         Use Gda Value version of primary key to log result too large error.
1950
1951         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
1952
1953 2011-11-28  Ben Konrath  <ben@bagu.org>
1954
1955         Don't use TypedDataItem.getText() for Unknown types from the URL.
1956
1957         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1958         * src/main/java/org/glom/web/server/Utils.java: Use getUnknown()
1959         instead of getText().
1960         * src/main/java/org/glom/web/shared/TypedDataItem.java: Add unknown
1961         String field and getUnknown() method.
1962
1963 2011-11-28  Ben Konrath  <ben@bagu.org>
1964
1965         Log an error message when the java-libglom .so is not present.
1966
1967         The error message was being set in the exception but not logged.
1968
1969         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1970
1971 2011-11-28  Ben Konrath  <ben@bagu.org>
1972
1973         Ignore LayoutItem_CalendarPortals.
1974
1975         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Don't
1976         create the LayoutItemPortal DTO for LayoutItem_CanendarPortals.
1977
1978 2011-11-28  Ben Konrath  <ben@bagu.org>
1979
1980         Extract method for creating the LayoutItemPortal DTO.
1981
1982         Just breaking the code up into smaller chunks.
1983
1984         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
1985
1986 2011-11-28  Ben Konrath  <ben@bagu.org>
1987
1988         Add TypedDataItem.
1989
1990         This should have been added with the refactor. Oops!
1991
1992         * src/main/java/org/glom/web/shared/TypedDataItem.java:
1993
1994 2011-11-28  Ben Konrath  <ben@bagu.org>
1995
1996         Create primary key value from URL string using type from Glom document.
1997
1998         See this bug, comments 19 - 25:
1999
2000         https://bugzilla.gnome.org/show_bug.cgi?id=662376#c19
2001
2002         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Don't
2003         create a TypeDataItem for the primary key here when loading from a
2004         URL. Show the same string for the primary key value as was received
2005         from the URL string (when loading from a URL).
2006         * src/main/java/org/glom/web/server/Utils.java: Update method for
2007         creating the Gda Value from the TypeDataItem to properly deal with
2008         creating a Gda Value based on the Glom document type for the primary
2009         key value string when loading from a URL.
2010         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2011         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2012         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
2013         Update for changed method name.
2014
2015 2011-11-27  Ben Konrath  <ben@bagu.org>
2016
2017         Rename PrimaryKeyItem to TypedDataItem.
2018
2019         The name PrimaryKeyItem suggests what the class should be used for.
2020         TypedDataItem is a neutral name that describes the class better.
2021
2022         This is a rename-only refactor.
2023
2024         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2025         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2026         * src/main/java/org/glom/web/client/Utils.java:
2027         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2028         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2029         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2030         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2031         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2032         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2033         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2034         * src/main/java/org/glom/web/server/Utils.java:
2035         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2036         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2037         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
2038         * src/main/java/org/glom/web/shared/NavigationRecord.java:
2039
2040 2011-11-25  Ben Konrath  <ben@bagu.org>
2041
2042         Improve Gda Value conversion from PrimaryKeyItem.
2043
2044         The value from the PrimaryKeyItem is only used if its type match the
2045         type from the glom document.
2046
2047         * src/main/java/org/glom/web/server/Utils.java:
2048
2049 2011-11-25  Ben Konrath  <ben@bagu.org>
2050
2051         Manually check if the java-liblgom .so is visible to the JVM.
2052
2053         It seems that Tomcat has problems when a static initializer throws an
2054         exception. This check is done before the first method call into
2055         java-libglom so that execution doesn't continue if the .so is not
2056         found.
2057
2058         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2059
2060 2011-11-25  Ben Konrath  <ben@bagu.org>
2061
2062         Improve browser configuration error messages.
2063
2064         This fixes:
2065
2066         https://bugzilla.gnome.org/show_bug.cgi?id=662792
2067
2068         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2069         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2070         getConfigurationErrorMessage() method.
2071         * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
2072         Get and display a specific configuration error message when no Glom
2073         documents are found.
2074         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2075         Implement getConfigurationErrorMessage() method. Surround configuration
2076         code in the init() method with a try/catch block. This allows the
2077         errors to be caught while keeping the servlet available to retrieve the
2078         configuration error message.
2079
2080 2011-11-25  Ben Konrath  <ben@bagu.org>
2081
2082         Don't use Strings to hold primary key values.
2083
2084         The primary key values are now held in a new data object
2085         (PrimaryKeyItem) that holds type information and the primary key value
2086         using the correct type.
2087
2088         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2089         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2090         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2091         PrimaryKeyItem instead of String to hold the primary key value.
2092         * src/main/java/org/glom/web/client/Utils.java: Remove
2093         getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
2094         PrimaryKeyItem based on the GlomFieldType and the DataItem.
2095         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
2096         PrimaryKeyItem instead of String to hold the primary key value. Load
2097         document selection page when the documentID has not been set correctly.
2098         * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
2099         DetailsPlace -> URL and URL -> DetailsPlace conversion with
2100         PrimaryKeyItem.
2101         * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
2102         Return empty string for URL instead of "null".
2103         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2104         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2105         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2106         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
2107         PrimaryKeyItem instead of String to hold primary key values.
2108         * src/main/java/org/glom/web/server/Utils.java: New method to convert a
2109         PrimaryKeyValue to a Gda Value.
2110         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2111         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2112         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
2113         Replace temporary database access code that uses the PrimaryKeyValue to
2114         Gda Value conversion.
2115         * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
2116         * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
2117         PrimaryKeyItem instead of String.
2118         * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
2119         hold primary key values.
2120
2121 2011-11-24  Ben Konrath  <ben@bagu.org>
2122
2123         Use newly added java-libglom API to create queries.
2124
2125         This isn't finished. I still need to stop using Strings for primary key
2126         values in the client code.
2127
2128         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
2129         libglom to use fake connections so that retrieving the query string will
2130         work.
2131         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2132         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2133         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2134         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
2135         Use the newly added libglom sql methods and classes to create the
2136         query. Add temporary hack to convert primary value strings to Gda
2137         Value.
2138
2139 2011-11-23  Ben Konrath  <ben@bagu.org>
2140
2141         Don't explicitly set the height of Portals.
2142
2143         See comments 6 - 10 of this bug for details:
2144
2145         https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
2146
2147         * src/main/java/org/glom/web/client/ui/details/Portal.java:
2148
2149 2011-11-23  Ben Konrath  <ben@bagu.org>
2150
2151         Use an HTML table instead of CSS for the FlowTable layout.
2152
2153         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
2154         GWT's FlexTable to implement the FlowTable.
2155         * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
2156
2157 2011-11-18  Ben Konrath  <ben@bagu.org>
2158
2159         Add boolean example to HTML table mockup.
2160
2161         * mockups/details-view-html-tables-text-entries.html:
2162
2163 2011-11-17  Ben Konrath  <ben@bagu.org>
2164
2165         Ensure the pager buttons are always visible for related lists.
2166
2167         To accomplish this, I've turned off text wrapping in the list view and
2168         related list tables for both the header and data text. The related list
2169         table now has a fixed layout so the it doesn't overflow its container.
2170         This is required to ensure that the cell text is clipped when it
2171         overflows the cell and an ellipsis is added to the right side of the
2172         cell when text is clipped.
2173
2174         A fixed table layout for the related list table in the details view
2175         seems what we want for the details view anyway, so the side-effect is
2176         desirable.
2177
2178         The ellipsis will only be displayed in Firefox >= 7.
2179
2180         This fixes bug:
2181
2182         https://bugzilla.gnome.org/show_bug.cgi?id=662930
2183
2184         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
2185         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
2186         'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
2187         cell text.
2188         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2189         Set the 'table-layout: fixed' CSS property to the related list table.
2190         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
2191         'white-space: nowrap;' CSS property on both the list view and the
2192         related list tables.
2193
2194 2011-11-16  Ben Konrath  <ben@bagu.org>
2195
2196         Rework the fix for empty notebook tab labels.
2197
2198         Setting the empty group titles with its name caused problems for the
2199         details layout. Instead of using libglom's
2200         LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
2201         to the client when the title is empty. This allows the Notebook to use
2202         the name when the title is empty without affecting anything else.
2203
2204         * src/main/java/org/glom/web/client/ui/details/Notebook.java:
2205         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2206
2207 2011-11-16  Ben Konrath  <ben@bagu.org>
2208
2209         Set group titles with name when title is empty.
2210
2211         This fixes a problem with an empty notebook tab label in the Lesson
2212         Planner document. The forth tab in the notebook should be "Internet":
2213
2214         http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
2215
2216         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
2217         libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
2218         DTO title.
2219
2220 2011-11-16  Ben Konrath  <ben@bagu.org>
2221
2222         Remove whitespace from the configured username properties.
2223
2224         This assumes that usernames won't have whitespace at the beginning
2225         or end. But I think this is a reasonable assumption.
2226
2227         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2228         String.trim() to remove the whitespace from the username properties.
2229
2230 2011-11-15  Ben Konrath  <ben@bagu.org>
2231
2232         Add details view mockup with HTML tables and text entries.
2233
2234         This is from the attachment on this bug:
2235
2236         https://bugzilla.gnome.org/show_bug.cgi?id=663109
2237
2238         * mockups/details-view-html-tables-text-entries.html:
2239
2240 2011-11-15  Ben Konrath  <ben@bagu.org>
2241
2242         Add space between the columns of the flow table.
2243
2244         This fixes:
2245
2246         https://bugzilla.gnome.org/show_bug.cgi?id=662918
2247
2248         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
2249         space between columns in the flow table.
2250
2251 2011-11-15  Ben Konrath  <ben@bagu.org>
2252
2253         Add backup files to the .gitignore.
2254
2255         * .gitignore: Ignore files that end with ~.
2256
2257 2011-11-09  Ben Konrath  <ben@bagu.org>
2258
2259         Use latest release of gwt-log.
2260
2261         Gwt-log releases are now being submitted to the maven central
2262         repository so manual installation of the jar is no longer required.
2263
2264         * pom.xml: Update version and groupId of gwt-log dependency.
2265
2266 2011-10-31  Ben Konrath  <ben@bagu.org>
2267
2268         Don't use GWT numeric formatting to override the glom currency formatting.
2269
2270         Currencies are now displayed like they are in Glom. See this bug:
2271
2272         https://bugzilla.gnome.org/show_bug.cgi?id=646216
2273
2274         * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
2275         formatting.
2276         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
2277         currency code to constructor and set it when the cell is rendered.
2278         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
2279         currency code to the constructor of the NumericCell.
2280
2281 2011-10-27  Ben Konrath  <ben@bagu.org>
2282
2283         Require the latest release of java-libglom (1.17.4).
2284
2285         * pom.xml:
2286
2287 2011-10-26  Ben Konrath  <ben@bagu.org>
2288
2289         Add style to Notebook that matches current theme.
2290
2291         It's not the best style in the world but it's better than the default.
2292
2293         * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
2294         padding at the bottom of the child widgets.
2295         * src/main/webapp/style.css: Add style for the Notebook.
2296
2297 2011-10-26  Ben Konrath  <ben@bagu.org>
2298
2299         Move servlet initialization code to overridden init method.
2300
2301         This is half of the solution to getting proper error messages
2302         displayed when configuration errors occur. Here's the relevant bug:
2303
2304         https://bugzilla.gnome.org/show_bug.cgi?id=662792
2305
2306         The rest of the solution involves surrounding the init method with a
2307         try/catch block and setting a global variable with the error /
2308         exception. A new async method should be created to retrieve and display
2309         the error message / exception.
2310
2311         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
2312         code from constructor to init method adding exceptions as needed.
2313
2314 2011-10-26  Ben Konrath  <ben@bagu.org>
2315
2316         Add script to monitor and restart tomcat if required.
2317
2318         * utils/check-and-recover-tomcat.py: New file.
2319
2320 2011-10-26  Ben Konrath  <ben@bagu.org>
2321
2322         Display the correct number of data items in the pager.
2323
2324         This commit fixes:
2325
2326         https://bugzilla.gnome.org/show_bug.cgi?id=661441
2327
2328         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2329         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2330         The implementation is the same for both tables: Keep track of the
2331         number of non-empty rows and fire and RowCountChangeEvent after the data has
2332         been updated.
2333         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
2334         custom Pager class that subclasses SimplePager to handle displaying
2335         the correct number when empty rows have been added.
2336
2337 2011-10-26  Ben Konrath  <ben@bagu.org>
2338
2339         Correct error in previous commit.
2340
2341         * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
2342         eventBus parameter from listView.setCellTable().
2343
2344 2011-10-26  Ben Konrath  <ben@bagu.org>
2345
2346         Fix error in TODO comment.
2347
2348         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2349
2350 2011-10-24  Ben Konrath  <ben@bagu.org>
2351
2352         Create Notebook widgets to the details view.
2353
2354         This isn't finished just yet - I still need to create a reasonable
2355         style to match the current theme.
2356
2357         * src/main/java/org/glom/web/client/Utils.java: Add method for
2358         calculating the height of a widget. This is used in the Notebook class.
2359         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
2360         new constructor method in Group.
2361         * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
2362         method for creating child widget that can be used by subclasses
2363         like Notebook. New constructor that allows disabling the group
2364         titles - Notebooks don't set a group title for their child groups.
2365         * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
2366         to make Notebooks using GWT's TabLayoutPanel.
2367         * src/main/java/org/glom/web/client/ui/details/Portal.java: New
2368         constructor that allows disabling the group titles.
2369         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
2370         LayoutItemNotebook DTO.
2371         * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
2372         DTO for Notebooks. It's just an empty class for now but we might need
2373         it to transfer some specific information in the future.
2374
2375 2011-10-21  Ben Konrath  <ben@bagu.org>
2376
2377         Add navigation buttons to related list tables.
2378
2379         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2380         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2381         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
2382         method getSuitableRecordToViewDetails() for getting the table name
2383         and primary key value for related list navigation buttons.
2384         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
2385         private cell renderer class to get the navigation information for
2386         related list tables from the server. Extract the navigation
2387         processing code from the details cell navigation and use it for the
2388         related list navigation as well.
2389         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
2390         cell renderer class for the details open buttons. This was needed
2391         because the related list navigation buttons and the list view
2392         navigation buttons need to react differently when clicked.
2393         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
2394         the onEnterKeyDown() method because it's now overriden in the
2395         subclasses that are specific to the related list tables and the list
2396         view tables.
2397         * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
2398         the vertical size a little because the buttons add a bit of vertical
2399         space to table. This is not a perfect solution because the vertical
2400         size of with table fewer than 5 rows will be a little smaller.
2401         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
2402         changes in how navigation buttons are handled.
2403         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
2404         getSuitableRecordToViewDetails() using the new RelatedListNavigation
2405         database access object.
2406         * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
2407         to find the portal for a given relationship name from
2408         RelatedListDBAccess. Add method to find a primary key field for a
2409         given table.
2410         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2411         Move code to find the portal for a given relationship name to
2412         DBAccess.
2413         * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
2414         New file: database access object for getting the related list
2415         navigation information (the table name and the primary key value).
2416         * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
2417         DTO for transferring a table name to navigate to and a primary key
2418         value.
2419         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
2420         boolean and getter/setter to specifies if the related list should add
2421         navigation buttons.
2422
2423 2011-10-24  Murray Cumming  <murrayc@murrayc.com>
2424
2425         Use the master branch of java-libglom
2426
2427         * pom.xml: Depend on java-libglom 1.19 instead.
2428         
2429         This is the master branch. See also the libglom-1-18 branch.
2430
2431 2011-10-11  Ben Konrath  <ben@bagu.org>
2432
2433         Enable the open navigation button when the data has been set.
2434
2435         This avoids having active buttons that don't do anything when the data
2436         has not been set.
2437
2438         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
2439
2440 2011-10-11  Ben Konrath  <ben@bagu.org>
2441
2442         Use IsWidget interface for FlowTableItem.
2443
2444         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
2445         FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
2446
2447 2011-10-11  Ben Konrath  <ben@bagu.org>
2448
2449         Remove GWT styling from open button in details view.
2450
2451         There are still some issues with how the details cell is arranged but
2452         this should be made to match Glom 1.20. I'm going to leave fixing this
2453         until I have Glom 1.20 up and running.
2454
2455         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
2456         style name on open button.
2457         * src/main/webapp/style.css: Move and edit details-navigation class.
2458         Re-arrange some classes to make them appear in the same order as the
2459         UI.
2460
2461 2011-10-07  Ben Konrath  <ben@bagu.org>
2462
2463         Update to GWT 2.4.0.
2464
2465         * .gitignore: Ignore new cache directory.
2466         * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
2467         * pom.xml: Change GWT and maven plugin to 2.4.0.
2468         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
2469         2.4.0.
2470         * src/main/java/org/glom/web/client/ClientFactory.java:
2471         * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
2472         * src/main/java/org/glom/web/client/OnlineGlom.java:
2473         Update source for API changes.
2474         * utils/build-onlineglom-war.sh: Remove cache directory before the
2475         build.
2476
2477 2011-10-07  Ben Konrath  <ben@bagu.org>
2478
2479         Add navigation buttons in the details view.
2480
2481         This isn't finished but I thought I'd commit what I have as it's a
2482         pretty good start. I still need to:
2483
2484         1. Change the style so that it fits better into the current theme
2485         2. Adjust the details cell to expand as much as possible.
2486
2487         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
2488         click handlers to navigation buttons in the DetailsCells. Create a
2489         refreshData() method to get just the data from the server without the
2490         layout.
2491         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2492         Update the tableSelector and browser title when the table name
2493         changes without using the tableSelector.
2494         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2495         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
2496         getDetailsCells() to getCells(). Update variable names.
2497         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
2498         method to set click handler on navigation button. Rename a few
2499         variables. Add navigation buttons where needed.
2500         * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
2501         variables and methods.
2502         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
2503         navigation boolean and navigation table as required in the
2504         LayoutItemField DTO.
2505         * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
2506         variables for navigation along with getter/setter methods.
2507
2508 2011-10-07  Ben Konrath  <ben@bagu.org>
2509
2510         Rename Field to DetailsCell.
2511
2512         This is a refactor-only commit. No functionality has been added or
2513         removed.
2514
2515         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2516         Update variable and method names.
2517         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2518         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
2519         variable and method names.
2520         * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
2521         Renamed from Field.
2522         * src/main/java/org/glom/web/client/ui/details/Group.java: Update
2523         variable and method names.
2524
2525 2011-10-07  Ben Konrath  <ben@bagu.org>
2526
2527         Create separate methods for layout and data the details view.
2528
2529         This is a refactor-only commit. No functionality has been added or
2530         removed.
2531
2532         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
2533         private methods: setData(), createLayout().
2534
2535 2011-10-07  Ben Konrath  <ben@bagu.org>
2536
2537         Don't use TableSelectorImpl implementation details in TableSelectorActivity.
2538
2539         This is part of a change to get navigation buttons in the details view
2540         but it should have been done this way from the start.
2541
2542         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
2543         for method name change in TableSelectionView.
2544         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2545         Create TableChangeEvent and set the browser title using the
2546         TableSelectionView API.
2547         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2548         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
2549         Change getSelectedTable() to getSelectedTableName(). Add
2550         getSelectedTableTitle().
2551
2552 2011-10-07  Ben Konrath  <ben@bagu.org>
2553
2554         Use primaryKeyValue naming convention in constructor of DetailsPlace.
2555
2556         * src/main/java/org/glom/web/client/place/DetailsPlace.java:
2557
2558 2011-10-07  Ben Konrath  <ben@bagu.org>
2559
2560         Update TableChangeEvent to use newTableName naming convention.
2561
2562         This makes the class more consistent with GWT naming conventions.
2563
2564         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2565         Update for method name change in TableChangeEvent.
2566         * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
2567         for method name change in TableChangeEvent.
2568         * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
2569         newTableName variable and getter method. Make toDebugString()
2570         actually work.
2571
2572 2011-09-30  Ben Konrath  <ben@bagu.org>
2573
2574         Disable the pager in the list tables when the data row count is less than the minimum.
2575
2576         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2577         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2578
2579 2011-09-30  Ben Konrath  <ben@bagu.org>
2580
2581         Add empty rows to the end of related list and list view tables.
2582
2583         I also extracted the cell rendering classes from the ListTable because
2584         the code was becoming a little crazy with all the anonymous inner
2585         classes. My plan is to use these cell rendering classes in the details
2586         view as well so this refactor will be needed for that change.
2587
2588         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
2589         set the row count in related list tables if the data has more rows
2590         than the minimum number of rows visible.
2591         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
2592         row count in list view tables if the data has more rows than the
2593         minimum number of rows visible.
2594         * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
2595         for rendering TYPE_BOOLEAN cells. The code was extracted from the
2596         ListTable class.
2597         * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
2598         for rendering TYPE_NUMERIC cells. The code was extracted from the
2599         ListTable class.
2600         * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
2601         class for rendering cells with buttons in list views. The code was
2602         extracted from the ListTable class.
2603         * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
2604         for rendering TYPE_TEXT cells. The code was extracted from the
2605         ListTable class.
2606         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2607         Add empty rows to the end of the data if required. Implement
2608         ListTable.getMinNumVisibleRows().
2609         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
2610         cell renderer code to public classes. Return null in
2611         Column.getValue() for empty rows. Add new abstract method:
2612         getMinNumVisibleRows(). Move code to set the row count of the list view
2613         table to ListViewImpl.
2614         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
2615         empty rows to the end of the data if required. Implement
2616         ListTable.getMinNumVisibleRows().
2617
2618
2619 2011-09-27  Ben Konrath  <ben@bagu.org>
2620
2621         Use GWT.log for client-side debugging statements.
2622
2623         These are optimized out when deployed so I should have used this method
2624         in the first place. These statements will eventually be replaced with some sort
2625         of notification in the browser.
2626
2627         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2628         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2629         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2630         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2631         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2632
2633 2011-09-27  Ben Konrath  <ben@bagu.org>
2634
2635         Put tableselector on the right, back to list link on right.
2636
2637         The idea is that the table selector is acting like a label for the
2638         currently displayed table so it should be placed below the document title. This
2639         puts the table title in a similar position to where it is in Glom.
2640
2641         * mockups/details-contacts.html:
2642         * mockups/details-projects.html:
2643         * mockups/listview-contacts.html:
2644         * mockups/listview-projects.html:
2645         * mockups/style.css:
2646         Update mockups to match how the interfaces currently look.
2647         * src/main/webapp/style.css: Swap positions of backlink with the table
2648         selector. Add some space on the left side of the table selector to
2649         line things up with the document title.
2650
2651 2011-09-27  Ben Konrath  <ben@bagu.org>
2652
2653         Add field colouring to details view.
2654
2655         This change re-works how field colouring works. The colour formatting
2656         information is now set to the client with the layout information instead of
2657         with the data. This eliminates the need to send the same colour strings for
2658         data in list view column when colour information is set.
2659
2660         In order to set an alternate colour for negative numeric values, the
2661         number is now sent to client and formatted with the GWT NumberFormat class.
2662
2663         This change also fixes:
2664
2665         https://bugzilla.gnome.org/show_bug.cgi?id=659752
2666
2667         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
2668         internationalization framework which is needed for client side numeric
2669         formatting.
2670         * src/main/java/org/glom/web/client/Utils.java: New file for some
2671         client static utility methods.
2672         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
2673         the DataItem object to the Field class. Use a utility method to
2674         create the foreignKeyValue string.
2675         * src/main/java/org/glom/web/client/ui/details/Field.java: Set
2676         alignment and text colours in the constructor. Add setData(DataItem)
2677         method. Remove setText(String) method.
2678         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
2679         colour information to GlomTextCell. Create and use GlomNumberCell for
2680         rendering numbers. Use utility method to get the string for the
2681         primary key of the key provider. Re-work how the horizontal alignment
2682         is set.
2683         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
2684         formatting to layout information. Methods for converting the libglom
2685         formatting information were moved from DBAccess.
2686         * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
2687         numeric formatting (it's now done on the client side). Don't set text
2688         colours in DataItem. Move libglom formatting conversion methods to
2689         ConfiguredDocument.
2690         * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
2691         getters/setters for text colour information.
2692         * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
2693         for transferring the libglom NumericFormat information to the client.
2694         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
2695         and getters/setters for: GlomNumericFormat, background colour and
2696         foreground colour strings.
2697
2698 2011-09-26  Ben Konrath  <ben@bagu.org>
2699
2700         Simplify code that iterates through the LayoutGroup.
2701
2702         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2703
2704 2011-09-26  Ben Konrath  <ben@bagu.org>
2705
2706         Accept Eclipse formatting for OnlineGlomServiceAsync.
2707
2708         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2709
2710 2011-09-26  Ben Konrath  <ben@bagu.org>
2711
2712         Don't use the ListDBAccess classes to get the primary key layout information.
2713
2714         This was causing a bug where the wrong index for the hidden primary key
2715         was being sent to the client.
2716
2717         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
2718         primary key while creating the LayoutGroup DTO. Create a
2719         LayoutItemField DTO for hidden primary keys. Don't use the
2720         RelatedListDBAccess because it was only used for getting the primary
2721         key.
2722         * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
2723         access modifier from public to protected for getPrimaryKeyField() and
2724         getPrimaryKeyLayoutItemField().
2725         * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
2726         abstract method getExpectedResultSize() because RelatedListDBAccess
2727         doesn't have enough info to implement it.
2728         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2729         Remove @Override for getExpectedResultSize().
2730         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2731         Remove method getExpectedResultSize().
2732
2733 2011-09-23  Ben Konrath  <ben@bagu.org>
2734
2735         Log which layout (list or details) the ignored item is from.
2736
2737         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2738
2739 2011-09-23  Ben Konrath  <ben@bagu.org>
2740
2741         Remove annotations that turn off code formatting in DataItem.
2742
2743         * src/main/java/org/glom/web/shared/DataItem.java:
2744
2745 2011-09-23  Ben Konrath  <ben@bagu.org>
2746
2747         Rename GlomField to DataItem and update associated methods.
2748
2749         This is a rename-only refactor. No functionality has been added or
2750         removed.
2751
2752         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2753         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2754         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2755         * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
2756         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2757         * src/main/java/org/glom/web/client/ui/list/ListTable.java:
2758         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2759         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2760         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2761         * src/main/java/org/glom/web/server/database/DBAccess.java:
2762         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2763         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2764         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2765         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2766         * src/main/java/org/glom/web/shared/DataItem.java:
2767         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
2768         * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
2769
2770 2011-09-23  Ben Konrath  <ben@bagu.org>
2771
2772         Rename GlomDocument to DocumentInfo and update associated methods.
2773
2774         This is a rename-only refactor. No functionality has been added or
2775         removed.
2776
2777         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2778         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2779         * src/main/java/org/glom/web/client/activity/ListActivity.java:
2780         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2781         * src/main/java/org/glom/web/server/ConfiguredDocument.java:
2782         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2783         * src/main/java/org/glom/web/shared/DocumentInfo.java:
2784
2785 2011-09-20  Ben Konrath  <ben@bagu.org>
2786
2787         Require java-libglom 1.17.3.
2788
2789         This picks up the fix for the seg fault problem with the Scenes table
2790         in the Openismus Film Manager example.
2791
2792         * pom.xml:
2793
2794 2011-09-20  Ben Konrath  <ben@bagu.org>
2795
2796         Change the way sort clause is added for primary key when no sort clause is requested.
2797
2798         The primary key is now added to the LayoutFieldVector (fieldsToGet)
2799         before the sort clause is created. When a sort clause is not requested, the
2800         sort clause is created by finding the primary key in the LayoutFieldVector
2801         (fieldsToGet).
2802
2803         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2804
2805 2011-09-20  Ben Konrath  <ben@bagu.org>
2806
2807         Log error message if no documents are found in the configured directory.
2808
2809         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
2810         Extract the glom file extension string to a private static final class
2811         variable (mostly as syntactic sugar). Accept a minor formatting change.
2812         * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
2813         the example glom.document.directory configuration property to make it
2814         more clear that it can any directory, not just the home directory.
2815
2816 2011-09-18  Ben Konrath  <ben@bagu.org>
2817
2818         Add related lists to details view.
2819
2820         The related list table has support for paging and sorting just like the
2821         table in the list view.
2822
2823         * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
2824         SQL queries for the related list tables.
2825         * src/main/java/org/glom/web/client/OnlineGlomService.java:
2826         * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2827         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2828         Rename getList methods to getListView and add comments. Remove
2829         getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
2830         it being unused. Add methods: getDetailsLayoutAndData(),
2831         getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
2832         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
2833         Create the layout and set the data for the fields in one async call
2834         instead of two. Create related lists where appropriate.
2835         * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
2836         for method name changes in OnlineGlomService.
2837         * src/main/java/org/glom/web/client/ui/DetailsView.java:
2838         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
2839         addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
2840         visible UI objects.
2841         * src/main/java/org/glom/web/client/ui/ListView.java:
2842         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
2843         tableName from setCellTable(). Create a ListViewTable instead of
2844         ListTable.
2845         * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
2846         represent a data field in the details view.
2847         * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
2848         from addDetailsCell() to Field class. Keep track of the Fields and
2849         Portals in the details view.
2850         * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
2851         a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
2852         and add a method to get it. Add method to set the contents of the
2853         portal.
2854         * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
2855         New class for related list tables. This class has the data provider
2856         for the related list table.
2857         * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
2858         abstract class which is the base class for the ListViewTable and the
2859         RelatedListTable.
2860         * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
2861         New class for list view tables. This class has the data provider for
2862         the list view table.
2863         * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
2864         methods for related list tables. Add more information to the
2865         LayoutItemField and LayoutItemPortal DTOs.
2866         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2867         Remove debugging print statement.
2868         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2869         Remove debugging print statements. Add primary key field to SQL count
2870         query.
2871         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2872         Remove unnecessary LayoutFieldVector parameter from
2873         getResultSizeOfSQLQuery() method.
2874         * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
2875         New class for related list table database access.
2876         * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
2877         class that is a wrapper DTO for details view layout and data.
2878         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
2879         new 'fromField' string to this DTO.
2880         * src/main/webapp/style.css: Remove bottom margin and override top
2881         margin with 0em.
2882
2883 2011-09-15  Ben Konrath  <ben@bagu.org>
2884
2885         Breakup the OnlineGlomServiceImpl class to make it more manageable.
2886
2887         This sets things up to make it easier to add the data retrieval for
2888         related lists (portals). No user noticeable changes were made with
2889         this commit.
2890
2891         * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
2892         class has the code to retrieve the layouts and access the
2893         database using the new database helper classes.
2894         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2895         Most of the functionality has been removed from this class. This
2896         class now represents the public interface for the client side
2897         code. It also deals with configuring the servlet and cleaning
2898         things up when the servlet is stopped.
2899         * src/main/java/org/glom/web/server/Utils.java: Extract a couple
2900         of static methods into this utility class.
2901         * src/main/java/org/glom/web/server/database/DBAccess.java:
2902         * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
2903         * src/main/java/org/glom/web/server/database/ListDBAccess.java:
2904         * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
2905         These classes have the database retrieval code. The class hierarchy
2906         has been setup to make it easy to reuse code for similar
2907         functionality.
2908
2909 2011-09-06  Ben Konrath  <ben@bagu.org>
2910
2911         Create separate classes for list table code and the data provider.
2912
2913         As part of this refactor, I also split up the code a bit to make it
2914         more manageable.
2915
2916         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
2917         table code to two new classes (below).
2918         * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
2919         with code from ListViewImpl.
2920         * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
2921         New file with code from ListViewImpl.
2922
2923 2011-09-06  Ben Konrath  <ben@bagu.org>
2924
2925         Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
2926
2927         This fixes the LayoutItemPortal DTO to match the libglom layout object
2928         hierarchy.
2929
2930         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
2931
2932 2011-09-01  Ben Konrath  <ben@bagu.org>
2933
2934         Set title of Portals in the Details View.
2935
2936         * pom.xml: Bump required version of java-libglom to 1.17.1.
2937         * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
2938         widget creation to its own class. Add comments to constructor.
2939         * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
2940         The code is mostly from the Group class with the title now set.
2941         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
2942         title of Portal. Update some comments. Fix some code formatting.
2943
2944 2011-09-01  Ben Konrath  <ben@bagu.org>
2945
2946         Remove TODO comment for the flow table column width.
2947
2948         The flow table column width is working correctly and doesn't need to be
2949         changed. See this mailing list post for more info:
2950
2951         https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
2952
2953         * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
2954
2955 2011-08-27  Ben Konrath  <ben@bagu.org>
2956
2957         Add document title (database name) to top of the browser page.
2958
2959         I added the document title to the TableSelecitonView but that will
2960         change if / when we add a view that doesn't require table selection.
2961
2962         * mockups/details-contacts.html:
2963         * mockups/details-projects.html:
2964         * mockups/listview-contacts.html:
2965         * mockups/listview-projects.html:
2966         * mockups/style.css: Add document title to mockups to keep things
2967         consistent.
2968         * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
2969         sizes to account for the document title.
2970         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
2971         Set the document title when it has been retrieved from the server.
2972         * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
2973         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
2974         and implement setDocumentTitle(String) method.
2975         * src/main/webapp/style.css: Add ID for document title style.
2976
2977 2011-08-25  Ben Konrath  <ben@bagu.org>
2978
2979         Add NavigationType enum to LayoutItemPortal DTO.
2980
2981         This is the start of adding support for Portals to the Details View.
2982
2983         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
2984         LayoutItem_Portal.navigation_type enum from libglom to
2985         LayoutItemPortal.NavigationType enum.
2986         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
2987         NavigationType enum, field for storing the NavigationType and getter
2988         and setter methods.
2989
2990 2011-08-25  Ben Konrath  <ben@bagu.org>
2991
2992         Implement the flow table layout in the Details View.
2993
2994         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
2995         FlowTable to Group to account for the renamed class.
2996         * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
2997         File. This is a container widget that implements the Glom details view
2998         flow table behaviour.
2999         * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
3000         org/glom/web/client/ui/FlowTable.java.
3001         * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
3002         so that the size of the subgroups are a closer match to the size of
3003         the Glom subgroups. This makes the flowtable layout match the layout
3004         in Glom for the Music Collection example file.
3005
3006 2011-08-16  Ben Konrath  <ben@bagu.org>
3007
3008         Create container element for LayoutItemPortal in Details View.
3009
3010         This will help me develop the layout for the FlowTable.
3011
3012         * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
3013         fieldPanel variable to detailsCell.
3014
3015 2011-08-15  Ben Konrath  <ben@bagu.org>
3016
3017         Set the height of the data element in the Details View.
3018
3019         I changed the InlineLabels (text in a span element) to Labels (text in
3020         a div element) so that I could set the height of the details-data
3021         elements instead of the details-cell parent elements. This allows the
3022         the details-data element to display the correct height if style is
3023         applied that shows the height.
3024
3025         This change has the added benefit of allowing the order of the labels
3026         and data elements to be changed for right-to-left languages.
3027
3028         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
3029         InlineLabels to Labels.
3030         * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
3031         InlineLabels to Labels. Set the height of the data element.
3032         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
3033         multiline text height in the Formatting DTO.
3034         * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
3035         for multiline height along with getter and setter methods.
3036         * src/main/webapp/style.css: Adjust style to account for the change
3037         from span elements to div elements in the details cell.
3038
3039 2011-08-15  Ben Konrath  <ben@bagu.org>
3040
3041         Make the List View appearance match the mockups.
3042
3043         It doesn't match exactly but it's much better than it was.
3044
3045         * mockups/listview-contacts.html: Remove unused css classes.
3046         * mockups/listview-projects.html: Remove unused css classes.
3047         * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
3048         rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
3049         for mainPanel instead of VerticalPanel (table). Set style name on
3050         CellTable. Set style name on Details column. Right-align Details
3051         buttons.
3052         * src/main/webapp/style.css: Adjust properties to match the mockups.
3053
3054 2011-08-12  Ben Konrath  <ben@bagu.org>
3055
3056         Add better support for subgroups in the details view.
3057
3058         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
3059         changed FlowTable constructor.
3060         * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
3061         support for subgroups and subgroup-titles.
3062         * src/main/webapp/style.css: Add CSS class for subgroups and
3063         subgroup-titles.
3064
3065 2011-08-12  Ben Konrath  <ben@bagu.org>
3066
3067         Return the top level LayoutGroup title.
3068
3069         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
3070
3071 2011-08-11  Ben Konrath  <ben@bagu.org>
3072
3073         Make the TableSelector header match the mockup.
3074
3075         * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
3076         the layout panel. Properly lineup the table selection header with
3077         the list and details view.
3078         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
3079         margin around the details view.
3080         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
3081         Rename listBox variable to tableSelector. Set id for the style sheet.
3082         Use a FlowPanel instead of a HorizontalPanel.
3083         * src/main/webapp/style.css: Add properties to make the TableSelector
3084         box match the mockups.
3085
3086 2011-07-13  Ben Konrath  <ben@bagu.org>
3087
3088         Update install script for java-libglom version change.
3089
3090         * utils/install-onlineglom-war.sh: Also exit if 'make check' in
3091         java-libglom fails.
3092
3093 2011-07-13  Ben Konrath  <ben@bagu.org>
3094
3095         Add support sub-group in the details view.
3096
3097         I also removed the code that special-cased the default details view
3098         layout. See:
3099
3100         http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
3101
3102         I still have to make a proper flowtable.
3103
3104         * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
3105         Don't special-case default details view layout.
3106         * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
3107         addLayoutField() as I'm going to use it.
3108         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
3109         GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
3110         method.
3111         * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
3112         extracted from DetailsViewImpl.GroupPanel. Add support for
3113         sub-groups.
3114         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
3115         column count when getting the details layout.
3116
3117 2011-07-12  Ben Konrath  <ben@bagu.org>
3118
3119         Set browser title with database and table titles.
3120
3121         * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
3122         Set the browser title when the table changes and when the activity
3123         first starts.
3124         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
3125         title when retrieving document info (the GlomDocument object).
3126         * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
3127         with getter and setter methods. Remove unused convenience constructor.
3128         Use default code formatting.
3129
3130 2011-07-12  Ben Konrath  <ben@bagu.org>
3131
3132         Ignore LayoutItemPortals in the details view.
3133
3134         I added a new DTO for the LayoutItemPortal so that I can ignore it in
3135         the client code.
3136
3137         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
3138         LayoutItemPortal layout objects.
3139         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
3140         LayoutItemPortal objects when retrieving the details layout.
3141         * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
3142         file. This is an empty class and just used to get type information for
3143         now.
3144
3145 2011-07-12  Ben Konrath  <ben@bagu.org>
3146
3147         Use java-libglom 1.17.0.
3148
3149         * pom.xml:
3150
3151 2011-07-11  Ben Konrath  <ben@bagu.org>
3152
3153         Remove "Table:" label from table selector.
3154
3155         This matches a recent change in the Glom UI.
3156
3157         * mockups/details-contacts.html:
3158         * mockups/details-projects.html:
3159         * mockups/listview-contacts.html:
3160         * mockups/listview-projects.html: Remove the "Table:" label from the
3161         mockups as well.
3162         * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
3163
3164 2011-07-11  Ben Konrath  <ben@bagu.org>
3165
3166         Add main groups to the details view.
3167
3168         This makes things look a little nicer in the details view. The next step
3169         is to implement the flowtable.
3170
3171         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
3172         resources from the standard gwt css theme. Standard.css is now
3173         included in OnlineGlom.html so that the online glom css rules have
3174         precedence over the gwt theme.
3175         * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
3176         the whole LayoutGroup to the DetailsView instead of just the titles.
3177         * src/main/java/org/glom/web/client/ui/DetailsView.java:
3178         * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
3179         details layout with a helper class (GroupPanel). I might extract this
3180         class when I make the full flowtable.
3181         * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
3182         string as default so I don't have to worry about NPEs when processing
3183         the layout objects.
3184         * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
3185         note beside OnlineGlom.gwt.xml above).
3186         * src/main/webapp/style.css: Add default font-size to body to override
3187         the font-size set by the standard theme. Don't use h2 tags for
3188         group-title. Create new details-cell class.
3189
3190 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
3191
3192         ConfiguredDocument: Set the port number too.
3193
3194         * src/main/java/org/glom/web/server/ConfiguredDocument.java
3195         (ConfiguredDocument.ConfiguredDocument): Get the port number from the 
3196         Glom document. Presumably this worked sometimes so far because there is a 
3197         default port number.
3198
3199 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
3200
3201         ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
3202
3203         * src/main/java/org/glom/web/server/ConfiguredDocument.java
3204         (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is 
3205         correct, though we should throw an exception too.
3206
3207 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
3208
3209         Fix a addDocuemnt typo.
3210
3211         * src/main/java/org/glom/web/shared/Documents.java
3212         (Documents.addDocuemnt): Rename to addDocument().
3213         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
3214         (OnlineGlomServiceImpl.getDocuments): Adapt.
3215         
3216 2011-07-08  Murray Cumming  <murrayc@murrayc.com>
3217
3218         Slightly improved log output when connection fails.
3219
3220         * src/main/java/org/glom/web/server/ConfiguredDocument.java
3221         (ConfiguredDocument.setUsernameAndPassword):
3222         We don't know for sure if it' the username/password that's wrong, so 
3223         rephrase the message.
3224         Also ouput the exception message, though it's generic in this case.
3225
3226 2011-07-08  Ben Konrath  <ben@bagu.org>
3227
3228         Cleanup comments.
3229
3230         * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
3231         added braces to a one line if statement because the Eclipse formatter
3232         was getting confused.
3233
3234 2011-07-07  Ben Konrath  <ben@bagu.org>
3235
3236         Update project config files for Eclipse 3.7 and use GWT 2.3.0.
3237
3238         These should really be two separate tasks but I counldn't get things to
3239         work with GWT 2.2.0 and Eclipse 3.7.
3240
3241         * .classpath:
3242         * .project:
3243         * .settings/org.eclipse.jdt.core.prefs:
3244         * .settings/org.eclipse.jdt.ui.prefs:
3245         * .settings/org.eclipse.ltk.core.refactoring.prefs:
3246         * .settings/org.eclipse.m2e.core.prefs:
3247         Add new config files. Update current files. Remove references to the
3248         webtools plugins as we're not using any of the webtools features.
3249         * .gitignore: Add logs directory which is created when running with
3250         'mvn gwt:run'.
3251         * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
3252         * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
3253         src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
3254         limitation: