1 2011-07-12 Ben Konrath <ben@bagu.org>
3 Use java-libglom 1.17.0.
7 2011-07-11 Ben Konrath <ben@bagu.org>
9 Remove "Table:" label from table selector.
11 This matches a recent change in the Glom UI.
13 * mockups/details-contacts.html:
14 * mockups/details-projects.html:
15 * mockups/listview-contacts.html:
16 * mockups/listview-projects.html: Remove the "Table:" label from the
18 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
20 2011-07-11 Ben Konrath <ben@bagu.org>
22 Add main groups to the details view.
24 This makes things look a little nicer in the details view. The next step
25 is to implement the flowtable.
27 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
28 resources from the standard gwt css theme. Standard.css is now
29 included in OnlineGlom.html so that the online glom css rules have
30 precedence over the gwt theme.
31 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
32 the whole LayoutGroup to the DetailsView instead of just the titles.
33 * src/main/java/org/glom/web/client/ui/DetailsView.java:
34 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
35 details layout with a helper class (GroupPanel). I might extract this
36 class when I make the full flowtable.
37 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
38 string as default so I don't have to worry about NPEs when processing
40 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
41 note beside OnlineGlom.gwt.xml above).
42 * src/main/webapp/style.css: Add default font-size to body to override
43 the font-size set by the standard theme. Don't use h2 tags for
44 group-title. Create new details-cell class.
46 2011-07-08 Murray Cumming <murrayc@murrayc.com>
48 ConfiguredDocument: Set the port number too.
50 * src/main/java/org/glom/web/server/ConfiguredDocument.java
51 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
52 Glom document. Presumably this worked sometimes so far because there is a
55 2011-07-08 Murray Cumming <murrayc@murrayc.com>
57 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
59 * src/main/java/org/glom/web/server/ConfiguredDocument.java
60 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
61 correct, though we should throw an exception too.
63 2011-07-08 Murray Cumming <murrayc@murrayc.com>
65 Fix a addDocuemnt typo.
67 * src/main/java/org/glom/web/shared/Documents.java
68 (Documents.addDocuemnt): Rename to addDocument().
69 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
70 (OnlineGlomServiceImpl.getDocuments): Adapt.
72 2011-07-08 Murray Cumming <murrayc@murrayc.com>
74 Slightly improved log output when connection fails.
76 * src/main/java/org/glom/web/server/ConfiguredDocument.java
77 (ConfiguredDocument.setUsernameAndPassword):
78 We don't know for sure if it' the username/password that's wrong, so
80 Also ouput the exception message, though it's generic in this case.
82 2011-07-08 Ben Konrath <ben@bagu.org>
86 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
87 added braces to a one line if statement because the Eclipse formatter
90 2011-07-07 Ben Konrath <ben@bagu.org>
92 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
94 These should really be two separate tasks but I counldn't get things to
95 work with GWT 2.2.0 and Eclipse 3.7.
99 * .settings/org.eclipse.jdt.core.prefs:
100 * .settings/org.eclipse.jdt.ui.prefs:
101 * .settings/org.eclipse.ltk.core.refactoring.prefs:
102 * .settings/org.eclipse.m2e.core.prefs:
103 Add new config files. Update current files. Remove references to the
104 webtools plugins as we're not using any of the webtools features.
105 * .gitignore: Add logs directory which is created when running with
107 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
108 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
109 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
111 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
113 2011-07-07 Murray Cumming <murrayc@murrayc.com>
115 onlineglom.properties: Add explanatory comments.
117 * src/main/resources/onlineglom.properties: Also change the default user
118 from ben to someuser, to avoid the risk of people thinking we just
119 stupidly hard-coded a locale path, when they see that on stderr or in a log.
121 2011-06-28 Ben Konrath <ben@bagu.org>
123 Use filename in Log for incorrect passwords.
125 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
126 getFileName(String) method to get the filename from the URI.
128 2011-06-28 Ben Konrath <ben@bagu.org>
130 Add the table name to the URL token for the ListPlace.
132 This makes things consistent between the DetailsPlace and the
133 ListPlace. It also allows the the ListPlace to be bookmarked.
135 * src/main/java/org/glom/web/client/OnlineGlomService.java:
136 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
137 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
138 Remove getDefaultListLayout(). The default layout is now returned
139 by the getListLayout() method when the table name is an empty string.
140 * src/main/java/org/glom/web/client/activity/ListActivity.java:
141 Add table name field. Change to a new ListPlace when the table
142 has been changed. Use getListLayout() for getting the default
144 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
145 Add table name field. Set the correct table name in the list box
146 when loading from bookmark. This corrects a problem for the
148 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
149 Move table name to super-class (HasSelectableTable). Move document
150 and table URL keys to super-class in HasSelectableTable.
151 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
152 Add table name field. Add Tokenizer class with URL key common to
153 the subclasses (DetailsPlace and ListPlace).
154 * src/main/java/org/glom/web/client/place/ListPlace.java:
155 Add table name. Add code to parse the URL token.
156 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
157 Update ListPlace construction with empty table name string.
158 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
159 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
160 Change setTableSelectedIndex(int) to setSelectedTableName(String).
161 Update ListPlace construction with table name string.
162 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
163 Change defaultTableName field to tableName to reflect how it's now
164 used. Update the getter and setter methods.
166 2011-06-28 Ben Konrath <ben@bagu.org>
168 Enable the table selector in the DetailsView.
170 * src/main/java/org/glom/web/client/OnlineGlomService.java:
171 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
172 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
173 Remove getDefaultDetailsLayout(). The default layout is now returned
174 by the getDetailsLayout() method when the table name is an empty
176 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
177 event handler for table change event. Change to using
178 getDetailsLayout() for the default details layout.
179 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
181 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
182 when navigating to the details place.
184 2011-06-27 Ben Konrath <ben@bagu.org>
186 Use filename based unique document ID in URL and for RPC.
188 The document ID is the glom document name with spaces (' ') replaced
189 with pluses ('+') and without the .glom extension.
191 This change is mostly a string substitution of 'documentTitle' for
192 'documentID'. The only code change is the addition of a Documents DTO to get the
193 filename to document title mappings as indicated below.
195 * src/main/java/org/glom/web/client/OnlineGlomService.java:
196 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
197 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
198 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
199 Use Documents DTO to create the document links in the document
201 * src/main/java/org/glom/web/client/activity/ListActivity.java:
202 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
203 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
204 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
205 * src/main/java/org/glom/web/client/place/ListPlace.java:
206 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
207 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
208 * src/main/java/org/glom/web/client/ui/ListView.java:
209 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
210 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
211 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
212 * src/main/java/org/glom/web/server/Log.java:
213 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
214 getDocumentTitles() to getDocuments() and return the Documents DTO.
215 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
216 transferring the filename to document title mappings.
218 2011-06-25 Ben Konrath <ben@bagu.org>
220 Make the authentication popup work again.
222 This bug was introduced when I extracted ConfiguredDocument to its own class.
224 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
225 correct success / fail status in setUsernameAndPassword().
227 2011-06-25 Ben Konrath <ben@bagu.org>
229 Use filename as unique key for configuring database usernames and passwords.
231 This replaces the use of the Glom document title which could change
232 depending on the locale. Thanks to Murray Cumming for pointing out this
235 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
236 * src/main/resources/onlineglom.properties:
238 2011-06-24 Ben Konrath <ben@bagu.org>
240 Pass primary key value to DetailsView.
242 This enables the DetailsView to load the correct data.
244 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
245 primary key value field and set in constructor. Pass primary key
246 value to getDetailsData().
247 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
248 variables for document title and primary key value.
249 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
250 key value to the DetailsPlace.
252 2011-06-24 Ben Konrath <ben@bagu.org>
254 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
256 This allows the primary key to be retrieved by the Details button. This
257 functionality has not been implemented yet but it's in the works.
259 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
260 the LayoutGroup result to ListView.setCellTable instead of all of its
262 * src/main/java/org/glom/web/client/ui/ListView.java:
263 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
264 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
265 get the primary key for the table.
266 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
267 index of the primary key in the LayoutGroup accounting for hidden
268 primary keys. Rename getJavaNumberFormat() to
269 convertToJavaNumberFormat() for consistency. Cleanup / add some
271 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
272 field for primary key index and a field to indicate whether the
273 primary key is hidden or not.
275 2011-06-23 Ben Konrath <ben@bagu.org>
277 Rename getTableData methods to getListData.
279 This is a rename refactor for consistency with other methods.
281 * src/main/java/org/glom/web/client/OnlineGlomService.java:
282 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
283 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
284 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
286 2011-06-23 Ben Konrath <ben@bagu.org>
288 Extract the ConfiguredDocument innerclass into its own class.
290 This makes the servlet code more object oriented.
292 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
293 from private ConfiguredDocument class in OnlineGlomServiceImpl.
294 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
295 new ConfiguredDocument class.
297 2011-06-21 Ben Konrath <ben@bagu.org>
299 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
301 This makes things more inline with how libglom works and reduces code
302 duplication. This refactor lays the groundwork for adding the primary key to
303 the LayoutGroup object.
305 * src/main/java/org/glom/web/client/OnlineGlomService.java:
306 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
307 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
308 Change method names to getListLayout and getDefaultListLayout for
309 consistency. Use LayoutGroup as the DTO for the list layout instead of
310 ColumnInfo and LayoutListTable.
311 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
312 new method names along with the LayoutGroup object for transferring the
314 * src/main/java/org/glom/web/client/ui/ListView.java:
315 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
316 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
317 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
319 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
320 Replaced with LayoutGroup.
321 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
322 expectedResultSize and defaultTableName fields which are needed for
324 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
325 type field which is needed for the list layout but will also be
326 useful for the details layout as things progress.
327 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
328 Make class abstract. Remove the unnecessary
329 getFormattingHorizontalAlignment method. Add setFormatting method.
331 2011-06-16 Ben Konrath <ben@bagu.org>
333 Add scripts for building and installing war.
335 These will help when updating OnlineGlom but they're also good
336 supplemental documentation of the build and deployment proceeding.
338 * utils/build-onlineglom-war.sh: New file.
339 * utils/install-onlineglom-war.sh: New file.
341 2011-06-16 Ben Konrath <ben@bagu.org>
343 Create wrapper class to create consistent log messages.
345 I wrapped methods in the Log class of gwt-log to add the method names
346 from the servlet and create consistent formatting of the document title
347 and table names in the log messages.
349 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
350 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
351 log methods to use methods from wrapped Log class.
353 2011-06-16 Ben Konrath <ben@bagu.org>
355 Remove superfluous conditional return.
357 Thanks to Murray Cumming for pointing this out!
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
361 2011-06-15 Ben Konrath <ben@bagu.org>
363 Return an ArrayList of LayoutGroups for the Details layout.
365 This corrects a problem with the details layout as it can have more
366 than one top level LayoutGroup.
368 * src/main/java/org/glom/web/client/OnlineGlomService.java:
369 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
370 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
371 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
372 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
373 with ArrayList of LayoutGroups for the details view layout.
374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
375 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
376 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
377 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
378 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
379 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
381 2011-06-14 Ben Konrath <ben@bagu.org>
383 Use cast_dynamic method to determine the libglom LayoutItem type.
385 This is better than finding the LayoutItem type by using the string
386 returned from the get_part_type_name() method.
388 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
390 2011-06-14 Ben Konrath <ben@bagu.org>
392 Add method names to log entries in the servlet.
394 This helps when tracking down deployment problems.
396 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
398 2011-06-14 Ben Konrath <ben@bagu.org>
400 Add data to the DetailsView using a hard-coded primary key value.
402 The layout and functionality of the DetailsView is not complete. This
403 is just a checkpoint so the patch doesn't get too big.
405 * src/main/java/org/glom/web/client/OnlineGlomService.java:
406 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
407 Add getDetailsData() servlet method.
408 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
409 Add RPC to getDetailsData(). Change the way the LayoutGroups and
410 LayoutFields are added to the DetailsView.
411 * src/main/java/org/glom/web/client/ui/DetailsView.java:
412 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
413 Add setData() method. Change addLayoutGroup() and addLayoutField() to
414 take the string for the title instead of the object.
415 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
416 Add implementation getDetailsData() along with some private helper
418 * src/main/webapp/style.css: Add padding to details-data class. Add a
419 details-label class with the same padding as the details-data class.
421 2011-06-03 Ben Konrath <ben@bagu.org>
423 Use presenter.goTo() to change to the DetailsPlace.
425 This will make things easier when we need to open the DetailsView with
426 data specific to the row that was clicked.
428 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
430 2011-06-02 Ben Konrath <ben@bagu.org>
432 Add CSS file from mockups.
434 I'm adding this now because it's going to be useful to have when
435 developing the DetailsView. The TableSelectionView and ListView aren't
438 * src/main/webapp/OnlineGlom.html:
439 * src/main/webapp/style.css:
441 2011-06-02 Ben Konrath <ben@bagu.org>
443 Use String.isEmpty() to check for empty string.
445 * src/main/java/org/glom/web/client/activity/ListActivity.java:
447 2011-06-02 Ben Konrath <ben@bagu.org>
449 Display main layout group titles in the DetailsView.
451 This is the start of the DetailsActivity/DetailsView implementation.
453 * src/main/java/org/glom/web/client/OnlineGlomService.java:
454 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
455 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
456 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
457 Get the layout information for the details view from the server and set
458 the main layout group titles.
459 * src/main/java/org/glom/web/client/ui/DetailsView.java:
460 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
461 Add addLayoutGroup() and addLayoutField() methods. This are just
462 temporary methods for creating the the details view that will change
464 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
465 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
467 * src/main/java/org/glom/web/shared/layout/Formatting.java:
468 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
469 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
470 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
471 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
472 Data Transfer Objects that mimic the libglom object structure. These are
473 used for transferring the details layout but could also be used for
474 transferring the list layout.
476 2011-05-27 Ben Konrath <ben@bagu.org>
478 Reset the AuthenticationPopup when clearing the ListView.
480 * src/main/java/org/glom/web/client/activity/ListActivity.java:
482 2011-05-27 Ben Konrath <ben@bagu.org>
484 Fix problem with onlineglom.properties file loading.
486 The old way worked in Eclipse but not on the server. Loading the
487 onlineglom.properties file now works in Eclipse and on the server.
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
491 2011-05-24 Ben Konrath <ben@bagu.org>
493 Update gwt-log from 3.1.0 to 3.1.2.
495 Gwt-log 3.1.0 has been marked as depreciated.
499 2011-05-24 Ben Konrath <ben@bagu.org>
501 Add comment to ListActivity.goTo() method.
503 * src/main/java/org/glom/web/client/activity/ListActivity.java:
505 2011-05-24 Ben Konrath <ben@bagu.org>
507 Remove FIXME in convertGdkColorToHtmlColour()
509 The Gdk::Color value returned by libglom is 16-bits per channel on both
510 64 and 32-bit platforms.
512 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
514 2011-05-19 Ben Konrath <ben@bagu.org>
516 Improve performance of initial ListView load.
518 I removed a round trip to the server for getting the default table name
519 and then requesting information about that table. This also removes a potential
520 problem with the table change handler not being setup in time to receive the
521 table change event from the ListActivity.
523 * src/main/java/org/glom/web/client/OnlineGlomService.java:
524 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
525 getDefaultLayoutListTable() method. Improve comments.
526 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
527 getDefaultLayoutListTable() method instead of firing a table change
528 event to get the table to load.
529 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
530 implementation of getDefaultLayoutListTable() method.
531 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
534 2011-05-19 Ben Konrath <ben@bagu.org>
536 Override toDebugString() in TableChangeEvent.
538 This is useful to have for debugging.
540 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
542 2011-05-19 Ben Konrath <ben@bagu.org>
544 Add a "Back to List" link when at the DetailsPlace.
546 * src/main/java/org/glom/web/client/activity/ListActivity.java:
547 Populate the CellTable based on the selected table of the ListBox if
548 it's set otherwise use the default table. This allows the "Back to
550 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
551 Remove Place from constructors. Add a setPlace() method. Add
552 goToPlace() method. Set class as presenter for TableSelectionView.
553 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
554 Use the same TableSelectionActivity when switching between the List and
556 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
557 Subclass the new HasSelectableTablePlace. This removes some duplicate
559 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
560 New class to represent Places that display the TableSelectionView.
561 * src/main/java/org/glom/web/client/place/ListPlace.java:
562 Subclass the new HasSelectableTablePlace. This removes some duplicate
564 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
565 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
566 Add Presenter interface. Add setBackLinkVisible() method. Add
567 setBackLink() method.
569 2011-05-18 Ben Konrath <ben@bagu.org>
571 Enable the "Details" buttons.
573 Right now only an empty details view is displayed.
575 * src/main/java/org/glom/web/client/ClientFactory.java:
576 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
577 Add DetailsView to ClientFactory.
578 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
579 A basic activity for the details view.
580 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
581 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
583 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
584 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
586 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
587 Create a new DetailsActivity when a DetailsPlace is requested. Remove
588 unnecessary super() in constructor.
589 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
590 Create a new TableSelectionActivity when a DetailsPlace is requested. We
591 really shouldn't create a new TableSelectionActivity for both the ListPlace
592 and the DetailsPlace so this should be considered a temporary solution.
593 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
594 New file. Represents a URL for the details view.
595 * src/main/java/org/glom/web/client/ui/DetailsView.java:
596 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
597 A basic details view interface and implementation.
598 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
599 Enable the "Details" buttons.
601 2011-05-12 Ben Konrath <ben@bagu.org>
603 Use a LayoutPanel with multiple display areas for main layout.
605 This is mostly a refactor in that there are no changes from the user
606 point of view. These changes are required so that we can swap out the list view
607 with the details view when the user clicks the "Details" button.
609 * src/main/java/org/glom/web/client/ClientFactory.java:
610 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
611 OnlineGlomView. Add TableSelectionView, ListView and
613 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
614 for main layout. Add display regions for main activities. Add
615 activity manager for for main activities.
616 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
617 file from parts of the deleted OnlineGlomActivity.
618 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
619 New file from parts of the deleted OnlineGlomActivity.
620 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
621 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
622 New files for app wide table change event.
623 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
624 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
625 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
626 Activity mappers for the main activities replace the deleted app-wide
628 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
629 Fix a spelling error in he comment.
630 * src/main/java/org/glom/web/client/ui/ListView.java:
631 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
632 Renamed from LayoutListView and modified for MVP. This still not a
633 proper dumb view as prescribed by the MVP pattern but it works for now.
634 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
635 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
636 New widget stripped out of the deleted OnlineGlomView.
637 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
638 Remove hack that is fixed by this patch.
640 2011-05-06 Ben Konrath <ben@bagu.org>
642 Rename OnlineGlomPlace to ListPlace.
644 The only change besides the rename is that url will now display #list
645 instead of #Document.
647 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
648 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
649 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
650 * src/main/java/org/glom/web/client/place/ListPlace.java:
651 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
653 2011-05-06 Ben Konrath <ben@bagu.org>
655 Use Presenter for app navigation.
657 This is the proper way to deal with Place (URL) changes with the MVP
660 * src/main/java/org/glom/web/client/ClientFactory.java:
661 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
662 PlaceHistoryMapper and PlaceHistoryHandler.
663 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
664 PlaceHistoryMapper and PlaceHistoryHandler.
665 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
666 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
667 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
668 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
669 Add Presenter interface and setPresenter methods. Rename addHyperLink
670 to addDocumentLink taking only the document title as a parameter.
672 2011-04-14 Ben Konrath <ben@bagu.org>
674 Prompt for db username/password if they haven't been set.
676 This is implemented with a popup widget that is contained within the
677 OnlineGlomView and managed by the OnlineGlomActivity.
679 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
680 methods for checking and setting the database username and password.
681 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
682 new methods for checking and setting the database username and
684 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
685 Display authentication popup if the JDBC connection to the database
686 has not been authenticated.
687 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
689 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
690 for dealing with the authentication popup.
691 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
692 Implement the methods for dealing with the authentication popup.
693 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
694 try to executed queries if the database connection hasn't been
695 authenticated. Implement methods for checking and setting the
696 database username and password.
698 2011-04-12 Ben Konrath <ben@bagu.org>
700 Make log messages a little clearer.
702 Add a dash betweeen the document title and the table name.
704 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
706 2011-04-12 Ben Konrath <ben@bagu.org>
708 Protect against NPEs when cleaning up database resources.
710 While this isn't strictly necessary because the exception is caught,
711 not protecting against the NPEs makes it harder to find the real error
714 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
716 2011-04-12 Ben Konrath <ben@bagu.org>
718 Move configuration of the servlet to the constructor.
720 The servlet will be initialized even if the database authentication
721 information is not set or correct. I still need to add the UI for prompting
722 the user for the authentication information when it's required.
724 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
725 javadocs for getDocumentTitles() method.
726 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
727 Set error message when RPC fails.
728 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
729 glom files directory from the configuration file. Try to set the
730 database authentication information for the specific document if it's
731 set and works otherwise try to use the global authentication
732 information set for the directory.
733 * src/main/resources/onlineglom.properties: Moved from
734 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
735 Added detailed comments for the new keys.
737 2011-04-11 Ben Konrath <ben@bagu.org>
739 Remove unnecessary @Override in DocumentSelectionViewImpl.
741 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
743 2011-04-11 Ben Konrath <ben@bagu.org>
745 Remove center alignment in DocumentSelectionView.
747 The title element is still centred but the document titles and bottom
748 sentence are both left-aligned.
750 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
752 2011-04-11 Ben Konrath <ben@bagu.org>
754 Change 'Demo' naming convention to 'Document'.
756 This is just a rename refactor with no functional changes to the code.
758 * src/main/java/org/glom/web/client/ClientFactory.java:
759 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
760 * src/main/java/org/glom/web/client/OnlineGlom.java:
761 * src/main/java/org/glom/web/client/OnlineGlomService.java:
762 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
763 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
764 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
765 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
766 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
767 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
768 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
769 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
770 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
772 2011-04-08 Ben Konrath <ben@bagu.org>
774 Remove FIXME from safeLongToInt() method.
776 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
779 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
781 2011-04-08 Ben Konrath <ben@bagu.org>
783 Display an error if no glom documents are found in the specified directory.
785 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
786 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
787 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
788 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
790 2011-04-08 Ben Konrath <ben@bagu.org>
792 Add copyright header to one more file ... oops.
794 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
796 2011-04-08 Ben Konrath <ben@bagu.org>
798 Add copyright header to files without it.
800 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
801 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
802 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
803 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
804 * src/main/java/org/glom/web/shared/ColumnInfo.java:
805 * src/main/java/org/glom/web/shared/GlomField.java:
807 2011-04-08 Ben Konrath <ben@bagu.org>
809 Add support for accessing multiple glom documents in the servlet.
811 This completes the demo selection functionality.
813 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
814 document title to methods.
815 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
816 document title to methods.
817 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
818 Set browser window title when the activity starts. Correct name of
819 document title variable.
820 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
821 Set browser window title when the activity starts. Set the table
822 selector change handler after table selector has been set. Clear the
823 OnlineGlomView when the activity has been stopped.
824 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
825 document title as the place token. Use "#Document:" instead of
826 "#OnlineGlomPlace:" in the URL.
827 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
828 Change heading to "Online Glom"
829 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
830 document title in RPC methods.
831 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
832 setDocumentTitle() method. Add clear() method.
833 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
834 setDocumentTitle() method. Implement clear() method which removes the
835 change handler on the ListBox, clears the ListBox and clears the
837 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
838 Implement methods with document title. Keep track for the configured
839 glom documents and their corresponding JDBC configurations in a hash
840 table. This information is retrieved using the document title as the
841 key in the hash table.
842 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
843 document title field as it's no longer needed.
845 2011-04-08 Ben Konrath <ben@bagu.org>
847 Update the Eclipse JDT configuration.
849 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
850 methods. Automatically add the copyright header to new files.
852 2011-04-05 Ben Konrath <ben@bagu.org>
854 Add new page for demo selection.
856 This patch adds all the components required to view and start an
857 OnlineGlom demo by clicking on the desired hyperlink. The user is
858 able to return to the demo selection page with the browser's back
859 button. I still need to modify the servlet to work with multiple
860 documents so all demo links will load the file defined in the
861 OnlineGlom.properties.
863 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
864 This is only useful during development so we don't need to save it.
865 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
866 get a reference to the DemoSelectionView.
867 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
868 method to get a reference to the DemoSelectionView.
869 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
870 default view to DemoSelectionView.
871 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
872 to get glom document titles for glom files in a hard-coded directory.
873 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
874 method to get glom document titles for glom files in a hard-coded
876 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
877 Presenter for DemoSelectionView.
878 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
879 for DemoSelectionView.
880 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
881 Update for DemoSelectionView.
882 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
883 Basic 'Place' implementation for the DemoSelectionView.
884 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
885 The interface for the DemoSelectionView.
886 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
887 The implementation of the DemoSelectionView.
888 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
889 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
890 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
891 implementation of method to get glom document titles for glom files
892 in a hard-coded directory.
893 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
894 on longer being used.
895 * src/main/webapp/glom.png: Glom logo.
897 2011-04-05 Ben Konrath <ben@bagu.org>
899 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
901 This is the forth and final commit of a refactor that will allow
902 OnlineGlom to be used with multiple documents.
904 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
905 Move RPC code from OnlineGlomViewImpl to this class.
906 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
908 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
909 RPC code to the presenter class (the P in MVP).
911 2011-04-04 Ben Konrath <ben@bagu.org>
913 Start moving the existing OnlineGlom code to MVP.
915 This work is based on the GWT MVP framework that is documented here:
917 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
919 This is the third commit of a refactor that will allow OnlineGlom to
920 be used with multiple documents.
922 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
923 Interface for client factory which is used to get instances of various
924 classes throughout the app.
925 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
926 Implementation of client factory.
927 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
928 initialize the MVP framework.
929 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
930 New file. Activity manager for the main container widget. This is the
932 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
933 Maps place (URL) to its corresponding activity.
934 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
935 New file. This is just a place holder for a generated file.
936 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
937 New file. Represents the URL for the main Online Glom app.
938 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
939 for changes in LayoutListViewImpl.
940 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
941 interface for View. Move code to OnlineGlomViewImpl class.
942 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
943 file. Implementation of OnlineGlomView.
944 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
945 Place resources. Use ClientFactoryImpl by default.
947 2011-04-04 Ben Konrath <ben@bagu.org>
949 Move View classes to their own package.
951 This is the second commit of a refactor that will allow OnlineGlom to
952 be used with multiple documents.
954 * src/main/java/org/glom/web/client/OnlineGlom.java:
955 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
956 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
958 2011-04-02 Ben Konrath <ben@bagu.org>
960 Move UI code from the main module to its own class.
962 This is the first commit of a refactor that will allow OnlineGlom to be
963 used with multiple documents.
965 * src/main/java/org/glom/web/client/LayoutListView.java: Update
966 references to OnlineGlom to OnlineGlomView.
967 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
968 OnlineGlomView and instantiate it here.
969 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
970 represents the main OnlineGlomView with one document.
972 2011-04-01 Ben Konrath <ben@bagu.org>
974 Fix formatting of gwt.xml and add DTD.
976 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
978 2011-03-30 Ben Konrath <ben@bagu.org>
980 Propperly convert gdkColor string to html colour string.
982 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
984 2011-03-28 Ben Konrath <ben@bagu.org>
986 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
988 This implementation matches
989 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
990 readable and is not tied to Swig.
992 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
994 2011-03-28 Ben Konrath <ben@bagu.org>
996 Use read-only checkboxes for boolean field types.
998 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
999 in the CellTable based on the field type. It currently only
1000 distinguishes between boolean and text columns but I'll need to add
1001 support for more types.
1002 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1003 column type in the ColumnInfo object. Add method to convert between the
1004 glom field type enum in ColumnInfo and the glom field type in libglom.
1005 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1007 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1008 getting and setting booleans.
1010 2011-03-25 Ben Konrath <ben@bagu.org>
1012 Don't get the Date twice from the ResultSet.
1014 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1016 2011-03-25 Ben Konrath <ben@bagu.org>
1018 Cleanup code in the servlet.
1020 * TODO: Remove item about row count. Add item about testing row count
1021 query with large number of rows.
1022 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1023 spelling mistakes, change method parameter to be consistent with
1026 2011-03-25 Ben Konrath <ben@bagu.org>
1028 Add server side logging with the gwt-log library.
1030 * .gitignore: Ignore the log file we're now producing.
1031 * TODO: Add a couple TODO item for logging.
1032 * pom.xml: Add gwt-log and log4j as a dependency.
1033 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1034 logging of errors, warnings and some important info.
1035 * src/main/resources/log4j.properties: New file to configure log4j.
1037 2011-03-24 Ben Konrath <ben@bagu.org>
1039 Add a disable button for the Details view.
1041 * src/main/java/org/glom/web/client/LayoutListView.java:
1043 2011-03-22 Ben Konrath <ben@bagu.org>
1045 Use a count query to get the number of rows for the list view pager.
1047 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1049 2011-03-22 Ben Konrath <ben@bagu.org>
1051 Add more TODO information about CellTable pager positioning.
1055 2011-03-19 Ben Konrath <ben@bagu.org>
1057 Add TODO item about CellTable pager positioning.
1061 2011-03-18 Ben Konrath <ben@bagu.org>
1063 Remove unneeded GlomFieldColumn class.
1065 This is just a small code cleanup.
1067 * src/main/java/org/glom/web/client/LayoutListView.java:
1069 2011-03-18 Ben Konrath <ben@bagu.org>
1071 Use cursor mode in the query that gets data for the list view.
1073 I still need to fix the potential memory problem when getting the row
1074 count for the list view.
1076 * TODO: Add note about testing memory usage with large data sets. Add
1077 item about fixing row counting with large data sets.
1078 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1079 PostgreSQL JDBC driver into cursor mode when getting data for the
1082 2011-03-15 Ben Konrath <ben@bagu.org>
1084 Remove the GWT Container from the Eclipse build classpath.
1086 The GWT dependencies are set by Maven so this isn't needed.
1090 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1092 Added some earlier mockups to git, but not to the tarball dist.
1094 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1095 Openismus. These hopefully show how we might structure the HTML so that
1096 it can be styled easily with CSS. However, we probably need to adapt them
1097 for the CSS structure that GWT dictates for common widgets.
1099 2011-03-14 Ben Konrath <ben@bagu.org>
1101 Locate OnlineGlom.properties using the ServletContext.
1103 This is required to be able to locate the file in the deployed servlet.
1105 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1106 Configure the database and glom document in in a helper method so
1107 that the ServletContext can be used to locate OnlineGlom.properties.
1108 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1109 src/main/webapp. This is the proper location for .properites files.
1111 2011-03-12 Ben Konrath <ben@bagu.org>
1113 Add note to README about why we're compiling down to obfuscated JavaScript.
1117 2011-03-11 Ben Konrath <ben@bagu.org>
1119 Use properties file to configure servlet.
1121 This allows people to change the glom file path, db username and db
1122 password without recompiling the code.
1124 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1125 * src/main/webapp/OnlineGlom.properties:
1127 2011-03-11 Ben Konrath <ben@bagu.org>
1129 Use table fields in layout list view if the layout list is not defined.
1131 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1132 Manually create a LayoutFieldVector for the query builder using the
1133 table fields when a layout list is not defined in the glom file.
1135 2011-03-11 Ben Konrath <ben@bagu.org>
1137 Only show FIXME string for images when there's an image.
1139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1140 in this change are some small code cleanups.
1142 2011-03-11 Ben Konrath <ben@bagu.org>
1144 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1146 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1148 2011-03-11 Ben Konrath <ben@bagu.org>
1150 Correctly set the index of the default table.
1152 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1153 Correctly set the index of the default table. Add commented out example
1156 2011-03-10 Ben Konrath <ben@bagu.org>
1158 Add comment to pom.xml about the previous change.
1160 * pom.xml: Add comment about the deployment issue so that it's obvious
1161 why java-libglom is set to the provided scope.
1163 2011-03-10 Ben Konrath <ben@bagu.org>
1165 Change java-libglom dependency from compile to provided in pom.xml.
1167 Since java-libglom uses jni it can only be loaded once and therefore
1168 must be placed in $CATALINA_HOME/lib and not included in each war.
1169 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1170 More information about this issue can be found in the Tomcat 6 release
1171 notes in the "JNI Based Applications" section:
1173 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1175 * README: Remove note about this issue. Deployment info should really
1176 be on the wiki anyway so I'll add it right now.
1177 * pom.xml: Change java-libglom dependency from compile to provided so
1178 that it's copied in to the packaged war.
1180 2011-03-09 Ben Konrath <ben@bagu.org>
1182 Change to using a neutral locale for currency, date and time formatting.
1184 This solves the problem of currency values being represented without a
1185 space between the currency code and the number (e.g. "EUR5.89" is now
1186 represented as "EUR 5.89"). More work is required when we implement
1187 a locale preference setting.
1189 * TODO: Add note about currency formatting issues with different
1191 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1192 to using the neutral ROOT locale.
1194 2011-03-09 Ben Konrath <ben@bagu.org>
1196 Add support for currency codes that are not ISO 4217 codes.
1198 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1199 the currency code defined in the glom file when it's not 3 characters
1200 long or when Java doesn't recognize the string as an ISO 4217 code.
1202 2011-03-08 Ben Konrath <ben@bagu.org>
1204 Remove test classes, launch configurations and configuration.
1206 The test stuff was getting in the way when creating the war. To make
1207 the war file you can now do 'mvn clean package'. The packaged war file
1208 will be in the target directory.
1210 * .classpath: Remove unused classpathentry for tests and i18n.
1211 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1212 property. Don't run test or i18n goals when packaging the war.
1213 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1218 * OnlineGlomTest-dev.launch:
1219 * OnlineGlomTest-prod.launch:
1220 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1221 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1223 2011-03-07 Ben Konrath <ben@bagu.org>
1225 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1227 These fixes allow me to use 'mvn deploy' to create the war file.
1229 * .classpath: This generated config has been updated by Eclipse. This
1230 change was probably triggered by me updating from Eclipse 3.6.1 to
1232 * .gitignore: Add entry to ignore the directory
1233 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1234 * .project: The generated config has been updated by Eclipse. This
1235 change was probably triggered by me updating from Eclipse 3.6.1 to
1237 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1238 so that Eclipse doesn't complain
1239 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1240 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1241 'tests' directory to 'client' directory. This is the new
1242 gwt-maven-plugin convension.
1243 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1244 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1246 2011-03-07 Ben Konrath <ben@bagu.org>
1248 Add support for horizontal alignment in the LayoutList columns.
1250 * TODO: Remove item about horizontal alignment. Add item about
1251 improvements to ColumnInfo.
1252 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1253 alignment on the columns. Use ColumnInfo RPC object get the column
1254 title and horizontal alignment.
1255 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1256 LayoutListView creation with ColumnInfo RPC object.
1257 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1258 a ColumnInfo object for every LayoutList columnn. Convert the
1259 FieldFormatting.HorizontalAlignment to the correct
1260 ColumnnInfo.HorizontatlAlignment with the new
1261 getColumnInfoHorizontalAlignment helper method.
1262 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1263 to encapsulate column information like alignment and title. This
1264 could be used to set the colour instead of on a per cell field basis.
1265 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1266 column title storage and retrieval with ColumnInfo.
1268 2011-03-04 Ben Konrath <ben@bagu.org>
1270 Add support for column sorting.
1272 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1273 AsynDataProvider to be an anonymous inner class. Use new
1274 getSortedTableData RPC method when column sort is requested. Set all
1275 columns sortable and add an AsyncHandler to activate sorting in the
1277 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1278 method getSortedTableData(). Cleanup other method signatures.
1279 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1280 new method getSortedTableData(). Cleanup other method signatures.
1281 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1282 Implement getSortedTableData() and getTableData() methods by using a
1283 private helper method with the appropriate parameters filled in. Use
1284 user supplied sort clause when supplied, otherwise fall back to
1285 sorting by the primary key. Move destroy() method to be underneath
1286 constructor for readability. Cleanup comments.
1288 2011-03-03 Ben Konrath <ben@bagu.org>
1290 Add support for colour text and colour backgrounds to the layout list cells.
1292 Only the cell backgrounds are coloured which leaves a gap between the
1293 cells that isn't coloured. I need to figure out a way to set
1294 'style=background-colour:' on the whole column rather than just the
1297 * TODO: Add a note about colouring the background of the whole column.
1298 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1299 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1300 render the coloured text and backgrounds. Use GlomField[] for the row type.
1301 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1303 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1304 GlomField[] for the row type.
1305 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1306 GlomField[] for the row type. Set the text, text colour and background
1307 colour in the GlomField objects as specified in the glom document. Add
1308 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1309 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1310 the glom field text, foreground colour and background colour.
1312 2011-03-02 Ben Konrath <ben@bagu.org>
1314 Don't display hidden tables in the combo box.
1316 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1318 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1319 code to ignore hidden tables using ArrayLists for the table names and
1321 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1322 tableNames to use ArrayLists instead of String[]. Update getter and setter
1325 2011-03-01 Ben Konrath <ben@bagu.org>
1327 Add support for Date and Time number types.
1329 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1330 Implement formatting for Date and Time values. Change the default glom
1331 file to small business example.
1333 2011-03-01 Ben Konrath <ben@bagu.org>
1335 Add support for formatting glom types as specified in the glom file.
1337 Formatting isn't finished yet - I still need to add support for Date
1340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1341 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1342 checks for null values in JDBC cleanup code and catch all exceptions
1343 instead of just SQLExceptions.
1344 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1347 2011-03-01 Ben Konrath <ben@bagu.org>
1349 Use GWT 2.2.0 instead of 2.1.1.
1351 * pom.xml: Change GWT version numbers.
1353 2011-03-01 Ben Konrath <ben@bagu.org>
1355 A few small code cleanups.
1357 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1359 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1360 unnecessary object creation in constructor.
1361 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1362 unnecessary object creation in constructor.
1364 2011-02-28 Ben Konrath <ben@bagu.org>
1366 Add file for TODO list.
1370 2011-02-18 Ben Konrath <ben@bagu.org>
1372 Enable the CellTable Pager when more than 20 rows need to be viewed.
1374 The Pager will automatically become active when the results are larger
1375 than the CellTable size which is currently set to 20 lines.
1377 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1378 name on debug statment in RPC call in LayoutListDataProvider, add
1379 numRows parameter to LayoutListView constructor, propperly set rowCount
1381 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1382 name on debug statment in RPC call, use LayoutListTable object in RPC
1383 calls, pass rowCount to LayoutListView.
1384 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1385 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1387 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1388 interface for changes in OnlineGlomService.
1389 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1390 getLayoutListHeaders() to getLayoutListTable() and return
1391 LayoutListTable. Using this object allows me to pass other information
1392 about the LayoutList like the expected number of rows in the result set.
1393 The Connection object from the connection pool is now propperly closed.
1394 Only the requested number of lines are returned to the client in
1396 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1397 GlomTable and add columnTitles and numRows.
1399 2011-02-18 Ben Konrath <ben@bagu.org>
1401 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1403 This is a small performance boost. I'll use GlomTable to get the required
1404 layoutlist information.
1406 * src/main/java/org/glom/web/client/OnlineGlom.java:
1407 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1408 * src/main/java/org/glom/web/shared/GlomDocument.java:
1410 2011-02-18 Ben Konrath <ben@bagu.org>
1412 Add option to turn off formatting in JDT formatter preferences.
1414 * .settings/org.eclipse.jdt.core.prefs:
1416 2011-02-18 Ben Konrath <ben@bagu.org>
1418 Rename LayoutList to LayoutListView.
1420 I'm working towards setting things up to easily use MVP when the time
1423 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1425 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1428 2011-02-17 Ben Konrath <ben@bagu.org>
1430 Move LayoutListDataProvider class into LayoutList.java.
1432 * src/main/java/org/glom/web/client/LayoutList.java:
1434 2011-02-17 Ben Konrath <ben@bagu.org>
1436 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1438 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1440 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1441 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1442 from LibGlomServer.java.
1443 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1444 Rename from LibGlomServiceAsync.java.
1445 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1446 Rename from LibGlomServiceImpl.java.
1447 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1449 2011-02-17 Ben Konrath <ben@bagu.org>
1451 Update JDT settings.
1453 * .settings/org.eclipse.jdt.core.prefs:
1455 2011-02-17 Ben Konrath <ben@bagu.org>
1457 Move GWT-RPC objects to shared package (where they should be).
1459 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1460 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1461 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1462 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1463 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1464 org.glom.web.shared package.
1465 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1466 org.glom.web.shared package.
1467 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1468 directory in compilation to javascript.
1470 2011-02-16 Ben Konrath <ben@bagu.org>
1472 Add sort clause to the sql query that grabs table information.
1474 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1475 if one of the columns is a primary key.
1477 2011-02-16 Ben Konrath <ben@bagu.org>
1479 Disable generateAsync feature of gwt-maven.
1481 The generated interface does not correctly match the methods in LibGlomService
1482 and the generated singleton Util inner-class doesn't respect the servlet
1485 * pom.xml: Turn off generateAsync feature.
1486 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1487 with singleton Util inner-class.
1489 2011-02-14 Ben Konrath <ben@bagu.org>
1491 Add LGPL v3 licence notices.
1493 Followed directions listed here:
1494 http://www.gnu.org/licenses/gpl-howto.html
1496 * COPYING: This file is a copy of the GPL v3.
1497 * COPYING.LESSER: This file is a copy of the LGPL v3.
1498 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1500 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1502 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1504 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1506 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1508 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1510 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1513 2011-02-14 Ben Konrath <ben@bagu.org>
1515 Use ArrayList instead of Array in GWT-RPC calls.
1517 Apparently this gives a slight performance boost to the compiled
1520 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1522 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1525 2011-02-14 Ben Konrath <ben@bagu.org>
1527 Access data from a postgres db rather than the example glom file.
1529 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1530 compile down to obfuscated javascript.
1531 * pom.xml: Add c3p0 and postgres JDBC libraries.
1532 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1533 using a postgres db accessed through the c3p0 connection pooling library.
1535 2011-02-14 Ben Konrath <ben@bagu.org>
1537 Update Java formatter settings.
1539 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1541 2011-02-02 Ben Konrath <ben@bagu.org>
1543 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1545 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1547 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1548 the compiled webapp directory that Eclipse uses as we're using Maven now.
1549 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1550 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1552 * pom.xml: Format file, change target Java version to 1.6.
1554 2011-02-02 Ben Konrath <ben@bagu.org>
1556 Add information about a deployment related issue.
1558 * README: Add Notes section with the problem outlined.
1560 2011-02-02 Ben Konrath <ben@bagu.org>
1562 Call Glom.libglom_deinit() when the servlet is shutdown.
1564 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1565 Glom.libglom_deinit() to destroy() method.
1567 2011-01-28 Ben Konrath <ben@bagu.org>
1569 Use generated Util class to get the RPC Async interface.
1571 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1573 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1574 getInstance() method to get a reference to the RPC Async interface.
1575 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1576 getInstance() method to get a reference to the RPC Async interface, remove
1577 the now unused getLibGlomServiceProxy() method.
1579 2011-01-27 Ben Konrath <ben@bagu.org>
1581 Cleanup ChangeLog entry from previous commit.
1583 * ChangeLog: Group logical changes together and add comments.
1585 2011-01-25 Ben Konrath <ben@bagu.org>
1587 Convert to gwt-maven project.
1589 * .gitignore: Update for new project structure.
1590 * README: New file with a link to the online documentation.
1591 * pom.xml: The generated maven configuration file with some tweaks.
1593 Add / update Eclipse settings. These files are a merge of the files that
1594 were generated with the gwt-maven plugin and the files we were previously
1598 * .settings/.jsdtscope:
1599 * .settings/com.google.gdt.eclipse.core.prefs:
1600 * .settings/com.google.gwt.eclipse.core.prefs:
1601 * .settings/org.eclipse.jdt.core.prefs:
1602 * .settings/org.eclipse.wst.common.component:
1603 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1604 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1605 * .settings/org.maven.ide.eclipse.prefs:
1606 * OnlineGlomTest-dev.launch:
1607 * OnlineGlomTest-prod.launch:
1609 Java source files moved from the 'src' directory to the directory structure
1611 * src/main/java/org/glom/web/client/GlomDocument.java:
1612 * src/main/java/org/glom/web/client/GlomTable.java:
1613 * src/main/java/org/glom/web/client/LayoutList.java:
1614 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1615 * src/main/java/org/glom/web/client/LibGlomService.java:
1616 * src/main/java/org/glom/web/client/OnlineGlom.java:
1617 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1619 Non-functional property file used for translations. I included this as
1620 reminder that it's something I need to sort out.
1621 * src/main/resources/org/glom/web/client/Messages.properties:
1623 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1624 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1626 The servlet configuration files moved from the 'war' directory.
1627 * src/main/webapp/OnlineGlom.css:
1628 * src/main/webapp/OnlineGlom.html:
1629 * src/main/webapp/WEB-INF/web.xml:
1631 Generated test files with most of the code commented out. I included these
1632 so that it's easy to add tests when we're ready for them.
1633 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1634 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1636 2011-01-25 Ben Konrath <ben@bagu.org>
1638 Remove unused println.
1640 * src/org/glom/web/server/LibGlomServiceImpl.java:
1642 2011-01-25 Ben Konrath <ben@bagu.org>
1644 Add project specific JDT settings.
1646 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1647 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1649 2011-01-25 Ben Konrath <ben@bagu.org>
1651 Populate celltable with example data.
1653 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1654 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1655 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1656 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1657 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1658 asynchronously gets the example data.
1659 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1660 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1661 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1662 curently selected table to be retrieved by other widgets.
1663 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1664 implement getTableData() in a hacky way. This method needs to be updated
1665 to grab information from the database when database creating is
1668 2011-01-20 Ben Konrath <ben@bagu.org>
1670 Set table headers when table dropBox changes.
1672 * src/org/glom/web/client/GlomDocument.java: Correct some method
1674 * src/org/glom/web/client/LibGlomService.java: Add method
1675 to get list layout field names.
1676 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1677 to get list layout field names.
1678 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1679 widget for list layout table.
1680 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1681 the table drop box and add new updateTable() method to asynchronously
1682 get the layout list field names for the currently selected table.
1683 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1684 implementation of getLayoutListHeaders() method.
1685 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1687 2011-01-18 Ben Konrath <ben@bagu.org>
1689 Make a listBox with table titles instead of the flexTable demo.
1691 This is the start of something more useful.
1693 * .classpath: Exclude a bunch of packages from the JVM that are
1694 getting in the way of the Eclipse content assist.
1695 * src/org/glom/web/client/GlomDocument.java:
1696 * src/org/glom/web/client/GlomTable.java:
1697 * src/org/glom/web/client/LibGlomService.java:
1698 * src/org/glom/web/client/LibGlomServiceAsync.java:
1699 * src/org/glom/web/client/OnlineGlom.java:
1700 * src/org/glom/web/server/LibGlomServiceImpl.java:
1701 * war/OnlineGlom.html:
1702 * war/WEB-INF/web.xml:
1704 211-01-13 Ben Konrath <ben@bagu.org>
1706 Update to new java-libglom API.
1708 * .gitignore: Ignore OnlineGlom.war.
1709 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1711 2010-12-20 Ben Konrath <ben@bagu.org>
1713 Add some basic style to the table listing.
1715 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1716 header, print useful error message on async callback failure.
1717 * war/OnlineGlom.css: Add style for table header, remove defaults
1718 provided by the Eclipse project wizard.
1720 2010-12-20 Ben Konrath <ben@bagu.org>
1722 Load example file from installed glom dir.
1724 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1725 provided by java-libglom to find the example file.
1727 2010-12-20 Ben Konrath <ben@bagu.org>
1729 Update Eclipse settings.
1732 * .settings/com.google.gdt.eclipse.core.prefs:
1733 * .settings/com.google.gwt.eclipse.core.prefs:
1735 2010-12-17 Ben Konrath <ben@bagu.org>
1739 * .classpath: New file.
1740 * .gitignore: New file.
1741 * .project: New file.
1742 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1743 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1744 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1745 * src/org/glom/web/client/GlomTable.java: New file.
1746 * src/org/glom/web/client/OnlineGlom.java: New file.
1747 * src/org/glom/web/client/TableNameService.java: New file.
1748 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1749 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1750 * war/OnlineGlom.css: New file.
1751 * war/OnlineGlom.html: New file.
1752 * war/WEB-INF/web.xml: New file.
1753 * war/images/glom.png: New file.