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