1 2011-06-16 Ben Konrath <ben@bagu.org>
3 Create wrapper class to create consistent log messages.
5 I wrapped methods in the Log class of gwt-log to add the method names
6 from the servlet and create consistent formatting of the document title
7 and table names in the log messages.
9 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
10 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
11 log methods to use methods from wrapped Log class.
13 2011-06-16 Ben Konrath <ben@bagu.org>
15 Remove superfluous conditional return.
17 Thanks to Murray Cumming for pointing this out!
19 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
21 2011-06-15 Ben Konrath <ben@bagu.org>
23 Return an ArrayList of LayoutGroups for the Details layout.
25 This corrects a problem with the details layout as it can have more
26 than one top level LayoutGroup.
28 * src/main/java/org/glom/web/client/OnlineGlomService.java:
29 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
30 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
31 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
32 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
33 with ArrayList of LayoutGroups for the details view layout.
34 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
35 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
36 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
37 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
38 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
39 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
41 2011-06-14 Ben Konrath <ben@bagu.org>
43 Use cast_dynamic method to determine the libglom LayoutItem type.
45 This is better than finding the LayoutItem type by using the string
46 returned from the get_part_type_name() method.
48 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
50 2011-06-14 Ben Konrath <ben@bagu.org>
52 Add method names to log entries in the servlet.
54 This helps when tracking down deployment problems.
56 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
58 2011-06-14 Ben Konrath <ben@bagu.org>
60 Add data to the DetailsView using a hard-coded primary key value.
62 The layout and functionality of the DetailsView is not complete. This
63 is just a checkpoint so the patch doesn't get too big.
65 * src/main/java/org/glom/web/client/OnlineGlomService.java:
66 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
67 Add getDetailsData() servlet method.
68 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
69 Add RPC to getDetailsData(). Change the way the LayoutGroups and
70 LayoutFields are added to the DetailsView.
71 * src/main/java/org/glom/web/client/ui/DetailsView.java:
72 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
73 Add setData() method. Change addLayoutGroup() and addLayoutField() to
74 take the string for the title instead of the object.
75 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
76 Add implementation getDetailsData() along with some private helper
78 * src/main/webapp/style.css: Add padding to details-data class. Add a
79 details-label class with the same padding as the details-data class.
81 2011-06-03 Ben Konrath <ben@bagu.org>
83 Use presenter.goTo() to change to the DetailsPlace.
85 This will make things easier when we need to open the DetailsView with
86 data specific to the row that was clicked.
88 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
90 2011-06-02 Ben Konrath <ben@bagu.org>
92 Add CSS file from mockups.
94 I'm adding this now because it's going to be useful to have when
95 developing the DetailsView. The TableSelectionView and ListView aren't
98 * src/main/webapp/OnlineGlom.html:
99 * src/main/webapp/style.css:
101 2011-06-02 Ben Konrath <ben@bagu.org>
103 Use String.isEmpty() to check for empty string.
105 * src/main/java/org/glom/web/client/activity/ListActivity.java:
107 2011-06-02 Ben Konrath <ben@bagu.org>
109 Display main layout group titles in the DetailsView.
111 This is the start of the DetailsActivity/DetailsView implementation.
113 * src/main/java/org/glom/web/client/OnlineGlomService.java:
114 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
115 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
116 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
117 Get the layout information for the details view from the server and set
118 the main layout group titles.
119 * src/main/java/org/glom/web/client/ui/DetailsView.java:
120 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
121 Add addLayoutGroup() and addLayoutField() methods. This are just
122 temporary methods for creating the the details view that will change
124 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
125 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
127 * src/main/java/org/glom/web/shared/layout/Formatting.java:
128 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
129 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
130 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
131 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
132 Data Transfer Objects that mimic the libglom object structure. These are
133 used for transferring the details layout but could also be used for
134 transferring the list layout.
136 2011-05-27 Ben Konrath <ben@bagu.org>
138 Reset the AuthenticationPopup when clearing the ListView.
140 * src/main/java/org/glom/web/client/activity/ListActivity.java:
142 2011-05-27 Ben Konrath <ben@bagu.org>
144 Fix problem with onlineglom.properties file loading.
146 The old way worked in Eclipse but not on the server. Loading the
147 onlineglom.properties file now works in Eclipse and on the server.
149 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
151 2011-05-24 Ben Konrath <ben@bagu.org>
153 Update gwt-log from 3.1.0 to 3.1.2.
155 Gwt-log 3.1.0 has been marked as depreciated.
159 2011-05-24 Ben Konrath <ben@bagu.org>
161 Add comment to ListActivity.goTo() method.
163 * src/main/java/org/glom/web/client/activity/ListActivity.java:
165 2011-05-24 Ben Konrath <ben@bagu.org>
167 Remove FIXME in convertGdkColorToHtmlColour()
169 The Gdk::Color value returned by libglom is 16-bits per channel on both
170 64 and 32-bit platforms.
172 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
174 2011-05-19 Ben Konrath <ben@bagu.org>
176 Improve performance of initial ListView load.
178 I removed a round trip to the server for getting the default table name
179 and then requesting information about that table. This also removes a potential
180 problem with the table change handler not being setup in time to receive the
181 table change event from the ListActivity.
183 * src/main/java/org/glom/web/client/OnlineGlomService.java:
184 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
185 getDefaultLayoutListTable() method. Improve comments.
186 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
187 getDefaultLayoutListTable() method instead of firing a table change
188 event to get the table to load.
189 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
190 implementation of getDefaultLayoutListTable() method.
191 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
194 2011-05-19 Ben Konrath <ben@bagu.org>
196 Override toDebugString() in TableChangeEvent.
198 This is useful to have for debugging.
200 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
202 2011-05-19 Ben Konrath <ben@bagu.org>
204 Add a "Back to List" link when at the DetailsPlace.
206 * src/main/java/org/glom/web/client/activity/ListActivity.java:
207 Populate the CellTable based on the selected table of the ListBox if
208 it's set otherwise use the default table. This allows the "Back to
210 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
211 Remove Place from constructors. Add a setPlace() method. Add
212 goToPlace() method. Set class as presenter for TableSelectionView.
213 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
214 Use the same TableSelectionActivity when switching between the List and
216 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
217 Subclass the new HasSelectableTablePlace. This removes some duplicate
219 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
220 New class to represent Places that display the TableSelectionView.
221 * src/main/java/org/glom/web/client/place/ListPlace.java:
222 Subclass the new HasSelectableTablePlace. This removes some duplicate
224 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
225 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
226 Add Presenter interface. Add setBackLinkVisible() method. Add
227 setBackLink() method.
229 2011-05-18 Ben Konrath <ben@bagu.org>
231 Enable the "Details" buttons.
233 Right now only an empty details view is displayed.
235 * src/main/java/org/glom/web/client/ClientFactory.java:
236 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
237 Add DetailsView to ClientFactory.
238 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
239 A basic activity for the details view.
240 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
241 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
243 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
244 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
246 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
247 Create a new DetailsActivity when a DetailsPlace is requested. Remove
248 unnecessary super() in constructor.
249 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
250 Create a new TableSelectionActivity when a DetailsPlace is requested. We
251 really shouldn't create a new TableSelectionActivity for both the ListPlace
252 and the DetailsPlace so this should be considered a temporary solution.
253 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
254 New file. Represents a URL for the details view.
255 * src/main/java/org/glom/web/client/ui/DetailsView.java:
256 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
257 A basic details view interface and implementation.
258 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
259 Enable the "Details" buttons.
261 2011-05-12 Ben Konrath <ben@bagu.org>
263 Use a LayoutPanel with multiple display areas for main layout.
265 This is mostly a refactor in that there are no changes from the user
266 point of view. These changes are required so that we can swap out the list view
267 with the details view when the user clicks the "Details" button.
269 * src/main/java/org/glom/web/client/ClientFactory.java:
270 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
271 OnlineGlomView. Add TableSelectionView, ListView and
273 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
274 for main layout. Add display regions for main activities. Add
275 activity manager for for main activities.
276 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
277 file from parts of the deleted OnlineGlomActivity.
278 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
279 New file from parts of the deleted OnlineGlomActivity.
280 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
281 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
282 New files for app wide table change event.
283 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
284 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
285 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
286 Activity mappers for the main activities replace the deleted app-wide
288 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
289 Fix a spelling error in he comment.
290 * src/main/java/org/glom/web/client/ui/ListView.java:
291 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
292 Renamed from LayoutListView and modified for MVP. This still not a
293 proper dumb view as prescribed by the MVP pattern but it works for now.
294 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
295 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
296 New widget stripped out of the deleted OnlineGlomView.
297 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
298 Remove hack that is fixed by this patch.
300 2011-05-06 Ben Konrath <ben@bagu.org>
302 Rename OnlineGlomPlace to ListPlace.
304 The only change besides the rename is that url will now display #list
305 instead of #Document.
307 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
308 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
309 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
310 * src/main/java/org/glom/web/client/place/ListPlace.java:
311 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
313 2011-05-06 Ben Konrath <ben@bagu.org>
315 Use Presenter for app navigation.
317 This is the proper way to deal with Place (URL) changes with the MVP
320 * src/main/java/org/glom/web/client/ClientFactory.java:
321 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
322 PlaceHistoryMapper and PlaceHistoryHandler.
323 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
324 PlaceHistoryMapper and PlaceHistoryHandler.
325 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
326 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
327 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
328 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
329 Add Presenter interface and setPresenter methods. Rename addHyperLink
330 to addDocumentLink taking only the document title as a parameter.
332 2011-04-14 Ben Konrath <ben@bagu.org>
334 Prompt for db username/password if they haven't been set.
336 This is implemented with a popup widget that is contained within the
337 OnlineGlomView and managed by the OnlineGlomActivity.
339 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
340 methods for checking and setting the database username and password.
341 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
342 new methods for checking and setting the database username and
344 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
345 Display authentication popup if the JDBC connection to the database
346 has not been authenticated.
347 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
349 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
350 for dealing with the authentication popup.
351 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
352 Implement the methods for dealing with the authentication popup.
353 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
354 try to executed queries if the database connection hasn't been
355 authenticated. Implement methods for checking and setting the
356 database username and password.
358 2011-04-12 Ben Konrath <ben@bagu.org>
360 Make log messages a little clearer.
362 Add a dash betweeen the document title and the table name.
364 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
366 2011-04-12 Ben Konrath <ben@bagu.org>
368 Protect against NPEs when cleaning up database resources.
370 While this isn't strictly necessary because the exception is caught,
371 not protecting against the NPEs makes it harder to find the real error
374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
376 2011-04-12 Ben Konrath <ben@bagu.org>
378 Move configuration of the servlet to the constructor.
380 The servlet will be initialized even if the database authentication
381 information is not set or correct. I still need to add the UI for prompting
382 the user for the authentication information when it's required.
384 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
385 javadocs for getDocumentTitles() method.
386 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
387 Set error message when RPC fails.
388 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
389 glom files directory from the configuration file. Try to set the
390 database authentication information for the specific document if it's
391 set and works otherwise try to use the global authentication
392 information set for the directory.
393 * src/main/resources/onlineglom.properties: Moved from
394 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
395 Added detailed comments for the new keys.
397 2011-04-11 Ben Konrath <ben@bagu.org>
399 Remove unnecessary @Override in DocumentSelectionViewImpl.
401 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
403 2011-04-11 Ben Konrath <ben@bagu.org>
405 Remove center alignment in DocumentSelectionView.
407 The title element is still centred but the document titles and bottom
408 sentence are both left-aligned.
410 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
412 2011-04-11 Ben Konrath <ben@bagu.org>
414 Change 'Demo' naming convention to 'Document'.
416 This is just a rename refactor with no functional changes to the code.
418 * src/main/java/org/glom/web/client/ClientFactory.java:
419 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
420 * src/main/java/org/glom/web/client/OnlineGlom.java:
421 * src/main/java/org/glom/web/client/OnlineGlomService.java:
422 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
423 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
424 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
425 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
426 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
427 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
428 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
429 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
432 2011-04-08 Ben Konrath <ben@bagu.org>
434 Remove FIXME from safeLongToInt() method.
436 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
439 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
441 2011-04-08 Ben Konrath <ben@bagu.org>
443 Display an error if no glom documents are found in the specified directory.
445 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
446 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
447 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
450 2011-04-08 Ben Konrath <ben@bagu.org>
452 Add copyright header to one more file ... oops.
454 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
456 2011-04-08 Ben Konrath <ben@bagu.org>
458 Add copyright header to files without it.
460 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
461 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
462 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
463 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
464 * src/main/java/org/glom/web/shared/ColumnInfo.java:
465 * src/main/java/org/glom/web/shared/GlomField.java:
467 2011-04-08 Ben Konrath <ben@bagu.org>
469 Add support for accessing multiple glom documents in the servlet.
471 This completes the demo selection functionality.
473 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
474 document title to methods.
475 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
476 document title to methods.
477 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
478 Set browser window title when the activity starts. Correct name of
479 document title variable.
480 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
481 Set browser window title when the activity starts. Set the table
482 selector change handler after table selector has been set. Clear the
483 OnlineGlomView when the activity has been stopped.
484 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
485 document title as the place token. Use "#Document:" instead of
486 "#OnlineGlomPlace:" in the URL.
487 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
488 Change heading to "Online Glom"
489 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
490 document title in RPC methods.
491 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
492 setDocumentTitle() method. Add clear() method.
493 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
494 setDocumentTitle() method. Implement clear() method which removes the
495 change handler on the ListBox, clears the ListBox and clears the
497 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
498 Implement methods with document title. Keep track for the configured
499 glom documents and their corresponding JDBC configurations in a hash
500 table. This information is retrieved using the document title as the
501 key in the hash table.
502 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
503 document title field as it's no longer needed.
505 2011-04-08 Ben Konrath <ben@bagu.org>
507 Update the Eclipse JDT configuration.
509 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
510 methods. Automatically add the copyright header to new files.
512 2011-04-05 Ben Konrath <ben@bagu.org>
514 Add new page for demo selection.
516 This patch adds all the components required to view and start an
517 OnlineGlom demo by clicking on the desired hyperlink. The user is
518 able to return to the demo selection page with the browser's back
519 button. I still need to modify the servlet to work with multiple
520 documents so all demo links will load the file defined in the
521 OnlineGlom.properties.
523 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
524 This is only useful during development so we don't need to save it.
525 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
526 get a reference to the DemoSelectionView.
527 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
528 method to get a reference to the DemoSelectionView.
529 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
530 default view to DemoSelectionView.
531 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
532 to get glom document titles for glom files in a hard-coded directory.
533 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
534 method to get glom document titles for glom files in a hard-coded
536 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
537 Presenter for DemoSelectionView.
538 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
539 for DemoSelectionView.
540 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
541 Update for DemoSelectionView.
542 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
543 Basic 'Place' implementation for the DemoSelectionView.
544 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
545 The interface for the DemoSelectionView.
546 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
547 The implementation of the DemoSelectionView.
548 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
549 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
550 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
551 implementation of method to get glom document titles for glom files
552 in a hard-coded directory.
553 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
554 on longer being used.
555 * src/main/webapp/glom.png: Glom logo.
557 2011-04-05 Ben Konrath <ben@bagu.org>
559 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
561 This is the forth and final commit of a refactor that will allow
562 OnlineGlom to be used with multiple documents.
564 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
565 Move RPC code from OnlineGlomViewImpl to this class.
566 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
568 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
569 RPC code to the presenter class (the P in MVP).
571 2011-04-04 Ben Konrath <ben@bagu.org>
573 Start moving the existing OnlineGlom code to MVP.
575 This work is based on the GWT MVP framework that is documented here:
577 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
579 This is the third commit of a refactor that will allow OnlineGlom to
580 be used with multiple documents.
582 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
583 Interface for client factory which is used to get instances of various
584 classes throughout the app.
585 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
586 Implementation of client factory.
587 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
588 initialize the MVP framework.
589 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
590 New file. Activity manager for the main container widget. This is the
592 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
593 Maps place (URL) to its corresponding activity.
594 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
595 New file. This is just a place holder for a generated file.
596 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
597 New file. Represents the URL for the main Online Glom app.
598 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
599 for changes in LayoutListViewImpl.
600 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
601 interface for View. Move code to OnlineGlomViewImpl class.
602 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
603 file. Implementation of OnlineGlomView.
604 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
605 Place resources. Use ClientFactoryImpl by default.
607 2011-04-04 Ben Konrath <ben@bagu.org>
609 Move View classes to their own package.
611 This is the second commit of a refactor that will allow OnlineGlom to
612 be used with multiple documents.
614 * src/main/java/org/glom/web/client/OnlineGlom.java:
615 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
616 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
618 2011-04-02 Ben Konrath <ben@bagu.org>
620 Move UI code from the main module to its own class.
622 This is the first commit of a refactor that will allow OnlineGlom to be
623 used with multiple documents.
625 * src/main/java/org/glom/web/client/LayoutListView.java: Update
626 references to OnlineGlom to OnlineGlomView.
627 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
628 OnlineGlomView and instantiate it here.
629 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
630 represents the main OnlineGlomView with one document.
632 2011-04-01 Ben Konrath <ben@bagu.org>
634 Fix formatting of gwt.xml and add DTD.
636 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
638 2011-03-30 Ben Konrath <ben@bagu.org>
640 Propperly convert gdkColor string to html colour string.
642 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644 2011-03-28 Ben Konrath <ben@bagu.org>
646 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
648 This implementation matches
649 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
650 readable and is not tied to Swig.
652 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
654 2011-03-28 Ben Konrath <ben@bagu.org>
656 Use read-only checkboxes for boolean field types.
658 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
659 in the CellTable based on the field type. It currently only
660 distinguishes between boolean and text columns but I'll need to add
661 support for more types.
662 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
663 column type in the ColumnInfo object. Add method to convert between the
664 glom field type enum in ColumnInfo and the glom field type in libglom.
665 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
667 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
668 getting and setting booleans.
670 2011-03-25 Ben Konrath <ben@bagu.org>
672 Don't get the Date twice from the ResultSet.
674 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
676 2011-03-25 Ben Konrath <ben@bagu.org>
678 Cleanup code in the servlet.
680 * TODO: Remove item about row count. Add item about testing row count
681 query with large number of rows.
682 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
683 spelling mistakes, change method parameter to be consistent with
686 2011-03-25 Ben Konrath <ben@bagu.org>
688 Add server side logging with the gwt-log library.
690 * .gitignore: Ignore the log file we're now producing.
691 * TODO: Add a couple TODO item for logging.
692 * pom.xml: Add gwt-log and log4j as a dependency.
693 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
694 logging of errors, warnings and some important info.
695 * src/main/resources/log4j.properties: New file to configure log4j.
697 2011-03-24 Ben Konrath <ben@bagu.org>
699 Add a disable button for the Details view.
701 * src/main/java/org/glom/web/client/LayoutListView.java:
703 2011-03-22 Ben Konrath <ben@bagu.org>
705 Use a count query to get the number of rows for the list view pager.
707 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
709 2011-03-22 Ben Konrath <ben@bagu.org>
711 Add more TODO information about CellTable pager positioning.
715 2011-03-19 Ben Konrath <ben@bagu.org>
717 Add TODO item about CellTable pager positioning.
721 2011-03-18 Ben Konrath <ben@bagu.org>
723 Remove unneeded GlomFieldColumn class.
725 This is just a small code cleanup.
727 * src/main/java/org/glom/web/client/LayoutListView.java:
729 2011-03-18 Ben Konrath <ben@bagu.org>
731 Use cursor mode in the query that gets data for the list view.
733 I still need to fix the potential memory problem when getting the row
734 count for the list view.
736 * TODO: Add note about testing memory usage with large data sets. Add
737 item about fixing row counting with large data sets.
738 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
739 PostgreSQL JDBC driver into cursor mode when getting data for the
742 2011-03-15 Ben Konrath <ben@bagu.org>
744 Remove the GWT Container from the Eclipse build classpath.
746 The GWT dependencies are set by Maven so this isn't needed.
750 2011-03-15 Murray Cumming <murrayc@murrayc.com>
752 Added some earlier mockups to git, but not to the tarball dist.
754 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
755 Openismus. These hopefully show how we might structure the HTML so that
756 it can be styled easily with CSS. However, we probably need to adapt them
757 for the CSS structure that GWT dictates for common widgets.
759 2011-03-14 Ben Konrath <ben@bagu.org>
761 Locate OnlineGlom.properties using the ServletContext.
763 This is required to be able to locate the file in the deployed servlet.
765 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
766 Configure the database and glom document in in a helper method so
767 that the ServletContext can be used to locate OnlineGlom.properties.
768 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
769 src/main/webapp. This is the proper location for .properites files.
771 2011-03-12 Ben Konrath <ben@bagu.org>
773 Add note to README about why we're compiling down to obfuscated JavaScript.
777 2011-03-11 Ben Konrath <ben@bagu.org>
779 Use properties file to configure servlet.
781 This allows people to change the glom file path, db username and db
782 password without recompiling the code.
784 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
785 * src/main/webapp/OnlineGlom.properties:
787 2011-03-11 Ben Konrath <ben@bagu.org>
789 Use table fields in layout list view if the layout list is not defined.
791 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
792 Manually create a LayoutFieldVector for the query builder using the
793 table fields when a layout list is not defined in the glom file.
795 2011-03-11 Ben Konrath <ben@bagu.org>
797 Only show FIXME string for images when there's an image.
799 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
800 in this change are some small code cleanups.
802 2011-03-11 Ben Konrath <ben@bagu.org>
804 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
806 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
808 2011-03-11 Ben Konrath <ben@bagu.org>
810 Correctly set the index of the default table.
812 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
813 Correctly set the index of the default table. Add commented out example
816 2011-03-10 Ben Konrath <ben@bagu.org>
818 Add comment to pom.xml about the previous change.
820 * pom.xml: Add comment about the deployment issue so that it's obvious
821 why java-libglom is set to the provided scope.
823 2011-03-10 Ben Konrath <ben@bagu.org>
825 Change java-libglom dependency from compile to provided in pom.xml.
827 Since java-libglom uses jni it can only be loaded once and therefore
828 must be placed in $CATALINA_HOME/lib and not included in each war.
829 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
830 More information about this issue can be found in the Tomcat 6 release
831 notes in the "JNI Based Applications" section:
833 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
835 * README: Remove note about this issue. Deployment info should really
836 be on the wiki anyway so I'll add it right now.
837 * pom.xml: Change java-libglom dependency from compile to provided so
838 that it's copied in to the packaged war.
840 2011-03-09 Ben Konrath <ben@bagu.org>
842 Change to using a neutral locale for currency, date and time formatting.
844 This solves the problem of currency values being represented without a
845 space between the currency code and the number (e.g. "EUR5.89" is now
846 represented as "EUR 5.89"). More work is required when we implement
847 a locale preference setting.
849 * TODO: Add note about currency formatting issues with different
851 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
852 to using the neutral ROOT locale.
854 2011-03-09 Ben Konrath <ben@bagu.org>
856 Add support for currency codes that are not ISO 4217 codes.
858 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
859 the currency code defined in the glom file when it's not 3 characters
860 long or when Java doesn't recognize the string as an ISO 4217 code.
862 2011-03-08 Ben Konrath <ben@bagu.org>
864 Remove test classes, launch configurations and configuration.
866 The test stuff was getting in the way when creating the war. To make
867 the war file you can now do 'mvn clean package'. The packaged war file
868 will be in the target directory.
870 * .classpath: Remove unused classpathentry for tests and i18n.
871 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
872 property. Don't run test or i18n goals when packaging the war.
873 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
878 * OnlineGlomTest-dev.launch:
879 * OnlineGlomTest-prod.launch:
880 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
881 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
883 2011-03-07 Ben Konrath <ben@bagu.org>
885 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
887 These fixes allow me to use 'mvn deploy' to create the war file.
889 * .classpath: This generated config has been updated by Eclipse. This
890 change was probably triggered by me updating from Eclipse 3.6.1 to
892 * .gitignore: Add entry to ignore the directory
893 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
894 * .project: The generated config has been updated by Eclipse. This
895 change was probably triggered by me updating from Eclipse 3.6.1 to
897 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
898 so that Eclipse doesn't complain
899 * pom.xml: Update to gwt-maven-plugin 2.2.0.
900 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
901 'tests' directory to 'client' directory. This is the new
902 gwt-maven-plugin convension.
903 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
904 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
906 2011-03-07 Ben Konrath <ben@bagu.org>
908 Add support for horizontal alignment in the LayoutList columns.
910 * TODO: Remove item about horizontal alignment. Add item about
911 improvements to ColumnInfo.
912 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
913 alignment on the columns. Use ColumnInfo RPC object get the column
914 title and horizontal alignment.
915 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
916 LayoutListView creation with ColumnInfo RPC object.
917 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
918 a ColumnInfo object for every LayoutList columnn. Convert the
919 FieldFormatting.HorizontalAlignment to the correct
920 ColumnnInfo.HorizontatlAlignment with the new
921 getColumnInfoHorizontalAlignment helper method.
922 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
923 to encapsulate column information like alignment and title. This
924 could be used to set the colour instead of on a per cell field basis.
925 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
926 column title storage and retrieval with ColumnInfo.
928 2011-03-04 Ben Konrath <ben@bagu.org>
930 Add support for column sorting.
932 * src/main/java/org/glom/web/client/LayoutListView.java: Change
933 AsynDataProvider to be an anonymous inner class. Use new
934 getSortedTableData RPC method when column sort is requested. Set all
935 columns sortable and add an AsyncHandler to activate sorting in the
937 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
938 method getSortedTableData(). Cleanup other method signatures.
939 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
940 new method getSortedTableData(). Cleanup other method signatures.
941 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
942 Implement getSortedTableData() and getTableData() methods by using a
943 private helper method with the appropriate parameters filled in. Use
944 user supplied sort clause when supplied, otherwise fall back to
945 sorting by the primary key. Move destroy() method to be underneath
946 constructor for readability. Cleanup comments.
948 2011-03-03 Ben Konrath <ben@bagu.org>
950 Add support for colour text and colour backgrounds to the layout list cells.
952 Only the cell backgrounds are coloured which leaves a gap between the
953 cells that isn't coloured. I need to figure out a way to set
954 'style=background-colour:' on the whole column rather than just the
957 * TODO: Add a note about colouring the background of the whole column.
958 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
959 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
960 render the coloured text and backgrounds. Use GlomField[] for the row type.
961 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
963 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
964 GlomField[] for the row type.
965 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
966 GlomField[] for the row type. Set the text, text colour and background
967 colour in the GlomField objects as specified in the glom document. Add
968 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
969 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
970 the glom field text, foreground colour and background colour.
972 2011-03-02 Ben Konrath <ben@bagu.org>
974 Don't display hidden tables in the combo box.
976 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
978 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
979 code to ignore hidden tables using ArrayLists for the table names and
981 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
982 tableNames to use ArrayLists instead of String[]. Update getter and setter
985 2011-03-01 Ben Konrath <ben@bagu.org>
987 Add support for Date and Time number types.
989 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
990 Implement formatting for Date and Time values. Change the default glom
991 file to small business example.
993 2011-03-01 Ben Konrath <ben@bagu.org>
995 Add support for formatting glom types as specified in the glom file.
997 Formatting isn't finished yet - I still need to add support for Date
1000 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1001 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1002 checks for null values in JDBC cleanup code and catch all exceptions
1003 instead of just SQLExceptions.
1004 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1007 2011-03-01 Ben Konrath <ben@bagu.org>
1009 Use GWT 2.2.0 instead of 2.1.1.
1011 * pom.xml: Change GWT version numbers.
1013 2011-03-01 Ben Konrath <ben@bagu.org>
1015 A few small code cleanups.
1017 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1019 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1020 unnecessary object creation in constructor.
1021 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1022 unnecessary object creation in constructor.
1024 2011-02-28 Ben Konrath <ben@bagu.org>
1026 Add file for TODO list.
1030 2011-02-18 Ben Konrath <ben@bagu.org>
1032 Enable the CellTable Pager when more than 20 rows need to be viewed.
1034 The Pager will automatically become active when the results are larger
1035 than the CellTable size which is currently set to 20 lines.
1037 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1038 name on debug statment in RPC call in LayoutListDataProvider, add
1039 numRows parameter to LayoutListView constructor, propperly set rowCount
1041 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1042 name on debug statment in RPC call, use LayoutListTable object in RPC
1043 calls, pass rowCount to LayoutListView.
1044 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1045 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1047 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1048 interface for changes in OnlineGlomService.
1049 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1050 getLayoutListHeaders() to getLayoutListTable() and return
1051 LayoutListTable. Using this object allows me to pass other information
1052 about the LayoutList like the expected number of rows in the result set.
1053 The Connection object from the connection pool is now propperly closed.
1054 Only the requested number of lines are returned to the client in
1056 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1057 GlomTable and add columnTitles and numRows.
1059 2011-02-18 Ben Konrath <ben@bagu.org>
1061 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1063 This is a small performance boost. I'll use GlomTable to get the required
1064 layoutlist information.
1066 * src/main/java/org/glom/web/client/OnlineGlom.java:
1067 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1068 * src/main/java/org/glom/web/shared/GlomDocument.java:
1070 2011-02-18 Ben Konrath <ben@bagu.org>
1072 Add option to turn off formatting in JDT formatter preferences.
1074 * .settings/org.eclipse.jdt.core.prefs:
1076 2011-02-18 Ben Konrath <ben@bagu.org>
1078 Rename LayoutList to LayoutListView.
1080 I'm working towards setting things up to easily use MVP when the time
1083 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1085 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1088 2011-02-17 Ben Konrath <ben@bagu.org>
1090 Move LayoutListDataProvider class into LayoutList.java.
1092 * src/main/java/org/glom/web/client/LayoutList.java:
1094 2011-02-17 Ben Konrath <ben@bagu.org>
1096 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1098 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1100 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1101 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1102 from LibGlomServer.java.
1103 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1104 Rename from LibGlomServiceAsync.java.
1105 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1106 Rename from LibGlomServiceImpl.java.
1107 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1109 2011-02-17 Ben Konrath <ben@bagu.org>
1111 Update JDT settings.
1113 * .settings/org.eclipse.jdt.core.prefs:
1115 2011-02-17 Ben Konrath <ben@bagu.org>
1117 Move GWT-RPC objects to shared package (where they should be).
1119 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1120 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1121 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1122 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1123 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1124 org.glom.web.shared package.
1125 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1126 org.glom.web.shared package.
1127 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1128 directory in compilation to javascript.
1130 2011-02-16 Ben Konrath <ben@bagu.org>
1132 Add sort clause to the sql query that grabs table information.
1134 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1135 if one of the columns is a primary key.
1137 2011-02-16 Ben Konrath <ben@bagu.org>
1139 Disable generateAsync feature of gwt-maven.
1141 The generated interface does not correctly match the methods in LibGlomService
1142 and the generated singleton Util inner-class doesn't respect the servlet
1145 * pom.xml: Turn off generateAsync feature.
1146 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1147 with singleton Util inner-class.
1149 2011-02-14 Ben Konrath <ben@bagu.org>
1151 Add LGPL v3 licence notices.
1153 Followed directions listed here:
1154 http://www.gnu.org/licenses/gpl-howto.html
1156 * COPYING: This file is a copy of the GPL v3.
1157 * COPYING.LESSER: This file is a copy of the LGPL v3.
1158 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1160 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1162 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1164 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1166 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1168 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1170 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1173 2011-02-14 Ben Konrath <ben@bagu.org>
1175 Use ArrayList instead of Array in GWT-RPC calls.
1177 Apparently this gives a slight performance boost to the compiled
1180 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1182 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1185 2011-02-14 Ben Konrath <ben@bagu.org>
1187 Access data from a postgres db rather than the example glom file.
1189 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1190 compile down to obfuscated javascript.
1191 * pom.xml: Add c3p0 and postgres JDBC libraries.
1192 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1193 using a postgres db accessed through the c3p0 connection pooling library.
1195 2011-02-14 Ben Konrath <ben@bagu.org>
1197 Update Java formatter settings.
1199 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1201 2011-02-02 Ben Konrath <ben@bagu.org>
1203 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1205 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1207 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1208 the compiled webapp directory that Eclipse uses as we're using Maven now.
1209 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1210 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1212 * pom.xml: Format file, change target Java version to 1.6.
1214 2011-02-02 Ben Konrath <ben@bagu.org>
1216 Add information about a deployment related issue.
1218 * README: Add Notes section with the problem outlined.
1220 2011-02-02 Ben Konrath <ben@bagu.org>
1222 Call Glom.libglom_deinit() when the servlet is shutdown.
1224 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1225 Glom.libglom_deinit() to destroy() method.
1227 2011-01-28 Ben Konrath <ben@bagu.org>
1229 Use generated Util class to get the RPC Async interface.
1231 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1233 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1234 getInstance() method to get a reference to the RPC Async interface.
1235 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1236 getInstance() method to get a reference to the RPC Async interface, remove
1237 the now unused getLibGlomServiceProxy() method.
1239 2011-01-27 Ben Konrath <ben@bagu.org>
1241 Cleanup ChangeLog entry from previous commit.
1243 * ChangeLog: Group logical changes together and add comments.
1245 2011-01-25 Ben Konrath <ben@bagu.org>
1247 Convert to gwt-maven project.
1249 * .gitignore: Update for new project structure.
1250 * README: New file with a link to the online documentation.
1251 * pom.xml: The generated maven configuration file with some tweaks.
1253 Add / update Eclipse settings. These files are a merge of the files that
1254 were generated with the gwt-maven plugin and the files we were previously
1258 * .settings/.jsdtscope:
1259 * .settings/com.google.gdt.eclipse.core.prefs:
1260 * .settings/com.google.gwt.eclipse.core.prefs:
1261 * .settings/org.eclipse.jdt.core.prefs:
1262 * .settings/org.eclipse.wst.common.component:
1263 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1264 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1265 * .settings/org.maven.ide.eclipse.prefs:
1266 * OnlineGlomTest-dev.launch:
1267 * OnlineGlomTest-prod.launch:
1269 Java source files moved from the 'src' directory to the directory structure
1271 * src/main/java/org/glom/web/client/GlomDocument.java:
1272 * src/main/java/org/glom/web/client/GlomTable.java:
1273 * src/main/java/org/glom/web/client/LayoutList.java:
1274 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1275 * src/main/java/org/glom/web/client/LibGlomService.java:
1276 * src/main/java/org/glom/web/client/OnlineGlom.java:
1277 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1279 Non-functional property file used for translations. I included this as
1280 reminder that it's something I need to sort out.
1281 * src/main/resources/org/glom/web/client/Messages.properties:
1283 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1284 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1286 The servlet configuration files moved from the 'war' directory.
1287 * src/main/webapp/OnlineGlom.css:
1288 * src/main/webapp/OnlineGlom.html:
1289 * src/main/webapp/WEB-INF/web.xml:
1291 Generated test files with most of the code commented out. I included these
1292 so that it's easy to add tests when we're ready for them.
1293 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1294 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1296 2011-01-25 Ben Konrath <ben@bagu.org>
1298 Remove unused println.
1300 * src/org/glom/web/server/LibGlomServiceImpl.java:
1302 2011-01-25 Ben Konrath <ben@bagu.org>
1304 Add project specific JDT settings.
1306 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1307 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1309 2011-01-25 Ben Konrath <ben@bagu.org>
1311 Populate celltable with example data.
1313 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1314 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1315 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1316 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1317 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1318 asynchronously gets the example data.
1319 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1320 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1321 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1322 curently selected table to be retrieved by other widgets.
1323 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1324 implement getTableData() in a hacky way. This method needs to be updated
1325 to grab information from the database when database creating is
1328 2011-01-20 Ben Konrath <ben@bagu.org>
1330 Set table headers when table dropBox changes.
1332 * src/org/glom/web/client/GlomDocument.java: Correct some method
1334 * src/org/glom/web/client/LibGlomService.java: Add method
1335 to get list layout field names.
1336 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1337 to get list layout field names.
1338 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1339 widget for list layout table.
1340 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1341 the table drop box and add new updateTable() method to asynchronously
1342 get the layout list field names for the currently selected table.
1343 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1344 implementation of getLayoutListHeaders() method.
1345 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1347 2011-01-18 Ben Konrath <ben@bagu.org>
1349 Make a listBox with table titles instead of the flexTable demo.
1351 This is the start of something more useful.
1353 * .classpath: Exclude a bunch of packages from the JVM that are
1354 getting in the way of the Eclipse content assist.
1355 * src/org/glom/web/client/GlomDocument.java:
1356 * src/org/glom/web/client/GlomTable.java:
1357 * src/org/glom/web/client/LibGlomService.java:
1358 * src/org/glom/web/client/LibGlomServiceAsync.java:
1359 * src/org/glom/web/client/OnlineGlom.java:
1360 * src/org/glom/web/server/LibGlomServiceImpl.java:
1361 * war/OnlineGlom.html:
1362 * war/WEB-INF/web.xml:
1364 211-01-13 Ben Konrath <ben@bagu.org>
1366 Update to new java-libglom API.
1368 * .gitignore: Ignore OnlineGlom.war.
1369 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1371 2010-12-20 Ben Konrath <ben@bagu.org>
1373 Add some basic style to the table listing.
1375 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1376 header, print useful error message on async callback failure.
1377 * war/OnlineGlom.css: Add style for table header, remove defaults
1378 provided by the Eclipse project wizard.
1380 2010-12-20 Ben Konrath <ben@bagu.org>
1382 Load example file from installed glom dir.
1384 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1385 provided by java-libglom to find the example file.
1387 2010-12-20 Ben Konrath <ben@bagu.org>
1389 Update Eclipse settings.
1392 * .settings/com.google.gdt.eclipse.core.prefs:
1393 * .settings/com.google.gwt.eclipse.core.prefs:
1395 2010-12-17 Ben Konrath <ben@bagu.org>
1399 * .classpath: New file.
1400 * .gitignore: New file.
1401 * .project: New file.
1402 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1403 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1404 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1405 * src/org/glom/web/client/GlomTable.java: New file.
1406 * src/org/glom/web/client/OnlineGlom.java: New file.
1407 * src/org/glom/web/client/TableNameService.java: New file.
1408 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1409 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1410 * war/OnlineGlom.css: New file.
1411 * war/OnlineGlom.html: New file.
1412 * war/WEB-INF/web.xml: New file.
1413 * war/images/glom.png: New file.