1 2011-08-16 Ben Konrath <ben@bagu.org>
3 Create container element for LayoutItemPortal in Details View.
5 This will help me develop the layout for the FlowTable.
7 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
8 fieldPanel variable to detailsCell.
10 2011-08-15 Ben Konrath <ben@bagu.org>
12 Set the height of the data element in the Details View.
14 I changed the InlineLabels (text in a span element) to Labels (text in
15 a div element) so that I could set the height of the details-data
16 elements instead of the details-cell parent elements. This allows the
17 the details-data element to display the correct height if style is
18 applied that shows the height.
20 This change has the added benefit of allowing the order of the labels
21 and data elements to be changed for right-to-left languages.
23 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
24 InlineLabels to Labels.
25 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
26 InlineLabels to Labels. Set the height of the data element.
27 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
28 multiline text height in the Formatting DTO.
29 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
30 for multiline height along with getter and setter methods.
31 * src/main/webapp/style.css: Adjust style to account for the change
32 from span elements to div elements in the details cell.
34 2011-08-15 Ben Konrath <ben@bagu.org>
36 Make the List View appearance match the mockups.
38 It doesn't match exactly but it's much better than it was.
40 * mockups/listview-contacts.html: Remove unused css classes.
41 * mockups/listview-projects.html: Remove unused css classes.
42 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
43 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
44 for mainPanel instead of VerticalPanel (table). Set style name on
45 CellTable. Set style name on Details column. Right-align Details
47 * src/main/webapp/style.css: Adjust properties to match the mockups.
49 2011-08-12 Ben Konrath <ben@bagu.org>
51 Add better support for subgroups in the details view.
53 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
54 changed FlowTable constructor.
55 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
56 support for subgroups and subgroup-titles.
57 * src/main/webapp/style.css: Add CSS class for subgroups and
60 2011-08-12 Ben Konrath <ben@bagu.org>
62 Return the top level LayoutGroup title.
64 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
66 2011-08-11 Ben Konrath <ben@bagu.org>
68 Make the TableSelector header match the mockup.
70 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
71 the layout panel. Properly lineup the table selection header with
72 the list and details view.
73 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
74 margin around the details view.
75 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
76 Rename listBox variable to tableSelector. Set id for the style sheet.
77 Use a FlowPanel instead of a HorizontalPanel.
78 * src/main/webapp/style.css: Add properties to make the TableSelector
79 box match the mockups.
81 2011-07-13 Ben Konrath <ben@bagu.org>
83 Update install script for java-libglom version change.
85 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
88 2011-07-13 Ben Konrath <ben@bagu.org>
90 Add support sub-group in the details view.
92 I also removed the code that special-cased the default details view
95 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
97 I still have to make a proper flowtable.
99 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
100 Don't special-case default details view layout.
101 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
102 addLayoutField() as I'm going to use it.
103 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
104 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
106 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
107 extracted from DetailsViewImpl.GroupPanel. Add support for
109 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
110 column count when getting the details layout.
112 2011-07-12 Ben Konrath <ben@bagu.org>
114 Set browser title with database and table titles.
116 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
117 Set the browser title when the table changes and when the activity
119 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
120 title when retrieving document info (the GlomDocument object).
121 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
122 with getter and setter methods. Remove unused convenience constructor.
123 Use default code formatting.
125 2011-07-12 Ben Konrath <ben@bagu.org>
127 Ignore LayoutItemPortals in the details view.
129 I added a new DTO for the LayoutItemPortal so that I can ignore it in
132 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
133 LayoutItemPortal layout objects.
134 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
135 LayoutItemPortal objects when retrieving the details layout.
136 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
137 file. This is an empty class and just used to get type information for
140 2011-07-12 Ben Konrath <ben@bagu.org>
142 Use java-libglom 1.17.0.
146 2011-07-11 Ben Konrath <ben@bagu.org>
148 Remove "Table:" label from table selector.
150 This matches a recent change in the Glom UI.
152 * mockups/details-contacts.html:
153 * mockups/details-projects.html:
154 * mockups/listview-contacts.html:
155 * mockups/listview-projects.html: Remove the "Table:" label from the
157 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
159 2011-07-11 Ben Konrath <ben@bagu.org>
161 Add main groups to the details view.
163 This makes things look a little nicer in the details view. The next step
164 is to implement the flowtable.
166 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
167 resources from the standard gwt css theme. Standard.css is now
168 included in OnlineGlom.html so that the online glom css rules have
169 precedence over the gwt theme.
170 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
171 the whole LayoutGroup to the DetailsView instead of just the titles.
172 * src/main/java/org/glom/web/client/ui/DetailsView.java:
173 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
174 details layout with a helper class (GroupPanel). I might extract this
175 class when I make the full flowtable.
176 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
177 string as default so I don't have to worry about NPEs when processing
179 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
180 note beside OnlineGlom.gwt.xml above).
181 * src/main/webapp/style.css: Add default font-size to body to override
182 the font-size set by the standard theme. Don't use h2 tags for
183 group-title. Create new details-cell class.
185 2011-07-08 Murray Cumming <murrayc@murrayc.com>
187 ConfiguredDocument: Set the port number too.
189 * src/main/java/org/glom/web/server/ConfiguredDocument.java
190 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
191 Glom document. Presumably this worked sometimes so far because there is a
194 2011-07-08 Murray Cumming <murrayc@murrayc.com>
196 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
198 * src/main/java/org/glom/web/server/ConfiguredDocument.java
199 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
200 correct, though we should throw an exception too.
202 2011-07-08 Murray Cumming <murrayc@murrayc.com>
204 Fix a addDocuemnt typo.
206 * src/main/java/org/glom/web/shared/Documents.java
207 (Documents.addDocuemnt): Rename to addDocument().
208 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
209 (OnlineGlomServiceImpl.getDocuments): Adapt.
211 2011-07-08 Murray Cumming <murrayc@murrayc.com>
213 Slightly improved log output when connection fails.
215 * src/main/java/org/glom/web/server/ConfiguredDocument.java
216 (ConfiguredDocument.setUsernameAndPassword):
217 We don't know for sure if it' the username/password that's wrong, so
218 rephrase the message.
219 Also ouput the exception message, though it's generic in this case.
221 2011-07-08 Ben Konrath <ben@bagu.org>
225 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
226 added braces to a one line if statement because the Eclipse formatter
227 was getting confused.
229 2011-07-07 Ben Konrath <ben@bagu.org>
231 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
233 These should really be two separate tasks but I counldn't get things to
234 work with GWT 2.2.0 and Eclipse 3.7.
238 * .settings/org.eclipse.jdt.core.prefs:
239 * .settings/org.eclipse.jdt.ui.prefs:
240 * .settings/org.eclipse.ltk.core.refactoring.prefs:
241 * .settings/org.eclipse.m2e.core.prefs:
242 Add new config files. Update current files. Remove references to the
243 webtools plugins as we're not using any of the webtools features.
244 * .gitignore: Add logs directory which is created when running with
246 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
247 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
248 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
250 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
252 2011-07-07 Murray Cumming <murrayc@murrayc.com>
254 onlineglom.properties: Add explanatory comments.
256 * src/main/resources/onlineglom.properties: Also change the default user
257 from ben to someuser, to avoid the risk of people thinking we just
258 stupidly hard-coded a locale path, when they see that on stderr or in a log.
260 2011-06-28 Ben Konrath <ben@bagu.org>
262 Use filename in Log for incorrect passwords.
264 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
265 getFileName(String) method to get the filename from the URI.
267 2011-06-28 Ben Konrath <ben@bagu.org>
269 Add the table name to the URL token for the ListPlace.
271 This makes things consistent between the DetailsPlace and the
272 ListPlace. It also allows the the ListPlace to be bookmarked.
274 * src/main/java/org/glom/web/client/OnlineGlomService.java:
275 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
276 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 Remove getDefaultListLayout(). The default layout is now returned
278 by the getListLayout() method when the table name is an empty string.
279 * src/main/java/org/glom/web/client/activity/ListActivity.java:
280 Add table name field. Change to a new ListPlace when the table
281 has been changed. Use getListLayout() for getting the default
283 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
284 Add table name field. Set the correct table name in the list box
285 when loading from bookmark. This corrects a problem for the
287 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
288 Move table name to super-class (HasSelectableTable). Move document
289 and table URL keys to super-class in HasSelectableTable.
290 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
291 Add table name field. Add Tokenizer class with URL key common to
292 the subclasses (DetailsPlace and ListPlace).
293 * src/main/java/org/glom/web/client/place/ListPlace.java:
294 Add table name. Add code to parse the URL token.
295 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
296 Update ListPlace construction with empty table name string.
297 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
298 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
299 Change setTableSelectedIndex(int) to setSelectedTableName(String).
300 Update ListPlace construction with table name string.
301 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
302 Change defaultTableName field to tableName to reflect how it's now
303 used. Update the getter and setter methods.
305 2011-06-28 Ben Konrath <ben@bagu.org>
307 Enable the table selector in the DetailsView.
309 * src/main/java/org/glom/web/client/OnlineGlomService.java:
310 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
311 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
312 Remove getDefaultDetailsLayout(). The default layout is now returned
313 by the getDetailsLayout() method when the table name is an empty
315 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
316 event handler for table change event. Change to using
317 getDetailsLayout() for the default details layout.
318 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
320 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
321 when navigating to the details place.
323 2011-06-27 Ben Konrath <ben@bagu.org>
325 Use filename based unique document ID in URL and for RPC.
327 The document ID is the glom document name with spaces (' ') replaced
328 with pluses ('+') and without the .glom extension.
330 This change is mostly a string substitution of 'documentTitle' for
331 'documentID'. The only code change is the addition of a Documents DTO to get the
332 filename to document title mappings as indicated below.
334 * src/main/java/org/glom/web/client/OnlineGlomService.java:
335 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
336 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
337 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
338 Use Documents DTO to create the document links in the document
340 * src/main/java/org/glom/web/client/activity/ListActivity.java:
341 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
342 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
343 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
344 * src/main/java/org/glom/web/client/place/ListPlace.java:
345 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
346 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
347 * src/main/java/org/glom/web/client/ui/ListView.java:
348 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
349 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
350 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
351 * src/main/java/org/glom/web/server/Log.java:
352 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
353 getDocumentTitles() to getDocuments() and return the Documents DTO.
354 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
355 transferring the filename to document title mappings.
357 2011-06-25 Ben Konrath <ben@bagu.org>
359 Make the authentication popup work again.
361 This bug was introduced when I extracted ConfiguredDocument to its own class.
363 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
364 correct success / fail status in setUsernameAndPassword().
366 2011-06-25 Ben Konrath <ben@bagu.org>
368 Use filename as unique key for configuring database usernames and passwords.
370 This replaces the use of the Glom document title which could change
371 depending on the locale. Thanks to Murray Cumming for pointing out this
374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
375 * src/main/resources/onlineglom.properties:
377 2011-06-24 Ben Konrath <ben@bagu.org>
379 Pass primary key value to DetailsView.
381 This enables the DetailsView to load the correct data.
383 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
384 primary key value field and set in constructor. Pass primary key
385 value to getDetailsData().
386 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
387 variables for document title and primary key value.
388 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
389 key value to the DetailsPlace.
391 2011-06-24 Ben Konrath <ben@bagu.org>
393 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
395 This allows the primary key to be retrieved by the Details button. This
396 functionality has not been implemented yet but it's in the works.
398 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
399 the LayoutGroup result to ListView.setCellTable instead of all of its
401 * src/main/java/org/glom/web/client/ui/ListView.java:
402 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
403 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
404 get the primary key for the table.
405 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
406 index of the primary key in the LayoutGroup accounting for hidden
407 primary keys. Rename getJavaNumberFormat() to
408 convertToJavaNumberFormat() for consistency. Cleanup / add some
410 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
411 field for primary key index and a field to indicate whether the
412 primary key is hidden or not.
414 2011-06-23 Ben Konrath <ben@bagu.org>
416 Rename getTableData methods to getListData.
418 This is a rename refactor for consistency with other methods.
420 * src/main/java/org/glom/web/client/OnlineGlomService.java:
421 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
422 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
423 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
425 2011-06-23 Ben Konrath <ben@bagu.org>
427 Extract the ConfiguredDocument innerclass into its own class.
429 This makes the servlet code more object oriented.
431 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
432 from private ConfiguredDocument class in OnlineGlomServiceImpl.
433 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
434 new ConfiguredDocument class.
436 2011-06-21 Ben Konrath <ben@bagu.org>
438 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
440 This makes things more inline with how libglom works and reduces code
441 duplication. This refactor lays the groundwork for adding the primary key to
442 the LayoutGroup object.
444 * src/main/java/org/glom/web/client/OnlineGlomService.java:
445 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
446 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
447 Change method names to getListLayout and getDefaultListLayout for
448 consistency. Use LayoutGroup as the DTO for the list layout instead of
449 ColumnInfo and LayoutListTable.
450 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
451 new method names along with the LayoutGroup object for transferring the
453 * src/main/java/org/glom/web/client/ui/ListView.java:
454 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
455 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
456 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
458 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
459 Replaced with LayoutGroup.
460 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
461 expectedResultSize and defaultTableName fields which are needed for
463 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
464 type field which is needed for the list layout but will also be
465 useful for the details layout as things progress.
466 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
467 Make class abstract. Remove the unnecessary
468 getFormattingHorizontalAlignment method. Add setFormatting method.
470 2011-06-16 Ben Konrath <ben@bagu.org>
472 Add scripts for building and installing war.
474 These will help when updating OnlineGlom but they're also good
475 supplemental documentation of the build and deployment proceeding.
477 * utils/build-onlineglom-war.sh: New file.
478 * utils/install-onlineglom-war.sh: New file.
480 2011-06-16 Ben Konrath <ben@bagu.org>
482 Create wrapper class to create consistent log messages.
484 I wrapped methods in the Log class of gwt-log to add the method names
485 from the servlet and create consistent formatting of the document title
486 and table names in the log messages.
488 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
490 log methods to use methods from wrapped Log class.
492 2011-06-16 Ben Konrath <ben@bagu.org>
494 Remove superfluous conditional return.
496 Thanks to Murray Cumming for pointing this out!
498 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
500 2011-06-15 Ben Konrath <ben@bagu.org>
502 Return an ArrayList of LayoutGroups for the Details layout.
504 This corrects a problem with the details layout as it can have more
505 than one top level LayoutGroup.
507 * src/main/java/org/glom/web/client/OnlineGlomService.java:
508 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
509 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
510 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
511 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
512 with ArrayList of LayoutGroups for the details view layout.
513 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
514 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
515 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
516 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
517 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
518 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
520 2011-06-14 Ben Konrath <ben@bagu.org>
522 Use cast_dynamic method to determine the libglom LayoutItem type.
524 This is better than finding the LayoutItem type by using the string
525 returned from the get_part_type_name() method.
527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
529 2011-06-14 Ben Konrath <ben@bagu.org>
531 Add method names to log entries in the servlet.
533 This helps when tracking down deployment problems.
535 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
537 2011-06-14 Ben Konrath <ben@bagu.org>
539 Add data to the DetailsView using a hard-coded primary key value.
541 The layout and functionality of the DetailsView is not complete. This
542 is just a checkpoint so the patch doesn't get too big.
544 * src/main/java/org/glom/web/client/OnlineGlomService.java:
545 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
546 Add getDetailsData() servlet method.
547 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
548 Add RPC to getDetailsData(). Change the way the LayoutGroups and
549 LayoutFields are added to the DetailsView.
550 * src/main/java/org/glom/web/client/ui/DetailsView.java:
551 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
552 Add setData() method. Change addLayoutGroup() and addLayoutField() to
553 take the string for the title instead of the object.
554 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
555 Add implementation getDetailsData() along with some private helper
557 * src/main/webapp/style.css: Add padding to details-data class. Add a
558 details-label class with the same padding as the details-data class.
560 2011-06-03 Ben Konrath <ben@bagu.org>
562 Use presenter.goTo() to change to the DetailsPlace.
564 This will make things easier when we need to open the DetailsView with
565 data specific to the row that was clicked.
567 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
569 2011-06-02 Ben Konrath <ben@bagu.org>
571 Add CSS file from mockups.
573 I'm adding this now because it's going to be useful to have when
574 developing the DetailsView. The TableSelectionView and ListView aren't
577 * src/main/webapp/OnlineGlom.html:
578 * src/main/webapp/style.css:
580 2011-06-02 Ben Konrath <ben@bagu.org>
582 Use String.isEmpty() to check for empty string.
584 * src/main/java/org/glom/web/client/activity/ListActivity.java:
586 2011-06-02 Ben Konrath <ben@bagu.org>
588 Display main layout group titles in the DetailsView.
590 This is the start of the DetailsActivity/DetailsView implementation.
592 * src/main/java/org/glom/web/client/OnlineGlomService.java:
593 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
594 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
595 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
596 Get the layout information for the details view from the server and set
597 the main layout group titles.
598 * src/main/java/org/glom/web/client/ui/DetailsView.java:
599 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
600 Add addLayoutGroup() and addLayoutField() methods. This are just
601 temporary methods for creating the the details view that will change
603 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
604 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
606 * src/main/java/org/glom/web/shared/layout/Formatting.java:
607 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
608 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
609 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
610 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
611 Data Transfer Objects that mimic the libglom object structure. These are
612 used for transferring the details layout but could also be used for
613 transferring the list layout.
615 2011-05-27 Ben Konrath <ben@bagu.org>
617 Reset the AuthenticationPopup when clearing the ListView.
619 * src/main/java/org/glom/web/client/activity/ListActivity.java:
621 2011-05-27 Ben Konrath <ben@bagu.org>
623 Fix problem with onlineglom.properties file loading.
625 The old way worked in Eclipse but not on the server. Loading the
626 onlineglom.properties file now works in Eclipse and on the server.
628 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
630 2011-05-24 Ben Konrath <ben@bagu.org>
632 Update gwt-log from 3.1.0 to 3.1.2.
634 Gwt-log 3.1.0 has been marked as depreciated.
638 2011-05-24 Ben Konrath <ben@bagu.org>
640 Add comment to ListActivity.goTo() method.
642 * src/main/java/org/glom/web/client/activity/ListActivity.java:
644 2011-05-24 Ben Konrath <ben@bagu.org>
646 Remove FIXME in convertGdkColorToHtmlColour()
648 The Gdk::Color value returned by libglom is 16-bits per channel on both
649 64 and 32-bit platforms.
651 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
653 2011-05-19 Ben Konrath <ben@bagu.org>
655 Improve performance of initial ListView load.
657 I removed a round trip to the server for getting the default table name
658 and then requesting information about that table. This also removes a potential
659 problem with the table change handler not being setup in time to receive the
660 table change event from the ListActivity.
662 * src/main/java/org/glom/web/client/OnlineGlomService.java:
663 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
664 getDefaultLayoutListTable() method. Improve comments.
665 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
666 getDefaultLayoutListTable() method instead of firing a table change
667 event to get the table to load.
668 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
669 implementation of getDefaultLayoutListTable() method.
670 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
673 2011-05-19 Ben Konrath <ben@bagu.org>
675 Override toDebugString() in TableChangeEvent.
677 This is useful to have for debugging.
679 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
681 2011-05-19 Ben Konrath <ben@bagu.org>
683 Add a "Back to List" link when at the DetailsPlace.
685 * src/main/java/org/glom/web/client/activity/ListActivity.java:
686 Populate the CellTable based on the selected table of the ListBox if
687 it's set otherwise use the default table. This allows the "Back to
689 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
690 Remove Place from constructors. Add a setPlace() method. Add
691 goToPlace() method. Set class as presenter for TableSelectionView.
692 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
693 Use the same TableSelectionActivity when switching between the List and
695 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
696 Subclass the new HasSelectableTablePlace. This removes some duplicate
698 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
699 New class to represent Places that display the TableSelectionView.
700 * src/main/java/org/glom/web/client/place/ListPlace.java:
701 Subclass the new HasSelectableTablePlace. This removes some duplicate
703 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
704 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
705 Add Presenter interface. Add setBackLinkVisible() method. Add
706 setBackLink() method.
708 2011-05-18 Ben Konrath <ben@bagu.org>
710 Enable the "Details" buttons.
712 Right now only an empty details view is displayed.
714 * src/main/java/org/glom/web/client/ClientFactory.java:
715 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
716 Add DetailsView to ClientFactory.
717 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
718 A basic activity for the details view.
719 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
720 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
722 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
723 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
725 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
726 Create a new DetailsActivity when a DetailsPlace is requested. Remove
727 unnecessary super() in constructor.
728 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
729 Create a new TableSelectionActivity when a DetailsPlace is requested. We
730 really shouldn't create a new TableSelectionActivity for both the ListPlace
731 and the DetailsPlace so this should be considered a temporary solution.
732 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
733 New file. Represents a URL for the details view.
734 * src/main/java/org/glom/web/client/ui/DetailsView.java:
735 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
736 A basic details view interface and implementation.
737 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
738 Enable the "Details" buttons.
740 2011-05-12 Ben Konrath <ben@bagu.org>
742 Use a LayoutPanel with multiple display areas for main layout.
744 This is mostly a refactor in that there are no changes from the user
745 point of view. These changes are required so that we can swap out the list view
746 with the details view when the user clicks the "Details" button.
748 * src/main/java/org/glom/web/client/ClientFactory.java:
749 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
750 OnlineGlomView. Add TableSelectionView, ListView and
752 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
753 for main layout. Add display regions for main activities. Add
754 activity manager for for main activities.
755 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
756 file from parts of the deleted OnlineGlomActivity.
757 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
758 New file from parts of the deleted OnlineGlomActivity.
759 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
760 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
761 New files for app wide table change event.
762 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
763 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
764 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
765 Activity mappers for the main activities replace the deleted app-wide
767 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
768 Fix a spelling error in he comment.
769 * src/main/java/org/glom/web/client/ui/ListView.java:
770 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
771 Renamed from LayoutListView and modified for MVP. This still not a
772 proper dumb view as prescribed by the MVP pattern but it works for now.
773 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
774 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
775 New widget stripped out of the deleted OnlineGlomView.
776 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
777 Remove hack that is fixed by this patch.
779 2011-05-06 Ben Konrath <ben@bagu.org>
781 Rename OnlineGlomPlace to ListPlace.
783 The only change besides the rename is that url will now display #list
784 instead of #Document.
786 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
787 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
788 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
789 * src/main/java/org/glom/web/client/place/ListPlace.java:
790 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
792 2011-05-06 Ben Konrath <ben@bagu.org>
794 Use Presenter for app navigation.
796 This is the proper way to deal with Place (URL) changes with the MVP
799 * src/main/java/org/glom/web/client/ClientFactory.java:
800 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
801 PlaceHistoryMapper and PlaceHistoryHandler.
802 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
803 PlaceHistoryMapper and PlaceHistoryHandler.
804 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
805 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
806 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
807 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
808 Add Presenter interface and setPresenter methods. Rename addHyperLink
809 to addDocumentLink taking only the document title as a parameter.
811 2011-04-14 Ben Konrath <ben@bagu.org>
813 Prompt for db username/password if they haven't been set.
815 This is implemented with a popup widget that is contained within the
816 OnlineGlomView and managed by the OnlineGlomActivity.
818 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
819 methods for checking and setting the database username and password.
820 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
821 new methods for checking and setting the database username and
823 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
824 Display authentication popup if the JDBC connection to the database
825 has not been authenticated.
826 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
828 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
829 for dealing with the authentication popup.
830 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
831 Implement the methods for dealing with the authentication popup.
832 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
833 try to executed queries if the database connection hasn't been
834 authenticated. Implement methods for checking and setting the
835 database username and password.
837 2011-04-12 Ben Konrath <ben@bagu.org>
839 Make log messages a little clearer.
841 Add a dash betweeen the document title and the table name.
843 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
845 2011-04-12 Ben Konrath <ben@bagu.org>
847 Protect against NPEs when cleaning up database resources.
849 While this isn't strictly necessary because the exception is caught,
850 not protecting against the NPEs makes it harder to find the real error
853 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
855 2011-04-12 Ben Konrath <ben@bagu.org>
857 Move configuration of the servlet to the constructor.
859 The servlet will be initialized even if the database authentication
860 information is not set or correct. I still need to add the UI for prompting
861 the user for the authentication information when it's required.
863 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
864 javadocs for getDocumentTitles() method.
865 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
866 Set error message when RPC fails.
867 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
868 glom files directory from the configuration file. Try to set the
869 database authentication information for the specific document if it's
870 set and works otherwise try to use the global authentication
871 information set for the directory.
872 * src/main/resources/onlineglom.properties: Moved from
873 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
874 Added detailed comments for the new keys.
876 2011-04-11 Ben Konrath <ben@bagu.org>
878 Remove unnecessary @Override in DocumentSelectionViewImpl.
880 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
882 2011-04-11 Ben Konrath <ben@bagu.org>
884 Remove center alignment in DocumentSelectionView.
886 The title element is still centred but the document titles and bottom
887 sentence are both left-aligned.
889 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
891 2011-04-11 Ben Konrath <ben@bagu.org>
893 Change 'Demo' naming convention to 'Document'.
895 This is just a rename refactor with no functional changes to the code.
897 * src/main/java/org/glom/web/client/ClientFactory.java:
898 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
899 * src/main/java/org/glom/web/client/OnlineGlom.java:
900 * src/main/java/org/glom/web/client/OnlineGlomService.java:
901 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
902 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
903 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
904 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
905 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
906 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
907 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
908 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
911 2011-04-08 Ben Konrath <ben@bagu.org>
913 Remove FIXME from safeLongToInt() method.
915 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
918 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
920 2011-04-08 Ben Konrath <ben@bagu.org>
922 Display an error if no glom documents are found in the specified directory.
924 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
925 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
926 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
927 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
929 2011-04-08 Ben Konrath <ben@bagu.org>
931 Add copyright header to one more file ... oops.
933 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
935 2011-04-08 Ben Konrath <ben@bagu.org>
937 Add copyright header to files without it.
939 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
940 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
941 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
942 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
943 * src/main/java/org/glom/web/shared/ColumnInfo.java:
944 * src/main/java/org/glom/web/shared/GlomField.java:
946 2011-04-08 Ben Konrath <ben@bagu.org>
948 Add support for accessing multiple glom documents in the servlet.
950 This completes the demo selection functionality.
952 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
953 document title to methods.
954 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
955 document title to methods.
956 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
957 Set browser window title when the activity starts. Correct name of
958 document title variable.
959 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
960 Set browser window title when the activity starts. Set the table
961 selector change handler after table selector has been set. Clear the
962 OnlineGlomView when the activity has been stopped.
963 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
964 document title as the place token. Use "#Document:" instead of
965 "#OnlineGlomPlace:" in the URL.
966 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
967 Change heading to "Online Glom"
968 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
969 document title in RPC methods.
970 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
971 setDocumentTitle() method. Add clear() method.
972 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
973 setDocumentTitle() method. Implement clear() method which removes the
974 change handler on the ListBox, clears the ListBox and clears the
976 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
977 Implement methods with document title. Keep track for the configured
978 glom documents and their corresponding JDBC configurations in a hash
979 table. This information is retrieved using the document title as the
980 key in the hash table.
981 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
982 document title field as it's no longer needed.
984 2011-04-08 Ben Konrath <ben@bagu.org>
986 Update the Eclipse JDT configuration.
988 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
989 methods. Automatically add the copyright header to new files.
991 2011-04-05 Ben Konrath <ben@bagu.org>
993 Add new page for demo selection.
995 This patch adds all the components required to view and start an
996 OnlineGlom demo by clicking on the desired hyperlink. The user is
997 able to return to the demo selection page with the browser's back
998 button. I still need to modify the servlet to work with multiple
999 documents so all demo links will load the file defined in the
1000 OnlineGlom.properties.
1002 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1003 This is only useful during development so we don't need to save it.
1004 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1005 get a reference to the DemoSelectionView.
1006 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1007 method to get a reference to the DemoSelectionView.
1008 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1009 default view to DemoSelectionView.
1010 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1011 to get glom document titles for glom files in a hard-coded directory.
1012 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1013 method to get glom document titles for glom files in a hard-coded
1015 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1016 Presenter for DemoSelectionView.
1017 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1018 for DemoSelectionView.
1019 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1020 Update for DemoSelectionView.
1021 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1022 Basic 'Place' implementation for the DemoSelectionView.
1023 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1024 The interface for the DemoSelectionView.
1025 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1026 The implementation of the DemoSelectionView.
1027 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1028 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1029 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1030 implementation of method to get glom document titles for glom files
1031 in a hard-coded directory.
1032 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1033 on longer being used.
1034 * src/main/webapp/glom.png: Glom logo.
1036 2011-04-05 Ben Konrath <ben@bagu.org>
1038 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1040 This is the forth and final commit of a refactor that will allow
1041 OnlineGlom to be used with multiple documents.
1043 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1044 Move RPC code from OnlineGlomViewImpl to this class.
1045 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1047 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1048 RPC code to the presenter class (the P in MVP).
1050 2011-04-04 Ben Konrath <ben@bagu.org>
1052 Start moving the existing OnlineGlom code to MVP.
1054 This work is based on the GWT MVP framework that is documented here:
1056 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1058 This is the third commit of a refactor that will allow OnlineGlom to
1059 be used with multiple documents.
1061 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1062 Interface for client factory which is used to get instances of various
1063 classes throughout the app.
1064 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1065 Implementation of client factory.
1066 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1067 initialize the MVP framework.
1068 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1069 New file. Activity manager for the main container widget. This is the
1071 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1072 Maps place (URL) to its corresponding activity.
1073 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1074 New file. This is just a place holder for a generated file.
1075 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1076 New file. Represents the URL for the main Online Glom app.
1077 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1078 for changes in LayoutListViewImpl.
1079 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1080 interface for View. Move code to OnlineGlomViewImpl class.
1081 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1082 file. Implementation of OnlineGlomView.
1083 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1084 Place resources. Use ClientFactoryImpl by default.
1086 2011-04-04 Ben Konrath <ben@bagu.org>
1088 Move View classes to their own package.
1090 This is the second commit of a refactor that will allow OnlineGlom to
1091 be used with multiple documents.
1093 * src/main/java/org/glom/web/client/OnlineGlom.java:
1094 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1095 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1097 2011-04-02 Ben Konrath <ben@bagu.org>
1099 Move UI code from the main module to its own class.
1101 This is the first commit of a refactor that will allow OnlineGlom to be
1102 used with multiple documents.
1104 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1105 references to OnlineGlom to OnlineGlomView.
1106 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1107 OnlineGlomView and instantiate it here.
1108 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1109 represents the main OnlineGlomView with one document.
1111 2011-04-01 Ben Konrath <ben@bagu.org>
1113 Fix formatting of gwt.xml and add DTD.
1115 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1117 2011-03-30 Ben Konrath <ben@bagu.org>
1119 Propperly convert gdkColor string to html colour string.
1121 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1123 2011-03-28 Ben Konrath <ben@bagu.org>
1125 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1127 This implementation matches
1128 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1129 readable and is not tied to Swig.
1131 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1133 2011-03-28 Ben Konrath <ben@bagu.org>
1135 Use read-only checkboxes for boolean field types.
1137 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1138 in the CellTable based on the field type. It currently only
1139 distinguishes between boolean and text columns but I'll need to add
1140 support for more types.
1141 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1142 column type in the ColumnInfo object. Add method to convert between the
1143 glom field type enum in ColumnInfo and the glom field type in libglom.
1144 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1146 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1147 getting and setting booleans.
1149 2011-03-25 Ben Konrath <ben@bagu.org>
1151 Don't get the Date twice from the ResultSet.
1153 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1155 2011-03-25 Ben Konrath <ben@bagu.org>
1157 Cleanup code in the servlet.
1159 * TODO: Remove item about row count. Add item about testing row count
1160 query with large number of rows.
1161 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1162 spelling mistakes, change method parameter to be consistent with
1165 2011-03-25 Ben Konrath <ben@bagu.org>
1167 Add server side logging with the gwt-log library.
1169 * .gitignore: Ignore the log file we're now producing.
1170 * TODO: Add a couple TODO item for logging.
1171 * pom.xml: Add gwt-log and log4j as a dependency.
1172 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1173 logging of errors, warnings and some important info.
1174 * src/main/resources/log4j.properties: New file to configure log4j.
1176 2011-03-24 Ben Konrath <ben@bagu.org>
1178 Add a disable button for the Details view.
1180 * src/main/java/org/glom/web/client/LayoutListView.java:
1182 2011-03-22 Ben Konrath <ben@bagu.org>
1184 Use a count query to get the number of rows for the list view pager.
1186 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1188 2011-03-22 Ben Konrath <ben@bagu.org>
1190 Add more TODO information about CellTable pager positioning.
1194 2011-03-19 Ben Konrath <ben@bagu.org>
1196 Add TODO item about CellTable pager positioning.
1200 2011-03-18 Ben Konrath <ben@bagu.org>
1202 Remove unneeded GlomFieldColumn class.
1204 This is just a small code cleanup.
1206 * src/main/java/org/glom/web/client/LayoutListView.java:
1208 2011-03-18 Ben Konrath <ben@bagu.org>
1210 Use cursor mode in the query that gets data for the list view.
1212 I still need to fix the potential memory problem when getting the row
1213 count for the list view.
1215 * TODO: Add note about testing memory usage with large data sets. Add
1216 item about fixing row counting with large data sets.
1217 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1218 PostgreSQL JDBC driver into cursor mode when getting data for the
1221 2011-03-15 Ben Konrath <ben@bagu.org>
1223 Remove the GWT Container from the Eclipse build classpath.
1225 The GWT dependencies are set by Maven so this isn't needed.
1229 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1231 Added some earlier mockups to git, but not to the tarball dist.
1233 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1234 Openismus. These hopefully show how we might structure the HTML so that
1235 it can be styled easily with CSS. However, we probably need to adapt them
1236 for the CSS structure that GWT dictates for common widgets.
1238 2011-03-14 Ben Konrath <ben@bagu.org>
1240 Locate OnlineGlom.properties using the ServletContext.
1242 This is required to be able to locate the file in the deployed servlet.
1244 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1245 Configure the database and glom document in in a helper method so
1246 that the ServletContext can be used to locate OnlineGlom.properties.
1247 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1248 src/main/webapp. This is the proper location for .properites files.
1250 2011-03-12 Ben Konrath <ben@bagu.org>
1252 Add note to README about why we're compiling down to obfuscated JavaScript.
1256 2011-03-11 Ben Konrath <ben@bagu.org>
1258 Use properties file to configure servlet.
1260 This allows people to change the glom file path, db username and db
1261 password without recompiling the code.
1263 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1264 * src/main/webapp/OnlineGlom.properties:
1266 2011-03-11 Ben Konrath <ben@bagu.org>
1268 Use table fields in layout list view if the layout list is not defined.
1270 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1271 Manually create a LayoutFieldVector for the query builder using the
1272 table fields when a layout list is not defined in the glom file.
1274 2011-03-11 Ben Konrath <ben@bagu.org>
1276 Only show FIXME string for images when there's an image.
1278 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1279 in this change are some small code cleanups.
1281 2011-03-11 Ben Konrath <ben@bagu.org>
1283 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1285 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1287 2011-03-11 Ben Konrath <ben@bagu.org>
1289 Correctly set the index of the default table.
1291 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1292 Correctly set the index of the default table. Add commented out example
1295 2011-03-10 Ben Konrath <ben@bagu.org>
1297 Add comment to pom.xml about the previous change.
1299 * pom.xml: Add comment about the deployment issue so that it's obvious
1300 why java-libglom is set to the provided scope.
1302 2011-03-10 Ben Konrath <ben@bagu.org>
1304 Change java-libglom dependency from compile to provided in pom.xml.
1306 Since java-libglom uses jni it can only be loaded once and therefore
1307 must be placed in $CATALINA_HOME/lib and not included in each war.
1308 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1309 More information about this issue can be found in the Tomcat 6 release
1310 notes in the "JNI Based Applications" section:
1312 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1314 * README: Remove note about this issue. Deployment info should really
1315 be on the wiki anyway so I'll add it right now.
1316 * pom.xml: Change java-libglom dependency from compile to provided so
1317 that it's copied in to the packaged war.
1319 2011-03-09 Ben Konrath <ben@bagu.org>
1321 Change to using a neutral locale for currency, date and time formatting.
1323 This solves the problem of currency values being represented without a
1324 space between the currency code and the number (e.g. "EUR5.89" is now
1325 represented as "EUR 5.89"). More work is required when we implement
1326 a locale preference setting.
1328 * TODO: Add note about currency formatting issues with different
1330 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1331 to using the neutral ROOT locale.
1333 2011-03-09 Ben Konrath <ben@bagu.org>
1335 Add support for currency codes that are not ISO 4217 codes.
1337 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1338 the currency code defined in the glom file when it's not 3 characters
1339 long or when Java doesn't recognize the string as an ISO 4217 code.
1341 2011-03-08 Ben Konrath <ben@bagu.org>
1343 Remove test classes, launch configurations and configuration.
1345 The test stuff was getting in the way when creating the war. To make
1346 the war file you can now do 'mvn clean package'. The packaged war file
1347 will be in the target directory.
1349 * .classpath: Remove unused classpathentry for tests and i18n.
1350 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1351 property. Don't run test or i18n goals when packaging the war.
1352 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1357 * OnlineGlomTest-dev.launch:
1358 * OnlineGlomTest-prod.launch:
1359 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1360 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1362 2011-03-07 Ben Konrath <ben@bagu.org>
1364 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1366 These fixes allow me to use 'mvn deploy' to create the war file.
1368 * .classpath: This generated config has been updated by Eclipse. This
1369 change was probably triggered by me updating from Eclipse 3.6.1 to
1371 * .gitignore: Add entry to ignore the directory
1372 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1373 * .project: The generated config has been updated by Eclipse. This
1374 change was probably triggered by me updating from Eclipse 3.6.1 to
1376 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1377 so that Eclipse doesn't complain
1378 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1379 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1380 'tests' directory to 'client' directory. This is the new
1381 gwt-maven-plugin convension.
1382 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1383 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1385 2011-03-07 Ben Konrath <ben@bagu.org>
1387 Add support for horizontal alignment in the LayoutList columns.
1389 * TODO: Remove item about horizontal alignment. Add item about
1390 improvements to ColumnInfo.
1391 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1392 alignment on the columns. Use ColumnInfo RPC object get the column
1393 title and horizontal alignment.
1394 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1395 LayoutListView creation with ColumnInfo RPC object.
1396 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1397 a ColumnInfo object for every LayoutList columnn. Convert the
1398 FieldFormatting.HorizontalAlignment to the correct
1399 ColumnnInfo.HorizontatlAlignment with the new
1400 getColumnInfoHorizontalAlignment helper method.
1401 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1402 to encapsulate column information like alignment and title. This
1403 could be used to set the colour instead of on a per cell field basis.
1404 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1405 column title storage and retrieval with ColumnInfo.
1407 2011-03-04 Ben Konrath <ben@bagu.org>
1409 Add support for column sorting.
1411 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1412 AsynDataProvider to be an anonymous inner class. Use new
1413 getSortedTableData RPC method when column sort is requested. Set all
1414 columns sortable and add an AsyncHandler to activate sorting in the
1416 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1417 method getSortedTableData(). Cleanup other method signatures.
1418 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1419 new method getSortedTableData(). Cleanup other method signatures.
1420 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1421 Implement getSortedTableData() and getTableData() methods by using a
1422 private helper method with the appropriate parameters filled in. Use
1423 user supplied sort clause when supplied, otherwise fall back to
1424 sorting by the primary key. Move destroy() method to be underneath
1425 constructor for readability. Cleanup comments.
1427 2011-03-03 Ben Konrath <ben@bagu.org>
1429 Add support for colour text and colour backgrounds to the layout list cells.
1431 Only the cell backgrounds are coloured which leaves a gap between the
1432 cells that isn't coloured. I need to figure out a way to set
1433 'style=background-colour:' on the whole column rather than just the
1436 * TODO: Add a note about colouring the background of the whole column.
1437 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1438 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1439 render the coloured text and backgrounds. Use GlomField[] for the row type.
1440 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1442 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1443 GlomField[] for the row type.
1444 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1445 GlomField[] for the row type. Set the text, text colour and background
1446 colour in the GlomField objects as specified in the glom document. Add
1447 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1448 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1449 the glom field text, foreground colour and background colour.
1451 2011-03-02 Ben Konrath <ben@bagu.org>
1453 Don't display hidden tables in the combo box.
1455 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1457 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1458 code to ignore hidden tables using ArrayLists for the table names and
1460 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1461 tableNames to use ArrayLists instead of String[]. Update getter and setter
1464 2011-03-01 Ben Konrath <ben@bagu.org>
1466 Add support for Date and Time number types.
1468 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1469 Implement formatting for Date and Time values. Change the default glom
1470 file to small business example.
1472 2011-03-01 Ben Konrath <ben@bagu.org>
1474 Add support for formatting glom types as specified in the glom file.
1476 Formatting isn't finished yet - I still need to add support for Date
1479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1480 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1481 checks for null values in JDBC cleanup code and catch all exceptions
1482 instead of just SQLExceptions.
1483 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1486 2011-03-01 Ben Konrath <ben@bagu.org>
1488 Use GWT 2.2.0 instead of 2.1.1.
1490 * pom.xml: Change GWT version numbers.
1492 2011-03-01 Ben Konrath <ben@bagu.org>
1494 A few small code cleanups.
1496 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1498 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1499 unnecessary object creation in constructor.
1500 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1501 unnecessary object creation in constructor.
1503 2011-02-28 Ben Konrath <ben@bagu.org>
1505 Add file for TODO list.
1509 2011-02-18 Ben Konrath <ben@bagu.org>
1511 Enable the CellTable Pager when more than 20 rows need to be viewed.
1513 The Pager will automatically become active when the results are larger
1514 than the CellTable size which is currently set to 20 lines.
1516 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1517 name on debug statment in RPC call in LayoutListDataProvider, add
1518 numRows parameter to LayoutListView constructor, propperly set rowCount
1520 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1521 name on debug statment in RPC call, use LayoutListTable object in RPC
1522 calls, pass rowCount to LayoutListView.
1523 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1524 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1526 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1527 interface for changes in OnlineGlomService.
1528 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1529 getLayoutListHeaders() to getLayoutListTable() and return
1530 LayoutListTable. Using this object allows me to pass other information
1531 about the LayoutList like the expected number of rows in the result set.
1532 The Connection object from the connection pool is now propperly closed.
1533 Only the requested number of lines are returned to the client in
1535 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1536 GlomTable and add columnTitles and numRows.
1538 2011-02-18 Ben Konrath <ben@bagu.org>
1540 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1542 This is a small performance boost. I'll use GlomTable to get the required
1543 layoutlist information.
1545 * src/main/java/org/glom/web/client/OnlineGlom.java:
1546 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1547 * src/main/java/org/glom/web/shared/GlomDocument.java:
1549 2011-02-18 Ben Konrath <ben@bagu.org>
1551 Add option to turn off formatting in JDT formatter preferences.
1553 * .settings/org.eclipse.jdt.core.prefs:
1555 2011-02-18 Ben Konrath <ben@bagu.org>
1557 Rename LayoutList to LayoutListView.
1559 I'm working towards setting things up to easily use MVP when the time
1562 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1564 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1567 2011-02-17 Ben Konrath <ben@bagu.org>
1569 Move LayoutListDataProvider class into LayoutList.java.
1571 * src/main/java/org/glom/web/client/LayoutList.java:
1573 2011-02-17 Ben Konrath <ben@bagu.org>
1575 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1577 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1579 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1580 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1581 from LibGlomServer.java.
1582 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1583 Rename from LibGlomServiceAsync.java.
1584 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1585 Rename from LibGlomServiceImpl.java.
1586 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1588 2011-02-17 Ben Konrath <ben@bagu.org>
1590 Update JDT settings.
1592 * .settings/org.eclipse.jdt.core.prefs:
1594 2011-02-17 Ben Konrath <ben@bagu.org>
1596 Move GWT-RPC objects to shared package (where they should be).
1598 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1599 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1600 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1601 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1602 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1603 org.glom.web.shared package.
1604 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1605 org.glom.web.shared package.
1606 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1607 directory in compilation to javascript.
1609 2011-02-16 Ben Konrath <ben@bagu.org>
1611 Add sort clause to the sql query that grabs table information.
1613 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1614 if one of the columns is a primary key.
1616 2011-02-16 Ben Konrath <ben@bagu.org>
1618 Disable generateAsync feature of gwt-maven.
1620 The generated interface does not correctly match the methods in LibGlomService
1621 and the generated singleton Util inner-class doesn't respect the servlet
1624 * pom.xml: Turn off generateAsync feature.
1625 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1626 with singleton Util inner-class.
1628 2011-02-14 Ben Konrath <ben@bagu.org>
1630 Add LGPL v3 licence notices.
1632 Followed directions listed here:
1633 http://www.gnu.org/licenses/gpl-howto.html
1635 * COPYING: This file is a copy of the GPL v3.
1636 * COPYING.LESSER: This file is a copy of the LGPL v3.
1637 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1639 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1641 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1643 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1645 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1647 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1649 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1652 2011-02-14 Ben Konrath <ben@bagu.org>
1654 Use ArrayList instead of Array in GWT-RPC calls.
1656 Apparently this gives a slight performance boost to the compiled
1659 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1661 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1664 2011-02-14 Ben Konrath <ben@bagu.org>
1666 Access data from a postgres db rather than the example glom file.
1668 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1669 compile down to obfuscated javascript.
1670 * pom.xml: Add c3p0 and postgres JDBC libraries.
1671 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1672 using a postgres db accessed through the c3p0 connection pooling library.
1674 2011-02-14 Ben Konrath <ben@bagu.org>
1676 Update Java formatter settings.
1678 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1680 2011-02-02 Ben Konrath <ben@bagu.org>
1682 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1684 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1686 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1687 the compiled webapp directory that Eclipse uses as we're using Maven now.
1688 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1689 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1691 * pom.xml: Format file, change target Java version to 1.6.
1693 2011-02-02 Ben Konrath <ben@bagu.org>
1695 Add information about a deployment related issue.
1697 * README: Add Notes section with the problem outlined.
1699 2011-02-02 Ben Konrath <ben@bagu.org>
1701 Call Glom.libglom_deinit() when the servlet is shutdown.
1703 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1704 Glom.libglom_deinit() to destroy() method.
1706 2011-01-28 Ben Konrath <ben@bagu.org>
1708 Use generated Util class to get the RPC Async interface.
1710 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1712 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1713 getInstance() method to get a reference to the RPC Async interface.
1714 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1715 getInstance() method to get a reference to the RPC Async interface, remove
1716 the now unused getLibGlomServiceProxy() method.
1718 2011-01-27 Ben Konrath <ben@bagu.org>
1720 Cleanup ChangeLog entry from previous commit.
1722 * ChangeLog: Group logical changes together and add comments.
1724 2011-01-25 Ben Konrath <ben@bagu.org>
1726 Convert to gwt-maven project.
1728 * .gitignore: Update for new project structure.
1729 * README: New file with a link to the online documentation.
1730 * pom.xml: The generated maven configuration file with some tweaks.
1732 Add / update Eclipse settings. These files are a merge of the files that
1733 were generated with the gwt-maven plugin and the files we were previously
1737 * .settings/.jsdtscope:
1738 * .settings/com.google.gdt.eclipse.core.prefs:
1739 * .settings/com.google.gwt.eclipse.core.prefs:
1740 * .settings/org.eclipse.jdt.core.prefs:
1741 * .settings/org.eclipse.wst.common.component:
1742 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1743 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1744 * .settings/org.maven.ide.eclipse.prefs:
1745 * OnlineGlomTest-dev.launch:
1746 * OnlineGlomTest-prod.launch:
1748 Java source files moved from the 'src' directory to the directory structure
1750 * src/main/java/org/glom/web/client/GlomDocument.java:
1751 * src/main/java/org/glom/web/client/GlomTable.java:
1752 * src/main/java/org/glom/web/client/LayoutList.java:
1753 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1754 * src/main/java/org/glom/web/client/LibGlomService.java:
1755 * src/main/java/org/glom/web/client/OnlineGlom.java:
1756 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1758 Non-functional property file used for translations. I included this as
1759 reminder that it's something I need to sort out.
1760 * src/main/resources/org/glom/web/client/Messages.properties:
1762 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1763 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1765 The servlet configuration files moved from the 'war' directory.
1766 * src/main/webapp/OnlineGlom.css:
1767 * src/main/webapp/OnlineGlom.html:
1768 * src/main/webapp/WEB-INF/web.xml:
1770 Generated test files with most of the code commented out. I included these
1771 so that it's easy to add tests when we're ready for them.
1772 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1773 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1775 2011-01-25 Ben Konrath <ben@bagu.org>
1777 Remove unused println.
1779 * src/org/glom/web/server/LibGlomServiceImpl.java:
1781 2011-01-25 Ben Konrath <ben@bagu.org>
1783 Add project specific JDT settings.
1785 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1786 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1788 2011-01-25 Ben Konrath <ben@bagu.org>
1790 Populate celltable with example data.
1792 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1793 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1794 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1795 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1796 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1797 asynchronously gets the example data.
1798 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1799 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1800 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1801 curently selected table to be retrieved by other widgets.
1802 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1803 implement getTableData() in a hacky way. This method needs to be updated
1804 to grab information from the database when database creating is
1807 2011-01-20 Ben Konrath <ben@bagu.org>
1809 Set table headers when table dropBox changes.
1811 * src/org/glom/web/client/GlomDocument.java: Correct some method
1813 * src/org/glom/web/client/LibGlomService.java: Add method
1814 to get list layout field names.
1815 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1816 to get list layout field names.
1817 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1818 widget for list layout table.
1819 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1820 the table drop box and add new updateTable() method to asynchronously
1821 get the layout list field names for the currently selected table.
1822 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1823 implementation of getLayoutListHeaders() method.
1824 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1826 2011-01-18 Ben Konrath <ben@bagu.org>
1828 Make a listBox with table titles instead of the flexTable demo.
1830 This is the start of something more useful.
1832 * .classpath: Exclude a bunch of packages from the JVM that are
1833 getting in the way of the Eclipse content assist.
1834 * src/org/glom/web/client/GlomDocument.java:
1835 * src/org/glom/web/client/GlomTable.java:
1836 * src/org/glom/web/client/LibGlomService.java:
1837 * src/org/glom/web/client/LibGlomServiceAsync.java:
1838 * src/org/glom/web/client/OnlineGlom.java:
1839 * src/org/glom/web/server/LibGlomServiceImpl.java:
1840 * war/OnlineGlom.html:
1841 * war/WEB-INF/web.xml:
1843 211-01-13 Ben Konrath <ben@bagu.org>
1845 Update to new java-libglom API.
1847 * .gitignore: Ignore OnlineGlom.war.
1848 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1850 2010-12-20 Ben Konrath <ben@bagu.org>
1852 Add some basic style to the table listing.
1854 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1855 header, print useful error message on async callback failure.
1856 * war/OnlineGlom.css: Add style for table header, remove defaults
1857 provided by the Eclipse project wizard.
1859 2010-12-20 Ben Konrath <ben@bagu.org>
1861 Load example file from installed glom dir.
1863 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1864 provided by java-libglom to find the example file.
1866 2010-12-20 Ben Konrath <ben@bagu.org>
1868 Update Eclipse settings.
1871 * .settings/com.google.gdt.eclipse.core.prefs:
1872 * .settings/com.google.gwt.eclipse.core.prefs:
1874 2010-12-17 Ben Konrath <ben@bagu.org>
1878 * .classpath: New file.
1879 * .gitignore: New file.
1880 * .project: New file.
1881 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1882 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1883 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1884 * src/org/glom/web/client/GlomTable.java: New file.
1885 * src/org/glom/web/client/OnlineGlom.java: New file.
1886 * src/org/glom/web/client/TableNameService.java: New file.
1887 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1888 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1889 * war/OnlineGlom.css: New file.
1890 * war/OnlineGlom.html: New file.
1891 * war/WEB-INF/web.xml: New file.
1892 * war/images/glom.png: New file.