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