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