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