1 2011-06-03 Ben Konrath <ben@bagu.org>
3 Use presenter.goTo() to change to the DetailsPlace.
5 This will make things easier when we need to open the DetailsView with
6 data specific to the row that was clicked.
8 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
10 2011-06-02 Ben Konrath <ben@bagu.org>
12 Add CSS file from mockups.
14 I'm adding this now because it's going to be useful to have when
15 developing the DetailsView. The TableSelectionView and ListView aren't
18 * src/main/webapp/OnlineGlom.html:
19 * src/main/webapp/style.css:
21 2011-06-02 Ben Konrath <ben@bagu.org>
23 Use String.isEmpty() to check for empty string.
25 * src/main/java/org/glom/web/client/activity/ListActivity.java:
27 2011-06-02 Ben Konrath <ben@bagu.org>
29 Display main layout group titles in the DetailsView.
31 This is the start of the DetailsActivity/DetailsView implementation.
33 * src/main/java/org/glom/web/client/OnlineGlomService.java:
34 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
35 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
36 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
37 Get the layout information for the details view from the server and set
38 the main layout group titles.
39 * src/main/java/org/glom/web/client/ui/DetailsView.java:
40 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
41 Add addLayoutGroup() and addLayoutField() methods. This are just
42 temporary methods for creating the the details view that will change
44 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
45 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
47 * src/main/java/org/glom/web/shared/layout/Formatting.java:
48 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
49 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
50 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
51 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
52 Data Transfer Objects that mimic the libglom object structure. These are
53 used for transferring the details layout but could also be used for
54 transferring the list layout.
56 2011-05-27 Ben Konrath <ben@bagu.org>
58 Reset the AuthenticationPopup when clearing the ListView.
60 * src/main/java/org/glom/web/client/activity/ListActivity.java:
62 2011-05-27 Ben Konrath <ben@bagu.org>
64 Fix problem with onlineglom.properties file loading.
66 The old way worked in Eclipse but not on the server. Loading the
67 onlineglom.properties file now works in Eclipse and on the server.
69 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
71 2011-05-24 Ben Konrath <ben@bagu.org>
73 Update gwt-log from 3.1.0 to 3.1.2.
75 Gwt-log 3.1.0 has been marked as depreciated.
79 2011-05-24 Ben Konrath <ben@bagu.org>
81 Add comment to ListActivity.goTo() method.
83 * src/main/java/org/glom/web/client/activity/ListActivity.java:
85 2011-05-24 Ben Konrath <ben@bagu.org>
87 Remove FIXME in convertGdkColorToHtmlColour()
89 The Gdk::Color value returned by libglom is 16-bits per channel on both
90 64 and 32-bit platforms.
92 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
94 2011-05-19 Ben Konrath <ben@bagu.org>
96 Improve performance of initial ListView load.
98 I removed a round trip to the server for getting the default table name
99 and then requesting information about that table. This also removes a potential
100 problem with the table change handler not being setup in time to receive the
101 table change event from the ListActivity.
103 * src/main/java/org/glom/web/client/OnlineGlomService.java:
104 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
105 getDefaultLayoutListTable() method. Improve comments.
106 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
107 getDefaultLayoutListTable() method instead of firing a table change
108 event to get the table to load.
109 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
110 implementation of getDefaultLayoutListTable() method.
111 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
114 2011-05-19 Ben Konrath <ben@bagu.org>
116 Override toDebugString() in TableChangeEvent.
118 This is useful to have for debugging.
120 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
122 2011-05-19 Ben Konrath <ben@bagu.org>
124 Add a "Back to List" link when at the DetailsPlace.
126 * src/main/java/org/glom/web/client/activity/ListActivity.java:
127 Populate the CellTable based on the selected table of the ListBox if
128 it's set otherwise use the default table. This allows the "Back to
130 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
131 Remove Place from constructors. Add a setPlace() method. Add
132 goToPlace() method. Set class as presenter for TableSelectionView.
133 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
134 Use the same TableSelectionActivity when switching between the List and
136 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
137 Subclass the new HasSelectableTablePlace. This removes some duplicate
139 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
140 New class to represent Places that display the TableSelectionView.
141 * src/main/java/org/glom/web/client/place/ListPlace.java:
142 Subclass the new HasSelectableTablePlace. This removes some duplicate
144 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
145 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
146 Add Presenter interface. Add setBackLinkVisible() method. Add
147 setBackLink() method.
149 2011-05-18 Ben Konrath <ben@bagu.org>
151 Enable the "Details" buttons.
153 Right now only an empty details view is displayed.
155 * src/main/java/org/glom/web/client/ClientFactory.java:
156 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
157 Add DetailsView to ClientFactory.
158 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
159 A basic activity for the details view.
160 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
161 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
163 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
164 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
166 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
167 Create a new DetailsActivity when a DetailsPlace is requested. Remove
168 unnecessary super() in constructor.
169 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
170 Create a new TableSelectionActivity when a DetailsPlace is requested. We
171 really shouldn't create a new TableSelectionActivity for both the ListPlace
172 and the DetailsPlace so this should be considered a temporary solution.
173 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
174 New file. Represents a URL for the details view.
175 * src/main/java/org/glom/web/client/ui/DetailsView.java:
176 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
177 A basic details view interface and implementation.
178 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
179 Enable the "Details" buttons.
181 2011-05-12 Ben Konrath <ben@bagu.org>
183 Use a LayoutPanel with multiple display areas for main layout.
185 This is mostly a refactor in that there are no changes from the user
186 point of view. These changes are required so that we can swap out the list view
187 with the details view when the user clicks the "Details" button.
189 * src/main/java/org/glom/web/client/ClientFactory.java:
190 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
191 OnlineGlomView. Add TableSelectionView, ListView and
193 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
194 for main layout. Add display regions for main activities. Add
195 activity manager for for main activities.
196 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
197 file from parts of the deleted OnlineGlomActivity.
198 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
199 New file from parts of the deleted OnlineGlomActivity.
200 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
201 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
202 New files for app wide table change event.
203 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
204 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
205 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
206 Activity mappers for the main activities replace the deleted app-wide
208 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
209 Fix a spelling error in he comment.
210 * src/main/java/org/glom/web/client/ui/ListView.java:
211 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
212 Renamed from LayoutListView and modified for MVP. This still not a
213 proper dumb view as prescribed by the MVP pattern but it works for now.
214 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
215 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
216 New widget stripped out of the deleted OnlineGlomView.
217 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
218 Remove hack that is fixed by this patch.
220 2011-05-06 Ben Konrath <ben@bagu.org>
222 Rename OnlineGlomPlace to ListPlace.
224 The only change besides the rename is that url will now display #list
225 instead of #Document.
227 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
228 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
229 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
230 * src/main/java/org/glom/web/client/place/ListPlace.java:
231 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
233 2011-05-06 Ben Konrath <ben@bagu.org>
235 Use Presenter for app navigation.
237 This is the proper way to deal with Place (URL) changes with the MVP
240 * src/main/java/org/glom/web/client/ClientFactory.java:
241 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
242 PlaceHistoryMapper and PlaceHistoryHandler.
243 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
244 PlaceHistoryMapper and PlaceHistoryHandler.
245 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
246 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
247 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
248 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
249 Add Presenter interface and setPresenter methods. Rename addHyperLink
250 to addDocumentLink taking only the document title as a parameter.
252 2011-04-14 Ben Konrath <ben@bagu.org>
254 Prompt for db username/password if they haven't been set.
256 This is implemented with a popup widget that is contained within the
257 OnlineGlomView and managed by the OnlineGlomActivity.
259 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
260 methods for checking and setting the database username and password.
261 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
262 new methods for checking and setting the database username and
264 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
265 Display authentication popup if the JDBC connection to the database
266 has not been authenticated.
267 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
269 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
270 for dealing with the authentication popup.
271 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
272 Implement the methods for dealing with the authentication popup.
273 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
274 try to executed queries if the database connection hasn't been
275 authenticated. Implement methods for checking and setting the
276 database username and password.
278 2011-04-12 Ben Konrath <ben@bagu.org>
280 Make log messages a little clearer.
282 Add a dash betweeen the document title and the table name.
284 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
286 2011-04-12 Ben Konrath <ben@bagu.org>
288 Protect against NPEs when cleaning up database resources.
290 While this isn't strictly necessary because the exception is caught,
291 not protecting against the NPEs makes it harder to find the real error
294 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
296 2011-04-12 Ben Konrath <ben@bagu.org>
298 Move configuration of the servlet to the constructor.
300 The servlet will be initialized even if the database authentication
301 information is not set or correct. I still need to add the UI for prompting
302 the user for the authentication information when it's required.
304 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
305 javadocs for getDocumentTitles() method.
306 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
307 Set error message when RPC fails.
308 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
309 glom files directory from the configuration file. Try to set the
310 database authentication information for the specific document if it's
311 set and works otherwise try to use the global authentication
312 information set for the directory.
313 * src/main/resources/onlineglom.properties: Moved from
314 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
315 Added detailed comments for the new keys.
317 2011-04-11 Ben Konrath <ben@bagu.org>
319 Remove unnecessary @Override in DocumentSelectionViewImpl.
321 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
323 2011-04-11 Ben Konrath <ben@bagu.org>
325 Remove center alignment in DocumentSelectionView.
327 The title element is still centred but the document titles and bottom
328 sentence are both left-aligned.
330 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
332 2011-04-11 Ben Konrath <ben@bagu.org>
334 Change 'Demo' naming convention to 'Document'.
336 This is just a rename refactor with no functional changes to the code.
338 * src/main/java/org/glom/web/client/ClientFactory.java:
339 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
340 * src/main/java/org/glom/web/client/OnlineGlom.java:
341 * src/main/java/org/glom/web/client/OnlineGlomService.java:
342 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
343 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
344 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
345 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
346 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
347 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
348 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
349 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
350 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
352 2011-04-08 Ben Konrath <ben@bagu.org>
354 Remove FIXME from safeLongToInt() method.
356 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361 2011-04-08 Ben Konrath <ben@bagu.org>
363 Display an error if no glom documents are found in the specified directory.
365 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
366 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
367 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
368 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
370 2011-04-08 Ben Konrath <ben@bagu.org>
372 Add copyright header to one more file ... oops.
374 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
376 2011-04-08 Ben Konrath <ben@bagu.org>
378 Add copyright header to files without it.
380 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
381 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
382 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
383 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
384 * src/main/java/org/glom/web/shared/ColumnInfo.java:
385 * src/main/java/org/glom/web/shared/GlomField.java:
387 2011-04-08 Ben Konrath <ben@bagu.org>
389 Add support for accessing multiple glom documents in the servlet.
391 This completes the demo selection functionality.
393 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
394 document title to methods.
395 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
396 document title to methods.
397 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
398 Set browser window title when the activity starts. Correct name of
399 document title variable.
400 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
401 Set browser window title when the activity starts. Set the table
402 selector change handler after table selector has been set. Clear the
403 OnlineGlomView when the activity has been stopped.
404 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
405 document title as the place token. Use "#Document:" instead of
406 "#OnlineGlomPlace:" in the URL.
407 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
408 Change heading to "Online Glom"
409 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
410 document title in RPC methods.
411 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
412 setDocumentTitle() method. Add clear() method.
413 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
414 setDocumentTitle() method. Implement clear() method which removes the
415 change handler on the ListBox, clears the ListBox and clears the
417 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
418 Implement methods with document title. Keep track for the configured
419 glom documents and their corresponding JDBC configurations in a hash
420 table. This information is retrieved using the document title as the
421 key in the hash table.
422 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
423 document title field as it's no longer needed.
425 2011-04-08 Ben Konrath <ben@bagu.org>
427 Update the Eclipse JDT configuration.
429 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
430 methods. Automatically add the copyright header to new files.
432 2011-04-05 Ben Konrath <ben@bagu.org>
434 Add new page for demo selection.
436 This patch adds all the components required to view and start an
437 OnlineGlom demo by clicking on the desired hyperlink. The user is
438 able to return to the demo selection page with the browser's back
439 button. I still need to modify the servlet to work with multiple
440 documents so all demo links will load the file defined in the
441 OnlineGlom.properties.
443 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
444 This is only useful during development so we don't need to save it.
445 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
446 get a reference to the DemoSelectionView.
447 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
448 method to get a reference to the DemoSelectionView.
449 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
450 default view to DemoSelectionView.
451 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
452 to get glom document titles for glom files in a hard-coded directory.
453 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
454 method to get glom document titles for glom files in a hard-coded
456 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
457 Presenter for DemoSelectionView.
458 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
459 for DemoSelectionView.
460 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
461 Update for DemoSelectionView.
462 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
463 Basic 'Place' implementation for the DemoSelectionView.
464 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
465 The interface for the DemoSelectionView.
466 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
467 The implementation of the DemoSelectionView.
468 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
469 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
470 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
471 implementation of method to get glom document titles for glom files
472 in a hard-coded directory.
473 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
474 on longer being used.
475 * src/main/webapp/glom.png: Glom logo.
477 2011-04-05 Ben Konrath <ben@bagu.org>
479 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
481 This is the forth and final commit of a refactor that will allow
482 OnlineGlom to be used with multiple documents.
484 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
485 Move RPC code from OnlineGlomViewImpl to this class.
486 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
488 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
489 RPC code to the presenter class (the P in MVP).
491 2011-04-04 Ben Konrath <ben@bagu.org>
493 Start moving the existing OnlineGlom code to MVP.
495 This work is based on the GWT MVP framework that is documented here:
497 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
499 This is the third commit of a refactor that will allow OnlineGlom to
500 be used with multiple documents.
502 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
503 Interface for client factory which is used to get instances of various
504 classes throughout the app.
505 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
506 Implementation of client factory.
507 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
508 initialize the MVP framework.
509 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
510 New file. Activity manager for the main container widget. This is the
512 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
513 Maps place (URL) to its corresponding activity.
514 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
515 New file. This is just a place holder for a generated file.
516 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
517 New file. Represents the URL for the main Online Glom app.
518 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
519 for changes in LayoutListViewImpl.
520 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
521 interface for View. Move code to OnlineGlomViewImpl class.
522 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
523 file. Implementation of OnlineGlomView.
524 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
525 Place resources. Use ClientFactoryImpl by default.
527 2011-04-04 Ben Konrath <ben@bagu.org>
529 Move View classes to their own package.
531 This is the second commit of a refactor that will allow OnlineGlom to
532 be used with multiple documents.
534 * src/main/java/org/glom/web/client/OnlineGlom.java:
535 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
536 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
538 2011-04-02 Ben Konrath <ben@bagu.org>
540 Move UI code from the main module to its own class.
542 This is the first commit of a refactor that will allow OnlineGlom to be
543 used with multiple documents.
545 * src/main/java/org/glom/web/client/LayoutListView.java: Update
546 references to OnlineGlom to OnlineGlomView.
547 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
548 OnlineGlomView and instantiate it here.
549 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
550 represents the main OnlineGlomView with one document.
552 2011-04-01 Ben Konrath <ben@bagu.org>
554 Fix formatting of gwt.xml and add DTD.
556 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
558 2011-03-30 Ben Konrath <ben@bagu.org>
560 Propperly convert gdkColor string to html colour string.
562 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
564 2011-03-28 Ben Konrath <ben@bagu.org>
566 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
568 This implementation matches
569 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
570 readable and is not tied to Swig.
572 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
574 2011-03-28 Ben Konrath <ben@bagu.org>
576 Use read-only checkboxes for boolean field types.
578 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
579 in the CellTable based on the field type. It currently only
580 distinguishes between boolean and text columns but I'll need to add
581 support for more types.
582 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
583 column type in the ColumnInfo object. Add method to convert between the
584 glom field type enum in ColumnInfo and the glom field type in libglom.
585 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
587 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
588 getting and setting booleans.
590 2011-03-25 Ben Konrath <ben@bagu.org>
592 Don't get the Date twice from the ResultSet.
594 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
596 2011-03-25 Ben Konrath <ben@bagu.org>
598 Cleanup code in the servlet.
600 * TODO: Remove item about row count. Add item about testing row count
601 query with large number of rows.
602 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
603 spelling mistakes, change method parameter to be consistent with
606 2011-03-25 Ben Konrath <ben@bagu.org>
608 Add server side logging with the gwt-log library.
610 * .gitignore: Ignore the log file we're now producing.
611 * TODO: Add a couple TODO item for logging.
612 * pom.xml: Add gwt-log and log4j as a dependency.
613 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
614 logging of errors, warnings and some important info.
615 * src/main/resources/log4j.properties: New file to configure log4j.
617 2011-03-24 Ben Konrath <ben@bagu.org>
619 Add a disable button for the Details view.
621 * src/main/java/org/glom/web/client/LayoutListView.java:
623 2011-03-22 Ben Konrath <ben@bagu.org>
625 Use a count query to get the number of rows for the list view pager.
627 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
629 2011-03-22 Ben Konrath <ben@bagu.org>
631 Add more TODO information about CellTable pager positioning.
635 2011-03-19 Ben Konrath <ben@bagu.org>
637 Add TODO item about CellTable pager positioning.
641 2011-03-18 Ben Konrath <ben@bagu.org>
643 Remove unneeded GlomFieldColumn class.
645 This is just a small code cleanup.
647 * src/main/java/org/glom/web/client/LayoutListView.java:
649 2011-03-18 Ben Konrath <ben@bagu.org>
651 Use cursor mode in the query that gets data for the list view.
653 I still need to fix the potential memory problem when getting the row
654 count for the list view.
656 * TODO: Add note about testing memory usage with large data sets. Add
657 item about fixing row counting with large data sets.
658 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
659 PostgreSQL JDBC driver into cursor mode when getting data for the
662 2011-03-15 Ben Konrath <ben@bagu.org>
664 Remove the GWT Container from the Eclipse build classpath.
666 The GWT dependencies are set by Maven so this isn't needed.
670 2011-03-15 Murray Cumming <murrayc@murrayc.com>
672 Added some earlier mockups to git, but not to the tarball dist.
674 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
675 Openismus. These hopefully show how we might structure the HTML so that
676 it can be styled easily with CSS. However, we probably need to adapt them
677 for the CSS structure that GWT dictates for common widgets.
679 2011-03-14 Ben Konrath <ben@bagu.org>
681 Locate OnlineGlom.properties using the ServletContext.
683 This is required to be able to locate the file in the deployed servlet.
685 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
686 Configure the database and glom document in in a helper method so
687 that the ServletContext can be used to locate OnlineGlom.properties.
688 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
689 src/main/webapp. This is the proper location for .properites files.
691 2011-03-12 Ben Konrath <ben@bagu.org>
693 Add note to README about why we're compiling down to obfuscated JavaScript.
697 2011-03-11 Ben Konrath <ben@bagu.org>
699 Use properties file to configure servlet.
701 This allows people to change the glom file path, db username and db
702 password without recompiling the code.
704 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
705 * src/main/webapp/OnlineGlom.properties:
707 2011-03-11 Ben Konrath <ben@bagu.org>
709 Use table fields in layout list view if the layout list is not defined.
711 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
712 Manually create a LayoutFieldVector for the query builder using the
713 table fields when a layout list is not defined in the glom file.
715 2011-03-11 Ben Konrath <ben@bagu.org>
717 Only show FIXME string for images when there's an image.
719 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
720 in this change are some small code cleanups.
722 2011-03-11 Ben Konrath <ben@bagu.org>
724 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
726 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
728 2011-03-11 Ben Konrath <ben@bagu.org>
730 Correctly set the index of the default table.
732 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
733 Correctly set the index of the default table. Add commented out example
736 2011-03-10 Ben Konrath <ben@bagu.org>
738 Add comment to pom.xml about the previous change.
740 * pom.xml: Add comment about the deployment issue so that it's obvious
741 why java-libglom is set to the provided scope.
743 2011-03-10 Ben Konrath <ben@bagu.org>
745 Change java-libglom dependency from compile to provided in pom.xml.
747 Since java-libglom uses jni it can only be loaded once and therefore
748 must be placed in $CATALINA_HOME/lib and not included in each war.
749 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
750 More information about this issue can be found in the Tomcat 6 release
751 notes in the "JNI Based Applications" section:
753 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
755 * README: Remove note about this issue. Deployment info should really
756 be on the wiki anyway so I'll add it right now.
757 * pom.xml: Change java-libglom dependency from compile to provided so
758 that it's copied in to the packaged war.
760 2011-03-09 Ben Konrath <ben@bagu.org>
762 Change to using a neutral locale for currency, date and time formatting.
764 This solves the problem of currency values being represented without a
765 space between the currency code and the number (e.g. "EUR5.89" is now
766 represented as "EUR 5.89"). More work is required when we implement
767 a locale preference setting.
769 * TODO: Add note about currency formatting issues with different
771 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
772 to using the neutral ROOT locale.
774 2011-03-09 Ben Konrath <ben@bagu.org>
776 Add support for currency codes that are not ISO 4217 codes.
778 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
779 the currency code defined in the glom file when it's not 3 characters
780 long or when Java doesn't recognize the string as an ISO 4217 code.
782 2011-03-08 Ben Konrath <ben@bagu.org>
784 Remove test classes, launch configurations and configuration.
786 The test stuff was getting in the way when creating the war. To make
787 the war file you can now do 'mvn clean package'. The packaged war file
788 will be in the target directory.
790 * .classpath: Remove unused classpathentry for tests and i18n.
791 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
792 property. Don't run test or i18n goals when packaging the war.
793 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
798 * OnlineGlomTest-dev.launch:
799 * OnlineGlomTest-prod.launch:
800 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
801 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
803 2011-03-07 Ben Konrath <ben@bagu.org>
805 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
807 These fixes allow me to use 'mvn deploy' to create the war file.
809 * .classpath: This generated config has been updated by Eclipse. This
810 change was probably triggered by me updating from Eclipse 3.6.1 to
812 * .gitignore: Add entry to ignore the directory
813 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
814 * .project: The generated config has been updated by Eclipse. This
815 change was probably triggered by me updating from Eclipse 3.6.1 to
817 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
818 so that Eclipse doesn't complain
819 * pom.xml: Update to gwt-maven-plugin 2.2.0.
820 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
821 'tests' directory to 'client' directory. This is the new
822 gwt-maven-plugin convension.
823 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
824 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
826 2011-03-07 Ben Konrath <ben@bagu.org>
828 Add support for horizontal alignment in the LayoutList columns.
830 * TODO: Remove item about horizontal alignment. Add item about
831 improvements to ColumnInfo.
832 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
833 alignment on the columns. Use ColumnInfo RPC object get the column
834 title and horizontal alignment.
835 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
836 LayoutListView creation with ColumnInfo RPC object.
837 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
838 a ColumnInfo object for every LayoutList columnn. Convert the
839 FieldFormatting.HorizontalAlignment to the correct
840 ColumnnInfo.HorizontatlAlignment with the new
841 getColumnInfoHorizontalAlignment helper method.
842 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
843 to encapsulate column information like alignment and title. This
844 could be used to set the colour instead of on a per cell field basis.
845 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
846 column title storage and retrieval with ColumnInfo.
848 2011-03-04 Ben Konrath <ben@bagu.org>
850 Add support for column sorting.
852 * src/main/java/org/glom/web/client/LayoutListView.java: Change
853 AsynDataProvider to be an anonymous inner class. Use new
854 getSortedTableData RPC method when column sort is requested. Set all
855 columns sortable and add an AsyncHandler to activate sorting in the
857 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
858 method getSortedTableData(). Cleanup other method signatures.
859 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
860 new method getSortedTableData(). Cleanup other method signatures.
861 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
862 Implement getSortedTableData() and getTableData() methods by using a
863 private helper method with the appropriate parameters filled in. Use
864 user supplied sort clause when supplied, otherwise fall back to
865 sorting by the primary key. Move destroy() method to be underneath
866 constructor for readability. Cleanup comments.
868 2011-03-03 Ben Konrath <ben@bagu.org>
870 Add support for colour text and colour backgrounds to the layout list cells.
872 Only the cell backgrounds are coloured which leaves a gap between the
873 cells that isn't coloured. I need to figure out a way to set
874 'style=background-colour:' on the whole column rather than just the
877 * TODO: Add a note about colouring the background of the whole column.
878 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
879 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
880 render the coloured text and backgrounds. Use GlomField[] for the row type.
881 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
883 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
884 GlomField[] for the row type.
885 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
886 GlomField[] for the row type. Set the text, text colour and background
887 colour in the GlomField objects as specified in the glom document. Add
888 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
889 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
890 the glom field text, foreground colour and background colour.
892 2011-03-02 Ben Konrath <ben@bagu.org>
894 Don't display hidden tables in the combo box.
896 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
898 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
899 code to ignore hidden tables using ArrayLists for the table names and
901 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
902 tableNames to use ArrayLists instead of String[]. Update getter and setter
905 2011-03-01 Ben Konrath <ben@bagu.org>
907 Add support for Date and Time number types.
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
910 Implement formatting for Date and Time values. Change the default glom
911 file to small business example.
913 2011-03-01 Ben Konrath <ben@bagu.org>
915 Add support for formatting glom types as specified in the glom file.
917 Formatting isn't finished yet - I still need to add support for Date
920 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
921 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
922 checks for null values in JDBC cleanup code and catch all exceptions
923 instead of just SQLExceptions.
924 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
927 2011-03-01 Ben Konrath <ben@bagu.org>
929 Use GWT 2.2.0 instead of 2.1.1.
931 * pom.xml: Change GWT version numbers.
933 2011-03-01 Ben Konrath <ben@bagu.org>
935 A few small code cleanups.
937 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
939 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
940 unnecessary object creation in constructor.
941 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
942 unnecessary object creation in constructor.
944 2011-02-28 Ben Konrath <ben@bagu.org>
946 Add file for TODO list.
950 2011-02-18 Ben Konrath <ben@bagu.org>
952 Enable the CellTable Pager when more than 20 rows need to be viewed.
954 The Pager will automatically become active when the results are larger
955 than the CellTable size which is currently set to 20 lines.
957 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
958 name on debug statment in RPC call in LayoutListDataProvider, add
959 numRows parameter to LayoutListView constructor, propperly set rowCount
961 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
962 name on debug statment in RPC call, use LayoutListTable object in RPC
963 calls, pass rowCount to LayoutListView.
964 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
965 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
967 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
968 interface for changes in OnlineGlomService.
969 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
970 getLayoutListHeaders() to getLayoutListTable() and return
971 LayoutListTable. Using this object allows me to pass other information
972 about the LayoutList like the expected number of rows in the result set.
973 The Connection object from the connection pool is now propperly closed.
974 Only the requested number of lines are returned to the client in
976 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
977 GlomTable and add columnTitles and numRows.
979 2011-02-18 Ben Konrath <ben@bagu.org>
981 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
983 This is a small performance boost. I'll use GlomTable to get the required
984 layoutlist information.
986 * src/main/java/org/glom/web/client/OnlineGlom.java:
987 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
988 * src/main/java/org/glom/web/shared/GlomDocument.java:
990 2011-02-18 Ben Konrath <ben@bagu.org>
992 Add option to turn off formatting in JDT formatter preferences.
994 * .settings/org.eclipse.jdt.core.prefs:
996 2011-02-18 Ben Konrath <ben@bagu.org>
998 Rename LayoutList to LayoutListView.
1000 I'm working towards setting things up to easily use MVP when the time
1003 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1005 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1008 2011-02-17 Ben Konrath <ben@bagu.org>
1010 Move LayoutListDataProvider class into LayoutList.java.
1012 * src/main/java/org/glom/web/client/LayoutList.java:
1014 2011-02-17 Ben Konrath <ben@bagu.org>
1016 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1018 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1020 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1021 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1022 from LibGlomServer.java.
1023 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1024 Rename from LibGlomServiceAsync.java.
1025 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1026 Rename from LibGlomServiceImpl.java.
1027 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1029 2011-02-17 Ben Konrath <ben@bagu.org>
1031 Update JDT settings.
1033 * .settings/org.eclipse.jdt.core.prefs:
1035 2011-02-17 Ben Konrath <ben@bagu.org>
1037 Move GWT-RPC objects to shared package (where they should be).
1039 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1040 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1041 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1042 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1043 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1044 org.glom.web.shared package.
1045 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1046 org.glom.web.shared package.
1047 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1048 directory in compilation to javascript.
1050 2011-02-16 Ben Konrath <ben@bagu.org>
1052 Add sort clause to the sql query that grabs table information.
1054 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1055 if one of the columns is a primary key.
1057 2011-02-16 Ben Konrath <ben@bagu.org>
1059 Disable generateAsync feature of gwt-maven.
1061 The generated interface does not correctly match the methods in LibGlomService
1062 and the generated singleton Util inner-class doesn't respect the servlet
1065 * pom.xml: Turn off generateAsync feature.
1066 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1067 with singleton Util inner-class.
1069 2011-02-14 Ben Konrath <ben@bagu.org>
1071 Add LGPL v3 licence notices.
1073 Followed directions listed here:
1074 http://www.gnu.org/licenses/gpl-howto.html
1076 * COPYING: This file is a copy of the GPL v3.
1077 * COPYING.LESSER: This file is a copy of the LGPL v3.
1078 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1080 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1082 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1084 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1086 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1088 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1090 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1093 2011-02-14 Ben Konrath <ben@bagu.org>
1095 Use ArrayList instead of Array in GWT-RPC calls.
1097 Apparently this gives a slight performance boost to the compiled
1100 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1102 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1105 2011-02-14 Ben Konrath <ben@bagu.org>
1107 Access data from a postgres db rather than the example glom file.
1109 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1110 compile down to obfuscated javascript.
1111 * pom.xml: Add c3p0 and postgres JDBC libraries.
1112 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1113 using a postgres db accessed through the c3p0 connection pooling library.
1115 2011-02-14 Ben Konrath <ben@bagu.org>
1117 Update Java formatter settings.
1119 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1121 2011-02-02 Ben Konrath <ben@bagu.org>
1123 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1125 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1127 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1128 the compiled webapp directory that Eclipse uses as we're using Maven now.
1129 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1130 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1132 * pom.xml: Format file, change target Java version to 1.6.
1134 2011-02-02 Ben Konrath <ben@bagu.org>
1136 Add information about a deployment related issue.
1138 * README: Add Notes section with the problem outlined.
1140 2011-02-02 Ben Konrath <ben@bagu.org>
1142 Call Glom.libglom_deinit() when the servlet is shutdown.
1144 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1145 Glom.libglom_deinit() to destroy() method.
1147 2011-01-28 Ben Konrath <ben@bagu.org>
1149 Use generated Util class to get the RPC Async interface.
1151 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1153 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1154 getInstance() method to get a reference to the RPC Async interface.
1155 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1156 getInstance() method to get a reference to the RPC Async interface, remove
1157 the now unused getLibGlomServiceProxy() method.
1159 2011-01-27 Ben Konrath <ben@bagu.org>
1161 Cleanup ChangeLog entry from previous commit.
1163 * ChangeLog: Group logical changes together and add comments.
1165 2011-01-25 Ben Konrath <ben@bagu.org>
1167 Convert to gwt-maven project.
1169 * .gitignore: Update for new project structure.
1170 * README: New file with a link to the online documentation.
1171 * pom.xml: The generated maven configuration file with some tweaks.
1173 Add / update Eclipse settings. These files are a merge of the files that
1174 were generated with the gwt-maven plugin and the files we were previously
1178 * .settings/.jsdtscope:
1179 * .settings/com.google.gdt.eclipse.core.prefs:
1180 * .settings/com.google.gwt.eclipse.core.prefs:
1181 * .settings/org.eclipse.jdt.core.prefs:
1182 * .settings/org.eclipse.wst.common.component:
1183 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1184 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1185 * .settings/org.maven.ide.eclipse.prefs:
1186 * OnlineGlomTest-dev.launch:
1187 * OnlineGlomTest-prod.launch:
1189 Java source files moved from the 'src' directory to the directory structure
1191 * src/main/java/org/glom/web/client/GlomDocument.java:
1192 * src/main/java/org/glom/web/client/GlomTable.java:
1193 * src/main/java/org/glom/web/client/LayoutList.java:
1194 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1195 * src/main/java/org/glom/web/client/LibGlomService.java:
1196 * src/main/java/org/glom/web/client/OnlineGlom.java:
1197 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1199 Non-functional property file used for translations. I included this as
1200 reminder that it's something I need to sort out.
1201 * src/main/resources/org/glom/web/client/Messages.properties:
1203 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1204 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1206 The servlet configuration files moved from the 'war' directory.
1207 * src/main/webapp/OnlineGlom.css:
1208 * src/main/webapp/OnlineGlom.html:
1209 * src/main/webapp/WEB-INF/web.xml:
1211 Generated test files with most of the code commented out. I included these
1212 so that it's easy to add tests when we're ready for them.
1213 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1214 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1216 2011-01-25 Ben Konrath <ben@bagu.org>
1218 Remove unused println.
1220 * src/org/glom/web/server/LibGlomServiceImpl.java:
1222 2011-01-25 Ben Konrath <ben@bagu.org>
1224 Add project specific JDT settings.
1226 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1227 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1229 2011-01-25 Ben Konrath <ben@bagu.org>
1231 Populate celltable with example data.
1233 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1234 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1235 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1236 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1237 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1238 asynchronously gets the example data.
1239 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1240 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1241 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1242 curently selected table to be retrieved by other widgets.
1243 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1244 implement getTableData() in a hacky way. This method needs to be updated
1245 to grab information from the database when database creating is
1248 2011-01-20 Ben Konrath <ben@bagu.org>
1250 Set table headers when table dropBox changes.
1252 * src/org/glom/web/client/GlomDocument.java: Correct some method
1254 * src/org/glom/web/client/LibGlomService.java: Add method
1255 to get list layout field names.
1256 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1257 to get list layout field names.
1258 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1259 widget for list layout table.
1260 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1261 the table drop box and add new updateTable() method to asynchronously
1262 get the layout list field names for the currently selected table.
1263 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1264 implementation of getLayoutListHeaders() method.
1265 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1267 2011-01-18 Ben Konrath <ben@bagu.org>
1269 Make a listBox with table titles instead of the flexTable demo.
1271 This is the start of something more useful.
1273 * .classpath: Exclude a bunch of packages from the JVM that are
1274 getting in the way of the Eclipse content assist.
1275 * src/org/glom/web/client/GlomDocument.java:
1276 * src/org/glom/web/client/GlomTable.java:
1277 * src/org/glom/web/client/LibGlomService.java:
1278 * src/org/glom/web/client/LibGlomServiceAsync.java:
1279 * src/org/glom/web/client/OnlineGlom.java:
1280 * src/org/glom/web/server/LibGlomServiceImpl.java:
1281 * war/OnlineGlom.html:
1282 * war/WEB-INF/web.xml:
1284 211-01-13 Ben Konrath <ben@bagu.org>
1286 Update to new java-libglom API.
1288 * .gitignore: Ignore OnlineGlom.war.
1289 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1291 2010-12-20 Ben Konrath <ben@bagu.org>
1293 Add some basic style to the table listing.
1295 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1296 header, print useful error message on async callback failure.
1297 * war/OnlineGlom.css: Add style for table header, remove defaults
1298 provided by the Eclipse project wizard.
1300 2010-12-20 Ben Konrath <ben@bagu.org>
1302 Load example file from installed glom dir.
1304 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1305 provided by java-libglom to find the example file.
1307 2010-12-20 Ben Konrath <ben@bagu.org>
1309 Update Eclipse settings.
1312 * .settings/com.google.gdt.eclipse.core.prefs:
1313 * .settings/com.google.gwt.eclipse.core.prefs:
1315 2010-12-17 Ben Konrath <ben@bagu.org>
1319 * .classpath: New file.
1320 * .gitignore: New file.
1321 * .project: New file.
1322 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1323 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1324 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1325 * src/org/glom/web/client/GlomTable.java: New file.
1326 * src/org/glom/web/client/OnlineGlom.java: New file.
1327 * src/org/glom/web/client/TableNameService.java: New file.
1328 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1329 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1330 * war/OnlineGlom.css: New file.
1331 * war/OnlineGlom.html: New file.
1332 * war/WEB-INF/web.xml: New file.
1333 * war/images/glom.png: New file.