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