1 2011-11-25 Ben Konrath <ben@bagu.org>
3 Improve browser configuration error messages.
7 https://bugzilla.gnome.org/show_bug.cgi?id=662792
9 * src/main/java/org/glom/web/client/OnlineGlomService.java:
10 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
11 getConfigurationErrorMessage() method.
12 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
13 Get and display a specific configuration error message when no Glom
15 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
16 Implement getConfigurationErrorMessage() method. Surround configuration
17 code in the init() method with a try/catch block. This allows the
18 errors to be caught while keeping the servlet available to retrieve the
19 configuration error message.
21 2011-11-25 Ben Konrath <ben@bagu.org>
23 Don't use Strings to hold primary key values.
25 The primary key values are now held in a new data object
26 (PrimaryKeyItem) that holds type information and the primary key value
27 using the correct type.
29 * src/main/java/org/glom/web/client/OnlineGlomService.java:
30 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
31 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
32 PrimaryKeyItem instead of String to hold the primary key value.
33 * src/main/java/org/glom/web/client/Utils.java: Remove
34 getKeyValueStringForQuery(). Add getPrimaryKeyItem() which creates a
35 PrimaryKeyItem based on the GlomFieldType and the DataItem.
36 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Use
37 PrimaryKeyItem instead of String to hold the primary key value. Load
38 document selection page when the documentID has not been set correctly.
39 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Re-work
40 DetailsPlace -> URL and URL -> DetailsPlace conversion with
42 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
43 Return empty string for URL instead of "null".
44 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
45 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
46 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
47 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
48 PrimaryKeyItem instead of String to hold primary key values.
49 * src/main/java/org/glom/web/server/Utils.java: New method to convert a
50 PrimaryKeyValue to a Gda Value.
51 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
52 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
53 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
54 Replace temporary database access code that uses the PrimaryKeyValue to
56 * src/main/java/org/glom/web/shared/DataItem.java: Add comment.
57 * src/main/java/org/glom/web/shared/NavigationRecord.java: Use
58 PrimaryKeyItem instead of String.
59 * src/main/java/org/glom/web/shared/PrimaryKeyItem.java: New class to
60 hold primary key values.
62 2011-11-24 Ben Konrath <ben@bagu.org>
64 Use newly added java-libglom API to create queries.
66 This isn't finished. I still need to stop using Strings for primary key
67 values in the client code.
69 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Tell
70 libglom to use fake connections so that retrieving the query string will
72 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
73 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
74 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
75 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
76 Use the newly added libglom sql methods and classes to create the
77 query. Add temporary hack to convert primary value strings to Gda
80 2011-11-23 Ben Konrath <ben@bagu.org>
82 Don't explicitly set the height of Portals.
84 See comments 6 - 10 of this bug for details:
86 https://bugzilla.gnome.org/show_bug.cgi?id=662930#c6
88 * src/main/java/org/glom/web/client/ui/details/Portal.java:
90 2011-11-23 Ben Konrath <ben@bagu.org>
92 Use an HTML table instead of CSS for the FlowTable layout.
94 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Use
95 GWT's FlexTable to implement the FlowTable.
96 * src/main/webapp/style.css: Adjust CSS for the change to FlexTable.
98 2011-11-18 Ben Konrath <ben@bagu.org>
100 Add boolean example to HTML table mockup.
102 * mockups/details-view-html-tables-text-entries.html:
104 2011-11-17 Ben Konrath <ben@bagu.org>
106 Ensure the pager buttons are always visible for related lists.
108 To accomplish this, I've turned off text wrapping in the list view and
109 related list tables for both the header and data text. The related list
110 table now has a fixed layout so the it doesn't overflow its container.
111 This is required to ensure that the cell text is clipped when it
112 overflows the cell and an ellipsis is added to the right side of the
113 cell when text is clipped.
115 A fixed table layout for the related list table in the details view
116 seems what we want for the details view anyway, so the side-effect is
119 The ellipsis will only be displayed in Firefox >= 7.
123 https://bugzilla.gnome.org/show_bug.cgi?id=662930
125 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java:
126 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: Add
127 'overflow: hidden; text-overflow: ellipsis;' CSS properties to the table
129 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
130 Set the 'table-layout: fixed' CSS property to the related list table.
131 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Set the
132 'white-space: nowrap;' CSS property on both the list view and the
135 2011-11-16 Ben Konrath <ben@bagu.org>
137 Rework the fix for empty notebook tab labels.
139 Setting the empty group titles with its name caused problems for the
140 details layout. Instead of using libglom's
141 LayoutItem.get_title_or_name(), the LayoutItem name is explicitly sent
142 to the client when the title is empty. This allows the Notebook to use
143 the name when the title is empty without affecting anything else.
145 * src/main/java/org/glom/web/client/ui/details/Notebook.java:
146 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
148 2011-11-16 Ben Konrath <ben@bagu.org>
150 Set group titles with name when title is empty.
152 This fixes a problem with an empty notebook tab label in the Lesson
153 Planner document. The forth tab in the notebook should be "Internet":
155 http://bagu.org:8080/OnlineGlom/#details:document=lesson-planner&table=teachers&value=0
157 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Use
158 libglom's LayoutItem.get_title_or_name() to fill in the LayoutGroup
161 2011-11-16 Ben Konrath <ben@bagu.org>
163 Remove whitespace from the configured username properties.
165 This assumes that usernames won't have whitespace at the beginning
166 or end. But I think this is a reasonable assumption.
168 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
169 String.trim() to remove the whitespace from the username properties.
171 2011-11-15 Ben Konrath <ben@bagu.org>
173 Add details view mockup with HTML tables and text entries.
175 This is from the attachment on this bug:
177 https://bugzilla.gnome.org/show_bug.cgi?id=663109
179 * mockups/details-view-html-tables-text-entries.html:
181 2011-11-15 Ben Konrath <ben@bagu.org>
183 Add space between the columns of the flow table.
187 https://bugzilla.gnome.org/show_bug.cgi?id=662918
189 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Add a 1%
190 space between columns in the flow table.
192 2011-11-15 Ben Konrath <ben@bagu.org>
194 Add backup files to the .gitignore.
196 * .gitignore: Ignore files that end with ~.
198 2011-11-09 Ben Konrath <ben@bagu.org>
200 Use latest release of gwt-log.
202 Gwt-log releases are now being submitted to the maven central
203 repository so manual installation of the jar is no longer required.
205 * pom.xml: Update version and groupId of gwt-log dependency.
207 2011-10-31 Ben Konrath <ben@bagu.org>
209 Don't use GWT numeric formatting to override the glom currency formatting.
211 Currencies are now displayed like they are in Glom. See this bug:
213 https://bugzilla.gnome.org/show_bug.cgi?id=646216
215 * src/main/java/org/glom/web/client/Utils.java: Remove GWT currency
217 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: Add
218 currency code to constructor and set it when the cell is rendered.
219 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
220 currency code to the constructor of the NumericCell.
222 2011-10-27 Ben Konrath <ben@bagu.org>
224 Require the latest release of java-libglom (1.17.4).
228 2011-10-26 Ben Konrath <ben@bagu.org>
230 Add style to Notebook that matches current theme.
232 It's not the best style in the world but it's better than the default.
234 * src/main/java/org/glom/web/client/ui/details/Notebook.java: Add some
235 padding at the bottom of the child widgets.
236 * src/main/webapp/style.css: Add style for the Notebook.
238 2011-10-26 Ben Konrath <ben@bagu.org>
240 Move servlet initialization code to overridden init method.
242 This is half of the solution to getting proper error messages
243 displayed when configuration errors occur. Here's the relevant bug:
245 https://bugzilla.gnome.org/show_bug.cgi?id=662792
247 The rest of the solution involves surrounding the init method with a
248 try/catch block and setting a global variable with the error /
249 exception. A new async method should be created to retrieve and display
250 the error message / exception.
252 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Move
253 code from constructor to init method adding exceptions as needed.
255 2011-10-26 Ben Konrath <ben@bagu.org>
257 Add script to monitor and restart tomcat if required.
259 * utils/check-and-recover-tomcat.py: New file.
261 2011-10-26 Ben Konrath <ben@bagu.org>
263 Display the correct number of data items in the pager.
267 https://bugzilla.gnome.org/show_bug.cgi?id=661441
269 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
270 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
271 The implementation is the same for both tables: Keep track of the
272 number of non-empty rows and fire and RowCountChangeEvent after the data has
274 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add a
275 custom Pager class that subclasses SimplePager to handle displaying
276 the correct number when empty rows have been added.
278 2011-10-26 Ben Konrath <ben@bagu.org>
280 Correct error in previous commit.
282 * src/main/java/org/glom/web/client/activity/ListActivity.java: Remove
283 eventBus parameter from listView.setCellTable().
285 2011-10-26 Ben Konrath <ben@bagu.org>
287 Fix error in TODO comment.
289 * src/main/java/org/glom/web/client/activity/ListActivity.java:
291 2011-10-24 Ben Konrath <ben@bagu.org>
293 Create Notebook widgets to the details view.
295 This isn't finished just yet - I still need to create a reasonable
296 style to match the current theme.
298 * src/main/java/org/glom/web/client/Utils.java: Add method for
299 calculating the height of a widget. This is used in the Notebook class.
300 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
301 new constructor method in Group.
302 * src/main/java/org/glom/web/client/ui/details/Group.java: Add new
303 method for creating child widget that can be used by subclasses
304 like Notebook. New constructor that allows disabling the group
305 titles - Notebooks don't set a group title for their child groups.
306 * src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
307 to make Notebooks using GWT's TabLayoutPanel.
308 * src/main/java/org/glom/web/client/ui/details/Portal.java: New
309 constructor that allows disabling the group titles.
310 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
311 LayoutItemNotebook DTO.
312 * src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
313 DTO for Notebooks. It's just an empty class for now but we might need
314 it to transfer some specific information in the future.
316 2011-10-21 Ben Konrath <ben@bagu.org>
318 Add navigation buttons to related list tables.
320 * src/main/java/org/glom/web/client/OnlineGlomService.java:
321 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
322 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add new
323 method getSuitableRecordToViewDetails() for getting the table name
324 and primary key value for related list navigation buttons.
325 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
326 private cell renderer class to get the navigation information for
327 related list tables from the server. Extract the navigation
328 processing code from the details cell navigation and use it for the
329 related list navigation as well.
330 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Add private
331 cell renderer class for the details open buttons. This was needed
332 because the related list navigation buttons and the list view
333 navigation buttons need to react differently when clicked.
334 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: Remove
335 the onEnterKeyDown() method because it's now overriden in the
336 subclasses that are specific to the related list tables and the list
338 * src/main/java/org/glom/web/client/ui/details/Portal.java: Increase
339 the vertical size a little because the buttons add a bit of vertical
340 space to table. This is not a perfect solution because the vertical
341 size of with table fewer than 5 rows will be a little smaller.
342 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Update for
343 changes in how navigation buttons are handled.
344 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Implement
345 getSuitableRecordToViewDetails() using the new RelatedListNavigation
346 database access object.
347 * src/main/java/org/glom/web/server/database/DBAccess.java: Move code
348 to find the portal for a given relationship name from
349 RelatedListDBAccess. Add method to find a primary key field for a
351 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
352 Move code to find the portal for a given relationship name to
354 * src/main/java/org/glom/web/server/database/RelatedListNavigation.java:
355 New file: database access object for getting the related list
356 navigation information (the table name and the primary key value).
357 * src/main/java/org/glom/web/shared/NavigationRecord.java: New file:
358 DTO for transferring a table name to navigate to and a primary key
360 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
361 boolean and getter/setter to specifies if the related list should add
364 2011-10-24 Murray Cumming <murrayc@murrayc.com>
366 Use the master branch of java-libglom
368 * pom.xml: Depend on java-libglom 1.19 instead.
370 This is the master branch. See also the libglom-1-18 branch.
372 2011-10-11 Ben Konrath <ben@bagu.org>
374 Enable the open navigation button when the data has been set.
376 This avoids having active buttons that don't do anything when the data
379 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
381 2011-10-11 Ben Konrath <ben@bagu.org>
383 Use IsWidget interface for FlowTableItem.
385 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
386 FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
388 2011-10-11 Ben Konrath <ben@bagu.org>
390 Remove GWT styling from open button in details view.
392 There are still some issues with how the details cell is arranged but
393 this should be made to match Glom 1.20. I'm going to leave fixing this
394 until I have Glom 1.20 up and running.
396 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
397 style name on open button.
398 * src/main/webapp/style.css: Move and edit details-navigation class.
399 Re-arrange some classes to make them appear in the same order as the
402 2011-10-07 Ben Konrath <ben@bagu.org>
406 * .gitignore: Ignore new cache directory.
407 * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
408 * pom.xml: Change GWT and maven plugin to 2.4.0.
409 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
411 * src/main/java/org/glom/web/client/ClientFactory.java:
412 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
413 * src/main/java/org/glom/web/client/OnlineGlom.java:
414 Update source for API changes.
415 * utils/build-onlineglom-war.sh: Remove cache directory before the
418 2011-10-07 Ben Konrath <ben@bagu.org>
420 Add navigation buttons in the details view.
422 This isn't finished but I thought I'd commit what I have as it's a
423 pretty good start. I still need to:
425 1. Change the style so that it fits better into the current theme
426 2. Adjust the details cell to expand as much as possible.
428 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
429 click handlers to navigation buttons in the DetailsCells. Create a
430 refreshData() method to get just the data from the server without the
432 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
433 Update the tableSelector and browser title when the table name
434 changes without using the tableSelector.
435 * src/main/java/org/glom/web/client/ui/DetailsView.java:
436 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
437 getDetailsCells() to getCells(). Update variable names.
438 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
439 method to set click handler on navigation button. Rename a few
440 variables. Add navigation buttons where needed.
441 * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
442 variables and methods.
443 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
444 navigation boolean and navigation table as required in the
446 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
447 variables for navigation along with getter/setter methods.
449 2011-10-07 Ben Konrath <ben@bagu.org>
451 Rename Field to DetailsCell.
453 This is a refactor-only commit. No functionality has been added or
456 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
457 Update variable and method names.
458 * src/main/java/org/glom/web/client/ui/DetailsView.java:
459 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
460 variable and method names.
461 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
463 * src/main/java/org/glom/web/client/ui/details/Group.java: Update
464 variable and method names.
466 2011-10-07 Ben Konrath <ben@bagu.org>
468 Create separate methods for layout and data the details view.
470 This is a refactor-only commit. No functionality has been added or
473 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
474 private methods: setData(), createLayout().
476 2011-10-07 Ben Konrath <ben@bagu.org>
478 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
480 This is part of a change to get navigation buttons in the details view
481 but it should have been done this way from the start.
483 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
484 for method name change in TableSelectionView.
485 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
486 Create TableChangeEvent and set the browser title using the
487 TableSelectionView API.
488 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
489 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
490 Change getSelectedTable() to getSelectedTableName(). Add
491 getSelectedTableTitle().
493 2011-10-07 Ben Konrath <ben@bagu.org>
495 Use primaryKeyValue naming convention in constructor of DetailsPlace.
497 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
499 2011-10-07 Ben Konrath <ben@bagu.org>
501 Update TableChangeEvent to use newTableName naming convention.
503 This makes the class more consistent with GWT naming conventions.
505 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
506 Update for method name change in TableChangeEvent.
507 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
508 for method name change in TableChangeEvent.
509 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
510 newTableName variable and getter method. Make toDebugString()
513 2011-09-30 Ben Konrath <ben@bagu.org>
515 Disable the pager in the list tables when the data row count is less than the minimum.
517 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
518 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
520 2011-09-30 Ben Konrath <ben@bagu.org>
522 Add empty rows to the end of related list and list view tables.
524 I also extracted the cell rendering classes from the ListTable because
525 the code was becoming a little crazy with all the anonymous inner
526 classes. My plan is to use these cell rendering classes in the details
527 view as well so this refactor will be needed for that change.
529 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
530 set the row count in related list tables if the data has more rows
531 than the minimum number of rows visible.
532 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
533 row count in list view tables if the data has more rows than the
534 minimum number of rows visible.
535 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
536 for rendering TYPE_BOOLEAN cells. The code was extracted from the
538 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
539 for rendering TYPE_NUMERIC cells. The code was extracted from the
541 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
542 class for rendering cells with buttons in list views. The code was
543 extracted from the ListTable class.
544 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
545 for rendering TYPE_TEXT cells. The code was extracted from the
547 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
548 Add empty rows to the end of the data if required. Implement
549 ListTable.getMinNumVisibleRows().
550 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
551 cell renderer code to public classes. Return null in
552 Column.getValue() for empty rows. Add new abstract method:
553 getMinNumVisibleRows(). Move code to set the row count of the list view
554 table to ListViewImpl.
555 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
556 empty rows to the end of the data if required. Implement
557 ListTable.getMinNumVisibleRows().
560 2011-09-27 Ben Konrath <ben@bagu.org>
562 Use GWT.log for client-side debugging statements.
564 These are optimized out when deployed so I should have used this method
565 in the first place. These statements will eventually be replaced with some sort
566 of notification in the browser.
568 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
569 * src/main/java/org/glom/web/client/activity/ListActivity.java:
570 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
571 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
572 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
574 2011-09-27 Ben Konrath <ben@bagu.org>
576 Put tableselector on the right, back to list link on right.
578 The idea is that the table selector is acting like a label for the
579 currently displayed table so it should be placed below the document title. This
580 puts the table title in a similar position to where it is in Glom.
582 * mockups/details-contacts.html:
583 * mockups/details-projects.html:
584 * mockups/listview-contacts.html:
585 * mockups/listview-projects.html:
587 Update mockups to match how the interfaces currently look.
588 * src/main/webapp/style.css: Swap positions of backlink with the table
589 selector. Add some space on the left side of the table selector to
590 line things up with the document title.
592 2011-09-27 Ben Konrath <ben@bagu.org>
594 Add field colouring to details view.
596 This change re-works how field colouring works. The colour formatting
597 information is now set to the client with the layout information instead of
598 with the data. This eliminates the need to send the same colour strings for
599 data in list view column when colour information is set.
601 In order to set an alternate colour for negative numeric values, the
602 number is now sent to client and formatted with the GWT NumberFormat class.
604 This change also fixes:
606 https://bugzilla.gnome.org/show_bug.cgi?id=659752
608 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
609 internationalization framework which is needed for client side numeric
611 * src/main/java/org/glom/web/client/Utils.java: New file for some
612 client static utility methods.
613 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
614 the DataItem object to the Field class. Use a utility method to
615 create the foreignKeyValue string.
616 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
617 alignment and text colours in the constructor. Add setData(DataItem)
618 method. Remove setText(String) method.
619 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
620 colour information to GlomTextCell. Create and use GlomNumberCell for
621 rendering numbers. Use utility method to get the string for the
622 primary key of the key provider. Re-work how the horizontal alignment
624 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
625 formatting to layout information. Methods for converting the libglom
626 formatting information were moved from DBAccess.
627 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
628 numeric formatting (it's now done on the client side). Don't set text
629 colours in DataItem. Move libglom formatting conversion methods to
631 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
632 getters/setters for text colour information.
633 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
634 for transferring the libglom NumericFormat information to the client.
635 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
636 and getters/setters for: GlomNumericFormat, background colour and
637 foreground colour strings.
639 2011-09-26 Ben Konrath <ben@bagu.org>
641 Simplify code that iterates through the LayoutGroup.
643 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
645 2011-09-26 Ben Konrath <ben@bagu.org>
647 Accept Eclipse formatting for OnlineGlomServiceAsync.
649 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
651 2011-09-26 Ben Konrath <ben@bagu.org>
653 Don't use the ListDBAccess classes to get the primary key layout information.
655 This was causing a bug where the wrong index for the hidden primary key
656 was being sent to the client.
658 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
659 primary key while creating the LayoutGroup DTO. Create a
660 LayoutItemField DTO for hidden primary keys. Don't use the
661 RelatedListDBAccess because it was only used for getting the primary
663 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
664 access modifier from public to protected for getPrimaryKeyField() and
665 getPrimaryKeyLayoutItemField().
666 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
667 abstract method getExpectedResultSize() because RelatedListDBAccess
668 doesn't have enough info to implement it.
669 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
670 Remove @Override for getExpectedResultSize().
671 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
672 Remove method getExpectedResultSize().
674 2011-09-23 Ben Konrath <ben@bagu.org>
676 Log which layout (list or details) the ignored item is from.
678 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
680 2011-09-23 Ben Konrath <ben@bagu.org>
682 Remove annotations that turn off code formatting in DataItem.
684 * src/main/java/org/glom/web/shared/DataItem.java:
686 2011-09-23 Ben Konrath <ben@bagu.org>
688 Rename GlomField to DataItem and update associated methods.
690 This is a rename-only refactor. No functionality has been added or
693 * src/main/java/org/glom/web/client/OnlineGlomService.java:
694 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
695 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
696 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
697 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
698 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
699 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
700 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
701 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
702 * src/main/java/org/glom/web/server/database/DBAccess.java:
703 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
704 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
705 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
706 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
707 * src/main/java/org/glom/web/shared/DataItem.java:
708 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
709 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
711 2011-09-23 Ben Konrath <ben@bagu.org>
713 Rename GlomDocument to DocumentInfo and update associated methods.
715 This is a rename-only refactor. No functionality has been added or
718 * src/main/java/org/glom/web/client/OnlineGlomService.java:
719 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
720 * src/main/java/org/glom/web/client/activity/ListActivity.java:
721 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
722 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
723 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
724 * src/main/java/org/glom/web/shared/DocumentInfo.java:
726 2011-09-20 Ben Konrath <ben@bagu.org>
728 Require java-libglom 1.17.3.
730 This picks up the fix for the seg fault problem with the Scenes table
731 in the Openismus Film Manager example.
735 2011-09-20 Ben Konrath <ben@bagu.org>
737 Change the way sort clause is added for primary key when no sort clause is requested.
739 The primary key is now added to the LayoutFieldVector (fieldsToGet)
740 before the sort clause is created. When a sort clause is not requested, the
741 sort clause is created by finding the primary key in the LayoutFieldVector
744 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
746 2011-09-20 Ben Konrath <ben@bagu.org>
748 Log error message if no documents are found in the configured directory.
750 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
751 Extract the glom file extension string to a private static final class
752 variable (mostly as syntactic sugar). Accept a minor formatting change.
753 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
754 the example glom.document.directory configuration property to make it
755 more clear that it can any directory, not just the home directory.
757 2011-09-18 Ben Konrath <ben@bagu.org>
759 Add related lists to details view.
761 The related list table has support for paging and sorting just like the
762 table in the list view.
764 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
765 SQL queries for the related list tables.
766 * src/main/java/org/glom/web/client/OnlineGlomService.java:
767 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
768 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
769 Rename getList methods to getListView and add comments. Remove
770 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
771 it being unused. Add methods: getDetailsLayoutAndData(),
772 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
773 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
774 Create the layout and set the data for the fields in one async call
775 instead of two. Create related lists where appropriate.
776 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
777 for method name changes in OnlineGlomService.
778 * src/main/java/org/glom/web/client/ui/DetailsView.java:
779 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
780 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
782 * src/main/java/org/glom/web/client/ui/ListView.java:
783 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
784 tableName from setCellTable(). Create a ListViewTable instead of
786 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
787 represent a data field in the details view.
788 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
789 from addDetailsCell() to Field class. Keep track of the Fields and
790 Portals in the details view.
791 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
792 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
793 and add a method to get it. Add method to set the contents of the
795 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
796 New class for related list tables. This class has the data provider
797 for the related list table.
798 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
799 abstract class which is the base class for the ListViewTable and the
801 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
802 New class for list view tables. This class has the data provider for
804 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
805 methods for related list tables. Add more information to the
806 LayoutItemField and LayoutItemPortal DTOs.
807 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
808 Remove debugging print statement.
809 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
810 Remove debugging print statements. Add primary key field to SQL count
812 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
813 Remove unnecessary LayoutFieldVector parameter from
814 getResultSizeOfSQLQuery() method.
815 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
816 New class for related list table database access.
817 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
818 class that is a wrapper DTO for details view layout and data.
819 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
820 new 'fromField' string to this DTO.
821 * src/main/webapp/style.css: Remove bottom margin and override top
824 2011-09-15 Ben Konrath <ben@bagu.org>
826 Breakup the OnlineGlomServiceImpl class to make it more manageable.
828 This sets things up to make it easier to add the data retrieval for
829 related lists (portals). No user noticeable changes were made with
832 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
833 class has the code to retrieve the layouts and access the
834 database using the new database helper classes.
835 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
836 Most of the functionality has been removed from this class. This
837 class now represents the public interface for the client side
838 code. It also deals with configuring the servlet and cleaning
839 things up when the servlet is stopped.
840 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
841 of static methods into this utility class.
842 * src/main/java/org/glom/web/server/database/DBAccess.java:
843 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
844 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
845 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
846 These classes have the database retrieval code. The class hierarchy
847 has been setup to make it easy to reuse code for similar
850 2011-09-06 Ben Konrath <ben@bagu.org>
852 Create separate classes for list table code and the data provider.
854 As part of this refactor, I also split up the code a bit to make it
857 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
858 table code to two new classes (below).
859 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
860 with code from ListViewImpl.
861 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
862 New file with code from ListViewImpl.
864 2011-09-06 Ben Konrath <ben@bagu.org>
866 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
868 This fixes the LayoutItemPortal DTO to match the libglom layout object
871 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
873 2011-09-01 Ben Konrath <ben@bagu.org>
875 Set title of Portals in the Details View.
877 * pom.xml: Bump required version of java-libglom to 1.17.1.
878 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
879 widget creation to its own class. Add comments to constructor.
880 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
881 The code is mostly from the Group class with the title now set.
882 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
883 title of Portal. Update some comments. Fix some code formatting.
885 2011-09-01 Ben Konrath <ben@bagu.org>
887 Remove TODO comment for the flow table column width.
889 The flow table column width is working correctly and doesn't need to be
890 changed. See this mailing list post for more info:
892 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
894 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
896 2011-08-27 Ben Konrath <ben@bagu.org>
898 Add document title (database name) to top of the browser page.
900 I added the document title to the TableSelecitonView but that will
901 change if / when we add a view that doesn't require table selection.
903 * mockups/details-contacts.html:
904 * mockups/details-projects.html:
905 * mockups/listview-contacts.html:
906 * mockups/listview-projects.html:
907 * mockups/style.css: Add document title to mockups to keep things
909 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
910 sizes to account for the document title.
911 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
912 Set the document title when it has been retrieved from the server.
913 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
914 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
915 and implement setDocumentTitle(String) method.
916 * src/main/webapp/style.css: Add ID for document title style.
918 2011-08-25 Ben Konrath <ben@bagu.org>
920 Add NavigationType enum to LayoutItemPortal DTO.
922 This is the start of adding support for Portals to the Details View.
924 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
925 LayoutItem_Portal.navigation_type enum from libglom to
926 LayoutItemPortal.NavigationType enum.
927 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
928 NavigationType enum, field for storing the NavigationType and getter
931 2011-08-25 Ben Konrath <ben@bagu.org>
933 Implement the flow table layout in the Details View.
935 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
936 FlowTable to Group to account for the renamed class.
937 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
938 File. This is a container widget that implements the Glom details view
939 flow table behaviour.
940 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
941 org/glom/web/client/ui/FlowTable.java.
942 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
943 so that the size of the subgroups are a closer match to the size of
944 the Glom subgroups. This makes the flowtable layout match the layout
945 in Glom for the Music Collection example file.
947 2011-08-16 Ben Konrath <ben@bagu.org>
949 Create container element for LayoutItemPortal in Details View.
951 This will help me develop the layout for the FlowTable.
953 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
954 fieldPanel variable to detailsCell.
956 2011-08-15 Ben Konrath <ben@bagu.org>
958 Set the height of the data element in the Details View.
960 I changed the InlineLabels (text in a span element) to Labels (text in
961 a div element) so that I could set the height of the details-data
962 elements instead of the details-cell parent elements. This allows the
963 the details-data element to display the correct height if style is
964 applied that shows the height.
966 This change has the added benefit of allowing the order of the labels
967 and data elements to be changed for right-to-left languages.
969 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
970 InlineLabels to Labels.
971 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
972 InlineLabels to Labels. Set the height of the data element.
973 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
974 multiline text height in the Formatting DTO.
975 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
976 for multiline height along with getter and setter methods.
977 * src/main/webapp/style.css: Adjust style to account for the change
978 from span elements to div elements in the details cell.
980 2011-08-15 Ben Konrath <ben@bagu.org>
982 Make the List View appearance match the mockups.
984 It doesn't match exactly but it's much better than it was.
986 * mockups/listview-contacts.html: Remove unused css classes.
987 * mockups/listview-projects.html: Remove unused css classes.
988 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
989 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
990 for mainPanel instead of VerticalPanel (table). Set style name on
991 CellTable. Set style name on Details column. Right-align Details
993 * src/main/webapp/style.css: Adjust properties to match the mockups.
995 2011-08-12 Ben Konrath <ben@bagu.org>
997 Add better support for subgroups in the details view.
999 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
1000 changed FlowTable constructor.
1001 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
1002 support for subgroups and subgroup-titles.
1003 * src/main/webapp/style.css: Add CSS class for subgroups and
1006 2011-08-12 Ben Konrath <ben@bagu.org>
1008 Return the top level LayoutGroup title.
1010 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1012 2011-08-11 Ben Konrath <ben@bagu.org>
1014 Make the TableSelector header match the mockup.
1016 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
1017 the layout panel. Properly lineup the table selection header with
1018 the list and details view.
1019 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
1020 margin around the details view.
1021 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1022 Rename listBox variable to tableSelector. Set id for the style sheet.
1023 Use a FlowPanel instead of a HorizontalPanel.
1024 * src/main/webapp/style.css: Add properties to make the TableSelector
1025 box match the mockups.
1027 2011-07-13 Ben Konrath <ben@bagu.org>
1029 Update install script for java-libglom version change.
1031 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
1034 2011-07-13 Ben Konrath <ben@bagu.org>
1036 Add support sub-group in the details view.
1038 I also removed the code that special-cased the default details view
1041 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
1043 I still have to make a proper flowtable.
1045 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1046 Don't special-case default details view layout.
1047 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
1048 addLayoutField() as I'm going to use it.
1049 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
1050 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
1052 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
1053 extracted from DetailsViewImpl.GroupPanel. Add support for
1055 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1056 column count when getting the details layout.
1058 2011-07-12 Ben Konrath <ben@bagu.org>
1060 Set browser title with database and table titles.
1062 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1063 Set the browser title when the table changes and when the activity
1065 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
1066 title when retrieving document info (the GlomDocument object).
1067 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
1068 with getter and setter methods. Remove unused convenience constructor.
1069 Use default code formatting.
1071 2011-07-12 Ben Konrath <ben@bagu.org>
1073 Ignore LayoutItemPortals in the details view.
1075 I added a new DTO for the LayoutItemPortal so that I can ignore it in
1078 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
1079 LayoutItemPortal layout objects.
1080 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1081 LayoutItemPortal objects when retrieving the details layout.
1082 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
1083 file. This is an empty class and just used to get type information for
1086 2011-07-12 Ben Konrath <ben@bagu.org>
1088 Use java-libglom 1.17.0.
1092 2011-07-11 Ben Konrath <ben@bagu.org>
1094 Remove "Table:" label from table selector.
1096 This matches a recent change in the Glom UI.
1098 * mockups/details-contacts.html:
1099 * mockups/details-projects.html:
1100 * mockups/listview-contacts.html:
1101 * mockups/listview-projects.html: Remove the "Table:" label from the
1103 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1105 2011-07-11 Ben Konrath <ben@bagu.org>
1107 Add main groups to the details view.
1109 This makes things look a little nicer in the details view. The next step
1110 is to implement the flowtable.
1112 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
1113 resources from the standard gwt css theme. Standard.css is now
1114 included in OnlineGlom.html so that the online glom css rules have
1115 precedence over the gwt theme.
1116 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
1117 the whole LayoutGroup to the DetailsView instead of just the titles.
1118 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1119 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
1120 details layout with a helper class (GroupPanel). I might extract this
1121 class when I make the full flowtable.
1122 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
1123 string as default so I don't have to worry about NPEs when processing
1125 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
1126 note beside OnlineGlom.gwt.xml above).
1127 * src/main/webapp/style.css: Add default font-size to body to override
1128 the font-size set by the standard theme. Don't use h2 tags for
1129 group-title. Create new details-cell class.
1131 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1133 ConfiguredDocument: Set the port number too.
1135 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1136 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
1137 Glom document. Presumably this worked sometimes so far because there is a
1138 default port number.
1140 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1142 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
1144 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1145 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
1146 correct, though we should throw an exception too.
1148 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1150 Fix a addDocuemnt typo.
1152 * src/main/java/org/glom/web/shared/Documents.java
1153 (Documents.addDocuemnt): Rename to addDocument().
1154 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
1155 (OnlineGlomServiceImpl.getDocuments): Adapt.
1157 2011-07-08 Murray Cumming <murrayc@murrayc.com>
1159 Slightly improved log output when connection fails.
1161 * src/main/java/org/glom/web/server/ConfiguredDocument.java
1162 (ConfiguredDocument.setUsernameAndPassword):
1163 We don't know for sure if it' the username/password that's wrong, so
1164 rephrase the message.
1165 Also ouput the exception message, though it's generic in this case.
1167 2011-07-08 Ben Konrath <ben@bagu.org>
1171 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
1172 added braces to a one line if statement because the Eclipse formatter
1173 was getting confused.
1175 2011-07-07 Ben Konrath <ben@bagu.org>
1177 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
1179 These should really be two separate tasks but I counldn't get things to
1180 work with GWT 2.2.0 and Eclipse 3.7.
1184 * .settings/org.eclipse.jdt.core.prefs:
1185 * .settings/org.eclipse.jdt.ui.prefs:
1186 * .settings/org.eclipse.ltk.core.refactoring.prefs:
1187 * .settings/org.eclipse.m2e.core.prefs:
1188 Add new config files. Update current files. Remove references to the
1189 webtools plugins as we're not using any of the webtools features.
1190 * .gitignore: Add logs directory which is created when running with
1192 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
1193 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
1194 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
1196 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
1198 2011-07-07 Murray Cumming <murrayc@murrayc.com>
1200 onlineglom.properties: Add explanatory comments.
1202 * src/main/resources/onlineglom.properties: Also change the default user
1203 from ben to someuser, to avoid the risk of people thinking we just
1204 stupidly hard-coded a locale path, when they see that on stderr or in a log.
1206 2011-06-28 Ben Konrath <ben@bagu.org>
1208 Use filename in Log for incorrect passwords.
1210 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
1211 getFileName(String) method to get the filename from the URI.
1213 2011-06-28 Ben Konrath <ben@bagu.org>
1215 Add the table name to the URL token for the ListPlace.
1217 This makes things consistent between the DetailsPlace and the
1218 ListPlace. It also allows the the ListPlace to be bookmarked.
1220 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1221 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1222 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1223 Remove getDefaultListLayout(). The default layout is now returned
1224 by the getListLayout() method when the table name is an empty string.
1225 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1226 Add table name field. Change to a new ListPlace when the table
1227 has been changed. Use getListLayout() for getting the default
1229 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1230 Add table name field. Set the correct table name in the list box
1231 when loading from bookmark. This corrects a problem for the
1233 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1234 Move table name to super-class (HasSelectableTable). Move document
1235 and table URL keys to super-class in HasSelectableTable.
1236 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1237 Add table name field. Add Tokenizer class with URL key common to
1238 the subclasses (DetailsPlace and ListPlace).
1239 * src/main/java/org/glom/web/client/place/ListPlace.java:
1240 Add table name. Add code to parse the URL token.
1241 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1242 Update ListPlace construction with empty table name string.
1243 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1244 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1245 Change setTableSelectedIndex(int) to setSelectedTableName(String).
1246 Update ListPlace construction with table name string.
1247 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1248 Change defaultTableName field to tableName to reflect how it's now
1249 used. Update the getter and setter methods.
1251 2011-06-28 Ben Konrath <ben@bagu.org>
1253 Enable the table selector in the DetailsView.
1255 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1256 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1257 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1258 Remove getDefaultDetailsLayout(). The default layout is now returned
1259 by the getDetailsLayout() method when the table name is an empty
1261 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1262 event handler for table change event. Change to using
1263 getDetailsLayout() for the default details layout.
1264 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
1266 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
1267 when navigating to the details place.
1269 2011-06-27 Ben Konrath <ben@bagu.org>
1271 Use filename based unique document ID in URL and for RPC.
1273 The document ID is the glom document name with spaces (' ') replaced
1274 with pluses ('+') and without the .glom extension.
1276 This change is mostly a string substitution of 'documentTitle' for
1277 'documentID'. The only code change is the addition of a Documents DTO to get the
1278 filename to document title mappings as indicated below.
1280 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1281 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1282 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1283 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1284 Use Documents DTO to create the document links in the document
1286 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1287 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1288 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1289 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1290 * src/main/java/org/glom/web/client/place/ListPlace.java:
1291 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1292 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1293 * src/main/java/org/glom/web/client/ui/ListView.java:
1294 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1295 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1296 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1297 * src/main/java/org/glom/web/server/Log.java:
1298 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1299 getDocumentTitles() to getDocuments() and return the Documents DTO.
1300 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
1301 transferring the filename to document title mappings.
1303 2011-06-25 Ben Konrath <ben@bagu.org>
1305 Make the authentication popup work again.
1307 This bug was introduced when I extracted ConfiguredDocument to its own class.
1309 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
1310 correct success / fail status in setUsernameAndPassword().
1312 2011-06-25 Ben Konrath <ben@bagu.org>
1314 Use filename as unique key for configuring database usernames and passwords.
1316 This replaces the use of the Glom document title which could change
1317 depending on the locale. Thanks to Murray Cumming for pointing out this
1320 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1321 * src/main/resources/onlineglom.properties:
1323 2011-06-24 Ben Konrath <ben@bagu.org>
1325 Pass primary key value to DetailsView.
1327 This enables the DetailsView to load the correct data.
1329 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
1330 primary key value field and set in constructor. Pass primary key
1331 value to getDetailsData().
1332 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
1333 variables for document title and primary key value.
1334 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
1335 key value to the DetailsPlace.
1337 2011-06-24 Ben Konrath <ben@bagu.org>
1339 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
1341 This allows the primary key to be retrieved by the Details button. This
1342 functionality has not been implemented yet but it's in the works.
1344 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
1345 the LayoutGroup result to ListView.setCellTable instead of all of its
1346 fields individually.
1347 * src/main/java/org/glom/web/client/ui/ListView.java:
1348 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
1349 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
1350 get the primary key for the table.
1351 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1352 index of the primary key in the LayoutGroup accounting for hidden
1353 primary keys. Rename getJavaNumberFormat() to
1354 convertToJavaNumberFormat() for consistency. Cleanup / add some
1356 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
1357 field for primary key index and a field to indicate whether the
1358 primary key is hidden or not.
1360 2011-06-23 Ben Konrath <ben@bagu.org>
1362 Rename getTableData methods to getListData.
1364 This is a rename refactor for consistency with other methods.
1366 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1367 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1368 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1369 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1371 2011-06-23 Ben Konrath <ben@bagu.org>
1373 Extract the ConfiguredDocument innerclass into its own class.
1375 This makes the servlet code more object oriented.
1377 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1378 from private ConfiguredDocument class in OnlineGlomServiceImpl.
1379 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1380 new ConfiguredDocument class.
1382 2011-06-21 Ben Konrath <ben@bagu.org>
1384 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1386 This makes things more inline with how libglom works and reduces code
1387 duplication. This refactor lays the groundwork for adding the primary key to
1388 the LayoutGroup object.
1390 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1391 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1392 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1393 Change method names to getListLayout and getDefaultListLayout for
1394 consistency. Use LayoutGroup as the DTO for the list layout instead of
1395 ColumnInfo and LayoutListTable.
1396 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1397 new method names along with the LayoutGroup object for transferring the
1399 * src/main/java/org/glom/web/client/ui/ListView.java:
1400 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1401 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1402 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1404 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1405 Replaced with LayoutGroup.
1406 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1407 expectedResultSize and defaultTableName fields which are needed for
1409 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1410 type field which is needed for the list layout but will also be
1411 useful for the details layout as things progress.
1412 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1413 Make class abstract. Remove the unnecessary
1414 getFormattingHorizontalAlignment method. Add setFormatting method.
1416 2011-06-16 Ben Konrath <ben@bagu.org>
1418 Add scripts for building and installing war.
1420 These will help when updating OnlineGlom but they're also good
1421 supplemental documentation of the build and deployment proceeding.
1423 * utils/build-onlineglom-war.sh: New file.
1424 * utils/install-onlineglom-war.sh: New file.
1426 2011-06-16 Ben Konrath <ben@bagu.org>
1428 Create wrapper class to create consistent log messages.
1430 I wrapped methods in the Log class of gwt-log to add the method names
1431 from the servlet and create consistent formatting of the document title
1432 and table names in the log messages.
1434 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1435 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1436 log methods to use methods from wrapped Log class.
1438 2011-06-16 Ben Konrath <ben@bagu.org>
1440 Remove superfluous conditional return.
1442 Thanks to Murray Cumming for pointing this out!
1444 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1446 2011-06-15 Ben Konrath <ben@bagu.org>
1448 Return an ArrayList of LayoutGroups for the Details layout.
1450 This corrects a problem with the details layout as it can have more
1451 than one top level LayoutGroup.
1453 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1454 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1455 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1456 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1457 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1458 with ArrayList of LayoutGroups for the details view layout.
1459 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1460 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1461 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1462 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1463 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1464 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1466 2011-06-14 Ben Konrath <ben@bagu.org>
1468 Use cast_dynamic method to determine the libglom LayoutItem type.
1470 This is better than finding the LayoutItem type by using the string
1471 returned from the get_part_type_name() method.
1473 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1475 2011-06-14 Ben Konrath <ben@bagu.org>
1477 Add method names to log entries in the servlet.
1479 This helps when tracking down deployment problems.
1481 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1483 2011-06-14 Ben Konrath <ben@bagu.org>
1485 Add data to the DetailsView using a hard-coded primary key value.
1487 The layout and functionality of the DetailsView is not complete. This
1488 is just a checkpoint so the patch doesn't get too big.
1490 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1491 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1492 Add getDetailsData() servlet method.
1493 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1494 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1495 LayoutFields are added to the DetailsView.
1496 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1497 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1498 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1499 take the string for the title instead of the object.
1500 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1501 Add implementation getDetailsData() along with some private helper
1503 * src/main/webapp/style.css: Add padding to details-data class. Add a
1504 details-label class with the same padding as the details-data class.
1506 2011-06-03 Ben Konrath <ben@bagu.org>
1508 Use presenter.goTo() to change to the DetailsPlace.
1510 This will make things easier when we need to open the DetailsView with
1511 data specific to the row that was clicked.
1513 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1515 2011-06-02 Ben Konrath <ben@bagu.org>
1517 Add CSS file from mockups.
1519 I'm adding this now because it's going to be useful to have when
1520 developing the DetailsView. The TableSelectionView and ListView aren't
1523 * src/main/webapp/OnlineGlom.html:
1524 * src/main/webapp/style.css:
1526 2011-06-02 Ben Konrath <ben@bagu.org>
1528 Use String.isEmpty() to check for empty string.
1530 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1532 2011-06-02 Ben Konrath <ben@bagu.org>
1534 Display main layout group titles in the DetailsView.
1536 This is the start of the DetailsActivity/DetailsView implementation.
1538 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1539 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1540 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1541 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1542 Get the layout information for the details view from the server and set
1543 the main layout group titles.
1544 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1545 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1546 Add addLayoutGroup() and addLayoutField() methods. This are just
1547 temporary methods for creating the the details view that will change
1549 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1550 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1552 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1553 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1554 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1555 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1556 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1557 Data Transfer Objects that mimic the libglom object structure. These are
1558 used for transferring the details layout but could also be used for
1559 transferring the list layout.
1561 2011-05-27 Ben Konrath <ben@bagu.org>
1563 Reset the AuthenticationPopup when clearing the ListView.
1565 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1567 2011-05-27 Ben Konrath <ben@bagu.org>
1569 Fix problem with onlineglom.properties file loading.
1571 The old way worked in Eclipse but not on the server. Loading the
1572 onlineglom.properties file now works in Eclipse and on the server.
1574 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1576 2011-05-24 Ben Konrath <ben@bagu.org>
1578 Update gwt-log from 3.1.0 to 3.1.2.
1580 Gwt-log 3.1.0 has been marked as depreciated.
1584 2011-05-24 Ben Konrath <ben@bagu.org>
1586 Add comment to ListActivity.goTo() method.
1588 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1590 2011-05-24 Ben Konrath <ben@bagu.org>
1592 Remove FIXME in convertGdkColorToHtmlColour()
1594 The Gdk::Color value returned by libglom is 16-bits per channel on both
1595 64 and 32-bit platforms.
1597 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1599 2011-05-19 Ben Konrath <ben@bagu.org>
1601 Improve performance of initial ListView load.
1603 I removed a round trip to the server for getting the default table name
1604 and then requesting information about that table. This also removes a potential
1605 problem with the table change handler not being setup in time to receive the
1606 table change event from the ListActivity.
1608 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1609 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1610 getDefaultLayoutListTable() method. Improve comments.
1611 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1612 getDefaultLayoutListTable() method instead of firing a table change
1613 event to get the table to load.
1614 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1615 implementation of getDefaultLayoutListTable() method.
1616 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1619 2011-05-19 Ben Konrath <ben@bagu.org>
1621 Override toDebugString() in TableChangeEvent.
1623 This is useful to have for debugging.
1625 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1627 2011-05-19 Ben Konrath <ben@bagu.org>
1629 Add a "Back to List" link when at the DetailsPlace.
1631 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1632 Populate the CellTable based on the selected table of the ListBox if
1633 it's set otherwise use the default table. This allows the "Back to
1635 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1636 Remove Place from constructors. Add a setPlace() method. Add
1637 goToPlace() method. Set class as presenter for TableSelectionView.
1638 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1639 Use the same TableSelectionActivity when switching between the List and
1641 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1642 Subclass the new HasSelectableTablePlace. This removes some duplicate
1644 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1645 New class to represent Places that display the TableSelectionView.
1646 * src/main/java/org/glom/web/client/place/ListPlace.java:
1647 Subclass the new HasSelectableTablePlace. This removes some duplicate
1649 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1650 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1651 Add Presenter interface. Add setBackLinkVisible() method. Add
1652 setBackLink() method.
1654 2011-05-18 Ben Konrath <ben@bagu.org>
1656 Enable the "Details" buttons.
1658 Right now only an empty details view is displayed.
1660 * src/main/java/org/glom/web/client/ClientFactory.java:
1661 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1662 Add DetailsView to ClientFactory.
1663 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1664 A basic activity for the details view.
1665 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1666 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1668 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1669 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1671 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1672 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1673 unnecessary super() in constructor.
1674 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1675 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1676 really shouldn't create a new TableSelectionActivity for both the ListPlace
1677 and the DetailsPlace so this should be considered a temporary solution.
1678 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1679 New file. Represents a URL for the details view.
1680 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1681 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1682 A basic details view interface and implementation.
1683 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1684 Enable the "Details" buttons.
1686 2011-05-12 Ben Konrath <ben@bagu.org>
1688 Use a LayoutPanel with multiple display areas for main layout.
1690 This is mostly a refactor in that there are no changes from the user
1691 point of view. These changes are required so that we can swap out the list view
1692 with the details view when the user clicks the "Details" button.
1694 * src/main/java/org/glom/web/client/ClientFactory.java:
1695 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1696 OnlineGlomView. Add TableSelectionView, ListView and
1697 AuthenticationPopup.
1698 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1699 for main layout. Add display regions for main activities. Add
1700 activity manager for for main activities.
1701 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1702 file from parts of the deleted OnlineGlomActivity.
1703 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1704 New file from parts of the deleted OnlineGlomActivity.
1705 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1706 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1707 New files for app wide table change event.
1708 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1709 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1710 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1711 Activity mappers for the main activities replace the deleted app-wide
1713 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1714 Fix a spelling error in he comment.
1715 * src/main/java/org/glom/web/client/ui/ListView.java:
1716 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1717 Renamed from LayoutListView and modified for MVP. This still not a
1718 proper dumb view as prescribed by the MVP pattern but it works for now.
1719 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1720 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1721 New widget stripped out of the deleted OnlineGlomView.
1722 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1723 Remove hack that is fixed by this patch.
1725 2011-05-06 Ben Konrath <ben@bagu.org>
1727 Rename OnlineGlomPlace to ListPlace.
1729 The only change besides the rename is that url will now display #list
1730 instead of #Document.
1732 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1733 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1734 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1735 * src/main/java/org/glom/web/client/place/ListPlace.java:
1736 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1738 2011-05-06 Ben Konrath <ben@bagu.org>
1740 Use Presenter for app navigation.
1742 This is the proper way to deal with Place (URL) changes with the MVP
1745 * src/main/java/org/glom/web/client/ClientFactory.java:
1746 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1747 PlaceHistoryMapper and PlaceHistoryHandler.
1748 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1749 PlaceHistoryMapper and PlaceHistoryHandler.
1750 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1751 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1752 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1753 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1754 Add Presenter interface and setPresenter methods. Rename addHyperLink
1755 to addDocumentLink taking only the document title as a parameter.
1757 2011-04-14 Ben Konrath <ben@bagu.org>
1759 Prompt for db username/password if they haven't been set.
1761 This is implemented with a popup widget that is contained within the
1762 OnlineGlomView and managed by the OnlineGlomActivity.
1764 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1765 methods for checking and setting the database username and password.
1766 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1767 new methods for checking and setting the database username and
1769 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1770 Display authentication popup if the JDBC connection to the database
1771 has not been authenticated.
1772 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1774 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1775 for dealing with the authentication popup.
1776 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1777 Implement the methods for dealing with the authentication popup.
1778 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1779 try to executed queries if the database connection hasn't been
1780 authenticated. Implement methods for checking and setting the
1781 database username and password.
1783 2011-04-12 Ben Konrath <ben@bagu.org>
1785 Make log messages a little clearer.
1787 Add a dash betweeen the document title and the table name.
1789 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1791 2011-04-12 Ben Konrath <ben@bagu.org>
1793 Protect against NPEs when cleaning up database resources.
1795 While this isn't strictly necessary because the exception is caught,
1796 not protecting against the NPEs makes it harder to find the real error
1799 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1801 2011-04-12 Ben Konrath <ben@bagu.org>
1803 Move configuration of the servlet to the constructor.
1805 The servlet will be initialized even if the database authentication
1806 information is not set or correct. I still need to add the UI for prompting
1807 the user for the authentication information when it's required.
1809 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1810 javadocs for getDocumentTitles() method.
1811 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1812 Set error message when RPC fails.
1813 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1814 glom files directory from the configuration file. Try to set the
1815 database authentication information for the specific document if it's
1816 set and works otherwise try to use the global authentication
1817 information set for the directory.
1818 * src/main/resources/onlineglom.properties: Moved from
1819 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1820 Added detailed comments for the new keys.
1822 2011-04-11 Ben Konrath <ben@bagu.org>
1824 Remove unnecessary @Override in DocumentSelectionViewImpl.
1826 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1828 2011-04-11 Ben Konrath <ben@bagu.org>
1830 Remove center alignment in DocumentSelectionView.
1832 The title element is still centred but the document titles and bottom
1833 sentence are both left-aligned.
1835 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1837 2011-04-11 Ben Konrath <ben@bagu.org>
1839 Change 'Demo' naming convention to 'Document'.
1841 This is just a rename refactor with no functional changes to the code.
1843 * src/main/java/org/glom/web/client/ClientFactory.java:
1844 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1845 * src/main/java/org/glom/web/client/OnlineGlom.java:
1846 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1847 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1848 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1849 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1850 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1851 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1852 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1853 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1854 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1855 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1857 2011-04-08 Ben Konrath <ben@bagu.org>
1859 Remove FIXME from safeLongToInt() method.
1861 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1864 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1866 2011-04-08 Ben Konrath <ben@bagu.org>
1868 Display an error if no glom documents are found in the specified directory.
1870 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1871 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1872 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1873 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1875 2011-04-08 Ben Konrath <ben@bagu.org>
1877 Add copyright header to one more file ... oops.
1879 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1881 2011-04-08 Ben Konrath <ben@bagu.org>
1883 Add copyright header to files without it.
1885 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1886 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1887 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1888 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1889 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1890 * src/main/java/org/glom/web/shared/GlomField.java:
1892 2011-04-08 Ben Konrath <ben@bagu.org>
1894 Add support for accessing multiple glom documents in the servlet.
1896 This completes the demo selection functionality.
1898 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1899 document title to methods.
1900 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1901 document title to methods.
1902 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1903 Set browser window title when the activity starts. Correct name of
1904 document title variable.
1905 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1906 Set browser window title when the activity starts. Set the table
1907 selector change handler after table selector has been set. Clear the
1908 OnlineGlomView when the activity has been stopped.
1909 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1910 document title as the place token. Use "#Document:" instead of
1911 "#OnlineGlomPlace:" in the URL.
1912 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1913 Change heading to "Online Glom"
1914 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1915 document title in RPC methods.
1916 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1917 setDocumentTitle() method. Add clear() method.
1918 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1919 setDocumentTitle() method. Implement clear() method which removes the
1920 change handler on the ListBox, clears the ListBox and clears the
1922 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1923 Implement methods with document title. Keep track for the configured
1924 glom documents and their corresponding JDBC configurations in a hash
1925 table. This information is retrieved using the document title as the
1926 key in the hash table.
1927 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1928 document title field as it's no longer needed.
1930 2011-04-08 Ben Konrath <ben@bagu.org>
1932 Update the Eclipse JDT configuration.
1934 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1935 methods. Automatically add the copyright header to new files.
1937 2011-04-05 Ben Konrath <ben@bagu.org>
1939 Add new page for demo selection.
1941 This patch adds all the components required to view and start an
1942 OnlineGlom demo by clicking on the desired hyperlink. The user is
1943 able to return to the demo selection page with the browser's back
1944 button. I still need to modify the servlet to work with multiple
1945 documents so all demo links will load the file defined in the
1946 OnlineGlom.properties.
1948 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1949 This is only useful during development so we don't need to save it.
1950 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1951 get a reference to the DemoSelectionView.
1952 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1953 method to get a reference to the DemoSelectionView.
1954 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1955 default view to DemoSelectionView.
1956 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1957 to get glom document titles for glom files in a hard-coded directory.
1958 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1959 method to get glom document titles for glom files in a hard-coded
1961 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1962 Presenter for DemoSelectionView.
1963 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1964 for DemoSelectionView.
1965 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1966 Update for DemoSelectionView.
1967 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1968 Basic 'Place' implementation for the DemoSelectionView.
1969 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1970 The interface for the DemoSelectionView.
1971 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1972 The implementation of the DemoSelectionView.
1973 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1974 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1975 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1976 implementation of method to get glom document titles for glom files
1977 in a hard-coded directory.
1978 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1979 on longer being used.
1980 * src/main/webapp/glom.png: Glom logo.
1982 2011-04-05 Ben Konrath <ben@bagu.org>
1984 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1986 This is the forth and final commit of a refactor that will allow
1987 OnlineGlom to be used with multiple documents.
1989 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1990 Move RPC code from OnlineGlomViewImpl to this class.
1991 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1993 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1994 RPC code to the presenter class (the P in MVP).
1996 2011-04-04 Ben Konrath <ben@bagu.org>
1998 Start moving the existing OnlineGlom code to MVP.
2000 This work is based on the GWT MVP framework that is documented here:
2002 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
2004 This is the third commit of a refactor that will allow OnlineGlom to
2005 be used with multiple documents.
2007 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
2008 Interface for client factory which is used to get instances of various
2009 classes throughout the app.
2010 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
2011 Implementation of client factory.
2012 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
2013 initialize the MVP framework.
2014 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
2015 New file. Activity manager for the main container widget. This is the
2017 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
2018 Maps place (URL) to its corresponding activity.
2019 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
2020 New file. This is just a place holder for a generated file.
2021 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
2022 New file. Represents the URL for the main Online Glom app.
2023 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
2024 for changes in LayoutListViewImpl.
2025 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
2026 interface for View. Move code to OnlineGlomViewImpl class.
2027 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
2028 file. Implementation of OnlineGlomView.
2029 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
2030 Place resources. Use ClientFactoryImpl by default.
2032 2011-04-04 Ben Konrath <ben@bagu.org>
2034 Move View classes to their own package.
2036 This is the second commit of a refactor that will allow OnlineGlom to
2037 be used with multiple documents.
2039 * src/main/java/org/glom/web/client/OnlineGlom.java:
2040 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
2041 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
2043 2011-04-02 Ben Konrath <ben@bagu.org>
2045 Move UI code from the main module to its own class.
2047 This is the first commit of a refactor that will allow OnlineGlom to be
2048 used with multiple documents.
2050 * src/main/java/org/glom/web/client/LayoutListView.java: Update
2051 references to OnlineGlom to OnlineGlomView.
2052 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
2053 OnlineGlomView and instantiate it here.
2054 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
2055 represents the main OnlineGlomView with one document.
2057 2011-04-01 Ben Konrath <ben@bagu.org>
2059 Fix formatting of gwt.xml and add DTD.
2061 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2063 2011-03-30 Ben Konrath <ben@bagu.org>
2065 Propperly convert gdkColor string to html colour string.
2067 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2069 2011-03-28 Ben Konrath <ben@bagu.org>
2071 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
2073 This implementation matches
2074 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
2075 readable and is not tied to Swig.
2077 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2079 2011-03-28 Ben Konrath <ben@bagu.org>
2081 Use read-only checkboxes for boolean field types.
2083 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
2084 in the CellTable based on the field type. It currently only
2085 distinguishes between boolean and text columns but I'll need to add
2086 support for more types.
2087 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
2088 column type in the ColumnInfo object. Add method to convert between the
2089 glom field type enum in ColumnInfo and the glom field type in libglom.
2090 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
2092 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
2093 getting and setting booleans.
2095 2011-03-25 Ben Konrath <ben@bagu.org>
2097 Don't get the Date twice from the ResultSet.
2099 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2101 2011-03-25 Ben Konrath <ben@bagu.org>
2103 Cleanup code in the servlet.
2105 * TODO: Remove item about row count. Add item about testing row count
2106 query with large number of rows.
2107 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
2108 spelling mistakes, change method parameter to be consistent with
2111 2011-03-25 Ben Konrath <ben@bagu.org>
2113 Add server side logging with the gwt-log library.
2115 * .gitignore: Ignore the log file we're now producing.
2116 * TODO: Add a couple TODO item for logging.
2117 * pom.xml: Add gwt-log and log4j as a dependency.
2118 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2119 logging of errors, warnings and some important info.
2120 * src/main/resources/log4j.properties: New file to configure log4j.
2122 2011-03-24 Ben Konrath <ben@bagu.org>
2124 Add a disable button for the Details view.
2126 * src/main/java/org/glom/web/client/LayoutListView.java:
2128 2011-03-22 Ben Konrath <ben@bagu.org>
2130 Use a count query to get the number of rows for the list view pager.
2132 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2134 2011-03-22 Ben Konrath <ben@bagu.org>
2136 Add more TODO information about CellTable pager positioning.
2140 2011-03-19 Ben Konrath <ben@bagu.org>
2142 Add TODO item about CellTable pager positioning.
2146 2011-03-18 Ben Konrath <ben@bagu.org>
2148 Remove unneeded GlomFieldColumn class.
2150 This is just a small code cleanup.
2152 * src/main/java/org/glom/web/client/LayoutListView.java:
2154 2011-03-18 Ben Konrath <ben@bagu.org>
2156 Use cursor mode in the query that gets data for the list view.
2158 I still need to fix the potential memory problem when getting the row
2159 count for the list view.
2161 * TODO: Add note about testing memory usage with large data sets. Add
2162 item about fixing row counting with large data sets.
2163 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
2164 PostgreSQL JDBC driver into cursor mode when getting data for the
2167 2011-03-15 Ben Konrath <ben@bagu.org>
2169 Remove the GWT Container from the Eclipse build classpath.
2171 The GWT dependencies are set by Maven so this isn't needed.
2175 2011-03-15 Murray Cumming <murrayc@murrayc.com>
2177 Added some earlier mockups to git, but not to the tarball dist.
2179 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
2180 Openismus. These hopefully show how we might structure the HTML so that
2181 it can be styled easily with CSS. However, we probably need to adapt them
2182 for the CSS structure that GWT dictates for common widgets.
2184 2011-03-14 Ben Konrath <ben@bagu.org>
2186 Locate OnlineGlom.properties using the ServletContext.
2188 This is required to be able to locate the file in the deployed servlet.
2190 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2191 Configure the database and glom document in in a helper method so
2192 that the ServletContext can be used to locate OnlineGlom.properties.
2193 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
2194 src/main/webapp. This is the proper location for .properites files.
2196 2011-03-12 Ben Konrath <ben@bagu.org>
2198 Add note to README about why we're compiling down to obfuscated JavaScript.
2202 2011-03-11 Ben Konrath <ben@bagu.org>
2204 Use properties file to configure servlet.
2206 This allows people to change the glom file path, db username and db
2207 password without recompiling the code.
2209 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2210 * src/main/webapp/OnlineGlom.properties:
2212 2011-03-11 Ben Konrath <ben@bagu.org>
2214 Use table fields in layout list view if the layout list is not defined.
2216 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2217 Manually create a LayoutFieldVector for the query builder using the
2218 table fields when a layout list is not defined in the glom file.
2220 2011-03-11 Ben Konrath <ben@bagu.org>
2222 Only show FIXME string for images when there's an image.
2224 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
2225 in this change are some small code cleanups.
2227 2011-03-11 Ben Konrath <ben@bagu.org>
2229 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
2231 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2233 2011-03-11 Ben Konrath <ben@bagu.org>
2235 Correctly set the index of the default table.
2237 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2238 Correctly set the index of the default table. Add commented out example
2241 2011-03-10 Ben Konrath <ben@bagu.org>
2243 Add comment to pom.xml about the previous change.
2245 * pom.xml: Add comment about the deployment issue so that it's obvious
2246 why java-libglom is set to the provided scope.
2248 2011-03-10 Ben Konrath <ben@bagu.org>
2250 Change java-libglom dependency from compile to provided in pom.xml.
2252 Since java-libglom uses jni it can only be loaded once and therefore
2253 must be placed in $CATALINA_HOME/lib and not included in each war.
2254 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
2255 More information about this issue can be found in the Tomcat 6 release
2256 notes in the "JNI Based Applications" section:
2258 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
2260 * README: Remove note about this issue. Deployment info should really
2261 be on the wiki anyway so I'll add it right now.
2262 * pom.xml: Change java-libglom dependency from compile to provided so
2263 that it's copied in to the packaged war.
2265 2011-03-09 Ben Konrath <ben@bagu.org>
2267 Change to using a neutral locale for currency, date and time formatting.
2269 This solves the problem of currency values being represented without a
2270 space between the currency code and the number (e.g. "EUR5.89" is now
2271 represented as "EUR 5.89"). More work is required when we implement
2272 a locale preference setting.
2274 * TODO: Add note about currency formatting issues with different
2276 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2277 to using the neutral ROOT locale.
2279 2011-03-09 Ben Konrath <ben@bagu.org>
2281 Add support for currency codes that are not ISO 4217 codes.
2283 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2284 the currency code defined in the glom file when it's not 3 characters
2285 long or when Java doesn't recognize the string as an ISO 4217 code.
2287 2011-03-08 Ben Konrath <ben@bagu.org>
2289 Remove test classes, launch configurations and configuration.
2291 The test stuff was getting in the way when creating the war. To make
2292 the war file you can now do 'mvn clean package'. The packaged war file
2293 will be in the target directory.
2295 * .classpath: Remove unused classpathentry for tests and i18n.
2296 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
2297 property. Don't run test or i18n goals when packaging the war.
2298 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
2303 * OnlineGlomTest-dev.launch:
2304 * OnlineGlomTest-prod.launch:
2305 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
2306 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2308 2011-03-07 Ben Konrath <ben@bagu.org>
2310 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
2312 These fixes allow me to use 'mvn deploy' to create the war file.
2314 * .classpath: This generated config has been updated by Eclipse. This
2315 change was probably triggered by me updating from Eclipse 3.6.1 to
2317 * .gitignore: Add entry to ignore the directory
2318 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
2319 * .project: The generated config has been updated by Eclipse. This
2320 change was probably triggered by me updating from Eclipse 3.6.1 to
2322 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
2323 so that Eclipse doesn't complain
2324 * pom.xml: Update to gwt-maven-plugin 2.2.0.
2325 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
2326 'tests' directory to 'client' directory. This is the new
2327 gwt-maven-plugin convension.
2328 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
2329 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
2331 2011-03-07 Ben Konrath <ben@bagu.org>
2333 Add support for horizontal alignment in the LayoutList columns.
2335 * TODO: Remove item about horizontal alignment. Add item about
2336 improvements to ColumnInfo.
2337 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
2338 alignment on the columns. Use ColumnInfo RPC object get the column
2339 title and horizontal alignment.
2340 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2341 LayoutListView creation with ColumnInfo RPC object.
2342 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
2343 a ColumnInfo object for every LayoutList columnn. Convert the
2344 FieldFormatting.HorizontalAlignment to the correct
2345 ColumnnInfo.HorizontatlAlignment with the new
2346 getColumnInfoHorizontalAlignment helper method.
2347 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
2348 to encapsulate column information like alignment and title. This
2349 could be used to set the colour instead of on a per cell field basis.
2350 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
2351 column title storage and retrieval with ColumnInfo.
2353 2011-03-04 Ben Konrath <ben@bagu.org>
2355 Add support for column sorting.
2357 * src/main/java/org/glom/web/client/LayoutListView.java: Change
2358 AsynDataProvider to be an anonymous inner class. Use new
2359 getSortedTableData RPC method when column sort is requested. Set all
2360 columns sortable and add an AsyncHandler to activate sorting in the
2362 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
2363 method getSortedTableData(). Cleanup other method signatures.
2364 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
2365 new method getSortedTableData(). Cleanup other method signatures.
2366 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2367 Implement getSortedTableData() and getTableData() methods by using a
2368 private helper method with the appropriate parameters filled in. Use
2369 user supplied sort clause when supplied, otherwise fall back to
2370 sorting by the primary key. Move destroy() method to be underneath
2371 constructor for readability. Cleanup comments.
2373 2011-03-03 Ben Konrath <ben@bagu.org>
2375 Add support for colour text and colour backgrounds to the layout list cells.
2377 Only the cell backgrounds are coloured which leaves a gap between the
2378 cells that isn't coloured. I need to figure out a way to set
2379 'style=background-colour:' on the whole column rather than just the
2382 * TODO: Add a note about colouring the background of the whole column.
2383 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2384 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2385 render the coloured text and backgrounds. Use GlomField[] for the row type.
2386 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2388 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2389 GlomField[] for the row type.
2390 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2391 GlomField[] for the row type. Set the text, text colour and background
2392 colour in the GlomField objects as specified in the glom document. Add
2393 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2394 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2395 the glom field text, foreground colour and background colour.
2397 2011-03-02 Ben Konrath <ben@bagu.org>
2399 Don't display hidden tables in the combo box.
2401 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2404 code to ignore hidden tables using ArrayLists for the table names and
2406 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2407 tableNames to use ArrayLists instead of String[]. Update getter and setter
2410 2011-03-01 Ben Konrath <ben@bagu.org>
2412 Add support for Date and Time number types.
2414 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2415 Implement formatting for Date and Time values. Change the default glom
2416 file to small business example.
2418 2011-03-01 Ben Konrath <ben@bagu.org>
2420 Add support for formatting glom types as specified in the glom file.
2422 Formatting isn't finished yet - I still need to add support for Date
2425 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2426 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2427 checks for null values in JDBC cleanup code and catch all exceptions
2428 instead of just SQLExceptions.
2429 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2432 2011-03-01 Ben Konrath <ben@bagu.org>
2434 Use GWT 2.2.0 instead of 2.1.1.
2436 * pom.xml: Change GWT version numbers.
2438 2011-03-01 Ben Konrath <ben@bagu.org>
2440 A few small code cleanups.
2442 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2444 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2445 unnecessary object creation in constructor.
2446 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2447 unnecessary object creation in constructor.
2449 2011-02-28 Ben Konrath <ben@bagu.org>
2451 Add file for TODO list.
2455 2011-02-18 Ben Konrath <ben@bagu.org>
2457 Enable the CellTable Pager when more than 20 rows need to be viewed.
2459 The Pager will automatically become active when the results are larger
2460 than the CellTable size which is currently set to 20 lines.
2462 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2463 name on debug statment in RPC call in LayoutListDataProvider, add
2464 numRows parameter to LayoutListView constructor, propperly set rowCount
2466 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2467 name on debug statment in RPC call, use LayoutListTable object in RPC
2468 calls, pass rowCount to LayoutListView.
2469 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2470 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2472 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2473 interface for changes in OnlineGlomService.
2474 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2475 getLayoutListHeaders() to getLayoutListTable() and return
2476 LayoutListTable. Using this object allows me to pass other information
2477 about the LayoutList like the expected number of rows in the result set.
2478 The Connection object from the connection pool is now propperly closed.
2479 Only the requested number of lines are returned to the client in
2481 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2482 GlomTable and add columnTitles and numRows.
2484 2011-02-18 Ben Konrath <ben@bagu.org>
2486 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2488 This is a small performance boost. I'll use GlomTable to get the required
2489 layoutlist information.
2491 * src/main/java/org/glom/web/client/OnlineGlom.java:
2492 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2493 * src/main/java/org/glom/web/shared/GlomDocument.java:
2495 2011-02-18 Ben Konrath <ben@bagu.org>
2497 Add option to turn off formatting in JDT formatter preferences.
2499 * .settings/org.eclipse.jdt.core.prefs:
2501 2011-02-18 Ben Konrath <ben@bagu.org>
2503 Rename LayoutList to LayoutListView.
2505 I'm working towards setting things up to easily use MVP when the time
2508 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2510 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2513 2011-02-17 Ben Konrath <ben@bagu.org>
2515 Move LayoutListDataProvider class into LayoutList.java.
2517 * src/main/java/org/glom/web/client/LayoutList.java:
2519 2011-02-17 Ben Konrath <ben@bagu.org>
2521 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2523 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2525 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2526 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2527 from LibGlomServer.java.
2528 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2529 Rename from LibGlomServiceAsync.java.
2530 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2531 Rename from LibGlomServiceImpl.java.
2532 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2534 2011-02-17 Ben Konrath <ben@bagu.org>
2536 Update JDT settings.
2538 * .settings/org.eclipse.jdt.core.prefs:
2540 2011-02-17 Ben Konrath <ben@bagu.org>
2542 Move GWT-RPC objects to shared package (where they should be).
2544 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2545 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2546 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2547 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2548 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2549 org.glom.web.shared package.
2550 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2551 org.glom.web.shared package.
2552 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2553 directory in compilation to javascript.
2555 2011-02-16 Ben Konrath <ben@bagu.org>
2557 Add sort clause to the sql query that grabs table information.
2559 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2560 if one of the columns is a primary key.
2562 2011-02-16 Ben Konrath <ben@bagu.org>
2564 Disable generateAsync feature of gwt-maven.
2566 The generated interface does not correctly match the methods in LibGlomService
2567 and the generated singleton Util inner-class doesn't respect the servlet
2570 * pom.xml: Turn off generateAsync feature.
2571 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2572 with singleton Util inner-class.
2574 2011-02-14 Ben Konrath <ben@bagu.org>
2576 Add LGPL v3 licence notices.
2578 Followed directions listed here:
2579 http://www.gnu.org/licenses/gpl-howto.html
2581 * COPYING: This file is a copy of the GPL v3.
2582 * COPYING.LESSER: This file is a copy of the LGPL v3.
2583 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2585 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2587 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2589 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2591 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2593 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2595 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2598 2011-02-14 Ben Konrath <ben@bagu.org>
2600 Use ArrayList instead of Array in GWT-RPC calls.
2602 Apparently this gives a slight performance boost to the compiled
2605 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2607 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2610 2011-02-14 Ben Konrath <ben@bagu.org>
2612 Access data from a postgres db rather than the example glom file.
2614 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2615 compile down to obfuscated javascript.
2616 * pom.xml: Add c3p0 and postgres JDBC libraries.
2617 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2618 using a postgres db accessed through the c3p0 connection pooling library.
2620 2011-02-14 Ben Konrath <ben@bagu.org>
2622 Update Java formatter settings.
2624 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2626 2011-02-02 Ben Konrath <ben@bagu.org>
2628 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2630 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2632 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2633 the compiled webapp directory that Eclipse uses as we're using Maven now.
2634 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2635 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2637 * pom.xml: Format file, change target Java version to 1.6.
2639 2011-02-02 Ben Konrath <ben@bagu.org>
2641 Add information about a deployment related issue.
2643 * README: Add Notes section with the problem outlined.
2645 2011-02-02 Ben Konrath <ben@bagu.org>
2647 Call Glom.libglom_deinit() when the servlet is shutdown.
2649 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2650 Glom.libglom_deinit() to destroy() method.
2652 2011-01-28 Ben Konrath <ben@bagu.org>
2654 Use generated Util class to get the RPC Async interface.
2656 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2658 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2659 getInstance() method to get a reference to the RPC Async interface.
2660 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2661 getInstance() method to get a reference to the RPC Async interface, remove
2662 the now unused getLibGlomServiceProxy() method.
2664 2011-01-27 Ben Konrath <ben@bagu.org>
2666 Cleanup ChangeLog entry from previous commit.
2668 * ChangeLog: Group logical changes together and add comments.
2670 2011-01-25 Ben Konrath <ben@bagu.org>
2672 Convert to gwt-maven project.
2674 * .gitignore: Update for new project structure.
2675 * README: New file with a link to the online documentation.
2676 * pom.xml: The generated maven configuration file with some tweaks.
2678 Add / update Eclipse settings. These files are a merge of the files that
2679 were generated with the gwt-maven plugin and the files we were previously
2683 * .settings/.jsdtscope:
2684 * .settings/com.google.gdt.eclipse.core.prefs:
2685 * .settings/com.google.gwt.eclipse.core.prefs:
2686 * .settings/org.eclipse.jdt.core.prefs:
2687 * .settings/org.eclipse.wst.common.component:
2688 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2689 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2690 * .settings/org.maven.ide.eclipse.prefs:
2691 * OnlineGlomTest-dev.launch:
2692 * OnlineGlomTest-prod.launch:
2694 Java source files moved from the 'src' directory to the directory structure
2696 * src/main/java/org/glom/web/client/GlomDocument.java:
2697 * src/main/java/org/glom/web/client/GlomTable.java:
2698 * src/main/java/org/glom/web/client/LayoutList.java:
2699 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2700 * src/main/java/org/glom/web/client/LibGlomService.java:
2701 * src/main/java/org/glom/web/client/OnlineGlom.java:
2702 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2704 Non-functional property file used for translations. I included this as
2705 reminder that it's something I need to sort out.
2706 * src/main/resources/org/glom/web/client/Messages.properties:
2708 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2709 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2711 The servlet configuration files moved from the 'war' directory.
2712 * src/main/webapp/OnlineGlom.css:
2713 * src/main/webapp/OnlineGlom.html:
2714 * src/main/webapp/WEB-INF/web.xml:
2716 Generated test files with most of the code commented out. I included these
2717 so that it's easy to add tests when we're ready for them.
2718 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2719 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2721 2011-01-25 Ben Konrath <ben@bagu.org>
2723 Remove unused println.
2725 * src/org/glom/web/server/LibGlomServiceImpl.java:
2727 2011-01-25 Ben Konrath <ben@bagu.org>
2729 Add project specific JDT settings.
2731 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2732 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2734 2011-01-25 Ben Konrath <ben@bagu.org>
2736 Populate celltable with example data.
2738 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2739 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2740 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2741 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2742 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2743 asynchronously gets the example data.
2744 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2745 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2746 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2747 curently selected table to be retrieved by other widgets.
2748 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2749 implement getTableData() in a hacky way. This method needs to be updated
2750 to grab information from the database when database creating is
2753 2011-01-20 Ben Konrath <ben@bagu.org>
2755 Set table headers when table dropBox changes.
2757 * src/org/glom/web/client/GlomDocument.java: Correct some method
2759 * src/org/glom/web/client/LibGlomService.java: Add method
2760 to get list layout field names.
2761 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2762 to get list layout field names.
2763 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2764 widget for list layout table.
2765 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2766 the table drop box and add new updateTable() method to asynchronously
2767 get the layout list field names for the currently selected table.
2768 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2769 implementation of getLayoutListHeaders() method.
2770 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2772 2011-01-18 Ben Konrath <ben@bagu.org>
2774 Make a listBox with table titles instead of the flexTable demo.
2776 This is the start of something more useful.
2778 * .classpath: Exclude a bunch of packages from the JVM that are
2779 getting in the way of the Eclipse content assist.
2780 * src/org/glom/web/client/GlomDocument.java:
2781 * src/org/glom/web/client/GlomTable.java:
2782 * src/org/glom/web/client/LibGlomService.java:
2783 * src/org/glom/web/client/LibGlomServiceAsync.java:
2784 * src/org/glom/web/client/OnlineGlom.java:
2785 * src/org/glom/web/server/LibGlomServiceImpl.java:
2786 * war/OnlineGlom.html:
2787 * war/WEB-INF/web.xml:
2789 211-01-13 Ben Konrath <ben@bagu.org>
2791 Update to new java-libglom API.
2793 * .gitignore: Ignore OnlineGlom.war.
2794 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2796 2010-12-20 Ben Konrath <ben@bagu.org>
2798 Add some basic style to the table listing.
2800 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2801 header, print useful error message on async callback failure.
2802 * war/OnlineGlom.css: Add style for table header, remove defaults
2803 provided by the Eclipse project wizard.
2805 2010-12-20 Ben Konrath <ben@bagu.org>
2807 Load example file from installed glom dir.
2809 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2810 provided by java-libglom to find the example file.
2812 2010-12-20 Ben Konrath <ben@bagu.org>
2814 Update Eclipse settings.
2817 * .settings/com.google.gdt.eclipse.core.prefs:
2818 * .settings/com.google.gwt.eclipse.core.prefs:
2820 2010-12-17 Ben Konrath <ben@bagu.org>
2824 * .classpath: New file.
2825 * .gitignore: New file.
2826 * .project: New file.
2827 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2828 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2829 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2830 * src/org/glom/web/client/GlomTable.java: New file.
2831 * src/org/glom/web/client/OnlineGlom.java: New file.
2832 * src/org/glom/web/client/TableNameService.java: New file.
2833 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2834 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2835 * war/OnlineGlom.css: New file.
2836 * war/OnlineGlom.html: New file.
2837 * war/WEB-INF/web.xml: New file.
2838 * war/images/glom.png: New file.