1 2011-05-24 Ben Konrath <ben@bagu.org>
3 Remove FIXME in convertGdkColorToHtmlColour()
5 The Gdk::Color value returned by libglom is 16-bits per channel on both
6 64 and 32-bit platforms.
8 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
10 2011-05-19 Ben Konrath <ben@bagu.org>
12 Improve performance of initial ListView load.
14 I removed a round trip to the server for getting the default table name
15 and then requesting information about that table. This also removes a potential
16 problem with the table change handler not being setup in time to receive the
17 table change event from the ListActivity.
19 * src/main/java/org/glom/web/client/OnlineGlomService.java:
20 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
21 getDefaultLayoutListTable() method. Improve comments.
22 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
23 getDefaultLayoutListTable() method instead of firing a table change
24 event to get the table to load.
25 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
26 implementation of getDefaultLayoutListTable() method.
27 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
30 2011-05-19 Ben Konrath <ben@bagu.org>
32 Override toDebugString() in TableChangeEvent.
34 This is useful to have for debugging.
36 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
38 2011-05-19 Ben Konrath <ben@bagu.org>
40 Add a "Back to List" link when at the DetailsPlace.
42 * src/main/java/org/glom/web/client/activity/ListActivity.java:
43 Populate the CellTable based on the selected table of the ListBox if
44 it's set otherwise use the default table. This allows the "Back to
46 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
47 Remove Place from constructors. Add a setPlace() method. Add
48 goToPlace() method. Set class as presenter for TableSelectionView.
49 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
50 Use the same TableSelectionActivity when switching between the List and
52 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
53 Subclass the new HasSelectableTablePlace. This removes some duplicate
55 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
56 New class to represent Places that display the TableSelectionView.
57 * src/main/java/org/glom/web/client/place/ListPlace.java:
58 Subclass the new HasSelectableTablePlace. This removes some duplicate
60 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
61 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
62 Add Presenter interface. Add setBackLinkVisible() method. Add
65 2011-05-18 Ben Konrath <ben@bagu.org>
67 Enable the "Details" buttons.
69 Right now only an empty details view is displayed.
71 * src/main/java/org/glom/web/client/ClientFactory.java:
72 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
73 Add DetailsView to ClientFactory.
74 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
75 A basic activity for the details view.
76 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
77 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
79 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
80 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
82 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
83 Create a new DetailsActivity when a DetailsPlace is requested. Remove
84 unnecessary super() in constructor.
85 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
86 Create a new TableSelectionActivity when a DetailsPlace is requested. We
87 really shouldn't create a new TableSelectionActivity for both the ListPlace
88 and the DetailsPlace so this should be considered a temporary solution.
89 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
90 New file. Represents a URL for the details view.
91 * src/main/java/org/glom/web/client/ui/DetailsView.java:
92 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
93 A basic details view interface and implementation.
94 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
95 Enable the "Details" buttons.
97 2011-05-12 Ben Konrath <ben@bagu.org>
99 Use a LayoutPanel with multiple display areas for main layout.
101 This is mostly a refactor in that there are no changes from the user
102 point of view. These changes are required so that we can swap out the list view
103 with the details view when the user clicks the "Details" button.
105 * src/main/java/org/glom/web/client/ClientFactory.java:
106 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
107 OnlineGlomView. Add TableSelectionView, ListView and
109 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
110 for main layout. Add display regions for main activities. Add
111 activity manager for for main activities.
112 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
113 file from parts of the deleted OnlineGlomActivity.
114 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
115 New file from parts of the deleted OnlineGlomActivity.
116 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
117 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
118 New files for app wide table change event.
119 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
120 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
121 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
122 Activity mappers for the main activities replace the deleted app-wide
124 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
125 Fix a spelling error in he comment.
126 * src/main/java/org/glom/web/client/ui/ListView.java:
127 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
128 Renamed from LayoutListView and modified for MVP. This still not a
129 proper dumb view as prescribed by the MVP pattern but it works for now.
130 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
131 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
132 New widget stripped out of the deleted OnlineGlomView.
133 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
134 Remove hack that is fixed by this patch.
136 2011-05-06 Ben Konrath <ben@bagu.org>
138 Rename OnlineGlomPlace to ListPlace.
140 The only change besides the rename is that url will now display #list
141 instead of #Document.
143 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
144 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
145 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
146 * src/main/java/org/glom/web/client/place/ListPlace.java:
147 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
149 2011-05-06 Ben Konrath <ben@bagu.org>
151 Use Presenter for app navigation.
153 This is the proper way to deal with Place (URL) changes with the MVP
156 * src/main/java/org/glom/web/client/ClientFactory.java:
157 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
158 PlaceHistoryMapper and PlaceHistoryHandler.
159 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
160 PlaceHistoryMapper and PlaceHistoryHandler.
161 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
162 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
163 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
164 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
165 Add Presenter interface and setPresenter methods. Rename addHyperLink
166 to addDocumentLink taking only the document title as a parameter.
168 2011-04-14 Ben Konrath <ben@bagu.org>
170 Prompt for db username/password if they haven't been set.
172 This is implemented with a popup widget that is contained within the
173 OnlineGlomView and managed by the OnlineGlomActivity.
175 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
176 methods for checking and setting the database username and password.
177 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
178 new methods for checking and setting the database username and
180 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
181 Display authentication popup if the JDBC connection to the database
182 has not been authenticated.
183 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
185 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
186 for dealing with the authentication popup.
187 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
188 Implement the methods for dealing with the authentication popup.
189 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
190 try to executed queries if the database connection hasn't been
191 authenticated. Implement methods for checking and setting the
192 database username and password.
194 2011-04-12 Ben Konrath <ben@bagu.org>
196 Make log messages a little clearer.
198 Add a dash betweeen the document title and the table name.
200 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
202 2011-04-12 Ben Konrath <ben@bagu.org>
204 Protect against NPEs when cleaning up database resources.
206 While this isn't strictly necessary because the exception is caught,
207 not protecting against the NPEs makes it harder to find the real error
210 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
212 2011-04-12 Ben Konrath <ben@bagu.org>
214 Move configuration of the servlet to the constructor.
216 The servlet will be initialized even if the database authentication
217 information is not set or correct. I still need to add the UI for prompting
218 the user for the authentication information when it's required.
220 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
221 javadocs for getDocumentTitles() method.
222 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
223 Set error message when RPC fails.
224 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
225 glom files directory from the configuration file. Try to set the
226 database authentication information for the specific document if it's
227 set and works otherwise try to use the global authentication
228 information set for the directory.
229 * src/main/resources/onlineglom.properties: Moved from
230 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
231 Added detailed comments for the new keys.
233 2011-04-11 Ben Konrath <ben@bagu.org>
235 Remove unnecessary @Override in DocumentSelectionViewImpl.
237 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
239 2011-04-11 Ben Konrath <ben@bagu.org>
241 Remove center alignment in DocumentSelectionView.
243 The title element is still centred but the document titles and bottom
244 sentence are both left-aligned.
246 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
248 2011-04-11 Ben Konrath <ben@bagu.org>
250 Change 'Demo' naming convention to 'Document'.
252 This is just a rename refactor with no functional changes to the code.
254 * src/main/java/org/glom/web/client/ClientFactory.java:
255 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
256 * src/main/java/org/glom/web/client/OnlineGlom.java:
257 * src/main/java/org/glom/web/client/OnlineGlomService.java:
258 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
259 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
260 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
261 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
262 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
263 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
264 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
265 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
266 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
268 2011-04-08 Ben Konrath <ben@bagu.org>
270 Remove FIXME from safeLongToInt() method.
272 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
275 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 2011-04-08 Ben Konrath <ben@bagu.org>
279 Display an error if no glom documents are found in the specified directory.
281 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
282 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
283 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
284 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
286 2011-04-08 Ben Konrath <ben@bagu.org>
288 Add copyright header to one more file ... oops.
290 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
292 2011-04-08 Ben Konrath <ben@bagu.org>
294 Add copyright header to files without it.
296 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
297 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
298 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
299 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
300 * src/main/java/org/glom/web/shared/ColumnInfo.java:
301 * src/main/java/org/glom/web/shared/GlomField.java:
303 2011-04-08 Ben Konrath <ben@bagu.org>
305 Add support for accessing multiple glom documents in the servlet.
307 This completes the demo selection functionality.
309 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
310 document title to methods.
311 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
312 document title to methods.
313 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
314 Set browser window title when the activity starts. Correct name of
315 document title variable.
316 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
317 Set browser window title when the activity starts. Set the table
318 selector change handler after table selector has been set. Clear the
319 OnlineGlomView when the activity has been stopped.
320 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
321 document title as the place token. Use "#Document:" instead of
322 "#OnlineGlomPlace:" in the URL.
323 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
324 Change heading to "Online Glom"
325 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
326 document title in RPC methods.
327 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
328 setDocumentTitle() method. Add clear() method.
329 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
330 setDocumentTitle() method. Implement clear() method which removes the
331 change handler on the ListBox, clears the ListBox and clears the
333 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
334 Implement methods with document title. Keep track for the configured
335 glom documents and their corresponding JDBC configurations in a hash
336 table. This information is retrieved using the document title as the
337 key in the hash table.
338 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
339 document title field as it's no longer needed.
341 2011-04-08 Ben Konrath <ben@bagu.org>
343 Update the Eclipse JDT configuration.
345 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
346 methods. Automatically add the copyright header to new files.
348 2011-04-05 Ben Konrath <ben@bagu.org>
350 Add new page for demo selection.
352 This patch adds all the components required to view and start an
353 OnlineGlom demo by clicking on the desired hyperlink. The user is
354 able to return to the demo selection page with the browser's back
355 button. I still need to modify the servlet to work with multiple
356 documents so all demo links will load the file defined in the
357 OnlineGlom.properties.
359 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
360 This is only useful during development so we don't need to save it.
361 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
362 get a reference to the DemoSelectionView.
363 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
364 method to get a reference to the DemoSelectionView.
365 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
366 default view to DemoSelectionView.
367 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
368 to get glom document titles for glom files in a hard-coded directory.
369 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
370 method to get glom document titles for glom files in a hard-coded
372 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
373 Presenter for DemoSelectionView.
374 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
375 for DemoSelectionView.
376 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
377 Update for DemoSelectionView.
378 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
379 Basic 'Place' implementation for the DemoSelectionView.
380 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
381 The interface for the DemoSelectionView.
382 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
383 The implementation of the DemoSelectionView.
384 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
385 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
386 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
387 implementation of method to get glom document titles for glom files
388 in a hard-coded directory.
389 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
390 on longer being used.
391 * src/main/webapp/glom.png: Glom logo.
393 2011-04-05 Ben Konrath <ben@bagu.org>
395 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
397 This is the forth and final commit of a refactor that will allow
398 OnlineGlom to be used with multiple documents.
400 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
401 Move RPC code from OnlineGlomViewImpl to this class.
402 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
404 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
405 RPC code to the presenter class (the P in MVP).
407 2011-04-04 Ben Konrath <ben@bagu.org>
409 Start moving the existing OnlineGlom code to MVP.
411 This work is based on the GWT MVP framework that is documented here:
413 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
415 This is the third commit of a refactor that will allow OnlineGlom to
416 be used with multiple documents.
418 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
419 Interface for client factory which is used to get instances of various
420 classes throughout the app.
421 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
422 Implementation of client factory.
423 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
424 initialize the MVP framework.
425 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
426 New file. Activity manager for the main container widget. This is the
428 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
429 Maps place (URL) to its corresponding activity.
430 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
431 New file. This is just a place holder for a generated file.
432 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
433 New file. Represents the URL for the main Online Glom app.
434 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
435 for changes in LayoutListViewImpl.
436 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
437 interface for View. Move code to OnlineGlomViewImpl class.
438 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
439 file. Implementation of OnlineGlomView.
440 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
441 Place resources. Use ClientFactoryImpl by default.
443 2011-04-04 Ben Konrath <ben@bagu.org>
445 Move View classes to their own package.
447 This is the second commit of a refactor that will allow OnlineGlom to
448 be used with multiple documents.
450 * src/main/java/org/glom/web/client/OnlineGlom.java:
451 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
452 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
454 2011-04-02 Ben Konrath <ben@bagu.org>
456 Move UI code from the main module to its own class.
458 This is the first commit of a refactor that will allow OnlineGlom to be
459 used with multiple documents.
461 * src/main/java/org/glom/web/client/LayoutListView.java: Update
462 references to OnlineGlom to OnlineGlomView.
463 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
464 OnlineGlomView and instantiate it here.
465 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
466 represents the main OnlineGlomView with one document.
468 2011-04-01 Ben Konrath <ben@bagu.org>
470 Fix formatting of gwt.xml and add DTD.
472 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
474 2011-03-30 Ben Konrath <ben@bagu.org>
476 Propperly convert gdkColor string to html colour string.
478 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
480 2011-03-28 Ben Konrath <ben@bagu.org>
482 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
484 This implementation matches
485 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
486 readable and is not tied to Swig.
488 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
490 2011-03-28 Ben Konrath <ben@bagu.org>
492 Use read-only checkboxes for boolean field types.
494 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
495 in the CellTable based on the field type. It currently only
496 distinguishes between boolean and text columns but I'll need to add
497 support for more types.
498 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
499 column type in the ColumnInfo object. Add method to convert between the
500 glom field type enum in ColumnInfo and the glom field type in libglom.
501 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
503 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
504 getting and setting booleans.
506 2011-03-25 Ben Konrath <ben@bagu.org>
508 Don't get the Date twice from the ResultSet.
510 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
512 2011-03-25 Ben Konrath <ben@bagu.org>
514 Cleanup code in the servlet.
516 * TODO: Remove item about row count. Add item about testing row count
517 query with large number of rows.
518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
519 spelling mistakes, change method parameter to be consistent with
522 2011-03-25 Ben Konrath <ben@bagu.org>
524 Add server side logging with the gwt-log library.
526 * .gitignore: Ignore the log file we're now producing.
527 * TODO: Add a couple TODO item for logging.
528 * pom.xml: Add gwt-log and log4j as a dependency.
529 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
530 logging of errors, warnings and some important info.
531 * src/main/resources/log4j.properties: New file to configure log4j.
533 2011-03-24 Ben Konrath <ben@bagu.org>
535 Add a disable button for the Details view.
537 * src/main/java/org/glom/web/client/LayoutListView.java:
539 2011-03-22 Ben Konrath <ben@bagu.org>
541 Use a count query to get the number of rows for the list view pager.
543 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
545 2011-03-22 Ben Konrath <ben@bagu.org>
547 Add more TODO information about CellTable pager positioning.
551 2011-03-19 Ben Konrath <ben@bagu.org>
553 Add TODO item about CellTable pager positioning.
557 2011-03-18 Ben Konrath <ben@bagu.org>
559 Remove unneeded GlomFieldColumn class.
561 This is just a small code cleanup.
563 * src/main/java/org/glom/web/client/LayoutListView.java:
565 2011-03-18 Ben Konrath <ben@bagu.org>
567 Use cursor mode in the query that gets data for the list view.
569 I still need to fix the potential memory problem when getting the row
570 count for the list view.
572 * TODO: Add note about testing memory usage with large data sets. Add
573 item about fixing row counting with large data sets.
574 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
575 PostgreSQL JDBC driver into cursor mode when getting data for the
578 2011-03-15 Ben Konrath <ben@bagu.org>
580 Remove the GWT Container from the Eclipse build classpath.
582 The GWT dependencies are set by Maven so this isn't needed.
586 2011-03-15 Murray Cumming <murrayc@murrayc.com>
588 Added some earlier mockups to git, but not to the tarball dist.
590 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
591 Openismus. These hopefully show how we might structure the HTML so that
592 it can be styled easily with CSS. However, we probably need to adapt them
593 for the CSS structure that GWT dictates for common widgets.
595 2011-03-14 Ben Konrath <ben@bagu.org>
597 Locate OnlineGlom.properties using the ServletContext.
599 This is required to be able to locate the file in the deployed servlet.
601 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
602 Configure the database and glom document in in a helper method so
603 that the ServletContext can be used to locate OnlineGlom.properties.
604 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
605 src/main/webapp. This is the proper location for .properites files.
607 2011-03-12 Ben Konrath <ben@bagu.org>
609 Add note to README about why we're compiling down to obfuscated JavaScript.
613 2011-03-11 Ben Konrath <ben@bagu.org>
615 Use properties file to configure servlet.
617 This allows people to change the glom file path, db username and db
618 password without recompiling the code.
620 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
621 * src/main/webapp/OnlineGlom.properties:
623 2011-03-11 Ben Konrath <ben@bagu.org>
625 Use table fields in layout list view if the layout list is not defined.
627 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
628 Manually create a LayoutFieldVector for the query builder using the
629 table fields when a layout list is not defined in the glom file.
631 2011-03-11 Ben Konrath <ben@bagu.org>
633 Only show FIXME string for images when there's an image.
635 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
636 in this change are some small code cleanups.
638 2011-03-11 Ben Konrath <ben@bagu.org>
640 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
642 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644 2011-03-11 Ben Konrath <ben@bagu.org>
646 Correctly set the index of the default table.
648 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
649 Correctly set the index of the default table. Add commented out example
652 2011-03-10 Ben Konrath <ben@bagu.org>
654 Add comment to pom.xml about the previous change.
656 * pom.xml: Add comment about the deployment issue so that it's obvious
657 why java-libglom is set to the provided scope.
659 2011-03-10 Ben Konrath <ben@bagu.org>
661 Change java-libglom dependency from compile to provided in pom.xml.
663 Since java-libglom uses jni it can only be loaded once and therefore
664 must be placed in $CATALINA_HOME/lib and not included in each war.
665 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
666 More information about this issue can be found in the Tomcat 6 release
667 notes in the "JNI Based Applications" section:
669 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
671 * README: Remove note about this issue. Deployment info should really
672 be on the wiki anyway so I'll add it right now.
673 * pom.xml: Change java-libglom dependency from compile to provided so
674 that it's copied in to the packaged war.
676 2011-03-09 Ben Konrath <ben@bagu.org>
678 Change to using a neutral locale for currency, date and time formatting.
680 This solves the problem of currency values being represented without a
681 space between the currency code and the number (e.g. "EUR5.89" is now
682 represented as "EUR 5.89"). More work is required when we implement
683 a locale preference setting.
685 * TODO: Add note about currency formatting issues with different
687 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
688 to using the neutral ROOT locale.
690 2011-03-09 Ben Konrath <ben@bagu.org>
692 Add support for currency codes that are not ISO 4217 codes.
694 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
695 the currency code defined in the glom file when it's not 3 characters
696 long or when Java doesn't recognize the string as an ISO 4217 code.
698 2011-03-08 Ben Konrath <ben@bagu.org>
700 Remove test classes, launch configurations and configuration.
702 The test stuff was getting in the way when creating the war. To make
703 the war file you can now do 'mvn clean package'. The packaged war file
704 will be in the target directory.
706 * .classpath: Remove unused classpathentry for tests and i18n.
707 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
708 property. Don't run test or i18n goals when packaging the war.
709 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
714 * OnlineGlomTest-dev.launch:
715 * OnlineGlomTest-prod.launch:
716 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
717 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
719 2011-03-07 Ben Konrath <ben@bagu.org>
721 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
723 These fixes allow me to use 'mvn deploy' to create the war file.
725 * .classpath: This generated config has been updated by Eclipse. This
726 change was probably triggered by me updating from Eclipse 3.6.1 to
728 * .gitignore: Add entry to ignore the directory
729 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
730 * .project: The generated config has been updated by Eclipse. This
731 change was probably triggered by me updating from Eclipse 3.6.1 to
733 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
734 so that Eclipse doesn't complain
735 * pom.xml: Update to gwt-maven-plugin 2.2.0.
736 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
737 'tests' directory to 'client' directory. This is the new
738 gwt-maven-plugin convension.
739 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
740 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
742 2011-03-07 Ben Konrath <ben@bagu.org>
744 Add support for horizontal alignment in the LayoutList columns.
746 * TODO: Remove item about horizontal alignment. Add item about
747 improvements to ColumnInfo.
748 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
749 alignment on the columns. Use ColumnInfo RPC object get the column
750 title and horizontal alignment.
751 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
752 LayoutListView creation with ColumnInfo RPC object.
753 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
754 a ColumnInfo object for every LayoutList columnn. Convert the
755 FieldFormatting.HorizontalAlignment to the correct
756 ColumnnInfo.HorizontatlAlignment with the new
757 getColumnInfoHorizontalAlignment helper method.
758 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
759 to encapsulate column information like alignment and title. This
760 could be used to set the colour instead of on a per cell field basis.
761 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
762 column title storage and retrieval with ColumnInfo.
764 2011-03-04 Ben Konrath <ben@bagu.org>
766 Add support for column sorting.
768 * src/main/java/org/glom/web/client/LayoutListView.java: Change
769 AsynDataProvider to be an anonymous inner class. Use new
770 getSortedTableData RPC method when column sort is requested. Set all
771 columns sortable and add an AsyncHandler to activate sorting in the
773 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
774 method getSortedTableData(). Cleanup other method signatures.
775 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
776 new method getSortedTableData(). Cleanup other method signatures.
777 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
778 Implement getSortedTableData() and getTableData() methods by using a
779 private helper method with the appropriate parameters filled in. Use
780 user supplied sort clause when supplied, otherwise fall back to
781 sorting by the primary key. Move destroy() method to be underneath
782 constructor for readability. Cleanup comments.
784 2011-03-03 Ben Konrath <ben@bagu.org>
786 Add support for colour text and colour backgrounds to the layout list cells.
788 Only the cell backgrounds are coloured which leaves a gap between the
789 cells that isn't coloured. I need to figure out a way to set
790 'style=background-colour:' on the whole column rather than just the
793 * TODO: Add a note about colouring the background of the whole column.
794 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
795 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
796 render the coloured text and backgrounds. Use GlomField[] for the row type.
797 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
799 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
800 GlomField[] for the row type.
801 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
802 GlomField[] for the row type. Set the text, text colour and background
803 colour in the GlomField objects as specified in the glom document. Add
804 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
805 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
806 the glom field text, foreground colour and background colour.
808 2011-03-02 Ben Konrath <ben@bagu.org>
810 Don't display hidden tables in the combo box.
812 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
814 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
815 code to ignore hidden tables using ArrayLists for the table names and
817 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
818 tableNames to use ArrayLists instead of String[]. Update getter and setter
821 2011-03-01 Ben Konrath <ben@bagu.org>
823 Add support for Date and Time number types.
825 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
826 Implement formatting for Date and Time values. Change the default glom
827 file to small business example.
829 2011-03-01 Ben Konrath <ben@bagu.org>
831 Add support for formatting glom types as specified in the glom file.
833 Formatting isn't finished yet - I still need to add support for Date
836 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
837 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
838 checks for null values in JDBC cleanup code and catch all exceptions
839 instead of just SQLExceptions.
840 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
843 2011-03-01 Ben Konrath <ben@bagu.org>
845 Use GWT 2.2.0 instead of 2.1.1.
847 * pom.xml: Change GWT version numbers.
849 2011-03-01 Ben Konrath <ben@bagu.org>
851 A few small code cleanups.
853 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
855 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
856 unnecessary object creation in constructor.
857 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
858 unnecessary object creation in constructor.
860 2011-02-28 Ben Konrath <ben@bagu.org>
862 Add file for TODO list.
866 2011-02-18 Ben Konrath <ben@bagu.org>
868 Enable the CellTable Pager when more than 20 rows need to be viewed.
870 The Pager will automatically become active when the results are larger
871 than the CellTable size which is currently set to 20 lines.
873 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
874 name on debug statment in RPC call in LayoutListDataProvider, add
875 numRows parameter to LayoutListView constructor, propperly set rowCount
877 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
878 name on debug statment in RPC call, use LayoutListTable object in RPC
879 calls, pass rowCount to LayoutListView.
880 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
881 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
883 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
884 interface for changes in OnlineGlomService.
885 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
886 getLayoutListHeaders() to getLayoutListTable() and return
887 LayoutListTable. Using this object allows me to pass other information
888 about the LayoutList like the expected number of rows in the result set.
889 The Connection object from the connection pool is now propperly closed.
890 Only the requested number of lines are returned to the client in
892 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
893 GlomTable and add columnTitles and numRows.
895 2011-02-18 Ben Konrath <ben@bagu.org>
897 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
899 This is a small performance boost. I'll use GlomTable to get the required
900 layoutlist information.
902 * src/main/java/org/glom/web/client/OnlineGlom.java:
903 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
904 * src/main/java/org/glom/web/shared/GlomDocument.java:
906 2011-02-18 Ben Konrath <ben@bagu.org>
908 Add option to turn off formatting in JDT formatter preferences.
910 * .settings/org.eclipse.jdt.core.prefs:
912 2011-02-18 Ben Konrath <ben@bagu.org>
914 Rename LayoutList to LayoutListView.
916 I'm working towards setting things up to easily use MVP when the time
919 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
921 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
924 2011-02-17 Ben Konrath <ben@bagu.org>
926 Move LayoutListDataProvider class into LayoutList.java.
928 * src/main/java/org/glom/web/client/LayoutList.java:
930 2011-02-17 Ben Konrath <ben@bagu.org>
932 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
934 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
936 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
937 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
938 from LibGlomServer.java.
939 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
940 Rename from LibGlomServiceAsync.java.
941 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
942 Rename from LibGlomServiceImpl.java.
943 * src/main/webapp/WEB-INF/web.xml: Update configuration.
945 2011-02-17 Ben Konrath <ben@bagu.org>
949 * .settings/org.eclipse.jdt.core.prefs:
951 2011-02-17 Ben Konrath <ben@bagu.org>
953 Move GWT-RPC objects to shared package (where they should be).
955 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
956 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
957 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
958 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
959 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
960 org.glom.web.shared package.
961 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
962 org.glom.web.shared package.
963 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
964 directory in compilation to javascript.
966 2011-02-16 Ben Konrath <ben@bagu.org>
968 Add sort clause to the sql query that grabs table information.
970 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
971 if one of the columns is a primary key.
973 2011-02-16 Ben Konrath <ben@bagu.org>
975 Disable generateAsync feature of gwt-maven.
977 The generated interface does not correctly match the methods in LibGlomService
978 and the generated singleton Util inner-class doesn't respect the servlet
981 * pom.xml: Turn off generateAsync feature.
982 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
983 with singleton Util inner-class.
985 2011-02-14 Ben Konrath <ben@bagu.org>
987 Add LGPL v3 licence notices.
989 Followed directions listed here:
990 http://www.gnu.org/licenses/gpl-howto.html
992 * COPYING: This file is a copy of the GPL v3.
993 * COPYING.LESSER: This file is a copy of the LGPL v3.
994 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
996 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
998 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1000 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1002 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1004 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1006 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1009 2011-02-14 Ben Konrath <ben@bagu.org>
1011 Use ArrayList instead of Array in GWT-RPC calls.
1013 Apparently this gives a slight performance boost to the compiled
1016 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1018 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1021 2011-02-14 Ben Konrath <ben@bagu.org>
1023 Access data from a postgres db rather than the example glom file.
1025 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1026 compile down to obfuscated javascript.
1027 * pom.xml: Add c3p0 and postgres JDBC libraries.
1028 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1029 using a postgres db accessed through the c3p0 connection pooling library.
1031 2011-02-14 Ben Konrath <ben@bagu.org>
1033 Update Java formatter settings.
1035 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1037 2011-02-02 Ben Konrath <ben@bagu.org>
1039 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1041 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1043 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1044 the compiled webapp directory that Eclipse uses as we're using Maven now.
1045 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1046 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1048 * pom.xml: Format file, change target Java version to 1.6.
1050 2011-02-02 Ben Konrath <ben@bagu.org>
1052 Add information about a deployment related issue.
1054 * README: Add Notes section with the problem outlined.
1056 2011-02-02 Ben Konrath <ben@bagu.org>
1058 Call Glom.libglom_deinit() when the servlet is shutdown.
1060 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1061 Glom.libglom_deinit() to destroy() method.
1063 2011-01-28 Ben Konrath <ben@bagu.org>
1065 Use generated Util class to get the RPC Async interface.
1067 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1069 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1070 getInstance() method to get a reference to the RPC Async interface.
1071 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1072 getInstance() method to get a reference to the RPC Async interface, remove
1073 the now unused getLibGlomServiceProxy() method.
1075 2011-01-27 Ben Konrath <ben@bagu.org>
1077 Cleanup ChangeLog entry from previous commit.
1079 * ChangeLog: Group logical changes together and add comments.
1081 2011-01-25 Ben Konrath <ben@bagu.org>
1083 Convert to gwt-maven project.
1085 * .gitignore: Update for new project structure.
1086 * README: New file with a link to the online documentation.
1087 * pom.xml: The generated maven configuration file with some tweaks.
1089 Add / update Eclipse settings. These files are a merge of the files that
1090 were generated with the gwt-maven plugin and the files we were previously
1094 * .settings/.jsdtscope:
1095 * .settings/com.google.gdt.eclipse.core.prefs:
1096 * .settings/com.google.gwt.eclipse.core.prefs:
1097 * .settings/org.eclipse.jdt.core.prefs:
1098 * .settings/org.eclipse.wst.common.component:
1099 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1100 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1101 * .settings/org.maven.ide.eclipse.prefs:
1102 * OnlineGlomTest-dev.launch:
1103 * OnlineGlomTest-prod.launch:
1105 Java source files moved from the 'src' directory to the directory structure
1107 * src/main/java/org/glom/web/client/GlomDocument.java:
1108 * src/main/java/org/glom/web/client/GlomTable.java:
1109 * src/main/java/org/glom/web/client/LayoutList.java:
1110 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1111 * src/main/java/org/glom/web/client/LibGlomService.java:
1112 * src/main/java/org/glom/web/client/OnlineGlom.java:
1113 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1115 Non-functional property file used for translations. I included this as
1116 reminder that it's something I need to sort out.
1117 * src/main/resources/org/glom/web/client/Messages.properties:
1119 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1120 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1122 The servlet configuration files moved from the 'war' directory.
1123 * src/main/webapp/OnlineGlom.css:
1124 * src/main/webapp/OnlineGlom.html:
1125 * src/main/webapp/WEB-INF/web.xml:
1127 Generated test files with most of the code commented out. I included these
1128 so that it's easy to add tests when we're ready for them.
1129 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1130 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1132 2011-01-25 Ben Konrath <ben@bagu.org>
1134 Remove unused println.
1136 * src/org/glom/web/server/LibGlomServiceImpl.java:
1138 2011-01-25 Ben Konrath <ben@bagu.org>
1140 Add project specific JDT settings.
1142 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1143 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1145 2011-01-25 Ben Konrath <ben@bagu.org>
1147 Populate celltable with example data.
1149 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1150 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1151 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1152 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1153 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1154 asynchronously gets the example data.
1155 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1156 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1157 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1158 curently selected table to be retrieved by other widgets.
1159 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1160 implement getTableData() in a hacky way. This method needs to be updated
1161 to grab information from the database when database creating is
1164 2011-01-20 Ben Konrath <ben@bagu.org>
1166 Set table headers when table dropBox changes.
1168 * src/org/glom/web/client/GlomDocument.java: Correct some method
1170 * src/org/glom/web/client/LibGlomService.java: Add method
1171 to get list layout field names.
1172 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1173 to get list layout field names.
1174 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1175 widget for list layout table.
1176 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1177 the table drop box and add new updateTable() method to asynchronously
1178 get the layout list field names for the currently selected table.
1179 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1180 implementation of getLayoutListHeaders() method.
1181 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1183 2011-01-18 Ben Konrath <ben@bagu.org>
1185 Make a listBox with table titles instead of the flexTable demo.
1187 This is the start of something more useful.
1189 * .classpath: Exclude a bunch of packages from the JVM that are
1190 getting in the way of the Eclipse content assist.
1191 * src/org/glom/web/client/GlomDocument.java:
1192 * src/org/glom/web/client/GlomTable.java:
1193 * src/org/glom/web/client/LibGlomService.java:
1194 * src/org/glom/web/client/LibGlomServiceAsync.java:
1195 * src/org/glom/web/client/OnlineGlom.java:
1196 * src/org/glom/web/server/LibGlomServiceImpl.java:
1197 * war/OnlineGlom.html:
1198 * war/WEB-INF/web.xml:
1200 211-01-13 Ben Konrath <ben@bagu.org>
1202 Update to new java-libglom API.
1204 * .gitignore: Ignore OnlineGlom.war.
1205 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1207 2010-12-20 Ben Konrath <ben@bagu.org>
1209 Add some basic style to the table listing.
1211 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1212 header, print useful error message on async callback failure.
1213 * war/OnlineGlom.css: Add style for table header, remove defaults
1214 provided by the Eclipse project wizard.
1216 2010-12-20 Ben Konrath <ben@bagu.org>
1218 Load example file from installed glom dir.
1220 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1221 provided by java-libglom to find the example file.
1223 2010-12-20 Ben Konrath <ben@bagu.org>
1225 Update Eclipse settings.
1228 * .settings/com.google.gdt.eclipse.core.prefs:
1229 * .settings/com.google.gwt.eclipse.core.prefs:
1231 2010-12-17 Ben Konrath <ben@bagu.org>
1235 * .classpath: New file.
1236 * .gitignore: New file.
1237 * .project: New file.
1238 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1239 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1240 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1241 * src/org/glom/web/client/GlomTable.java: New file.
1242 * src/org/glom/web/client/OnlineGlom.java: New file.
1243 * src/org/glom/web/client/TableNameService.java: New file.
1244 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1245 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1246 * war/OnlineGlom.css: New file.
1247 * war/OnlineGlom.html: New file.
1248 * war/WEB-INF/web.xml: New file.
1249 * war/images/glom.png: New file.