1 2011-05-24 Ben Konrath <ben@bagu.org>
3 Add comment to ListActivity.goTo() method.
5 * src/main/java/org/glom/web/client/activity/ListActivity.java:
7 2011-05-24 Ben Konrath <ben@bagu.org>
9 Remove FIXME in convertGdkColorToHtmlColour()
11 The Gdk::Color value returned by libglom is 16-bits per channel on both
12 64 and 32-bit platforms.
14 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
16 2011-05-19 Ben Konrath <ben@bagu.org>
18 Improve performance of initial ListView load.
20 I removed a round trip to the server for getting the default table name
21 and then requesting information about that table. This also removes a potential
22 problem with the table change handler not being setup in time to receive the
23 table change event from the ListActivity.
25 * src/main/java/org/glom/web/client/OnlineGlomService.java:
26 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
27 getDefaultLayoutListTable() method. Improve comments.
28 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
29 getDefaultLayoutListTable() method instead of firing a table change
30 event to get the table to load.
31 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
32 implementation of getDefaultLayoutListTable() method.
33 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
36 2011-05-19 Ben Konrath <ben@bagu.org>
38 Override toDebugString() in TableChangeEvent.
40 This is useful to have for debugging.
42 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
44 2011-05-19 Ben Konrath <ben@bagu.org>
46 Add a "Back to List" link when at the DetailsPlace.
48 * src/main/java/org/glom/web/client/activity/ListActivity.java:
49 Populate the CellTable based on the selected table of the ListBox if
50 it's set otherwise use the default table. This allows the "Back to
52 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
53 Remove Place from constructors. Add a setPlace() method. Add
54 goToPlace() method. Set class as presenter for TableSelectionView.
55 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
56 Use the same TableSelectionActivity when switching between the List and
58 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
59 Subclass the new HasSelectableTablePlace. This removes some duplicate
61 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
62 New class to represent Places that display the TableSelectionView.
63 * src/main/java/org/glom/web/client/place/ListPlace.java:
64 Subclass the new HasSelectableTablePlace. This removes some duplicate
66 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
67 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
68 Add Presenter interface. Add setBackLinkVisible() method. Add
71 2011-05-18 Ben Konrath <ben@bagu.org>
73 Enable the "Details" buttons.
75 Right now only an empty details view is displayed.
77 * src/main/java/org/glom/web/client/ClientFactory.java:
78 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
79 Add DetailsView to ClientFactory.
80 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
81 A basic activity for the details view.
82 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
83 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
85 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
86 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
88 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
89 Create a new DetailsActivity when a DetailsPlace is requested. Remove
90 unnecessary super() in constructor.
91 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
92 Create a new TableSelectionActivity when a DetailsPlace is requested. We
93 really shouldn't create a new TableSelectionActivity for both the ListPlace
94 and the DetailsPlace so this should be considered a temporary solution.
95 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
96 New file. Represents a URL for the details view.
97 * src/main/java/org/glom/web/client/ui/DetailsView.java:
98 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
99 A basic details view interface and implementation.
100 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
101 Enable the "Details" buttons.
103 2011-05-12 Ben Konrath <ben@bagu.org>
105 Use a LayoutPanel with multiple display areas for main layout.
107 This is mostly a refactor in that there are no changes from the user
108 point of view. These changes are required so that we can swap out the list view
109 with the details view when the user clicks the "Details" button.
111 * src/main/java/org/glom/web/client/ClientFactory.java:
112 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
113 OnlineGlomView. Add TableSelectionView, ListView and
115 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
116 for main layout. Add display regions for main activities. Add
117 activity manager for for main activities.
118 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
119 file from parts of the deleted OnlineGlomActivity.
120 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
121 New file from parts of the deleted OnlineGlomActivity.
122 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
123 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
124 New files for app wide table change event.
125 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
126 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
127 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
128 Activity mappers for the main activities replace the deleted app-wide
130 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
131 Fix a spelling error in he comment.
132 * src/main/java/org/glom/web/client/ui/ListView.java:
133 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
134 Renamed from LayoutListView and modified for MVP. This still not a
135 proper dumb view as prescribed by the MVP pattern but it works for now.
136 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
137 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
138 New widget stripped out of the deleted OnlineGlomView.
139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
140 Remove hack that is fixed by this patch.
142 2011-05-06 Ben Konrath <ben@bagu.org>
144 Rename OnlineGlomPlace to ListPlace.
146 The only change besides the rename is that url will now display #list
147 instead of #Document.
149 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
150 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
151 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
152 * src/main/java/org/glom/web/client/place/ListPlace.java:
153 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
155 2011-05-06 Ben Konrath <ben@bagu.org>
157 Use Presenter for app navigation.
159 This is the proper way to deal with Place (URL) changes with the MVP
162 * src/main/java/org/glom/web/client/ClientFactory.java:
163 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
164 PlaceHistoryMapper and PlaceHistoryHandler.
165 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
166 PlaceHistoryMapper and PlaceHistoryHandler.
167 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
168 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
169 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
170 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
171 Add Presenter interface and setPresenter methods. Rename addHyperLink
172 to addDocumentLink taking only the document title as a parameter.
174 2011-04-14 Ben Konrath <ben@bagu.org>
176 Prompt for db username/password if they haven't been set.
178 This is implemented with a popup widget that is contained within the
179 OnlineGlomView and managed by the OnlineGlomActivity.
181 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
182 methods for checking and setting the database username and password.
183 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
184 new methods for checking and setting the database username and
186 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
187 Display authentication popup if the JDBC connection to the database
188 has not been authenticated.
189 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
191 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
192 for dealing with the authentication popup.
193 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
194 Implement the methods for dealing with the authentication popup.
195 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
196 try to executed queries if the database connection hasn't been
197 authenticated. Implement methods for checking and setting the
198 database username and password.
200 2011-04-12 Ben Konrath <ben@bagu.org>
202 Make log messages a little clearer.
204 Add a dash betweeen the document title and the table name.
206 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
208 2011-04-12 Ben Konrath <ben@bagu.org>
210 Protect against NPEs when cleaning up database resources.
212 While this isn't strictly necessary because the exception is caught,
213 not protecting against the NPEs makes it harder to find the real error
216 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
218 2011-04-12 Ben Konrath <ben@bagu.org>
220 Move configuration of the servlet to the constructor.
222 The servlet will be initialized even if the database authentication
223 information is not set or correct. I still need to add the UI for prompting
224 the user for the authentication information when it's required.
226 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
227 javadocs for getDocumentTitles() method.
228 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
229 Set error message when RPC fails.
230 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
231 glom files directory from the configuration file. Try to set the
232 database authentication information for the specific document if it's
233 set and works otherwise try to use the global authentication
234 information set for the directory.
235 * src/main/resources/onlineglom.properties: Moved from
236 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
237 Added detailed comments for the new keys.
239 2011-04-11 Ben Konrath <ben@bagu.org>
241 Remove unnecessary @Override in DocumentSelectionViewImpl.
243 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
245 2011-04-11 Ben Konrath <ben@bagu.org>
247 Remove center alignment in DocumentSelectionView.
249 The title element is still centred but the document titles and bottom
250 sentence are both left-aligned.
252 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
254 2011-04-11 Ben Konrath <ben@bagu.org>
256 Change 'Demo' naming convention to 'Document'.
258 This is just a rename refactor with no functional changes to the code.
260 * src/main/java/org/glom/web/client/ClientFactory.java:
261 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
262 * src/main/java/org/glom/web/client/OnlineGlom.java:
263 * src/main/java/org/glom/web/client/OnlineGlomService.java:
264 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
265 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
266 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
267 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
268 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
269 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
270 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
271 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
272 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
274 2011-04-08 Ben Konrath <ben@bagu.org>
276 Remove FIXME from safeLongToInt() method.
278 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
281 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
283 2011-04-08 Ben Konrath <ben@bagu.org>
285 Display an error if no glom documents are found in the specified directory.
287 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
288 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
289 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
290 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
292 2011-04-08 Ben Konrath <ben@bagu.org>
294 Add copyright header to one more file ... oops.
296 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
298 2011-04-08 Ben Konrath <ben@bagu.org>
300 Add copyright header to files without it.
302 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
303 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
304 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
305 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
306 * src/main/java/org/glom/web/shared/ColumnInfo.java:
307 * src/main/java/org/glom/web/shared/GlomField.java:
309 2011-04-08 Ben Konrath <ben@bagu.org>
311 Add support for accessing multiple glom documents in the servlet.
313 This completes the demo selection functionality.
315 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
316 document title to methods.
317 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
318 document title to methods.
319 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
320 Set browser window title when the activity starts. Correct name of
321 document title variable.
322 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
323 Set browser window title when the activity starts. Set the table
324 selector change handler after table selector has been set. Clear the
325 OnlineGlomView when the activity has been stopped.
326 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
327 document title as the place token. Use "#Document:" instead of
328 "#OnlineGlomPlace:" in the URL.
329 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
330 Change heading to "Online Glom"
331 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
332 document title in RPC methods.
333 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
334 setDocumentTitle() method. Add clear() method.
335 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
336 setDocumentTitle() method. Implement clear() method which removes the
337 change handler on the ListBox, clears the ListBox and clears the
339 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
340 Implement methods with document title. Keep track for the configured
341 glom documents and their corresponding JDBC configurations in a hash
342 table. This information is retrieved using the document title as the
343 key in the hash table.
344 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
345 document title field as it's no longer needed.
347 2011-04-08 Ben Konrath <ben@bagu.org>
349 Update the Eclipse JDT configuration.
351 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
352 methods. Automatically add the copyright header to new files.
354 2011-04-05 Ben Konrath <ben@bagu.org>
356 Add new page for demo selection.
358 This patch adds all the components required to view and start an
359 OnlineGlom demo by clicking on the desired hyperlink. The user is
360 able to return to the demo selection page with the browser's back
361 button. I still need to modify the servlet to work with multiple
362 documents so all demo links will load the file defined in the
363 OnlineGlom.properties.
365 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
366 This is only useful during development so we don't need to save it.
367 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
368 get a reference to the DemoSelectionView.
369 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
370 method to get a reference to the DemoSelectionView.
371 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
372 default view to DemoSelectionView.
373 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
374 to get glom document titles for glom files in a hard-coded directory.
375 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
376 method to get glom document titles for glom files in a hard-coded
378 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
379 Presenter for DemoSelectionView.
380 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
381 for DemoSelectionView.
382 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
383 Update for DemoSelectionView.
384 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
385 Basic 'Place' implementation for the DemoSelectionView.
386 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
387 The interface for the DemoSelectionView.
388 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
389 The implementation of the DemoSelectionView.
390 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
391 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
392 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
393 implementation of method to get glom document titles for glom files
394 in a hard-coded directory.
395 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
396 on longer being used.
397 * src/main/webapp/glom.png: Glom logo.
399 2011-04-05 Ben Konrath <ben@bagu.org>
401 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
403 This is the forth and final commit of a refactor that will allow
404 OnlineGlom to be used with multiple documents.
406 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
407 Move RPC code from OnlineGlomViewImpl to this class.
408 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
410 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
411 RPC code to the presenter class (the P in MVP).
413 2011-04-04 Ben Konrath <ben@bagu.org>
415 Start moving the existing OnlineGlom code to MVP.
417 This work is based on the GWT MVP framework that is documented here:
419 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
421 This is the third commit of a refactor that will allow OnlineGlom to
422 be used with multiple documents.
424 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
425 Interface for client factory which is used to get instances of various
426 classes throughout the app.
427 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
428 Implementation of client factory.
429 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
430 initialize the MVP framework.
431 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
432 New file. Activity manager for the main container widget. This is the
434 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
435 Maps place (URL) to its corresponding activity.
436 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
437 New file. This is just a place holder for a generated file.
438 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
439 New file. Represents the URL for the main Online Glom app.
440 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
441 for changes in LayoutListViewImpl.
442 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
443 interface for View. Move code to OnlineGlomViewImpl class.
444 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
445 file. Implementation of OnlineGlomView.
446 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
447 Place resources. Use ClientFactoryImpl by default.
449 2011-04-04 Ben Konrath <ben@bagu.org>
451 Move View classes to their own package.
453 This is the second commit of a refactor that will allow OnlineGlom to
454 be used with multiple documents.
456 * src/main/java/org/glom/web/client/OnlineGlom.java:
457 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
458 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
460 2011-04-02 Ben Konrath <ben@bagu.org>
462 Move UI code from the main module to its own class.
464 This is the first commit of a refactor that will allow OnlineGlom to be
465 used with multiple documents.
467 * src/main/java/org/glom/web/client/LayoutListView.java: Update
468 references to OnlineGlom to OnlineGlomView.
469 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
470 OnlineGlomView and instantiate it here.
471 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
472 represents the main OnlineGlomView with one document.
474 2011-04-01 Ben Konrath <ben@bagu.org>
476 Fix formatting of gwt.xml and add DTD.
478 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
480 2011-03-30 Ben Konrath <ben@bagu.org>
482 Propperly convert gdkColor string to html colour string.
484 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
486 2011-03-28 Ben Konrath <ben@bagu.org>
488 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
490 This implementation matches
491 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
492 readable and is not tied to Swig.
494 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
496 2011-03-28 Ben Konrath <ben@bagu.org>
498 Use read-only checkboxes for boolean field types.
500 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
501 in the CellTable based on the field type. It currently only
502 distinguishes between boolean and text columns but I'll need to add
503 support for more types.
504 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
505 column type in the ColumnInfo object. Add method to convert between the
506 glom field type enum in ColumnInfo and the glom field type in libglom.
507 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
509 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
510 getting and setting booleans.
512 2011-03-25 Ben Konrath <ben@bagu.org>
514 Don't get the Date twice from the ResultSet.
516 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
518 2011-03-25 Ben Konrath <ben@bagu.org>
520 Cleanup code in the servlet.
522 * TODO: Remove item about row count. Add item about testing row count
523 query with large number of rows.
524 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
525 spelling mistakes, change method parameter to be consistent with
528 2011-03-25 Ben Konrath <ben@bagu.org>
530 Add server side logging with the gwt-log library.
532 * .gitignore: Ignore the log file we're now producing.
533 * TODO: Add a couple TODO item for logging.
534 * pom.xml: Add gwt-log and log4j as a dependency.
535 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
536 logging of errors, warnings and some important info.
537 * src/main/resources/log4j.properties: New file to configure log4j.
539 2011-03-24 Ben Konrath <ben@bagu.org>
541 Add a disable button for the Details view.
543 * src/main/java/org/glom/web/client/LayoutListView.java:
545 2011-03-22 Ben Konrath <ben@bagu.org>
547 Use a count query to get the number of rows for the list view pager.
549 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
551 2011-03-22 Ben Konrath <ben@bagu.org>
553 Add more TODO information about CellTable pager positioning.
557 2011-03-19 Ben Konrath <ben@bagu.org>
559 Add TODO item about CellTable pager positioning.
563 2011-03-18 Ben Konrath <ben@bagu.org>
565 Remove unneeded GlomFieldColumn class.
567 This is just a small code cleanup.
569 * src/main/java/org/glom/web/client/LayoutListView.java:
571 2011-03-18 Ben Konrath <ben@bagu.org>
573 Use cursor mode in the query that gets data for the list view.
575 I still need to fix the potential memory problem when getting the row
576 count for the list view.
578 * TODO: Add note about testing memory usage with large data sets. Add
579 item about fixing row counting with large data sets.
580 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
581 PostgreSQL JDBC driver into cursor mode when getting data for the
584 2011-03-15 Ben Konrath <ben@bagu.org>
586 Remove the GWT Container from the Eclipse build classpath.
588 The GWT dependencies are set by Maven so this isn't needed.
592 2011-03-15 Murray Cumming <murrayc@murrayc.com>
594 Added some earlier mockups to git, but not to the tarball dist.
596 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
597 Openismus. These hopefully show how we might structure the HTML so that
598 it can be styled easily with CSS. However, we probably need to adapt them
599 for the CSS structure that GWT dictates for common widgets.
601 2011-03-14 Ben Konrath <ben@bagu.org>
603 Locate OnlineGlom.properties using the ServletContext.
605 This is required to be able to locate the file in the deployed servlet.
607 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
608 Configure the database and glom document in in a helper method so
609 that the ServletContext can be used to locate OnlineGlom.properties.
610 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
611 src/main/webapp. This is the proper location for .properites files.
613 2011-03-12 Ben Konrath <ben@bagu.org>
615 Add note to README about why we're compiling down to obfuscated JavaScript.
619 2011-03-11 Ben Konrath <ben@bagu.org>
621 Use properties file to configure servlet.
623 This allows people to change the glom file path, db username and db
624 password without recompiling the code.
626 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
627 * src/main/webapp/OnlineGlom.properties:
629 2011-03-11 Ben Konrath <ben@bagu.org>
631 Use table fields in layout list view if the layout list is not defined.
633 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
634 Manually create a LayoutFieldVector for the query builder using the
635 table fields when a layout list is not defined in the glom file.
637 2011-03-11 Ben Konrath <ben@bagu.org>
639 Only show FIXME string for images when there's an image.
641 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
642 in this change are some small code cleanups.
644 2011-03-11 Ben Konrath <ben@bagu.org>
646 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
648 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
650 2011-03-11 Ben Konrath <ben@bagu.org>
652 Correctly set the index of the default table.
654 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
655 Correctly set the index of the default table. Add commented out example
658 2011-03-10 Ben Konrath <ben@bagu.org>
660 Add comment to pom.xml about the previous change.
662 * pom.xml: Add comment about the deployment issue so that it's obvious
663 why java-libglom is set to the provided scope.
665 2011-03-10 Ben Konrath <ben@bagu.org>
667 Change java-libglom dependency from compile to provided in pom.xml.
669 Since java-libglom uses jni it can only be loaded once and therefore
670 must be placed in $CATALINA_HOME/lib and not included in each war.
671 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
672 More information about this issue can be found in the Tomcat 6 release
673 notes in the "JNI Based Applications" section:
675 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
677 * README: Remove note about this issue. Deployment info should really
678 be on the wiki anyway so I'll add it right now.
679 * pom.xml: Change java-libglom dependency from compile to provided so
680 that it's copied in to the packaged war.
682 2011-03-09 Ben Konrath <ben@bagu.org>
684 Change to using a neutral locale for currency, date and time formatting.
686 This solves the problem of currency values being represented without a
687 space between the currency code and the number (e.g. "EUR5.89" is now
688 represented as "EUR 5.89"). More work is required when we implement
689 a locale preference setting.
691 * TODO: Add note about currency formatting issues with different
693 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
694 to using the neutral ROOT locale.
696 2011-03-09 Ben Konrath <ben@bagu.org>
698 Add support for currency codes that are not ISO 4217 codes.
700 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
701 the currency code defined in the glom file when it's not 3 characters
702 long or when Java doesn't recognize the string as an ISO 4217 code.
704 2011-03-08 Ben Konrath <ben@bagu.org>
706 Remove test classes, launch configurations and configuration.
708 The test stuff was getting in the way when creating the war. To make
709 the war file you can now do 'mvn clean package'. The packaged war file
710 will be in the target directory.
712 * .classpath: Remove unused classpathentry for tests and i18n.
713 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
714 property. Don't run test or i18n goals when packaging the war.
715 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
720 * OnlineGlomTest-dev.launch:
721 * OnlineGlomTest-prod.launch:
722 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
723 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
725 2011-03-07 Ben Konrath <ben@bagu.org>
727 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
729 These fixes allow me to use 'mvn deploy' to create the war file.
731 * .classpath: This generated config has been updated by Eclipse. This
732 change was probably triggered by me updating from Eclipse 3.6.1 to
734 * .gitignore: Add entry to ignore the directory
735 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
736 * .project: The generated config has been updated by Eclipse. This
737 change was probably triggered by me updating from Eclipse 3.6.1 to
739 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
740 so that Eclipse doesn't complain
741 * pom.xml: Update to gwt-maven-plugin 2.2.0.
742 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
743 'tests' directory to 'client' directory. This is the new
744 gwt-maven-plugin convension.
745 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
746 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
748 2011-03-07 Ben Konrath <ben@bagu.org>
750 Add support for horizontal alignment in the LayoutList columns.
752 * TODO: Remove item about horizontal alignment. Add item about
753 improvements to ColumnInfo.
754 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
755 alignment on the columns. Use ColumnInfo RPC object get the column
756 title and horizontal alignment.
757 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
758 LayoutListView creation with ColumnInfo RPC object.
759 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
760 a ColumnInfo object for every LayoutList columnn. Convert the
761 FieldFormatting.HorizontalAlignment to the correct
762 ColumnnInfo.HorizontatlAlignment with the new
763 getColumnInfoHorizontalAlignment helper method.
764 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
765 to encapsulate column information like alignment and title. This
766 could be used to set the colour instead of on a per cell field basis.
767 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
768 column title storage and retrieval with ColumnInfo.
770 2011-03-04 Ben Konrath <ben@bagu.org>
772 Add support for column sorting.
774 * src/main/java/org/glom/web/client/LayoutListView.java: Change
775 AsynDataProvider to be an anonymous inner class. Use new
776 getSortedTableData RPC method when column sort is requested. Set all
777 columns sortable and add an AsyncHandler to activate sorting in the
779 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
780 method getSortedTableData(). Cleanup other method signatures.
781 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
782 new method getSortedTableData(). Cleanup other method signatures.
783 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
784 Implement getSortedTableData() and getTableData() methods by using a
785 private helper method with the appropriate parameters filled in. Use
786 user supplied sort clause when supplied, otherwise fall back to
787 sorting by the primary key. Move destroy() method to be underneath
788 constructor for readability. Cleanup comments.
790 2011-03-03 Ben Konrath <ben@bagu.org>
792 Add support for colour text and colour backgrounds to the layout list cells.
794 Only the cell backgrounds are coloured which leaves a gap between the
795 cells that isn't coloured. I need to figure out a way to set
796 'style=background-colour:' on the whole column rather than just the
799 * TODO: Add a note about colouring the background of the whole column.
800 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
801 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
802 render the coloured text and backgrounds. Use GlomField[] for the row type.
803 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
805 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
806 GlomField[] for the row type.
807 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
808 GlomField[] for the row type. Set the text, text colour and background
809 colour in the GlomField objects as specified in the glom document. Add
810 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
811 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
812 the glom field text, foreground colour and background colour.
814 2011-03-02 Ben Konrath <ben@bagu.org>
816 Don't display hidden tables in the combo box.
818 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
820 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
821 code to ignore hidden tables using ArrayLists for the table names and
823 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
824 tableNames to use ArrayLists instead of String[]. Update getter and setter
827 2011-03-01 Ben Konrath <ben@bagu.org>
829 Add support for Date and Time number types.
831 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
832 Implement formatting for Date and Time values. Change the default glom
833 file to small business example.
835 2011-03-01 Ben Konrath <ben@bagu.org>
837 Add support for formatting glom types as specified in the glom file.
839 Formatting isn't finished yet - I still need to add support for Date
842 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
843 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
844 checks for null values in JDBC cleanup code and catch all exceptions
845 instead of just SQLExceptions.
846 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
849 2011-03-01 Ben Konrath <ben@bagu.org>
851 Use GWT 2.2.0 instead of 2.1.1.
853 * pom.xml: Change GWT version numbers.
855 2011-03-01 Ben Konrath <ben@bagu.org>
857 A few small code cleanups.
859 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
861 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
862 unnecessary object creation in constructor.
863 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
864 unnecessary object creation in constructor.
866 2011-02-28 Ben Konrath <ben@bagu.org>
868 Add file for TODO list.
872 2011-02-18 Ben Konrath <ben@bagu.org>
874 Enable the CellTable Pager when more than 20 rows need to be viewed.
876 The Pager will automatically become active when the results are larger
877 than the CellTable size which is currently set to 20 lines.
879 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
880 name on debug statment in RPC call in LayoutListDataProvider, add
881 numRows parameter to LayoutListView constructor, propperly set rowCount
883 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
884 name on debug statment in RPC call, use LayoutListTable object in RPC
885 calls, pass rowCount to LayoutListView.
886 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
887 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
889 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
890 interface for changes in OnlineGlomService.
891 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
892 getLayoutListHeaders() to getLayoutListTable() and return
893 LayoutListTable. Using this object allows me to pass other information
894 about the LayoutList like the expected number of rows in the result set.
895 The Connection object from the connection pool is now propperly closed.
896 Only the requested number of lines are returned to the client in
898 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
899 GlomTable and add columnTitles and numRows.
901 2011-02-18 Ben Konrath <ben@bagu.org>
903 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
905 This is a small performance boost. I'll use GlomTable to get the required
906 layoutlist information.
908 * src/main/java/org/glom/web/client/OnlineGlom.java:
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
910 * src/main/java/org/glom/web/shared/GlomDocument.java:
912 2011-02-18 Ben Konrath <ben@bagu.org>
914 Add option to turn off formatting in JDT formatter preferences.
916 * .settings/org.eclipse.jdt.core.prefs:
918 2011-02-18 Ben Konrath <ben@bagu.org>
920 Rename LayoutList to LayoutListView.
922 I'm working towards setting things up to easily use MVP when the time
925 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
927 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
930 2011-02-17 Ben Konrath <ben@bagu.org>
932 Move LayoutListDataProvider class into LayoutList.java.
934 * src/main/java/org/glom/web/client/LayoutList.java:
936 2011-02-17 Ben Konrath <ben@bagu.org>
938 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
940 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
942 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
943 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
944 from LibGlomServer.java.
945 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
946 Rename from LibGlomServiceAsync.java.
947 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
948 Rename from LibGlomServiceImpl.java.
949 * src/main/webapp/WEB-INF/web.xml: Update configuration.
951 2011-02-17 Ben Konrath <ben@bagu.org>
955 * .settings/org.eclipse.jdt.core.prefs:
957 2011-02-17 Ben Konrath <ben@bagu.org>
959 Move GWT-RPC objects to shared package (where they should be).
961 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
962 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
963 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
964 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
965 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
966 org.glom.web.shared package.
967 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
968 org.glom.web.shared package.
969 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
970 directory in compilation to javascript.
972 2011-02-16 Ben Konrath <ben@bagu.org>
974 Add sort clause to the sql query that grabs table information.
976 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
977 if one of the columns is a primary key.
979 2011-02-16 Ben Konrath <ben@bagu.org>
981 Disable generateAsync feature of gwt-maven.
983 The generated interface does not correctly match the methods in LibGlomService
984 and the generated singleton Util inner-class doesn't respect the servlet
987 * pom.xml: Turn off generateAsync feature.
988 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
989 with singleton Util inner-class.
991 2011-02-14 Ben Konrath <ben@bagu.org>
993 Add LGPL v3 licence notices.
995 Followed directions listed here:
996 http://www.gnu.org/licenses/gpl-howto.html
998 * COPYING: This file is a copy of the GPL v3.
999 * COPYING.LESSER: This file is a copy of the LGPL v3.
1000 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1002 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1004 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1006 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1008 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1010 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1012 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1015 2011-02-14 Ben Konrath <ben@bagu.org>
1017 Use ArrayList instead of Array in GWT-RPC calls.
1019 Apparently this gives a slight performance boost to the compiled
1022 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1024 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1027 2011-02-14 Ben Konrath <ben@bagu.org>
1029 Access data from a postgres db rather than the example glom file.
1031 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1032 compile down to obfuscated javascript.
1033 * pom.xml: Add c3p0 and postgres JDBC libraries.
1034 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1035 using a postgres db accessed through the c3p0 connection pooling library.
1037 2011-02-14 Ben Konrath <ben@bagu.org>
1039 Update Java formatter settings.
1041 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1043 2011-02-02 Ben Konrath <ben@bagu.org>
1045 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1047 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1049 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1050 the compiled webapp directory that Eclipse uses as we're using Maven now.
1051 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1052 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1054 * pom.xml: Format file, change target Java version to 1.6.
1056 2011-02-02 Ben Konrath <ben@bagu.org>
1058 Add information about a deployment related issue.
1060 * README: Add Notes section with the problem outlined.
1062 2011-02-02 Ben Konrath <ben@bagu.org>
1064 Call Glom.libglom_deinit() when the servlet is shutdown.
1066 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1067 Glom.libglom_deinit() to destroy() method.
1069 2011-01-28 Ben Konrath <ben@bagu.org>
1071 Use generated Util class to get the RPC Async interface.
1073 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1075 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1076 getInstance() method to get a reference to the RPC Async interface.
1077 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1078 getInstance() method to get a reference to the RPC Async interface, remove
1079 the now unused getLibGlomServiceProxy() method.
1081 2011-01-27 Ben Konrath <ben@bagu.org>
1083 Cleanup ChangeLog entry from previous commit.
1085 * ChangeLog: Group logical changes together and add comments.
1087 2011-01-25 Ben Konrath <ben@bagu.org>
1089 Convert to gwt-maven project.
1091 * .gitignore: Update for new project structure.
1092 * README: New file with a link to the online documentation.
1093 * pom.xml: The generated maven configuration file with some tweaks.
1095 Add / update Eclipse settings. These files are a merge of the files that
1096 were generated with the gwt-maven plugin and the files we were previously
1100 * .settings/.jsdtscope:
1101 * .settings/com.google.gdt.eclipse.core.prefs:
1102 * .settings/com.google.gwt.eclipse.core.prefs:
1103 * .settings/org.eclipse.jdt.core.prefs:
1104 * .settings/org.eclipse.wst.common.component:
1105 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1106 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1107 * .settings/org.maven.ide.eclipse.prefs:
1108 * OnlineGlomTest-dev.launch:
1109 * OnlineGlomTest-prod.launch:
1111 Java source files moved from the 'src' directory to the directory structure
1113 * src/main/java/org/glom/web/client/GlomDocument.java:
1114 * src/main/java/org/glom/web/client/GlomTable.java:
1115 * src/main/java/org/glom/web/client/LayoutList.java:
1116 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1117 * src/main/java/org/glom/web/client/LibGlomService.java:
1118 * src/main/java/org/glom/web/client/OnlineGlom.java:
1119 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1121 Non-functional property file used for translations. I included this as
1122 reminder that it's something I need to sort out.
1123 * src/main/resources/org/glom/web/client/Messages.properties:
1125 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1126 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1128 The servlet configuration files moved from the 'war' directory.
1129 * src/main/webapp/OnlineGlom.css:
1130 * src/main/webapp/OnlineGlom.html:
1131 * src/main/webapp/WEB-INF/web.xml:
1133 Generated test files with most of the code commented out. I included these
1134 so that it's easy to add tests when we're ready for them.
1135 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1136 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1138 2011-01-25 Ben Konrath <ben@bagu.org>
1140 Remove unused println.
1142 * src/org/glom/web/server/LibGlomServiceImpl.java:
1144 2011-01-25 Ben Konrath <ben@bagu.org>
1146 Add project specific JDT settings.
1148 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1149 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1151 2011-01-25 Ben Konrath <ben@bagu.org>
1153 Populate celltable with example data.
1155 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1156 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1157 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1158 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1159 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1160 asynchronously gets the example data.
1161 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1162 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1163 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1164 curently selected table to be retrieved by other widgets.
1165 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1166 implement getTableData() in a hacky way. This method needs to be updated
1167 to grab information from the database when database creating is
1170 2011-01-20 Ben Konrath <ben@bagu.org>
1172 Set table headers when table dropBox changes.
1174 * src/org/glom/web/client/GlomDocument.java: Correct some method
1176 * src/org/glom/web/client/LibGlomService.java: Add method
1177 to get list layout field names.
1178 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1179 to get list layout field names.
1180 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1181 widget for list layout table.
1182 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1183 the table drop box and add new updateTable() method to asynchronously
1184 get the layout list field names for the currently selected table.
1185 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1186 implementation of getLayoutListHeaders() method.
1187 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1189 2011-01-18 Ben Konrath <ben@bagu.org>
1191 Make a listBox with table titles instead of the flexTable demo.
1193 This is the start of something more useful.
1195 * .classpath: Exclude a bunch of packages from the JVM that are
1196 getting in the way of the Eclipse content assist.
1197 * src/org/glom/web/client/GlomDocument.java:
1198 * src/org/glom/web/client/GlomTable.java:
1199 * src/org/glom/web/client/LibGlomService.java:
1200 * src/org/glom/web/client/LibGlomServiceAsync.java:
1201 * src/org/glom/web/client/OnlineGlom.java:
1202 * src/org/glom/web/server/LibGlomServiceImpl.java:
1203 * war/OnlineGlom.html:
1204 * war/WEB-INF/web.xml:
1206 211-01-13 Ben Konrath <ben@bagu.org>
1208 Update to new java-libglom API.
1210 * .gitignore: Ignore OnlineGlom.war.
1211 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1213 2010-12-20 Ben Konrath <ben@bagu.org>
1215 Add some basic style to the table listing.
1217 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1218 header, print useful error message on async callback failure.
1219 * war/OnlineGlom.css: Add style for table header, remove defaults
1220 provided by the Eclipse project wizard.
1222 2010-12-20 Ben Konrath <ben@bagu.org>
1224 Load example file from installed glom dir.
1226 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1227 provided by java-libglom to find the example file.
1229 2010-12-20 Ben Konrath <ben@bagu.org>
1231 Update Eclipse settings.
1234 * .settings/com.google.gdt.eclipse.core.prefs:
1235 * .settings/com.google.gwt.eclipse.core.prefs:
1237 2010-12-17 Ben Konrath <ben@bagu.org>
1241 * .classpath: New file.
1242 * .gitignore: New file.
1243 * .project: New file.
1244 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1245 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1246 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1247 * src/org/glom/web/client/GlomTable.java: New file.
1248 * src/org/glom/web/client/OnlineGlom.java: New file.
1249 * src/org/glom/web/client/TableNameService.java: New file.
1250 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1251 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1252 * war/OnlineGlom.css: New file.
1253 * war/OnlineGlom.html: New file.
1254 * war/WEB-INF/web.xml: New file.
1255 * war/images/glom.png: New file.