1 2011-08-25 Ben Konrath <ben@bagu.org>
3 Add NavigationType enum to LayoutItemPortal DTO.
5 This is the start of adding support for Portals to the Details View.
7 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
8 LayoutItem_Portal.navigation_type enum from libglom to
9 LayoutItemPortal.NavigationType enum.
10 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
11 NavigationType enum, field for storing the NavigationType and getter
14 2011-08-25 Ben Konrath <ben@bagu.org>
16 Implement the flow table layout in the Details View.
18 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
19 FlowTable to Group to account for the renamed class.
20 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
21 File. This is a container widget that implements the Glom details view
23 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
24 org/glom/web/client/ui/FlowTable.java.
25 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
26 so that the size of the subgroups are a closer match to the size of
27 the Glom subgroups. This makes the flowtable layout match the layout
28 in Glom for the Music Collection example file.
30 2011-08-16 Ben Konrath <ben@bagu.org>
32 Create container element for LayoutItemPortal in Details View.
34 This will help me develop the layout for the FlowTable.
36 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
37 fieldPanel variable to detailsCell.
39 2011-08-15 Ben Konrath <ben@bagu.org>
41 Set the height of the data element in the Details View.
43 I changed the InlineLabels (text in a span element) to Labels (text in
44 a div element) so that I could set the height of the details-data
45 elements instead of the details-cell parent elements. This allows the
46 the details-data element to display the correct height if style is
47 applied that shows the height.
49 This change has the added benefit of allowing the order of the labels
50 and data elements to be changed for right-to-left languages.
52 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
53 InlineLabels to Labels.
54 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
55 InlineLabels to Labels. Set the height of the data element.
56 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
57 multiline text height in the Formatting DTO.
58 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
59 for multiline height along with getter and setter methods.
60 * src/main/webapp/style.css: Adjust style to account for the change
61 from span elements to div elements in the details cell.
63 2011-08-15 Ben Konrath <ben@bagu.org>
65 Make the List View appearance match the mockups.
67 It doesn't match exactly but it's much better than it was.
69 * mockups/listview-contacts.html: Remove unused css classes.
70 * mockups/listview-projects.html: Remove unused css classes.
71 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
72 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
73 for mainPanel instead of VerticalPanel (table). Set style name on
74 CellTable. Set style name on Details column. Right-align Details
76 * src/main/webapp/style.css: Adjust properties to match the mockups.
78 2011-08-12 Ben Konrath <ben@bagu.org>
80 Add better support for subgroups in the details view.
82 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
83 changed FlowTable constructor.
84 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
85 support for subgroups and subgroup-titles.
86 * src/main/webapp/style.css: Add CSS class for subgroups and
89 2011-08-12 Ben Konrath <ben@bagu.org>
91 Return the top level LayoutGroup title.
93 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
95 2011-08-11 Ben Konrath <ben@bagu.org>
97 Make the TableSelector header match the mockup.
99 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
100 the layout panel. Properly lineup the table selection header with
101 the list and details view.
102 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
103 margin around the details view.
104 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
105 Rename listBox variable to tableSelector. Set id for the style sheet.
106 Use a FlowPanel instead of a HorizontalPanel.
107 * src/main/webapp/style.css: Add properties to make the TableSelector
108 box match the mockups.
110 2011-07-13 Ben Konrath <ben@bagu.org>
112 Update install script for java-libglom version change.
114 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
117 2011-07-13 Ben Konrath <ben@bagu.org>
119 Add support sub-group in the details view.
121 I also removed the code that special-cased the default details view
124 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
126 I still have to make a proper flowtable.
128 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
129 Don't special-case default details view layout.
130 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
131 addLayoutField() as I'm going to use it.
132 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
133 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
135 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
136 extracted from DetailsViewImpl.GroupPanel. Add support for
138 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
139 column count when getting the details layout.
141 2011-07-12 Ben Konrath <ben@bagu.org>
143 Set browser title with database and table titles.
145 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
146 Set the browser title when the table changes and when the activity
148 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
149 title when retrieving document info (the GlomDocument object).
150 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
151 with getter and setter methods. Remove unused convenience constructor.
152 Use default code formatting.
154 2011-07-12 Ben Konrath <ben@bagu.org>
156 Ignore LayoutItemPortals in the details view.
158 I added a new DTO for the LayoutItemPortal so that I can ignore it in
161 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
162 LayoutItemPortal layout objects.
163 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
164 LayoutItemPortal objects when retrieving the details layout.
165 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
166 file. This is an empty class and just used to get type information for
169 2011-07-12 Ben Konrath <ben@bagu.org>
171 Use java-libglom 1.17.0.
175 2011-07-11 Ben Konrath <ben@bagu.org>
177 Remove "Table:" label from table selector.
179 This matches a recent change in the Glom UI.
181 * mockups/details-contacts.html:
182 * mockups/details-projects.html:
183 * mockups/listview-contacts.html:
184 * mockups/listview-projects.html: Remove the "Table:" label from the
186 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
188 2011-07-11 Ben Konrath <ben@bagu.org>
190 Add main groups to the details view.
192 This makes things look a little nicer in the details view. The next step
193 is to implement the flowtable.
195 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
196 resources from the standard gwt css theme. Standard.css is now
197 included in OnlineGlom.html so that the online glom css rules have
198 precedence over the gwt theme.
199 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
200 the whole LayoutGroup to the DetailsView instead of just the titles.
201 * src/main/java/org/glom/web/client/ui/DetailsView.java:
202 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
203 details layout with a helper class (GroupPanel). I might extract this
204 class when I make the full flowtable.
205 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
206 string as default so I don't have to worry about NPEs when processing
208 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
209 note beside OnlineGlom.gwt.xml above).
210 * src/main/webapp/style.css: Add default font-size to body to override
211 the font-size set by the standard theme. Don't use h2 tags for
212 group-title. Create new details-cell class.
214 2011-07-08 Murray Cumming <murrayc@murrayc.com>
216 ConfiguredDocument: Set the port number too.
218 * src/main/java/org/glom/web/server/ConfiguredDocument.java
219 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
220 Glom document. Presumably this worked sometimes so far because there is a
223 2011-07-08 Murray Cumming <murrayc@murrayc.com>
225 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
227 * src/main/java/org/glom/web/server/ConfiguredDocument.java
228 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
229 correct, though we should throw an exception too.
231 2011-07-08 Murray Cumming <murrayc@murrayc.com>
233 Fix a addDocuemnt typo.
235 * src/main/java/org/glom/web/shared/Documents.java
236 (Documents.addDocuemnt): Rename to addDocument().
237 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
238 (OnlineGlomServiceImpl.getDocuments): Adapt.
240 2011-07-08 Murray Cumming <murrayc@murrayc.com>
242 Slightly improved log output when connection fails.
244 * src/main/java/org/glom/web/server/ConfiguredDocument.java
245 (ConfiguredDocument.setUsernameAndPassword):
246 We don't know for sure if it' the username/password that's wrong, so
247 rephrase the message.
248 Also ouput the exception message, though it's generic in this case.
250 2011-07-08 Ben Konrath <ben@bagu.org>
254 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
255 added braces to a one line if statement because the Eclipse formatter
256 was getting confused.
258 2011-07-07 Ben Konrath <ben@bagu.org>
260 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
262 These should really be two separate tasks but I counldn't get things to
263 work with GWT 2.2.0 and Eclipse 3.7.
267 * .settings/org.eclipse.jdt.core.prefs:
268 * .settings/org.eclipse.jdt.ui.prefs:
269 * .settings/org.eclipse.ltk.core.refactoring.prefs:
270 * .settings/org.eclipse.m2e.core.prefs:
271 Add new config files. Update current files. Remove references to the
272 webtools plugins as we're not using any of the webtools features.
273 * .gitignore: Add logs directory which is created when running with
275 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
276 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
277 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
279 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
281 2011-07-07 Murray Cumming <murrayc@murrayc.com>
283 onlineglom.properties: Add explanatory comments.
285 * src/main/resources/onlineglom.properties: Also change the default user
286 from ben to someuser, to avoid the risk of people thinking we just
287 stupidly hard-coded a locale path, when they see that on stderr or in a log.
289 2011-06-28 Ben Konrath <ben@bagu.org>
291 Use filename in Log for incorrect passwords.
293 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
294 getFileName(String) method to get the filename from the URI.
296 2011-06-28 Ben Konrath <ben@bagu.org>
298 Add the table name to the URL token for the ListPlace.
300 This makes things consistent between the DetailsPlace and the
301 ListPlace. It also allows the the ListPlace to be bookmarked.
303 * src/main/java/org/glom/web/client/OnlineGlomService.java:
304 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
305 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
306 Remove getDefaultListLayout(). The default layout is now returned
307 by the getListLayout() method when the table name is an empty string.
308 * src/main/java/org/glom/web/client/activity/ListActivity.java:
309 Add table name field. Change to a new ListPlace when the table
310 has been changed. Use getListLayout() for getting the default
312 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
313 Add table name field. Set the correct table name in the list box
314 when loading from bookmark. This corrects a problem for the
316 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
317 Move table name to super-class (HasSelectableTable). Move document
318 and table URL keys to super-class in HasSelectableTable.
319 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
320 Add table name field. Add Tokenizer class with URL key common to
321 the subclasses (DetailsPlace and ListPlace).
322 * src/main/java/org/glom/web/client/place/ListPlace.java:
323 Add table name. Add code to parse the URL token.
324 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
325 Update ListPlace construction with empty table name string.
326 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
327 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
328 Change setTableSelectedIndex(int) to setSelectedTableName(String).
329 Update ListPlace construction with table name string.
330 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
331 Change defaultTableName field to tableName to reflect how it's now
332 used. Update the getter and setter methods.
334 2011-06-28 Ben Konrath <ben@bagu.org>
336 Enable the table selector in the DetailsView.
338 * src/main/java/org/glom/web/client/OnlineGlomService.java:
339 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
341 Remove getDefaultDetailsLayout(). The default layout is now returned
342 by the getDetailsLayout() method when the table name is an empty
344 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
345 event handler for table change event. Change to using
346 getDetailsLayout() for the default details layout.
347 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
349 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
350 when navigating to the details place.
352 2011-06-27 Ben Konrath <ben@bagu.org>
354 Use filename based unique document ID in URL and for RPC.
356 The document ID is the glom document name with spaces (' ') replaced
357 with pluses ('+') and without the .glom extension.
359 This change is mostly a string substitution of 'documentTitle' for
360 'documentID'. The only code change is the addition of a Documents DTO to get the
361 filename to document title mappings as indicated below.
363 * src/main/java/org/glom/web/client/OnlineGlomService.java:
364 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
365 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
366 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
367 Use Documents DTO to create the document links in the document
369 * src/main/java/org/glom/web/client/activity/ListActivity.java:
370 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
371 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
372 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
373 * src/main/java/org/glom/web/client/place/ListPlace.java:
374 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
375 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
376 * src/main/java/org/glom/web/client/ui/ListView.java:
377 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
378 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
379 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
380 * src/main/java/org/glom/web/server/Log.java:
381 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
382 getDocumentTitles() to getDocuments() and return the Documents DTO.
383 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
384 transferring the filename to document title mappings.
386 2011-06-25 Ben Konrath <ben@bagu.org>
388 Make the authentication popup work again.
390 This bug was introduced when I extracted ConfiguredDocument to its own class.
392 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
393 correct success / fail status in setUsernameAndPassword().
395 2011-06-25 Ben Konrath <ben@bagu.org>
397 Use filename as unique key for configuring database usernames and passwords.
399 This replaces the use of the Glom document title which could change
400 depending on the locale. Thanks to Murray Cumming for pointing out this
403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
404 * src/main/resources/onlineglom.properties:
406 2011-06-24 Ben Konrath <ben@bagu.org>
408 Pass primary key value to DetailsView.
410 This enables the DetailsView to load the correct data.
412 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
413 primary key value field and set in constructor. Pass primary key
414 value to getDetailsData().
415 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
416 variables for document title and primary key value.
417 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
418 key value to the DetailsPlace.
420 2011-06-24 Ben Konrath <ben@bagu.org>
422 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
424 This allows the primary key to be retrieved by the Details button. This
425 functionality has not been implemented yet but it's in the works.
427 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
428 the LayoutGroup result to ListView.setCellTable instead of all of its
430 * src/main/java/org/glom/web/client/ui/ListView.java:
431 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
432 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
433 get the primary key for the table.
434 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
435 index of the primary key in the LayoutGroup accounting for hidden
436 primary keys. Rename getJavaNumberFormat() to
437 convertToJavaNumberFormat() for consistency. Cleanup / add some
439 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
440 field for primary key index and a field to indicate whether the
441 primary key is hidden or not.
443 2011-06-23 Ben Konrath <ben@bagu.org>
445 Rename getTableData methods to getListData.
447 This is a rename refactor for consistency with other methods.
449 * src/main/java/org/glom/web/client/OnlineGlomService.java:
450 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
451 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
452 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
454 2011-06-23 Ben Konrath <ben@bagu.org>
456 Extract the ConfiguredDocument innerclass into its own class.
458 This makes the servlet code more object oriented.
460 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
461 from private ConfiguredDocument class in OnlineGlomServiceImpl.
462 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
463 new ConfiguredDocument class.
465 2011-06-21 Ben Konrath <ben@bagu.org>
467 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
469 This makes things more inline with how libglom works and reduces code
470 duplication. This refactor lays the groundwork for adding the primary key to
471 the LayoutGroup object.
473 * src/main/java/org/glom/web/client/OnlineGlomService.java:
474 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
475 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
476 Change method names to getListLayout and getDefaultListLayout for
477 consistency. Use LayoutGroup as the DTO for the list layout instead of
478 ColumnInfo and LayoutListTable.
479 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
480 new method names along with the LayoutGroup object for transferring the
482 * src/main/java/org/glom/web/client/ui/ListView.java:
483 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
484 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
485 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
487 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
488 Replaced with LayoutGroup.
489 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
490 expectedResultSize and defaultTableName fields which are needed for
492 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
493 type field which is needed for the list layout but will also be
494 useful for the details layout as things progress.
495 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
496 Make class abstract. Remove the unnecessary
497 getFormattingHorizontalAlignment method. Add setFormatting method.
499 2011-06-16 Ben Konrath <ben@bagu.org>
501 Add scripts for building and installing war.
503 These will help when updating OnlineGlom but they're also good
504 supplemental documentation of the build and deployment proceeding.
506 * utils/build-onlineglom-war.sh: New file.
507 * utils/install-onlineglom-war.sh: New file.
509 2011-06-16 Ben Konrath <ben@bagu.org>
511 Create wrapper class to create consistent log messages.
513 I wrapped methods in the Log class of gwt-log to add the method names
514 from the servlet and create consistent formatting of the document title
515 and table names in the log messages.
517 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
519 log methods to use methods from wrapped Log class.
521 2011-06-16 Ben Konrath <ben@bagu.org>
523 Remove superfluous conditional return.
525 Thanks to Murray Cumming for pointing this out!
527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
529 2011-06-15 Ben Konrath <ben@bagu.org>
531 Return an ArrayList of LayoutGroups for the Details layout.
533 This corrects a problem with the details layout as it can have more
534 than one top level LayoutGroup.
536 * src/main/java/org/glom/web/client/OnlineGlomService.java:
537 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
538 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
539 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
540 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
541 with ArrayList of LayoutGroups for the details view layout.
542 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
543 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
544 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
545 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
546 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
547 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
549 2011-06-14 Ben Konrath <ben@bagu.org>
551 Use cast_dynamic method to determine the libglom LayoutItem type.
553 This is better than finding the LayoutItem type by using the string
554 returned from the get_part_type_name() method.
556 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
558 2011-06-14 Ben Konrath <ben@bagu.org>
560 Add method names to log entries in the servlet.
562 This helps when tracking down deployment problems.
564 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
566 2011-06-14 Ben Konrath <ben@bagu.org>
568 Add data to the DetailsView using a hard-coded primary key value.
570 The layout and functionality of the DetailsView is not complete. This
571 is just a checkpoint so the patch doesn't get too big.
573 * src/main/java/org/glom/web/client/OnlineGlomService.java:
574 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
575 Add getDetailsData() servlet method.
576 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
577 Add RPC to getDetailsData(). Change the way the LayoutGroups and
578 LayoutFields are added to the DetailsView.
579 * src/main/java/org/glom/web/client/ui/DetailsView.java:
580 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
581 Add setData() method. Change addLayoutGroup() and addLayoutField() to
582 take the string for the title instead of the object.
583 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
584 Add implementation getDetailsData() along with some private helper
586 * src/main/webapp/style.css: Add padding to details-data class. Add a
587 details-label class with the same padding as the details-data class.
589 2011-06-03 Ben Konrath <ben@bagu.org>
591 Use presenter.goTo() to change to the DetailsPlace.
593 This will make things easier when we need to open the DetailsView with
594 data specific to the row that was clicked.
596 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
598 2011-06-02 Ben Konrath <ben@bagu.org>
600 Add CSS file from mockups.
602 I'm adding this now because it's going to be useful to have when
603 developing the DetailsView. The TableSelectionView and ListView aren't
606 * src/main/webapp/OnlineGlom.html:
607 * src/main/webapp/style.css:
609 2011-06-02 Ben Konrath <ben@bagu.org>
611 Use String.isEmpty() to check for empty string.
613 * src/main/java/org/glom/web/client/activity/ListActivity.java:
615 2011-06-02 Ben Konrath <ben@bagu.org>
617 Display main layout group titles in the DetailsView.
619 This is the start of the DetailsActivity/DetailsView implementation.
621 * src/main/java/org/glom/web/client/OnlineGlomService.java:
622 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
623 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
624 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
625 Get the layout information for the details view from the server and set
626 the main layout group titles.
627 * src/main/java/org/glom/web/client/ui/DetailsView.java:
628 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
629 Add addLayoutGroup() and addLayoutField() methods. This are just
630 temporary methods for creating the the details view that will change
632 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
633 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
635 * src/main/java/org/glom/web/shared/layout/Formatting.java:
636 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
637 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
638 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
639 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
640 Data Transfer Objects that mimic the libglom object structure. These are
641 used for transferring the details layout but could also be used for
642 transferring the list layout.
644 2011-05-27 Ben Konrath <ben@bagu.org>
646 Reset the AuthenticationPopup when clearing the ListView.
648 * src/main/java/org/glom/web/client/activity/ListActivity.java:
650 2011-05-27 Ben Konrath <ben@bagu.org>
652 Fix problem with onlineglom.properties file loading.
654 The old way worked in Eclipse but not on the server. Loading the
655 onlineglom.properties file now works in Eclipse and on the server.
657 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
659 2011-05-24 Ben Konrath <ben@bagu.org>
661 Update gwt-log from 3.1.0 to 3.1.2.
663 Gwt-log 3.1.0 has been marked as depreciated.
667 2011-05-24 Ben Konrath <ben@bagu.org>
669 Add comment to ListActivity.goTo() method.
671 * src/main/java/org/glom/web/client/activity/ListActivity.java:
673 2011-05-24 Ben Konrath <ben@bagu.org>
675 Remove FIXME in convertGdkColorToHtmlColour()
677 The Gdk::Color value returned by libglom is 16-bits per channel on both
678 64 and 32-bit platforms.
680 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
682 2011-05-19 Ben Konrath <ben@bagu.org>
684 Improve performance of initial ListView load.
686 I removed a round trip to the server for getting the default table name
687 and then requesting information about that table. This also removes a potential
688 problem with the table change handler not being setup in time to receive the
689 table change event from the ListActivity.
691 * src/main/java/org/glom/web/client/OnlineGlomService.java:
692 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
693 getDefaultLayoutListTable() method. Improve comments.
694 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
695 getDefaultLayoutListTable() method instead of firing a table change
696 event to get the table to load.
697 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
698 implementation of getDefaultLayoutListTable() method.
699 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
702 2011-05-19 Ben Konrath <ben@bagu.org>
704 Override toDebugString() in TableChangeEvent.
706 This is useful to have for debugging.
708 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
710 2011-05-19 Ben Konrath <ben@bagu.org>
712 Add a "Back to List" link when at the DetailsPlace.
714 * src/main/java/org/glom/web/client/activity/ListActivity.java:
715 Populate the CellTable based on the selected table of the ListBox if
716 it's set otherwise use the default table. This allows the "Back to
718 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
719 Remove Place from constructors. Add a setPlace() method. Add
720 goToPlace() method. Set class as presenter for TableSelectionView.
721 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
722 Use the same TableSelectionActivity when switching between the List and
724 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
725 Subclass the new HasSelectableTablePlace. This removes some duplicate
727 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
728 New class to represent Places that display the TableSelectionView.
729 * src/main/java/org/glom/web/client/place/ListPlace.java:
730 Subclass the new HasSelectableTablePlace. This removes some duplicate
732 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
733 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
734 Add Presenter interface. Add setBackLinkVisible() method. Add
735 setBackLink() method.
737 2011-05-18 Ben Konrath <ben@bagu.org>
739 Enable the "Details" buttons.
741 Right now only an empty details view is displayed.
743 * src/main/java/org/glom/web/client/ClientFactory.java:
744 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
745 Add DetailsView to ClientFactory.
746 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
747 A basic activity for the details view.
748 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
749 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
751 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
752 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
754 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
755 Create a new DetailsActivity when a DetailsPlace is requested. Remove
756 unnecessary super() in constructor.
757 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
758 Create a new TableSelectionActivity when a DetailsPlace is requested. We
759 really shouldn't create a new TableSelectionActivity for both the ListPlace
760 and the DetailsPlace so this should be considered a temporary solution.
761 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
762 New file. Represents a URL for the details view.
763 * src/main/java/org/glom/web/client/ui/DetailsView.java:
764 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
765 A basic details view interface and implementation.
766 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
767 Enable the "Details" buttons.
769 2011-05-12 Ben Konrath <ben@bagu.org>
771 Use a LayoutPanel with multiple display areas for main layout.
773 This is mostly a refactor in that there are no changes from the user
774 point of view. These changes are required so that we can swap out the list view
775 with the details view when the user clicks the "Details" button.
777 * src/main/java/org/glom/web/client/ClientFactory.java:
778 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
779 OnlineGlomView. Add TableSelectionView, ListView and
781 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
782 for main layout. Add display regions for main activities. Add
783 activity manager for for main activities.
784 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
785 file from parts of the deleted OnlineGlomActivity.
786 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
787 New file from parts of the deleted OnlineGlomActivity.
788 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
789 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
790 New files for app wide table change event.
791 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
792 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
793 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
794 Activity mappers for the main activities replace the deleted app-wide
796 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
797 Fix a spelling error in he comment.
798 * src/main/java/org/glom/web/client/ui/ListView.java:
799 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
800 Renamed from LayoutListView and modified for MVP. This still not a
801 proper dumb view as prescribed by the MVP pattern but it works for now.
802 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
803 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
804 New widget stripped out of the deleted OnlineGlomView.
805 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
806 Remove hack that is fixed by this patch.
808 2011-05-06 Ben Konrath <ben@bagu.org>
810 Rename OnlineGlomPlace to ListPlace.
812 The only change besides the rename is that url will now display #list
813 instead of #Document.
815 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
816 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
817 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
818 * src/main/java/org/glom/web/client/place/ListPlace.java:
819 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
821 2011-05-06 Ben Konrath <ben@bagu.org>
823 Use Presenter for app navigation.
825 This is the proper way to deal with Place (URL) changes with the MVP
828 * src/main/java/org/glom/web/client/ClientFactory.java:
829 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
830 PlaceHistoryMapper and PlaceHistoryHandler.
831 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
832 PlaceHistoryMapper and PlaceHistoryHandler.
833 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
834 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
835 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
836 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
837 Add Presenter interface and setPresenter methods. Rename addHyperLink
838 to addDocumentLink taking only the document title as a parameter.
840 2011-04-14 Ben Konrath <ben@bagu.org>
842 Prompt for db username/password if they haven't been set.
844 This is implemented with a popup widget that is contained within the
845 OnlineGlomView and managed by the OnlineGlomActivity.
847 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
848 methods for checking and setting the database username and password.
849 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
850 new methods for checking and setting the database username and
852 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
853 Display authentication popup if the JDBC connection to the database
854 has not been authenticated.
855 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
857 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
858 for dealing with the authentication popup.
859 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
860 Implement the methods for dealing with the authentication popup.
861 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
862 try to executed queries if the database connection hasn't been
863 authenticated. Implement methods for checking and setting the
864 database username and password.
866 2011-04-12 Ben Konrath <ben@bagu.org>
868 Make log messages a little clearer.
870 Add a dash betweeen the document title and the table name.
872 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
874 2011-04-12 Ben Konrath <ben@bagu.org>
876 Protect against NPEs when cleaning up database resources.
878 While this isn't strictly necessary because the exception is caught,
879 not protecting against the NPEs makes it harder to find the real error
882 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
884 2011-04-12 Ben Konrath <ben@bagu.org>
886 Move configuration of the servlet to the constructor.
888 The servlet will be initialized even if the database authentication
889 information is not set or correct. I still need to add the UI for prompting
890 the user for the authentication information when it's required.
892 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
893 javadocs for getDocumentTitles() method.
894 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
895 Set error message when RPC fails.
896 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
897 glom files directory from the configuration file. Try to set the
898 database authentication information for the specific document if it's
899 set and works otherwise try to use the global authentication
900 information set for the directory.
901 * src/main/resources/onlineglom.properties: Moved from
902 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
903 Added detailed comments for the new keys.
905 2011-04-11 Ben Konrath <ben@bagu.org>
907 Remove unnecessary @Override in DocumentSelectionViewImpl.
909 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
911 2011-04-11 Ben Konrath <ben@bagu.org>
913 Remove center alignment in DocumentSelectionView.
915 The title element is still centred but the document titles and bottom
916 sentence are both left-aligned.
918 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
920 2011-04-11 Ben Konrath <ben@bagu.org>
922 Change 'Demo' naming convention to 'Document'.
924 This is just a rename refactor with no functional changes to the code.
926 * src/main/java/org/glom/web/client/ClientFactory.java:
927 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
928 * src/main/java/org/glom/web/client/OnlineGlom.java:
929 * src/main/java/org/glom/web/client/OnlineGlomService.java:
930 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
931 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
932 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
933 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
934 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
935 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
936 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
937 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
938 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
940 2011-04-08 Ben Konrath <ben@bagu.org>
942 Remove FIXME from safeLongToInt() method.
944 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
947 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
949 2011-04-08 Ben Konrath <ben@bagu.org>
951 Display an error if no glom documents are found in the specified directory.
953 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
954 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
955 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
956 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
958 2011-04-08 Ben Konrath <ben@bagu.org>
960 Add copyright header to one more file ... oops.
962 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
964 2011-04-08 Ben Konrath <ben@bagu.org>
966 Add copyright header to files without it.
968 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
969 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
970 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
971 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
972 * src/main/java/org/glom/web/shared/ColumnInfo.java:
973 * src/main/java/org/glom/web/shared/GlomField.java:
975 2011-04-08 Ben Konrath <ben@bagu.org>
977 Add support for accessing multiple glom documents in the servlet.
979 This completes the demo selection functionality.
981 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
982 document title to methods.
983 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
984 document title to methods.
985 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
986 Set browser window title when the activity starts. Correct name of
987 document title variable.
988 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
989 Set browser window title when the activity starts. Set the table
990 selector change handler after table selector has been set. Clear the
991 OnlineGlomView when the activity has been stopped.
992 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
993 document title as the place token. Use "#Document:" instead of
994 "#OnlineGlomPlace:" in the URL.
995 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
996 Change heading to "Online Glom"
997 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
998 document title in RPC methods.
999 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1000 setDocumentTitle() method. Add clear() method.
1001 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1002 setDocumentTitle() method. Implement clear() method which removes the
1003 change handler on the ListBox, clears the ListBox and clears the
1005 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1006 Implement methods with document title. Keep track for the configured
1007 glom documents and their corresponding JDBC configurations in a hash
1008 table. This information is retrieved using the document title as the
1009 key in the hash table.
1010 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1011 document title field as it's no longer needed.
1013 2011-04-08 Ben Konrath <ben@bagu.org>
1015 Update the Eclipse JDT configuration.
1017 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1018 methods. Automatically add the copyright header to new files.
1020 2011-04-05 Ben Konrath <ben@bagu.org>
1022 Add new page for demo selection.
1024 This patch adds all the components required to view and start an
1025 OnlineGlom demo by clicking on the desired hyperlink. The user is
1026 able to return to the demo selection page with the browser's back
1027 button. I still need to modify the servlet to work with multiple
1028 documents so all demo links will load the file defined in the
1029 OnlineGlom.properties.
1031 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1032 This is only useful during development so we don't need to save it.
1033 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1034 get a reference to the DemoSelectionView.
1035 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1036 method to get a reference to the DemoSelectionView.
1037 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1038 default view to DemoSelectionView.
1039 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1040 to get glom document titles for glom files in a hard-coded directory.
1041 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1042 method to get glom document titles for glom files in a hard-coded
1044 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1045 Presenter for DemoSelectionView.
1046 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1047 for DemoSelectionView.
1048 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1049 Update for DemoSelectionView.
1050 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1051 Basic 'Place' implementation for the DemoSelectionView.
1052 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1053 The interface for the DemoSelectionView.
1054 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1055 The implementation of the DemoSelectionView.
1056 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1057 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1058 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1059 implementation of method to get glom document titles for glom files
1060 in a hard-coded directory.
1061 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1062 on longer being used.
1063 * src/main/webapp/glom.png: Glom logo.
1065 2011-04-05 Ben Konrath <ben@bagu.org>
1067 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1069 This is the forth and final commit of a refactor that will allow
1070 OnlineGlom to be used with multiple documents.
1072 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1073 Move RPC code from OnlineGlomViewImpl to this class.
1074 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1076 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1077 RPC code to the presenter class (the P in MVP).
1079 2011-04-04 Ben Konrath <ben@bagu.org>
1081 Start moving the existing OnlineGlom code to MVP.
1083 This work is based on the GWT MVP framework that is documented here:
1085 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1087 This is the third commit of a refactor that will allow OnlineGlom to
1088 be used with multiple documents.
1090 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1091 Interface for client factory which is used to get instances of various
1092 classes throughout the app.
1093 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1094 Implementation of client factory.
1095 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1096 initialize the MVP framework.
1097 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1098 New file. Activity manager for the main container widget. This is the
1100 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1101 Maps place (URL) to its corresponding activity.
1102 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1103 New file. This is just a place holder for a generated file.
1104 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1105 New file. Represents the URL for the main Online Glom app.
1106 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1107 for changes in LayoutListViewImpl.
1108 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1109 interface for View. Move code to OnlineGlomViewImpl class.
1110 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1111 file. Implementation of OnlineGlomView.
1112 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1113 Place resources. Use ClientFactoryImpl by default.
1115 2011-04-04 Ben Konrath <ben@bagu.org>
1117 Move View classes to their own package.
1119 This is the second commit of a refactor that will allow OnlineGlom to
1120 be used with multiple documents.
1122 * src/main/java/org/glom/web/client/OnlineGlom.java:
1123 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1124 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1126 2011-04-02 Ben Konrath <ben@bagu.org>
1128 Move UI code from the main module to its own class.
1130 This is the first commit of a refactor that will allow OnlineGlom to be
1131 used with multiple documents.
1133 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1134 references to OnlineGlom to OnlineGlomView.
1135 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1136 OnlineGlomView and instantiate it here.
1137 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1138 represents the main OnlineGlomView with one document.
1140 2011-04-01 Ben Konrath <ben@bagu.org>
1142 Fix formatting of gwt.xml and add DTD.
1144 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1146 2011-03-30 Ben Konrath <ben@bagu.org>
1148 Propperly convert gdkColor string to html colour string.
1150 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1152 2011-03-28 Ben Konrath <ben@bagu.org>
1154 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1156 This implementation matches
1157 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1158 readable and is not tied to Swig.
1160 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1162 2011-03-28 Ben Konrath <ben@bagu.org>
1164 Use read-only checkboxes for boolean field types.
1166 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1167 in the CellTable based on the field type. It currently only
1168 distinguishes between boolean and text columns but I'll need to add
1169 support for more types.
1170 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1171 column type in the ColumnInfo object. Add method to convert between the
1172 glom field type enum in ColumnInfo and the glom field type in libglom.
1173 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1175 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1176 getting and setting booleans.
1178 2011-03-25 Ben Konrath <ben@bagu.org>
1180 Don't get the Date twice from the ResultSet.
1182 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1184 2011-03-25 Ben Konrath <ben@bagu.org>
1186 Cleanup code in the servlet.
1188 * TODO: Remove item about row count. Add item about testing row count
1189 query with large number of rows.
1190 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1191 spelling mistakes, change method parameter to be consistent with
1194 2011-03-25 Ben Konrath <ben@bagu.org>
1196 Add server side logging with the gwt-log library.
1198 * .gitignore: Ignore the log file we're now producing.
1199 * TODO: Add a couple TODO item for logging.
1200 * pom.xml: Add gwt-log and log4j as a dependency.
1201 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1202 logging of errors, warnings and some important info.
1203 * src/main/resources/log4j.properties: New file to configure log4j.
1205 2011-03-24 Ben Konrath <ben@bagu.org>
1207 Add a disable button for the Details view.
1209 * src/main/java/org/glom/web/client/LayoutListView.java:
1211 2011-03-22 Ben Konrath <ben@bagu.org>
1213 Use a count query to get the number of rows for the list view pager.
1215 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1217 2011-03-22 Ben Konrath <ben@bagu.org>
1219 Add more TODO information about CellTable pager positioning.
1223 2011-03-19 Ben Konrath <ben@bagu.org>
1225 Add TODO item about CellTable pager positioning.
1229 2011-03-18 Ben Konrath <ben@bagu.org>
1231 Remove unneeded GlomFieldColumn class.
1233 This is just a small code cleanup.
1235 * src/main/java/org/glom/web/client/LayoutListView.java:
1237 2011-03-18 Ben Konrath <ben@bagu.org>
1239 Use cursor mode in the query that gets data for the list view.
1241 I still need to fix the potential memory problem when getting the row
1242 count for the list view.
1244 * TODO: Add note about testing memory usage with large data sets. Add
1245 item about fixing row counting with large data sets.
1246 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1247 PostgreSQL JDBC driver into cursor mode when getting data for the
1250 2011-03-15 Ben Konrath <ben@bagu.org>
1252 Remove the GWT Container from the Eclipse build classpath.
1254 The GWT dependencies are set by Maven so this isn't needed.
1258 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1260 Added some earlier mockups to git, but not to the tarball dist.
1262 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1263 Openismus. These hopefully show how we might structure the HTML so that
1264 it can be styled easily with CSS. However, we probably need to adapt them
1265 for the CSS structure that GWT dictates for common widgets.
1267 2011-03-14 Ben Konrath <ben@bagu.org>
1269 Locate OnlineGlom.properties using the ServletContext.
1271 This is required to be able to locate the file in the deployed servlet.
1273 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1274 Configure the database and glom document in in a helper method so
1275 that the ServletContext can be used to locate OnlineGlom.properties.
1276 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1277 src/main/webapp. This is the proper location for .properites files.
1279 2011-03-12 Ben Konrath <ben@bagu.org>
1281 Add note to README about why we're compiling down to obfuscated JavaScript.
1285 2011-03-11 Ben Konrath <ben@bagu.org>
1287 Use properties file to configure servlet.
1289 This allows people to change the glom file path, db username and db
1290 password without recompiling the code.
1292 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1293 * src/main/webapp/OnlineGlom.properties:
1295 2011-03-11 Ben Konrath <ben@bagu.org>
1297 Use table fields in layout list view if the layout list is not defined.
1299 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1300 Manually create a LayoutFieldVector for the query builder using the
1301 table fields when a layout list is not defined in the glom file.
1303 2011-03-11 Ben Konrath <ben@bagu.org>
1305 Only show FIXME string for images when there's an image.
1307 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1308 in this change are some small code cleanups.
1310 2011-03-11 Ben Konrath <ben@bagu.org>
1312 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1314 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1316 2011-03-11 Ben Konrath <ben@bagu.org>
1318 Correctly set the index of the default table.
1320 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1321 Correctly set the index of the default table. Add commented out example
1324 2011-03-10 Ben Konrath <ben@bagu.org>
1326 Add comment to pom.xml about the previous change.
1328 * pom.xml: Add comment about the deployment issue so that it's obvious
1329 why java-libglom is set to the provided scope.
1331 2011-03-10 Ben Konrath <ben@bagu.org>
1333 Change java-libglom dependency from compile to provided in pom.xml.
1335 Since java-libglom uses jni it can only be loaded once and therefore
1336 must be placed in $CATALINA_HOME/lib and not included in each war.
1337 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1338 More information about this issue can be found in the Tomcat 6 release
1339 notes in the "JNI Based Applications" section:
1341 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1343 * README: Remove note about this issue. Deployment info should really
1344 be on the wiki anyway so I'll add it right now.
1345 * pom.xml: Change java-libglom dependency from compile to provided so
1346 that it's copied in to the packaged war.
1348 2011-03-09 Ben Konrath <ben@bagu.org>
1350 Change to using a neutral locale for currency, date and time formatting.
1352 This solves the problem of currency values being represented without a
1353 space between the currency code and the number (e.g. "EUR5.89" is now
1354 represented as "EUR 5.89"). More work is required when we implement
1355 a locale preference setting.
1357 * TODO: Add note about currency formatting issues with different
1359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1360 to using the neutral ROOT locale.
1362 2011-03-09 Ben Konrath <ben@bagu.org>
1364 Add support for currency codes that are not ISO 4217 codes.
1366 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1367 the currency code defined in the glom file when it's not 3 characters
1368 long or when Java doesn't recognize the string as an ISO 4217 code.
1370 2011-03-08 Ben Konrath <ben@bagu.org>
1372 Remove test classes, launch configurations and configuration.
1374 The test stuff was getting in the way when creating the war. To make
1375 the war file you can now do 'mvn clean package'. The packaged war file
1376 will be in the target directory.
1378 * .classpath: Remove unused classpathentry for tests and i18n.
1379 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1380 property. Don't run test or i18n goals when packaging the war.
1381 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1386 * OnlineGlomTest-dev.launch:
1387 * OnlineGlomTest-prod.launch:
1388 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1389 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1391 2011-03-07 Ben Konrath <ben@bagu.org>
1393 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1395 These fixes allow me to use 'mvn deploy' to create the war file.
1397 * .classpath: This generated config has been updated by Eclipse. This
1398 change was probably triggered by me updating from Eclipse 3.6.1 to
1400 * .gitignore: Add entry to ignore the directory
1401 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1402 * .project: The generated config has been updated by Eclipse. This
1403 change was probably triggered by me updating from Eclipse 3.6.1 to
1405 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1406 so that Eclipse doesn't complain
1407 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1408 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1409 'tests' directory to 'client' directory. This is the new
1410 gwt-maven-plugin convension.
1411 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1412 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1414 2011-03-07 Ben Konrath <ben@bagu.org>
1416 Add support for horizontal alignment in the LayoutList columns.
1418 * TODO: Remove item about horizontal alignment. Add item about
1419 improvements to ColumnInfo.
1420 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1421 alignment on the columns. Use ColumnInfo RPC object get the column
1422 title and horizontal alignment.
1423 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1424 LayoutListView creation with ColumnInfo RPC object.
1425 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1426 a ColumnInfo object for every LayoutList columnn. Convert the
1427 FieldFormatting.HorizontalAlignment to the correct
1428 ColumnnInfo.HorizontatlAlignment with the new
1429 getColumnInfoHorizontalAlignment helper method.
1430 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1431 to encapsulate column information like alignment and title. This
1432 could be used to set the colour instead of on a per cell field basis.
1433 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1434 column title storage and retrieval with ColumnInfo.
1436 2011-03-04 Ben Konrath <ben@bagu.org>
1438 Add support for column sorting.
1440 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1441 AsynDataProvider to be an anonymous inner class. Use new
1442 getSortedTableData RPC method when column sort is requested. Set all
1443 columns sortable and add an AsyncHandler to activate sorting in the
1445 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1446 method getSortedTableData(). Cleanup other method signatures.
1447 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1448 new method getSortedTableData(). Cleanup other method signatures.
1449 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1450 Implement getSortedTableData() and getTableData() methods by using a
1451 private helper method with the appropriate parameters filled in. Use
1452 user supplied sort clause when supplied, otherwise fall back to
1453 sorting by the primary key. Move destroy() method to be underneath
1454 constructor for readability. Cleanup comments.
1456 2011-03-03 Ben Konrath <ben@bagu.org>
1458 Add support for colour text and colour backgrounds to the layout list cells.
1460 Only the cell backgrounds are coloured which leaves a gap between the
1461 cells that isn't coloured. I need to figure out a way to set
1462 'style=background-colour:' on the whole column rather than just the
1465 * TODO: Add a note about colouring the background of the whole column.
1466 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1467 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1468 render the coloured text and backgrounds. Use GlomField[] for the row type.
1469 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1471 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1472 GlomField[] for the row type.
1473 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1474 GlomField[] for the row type. Set the text, text colour and background
1475 colour in the GlomField objects as specified in the glom document. Add
1476 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1477 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1478 the glom field text, foreground colour and background colour.
1480 2011-03-02 Ben Konrath <ben@bagu.org>
1482 Don't display hidden tables in the combo box.
1484 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1486 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1487 code to ignore hidden tables using ArrayLists for the table names and
1489 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1490 tableNames to use ArrayLists instead of String[]. Update getter and setter
1493 2011-03-01 Ben Konrath <ben@bagu.org>
1495 Add support for Date and Time number types.
1497 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1498 Implement formatting for Date and Time values. Change the default glom
1499 file to small business example.
1501 2011-03-01 Ben Konrath <ben@bagu.org>
1503 Add support for formatting glom types as specified in the glom file.
1505 Formatting isn't finished yet - I still need to add support for Date
1508 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1509 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1510 checks for null values in JDBC cleanup code and catch all exceptions
1511 instead of just SQLExceptions.
1512 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1515 2011-03-01 Ben Konrath <ben@bagu.org>
1517 Use GWT 2.2.0 instead of 2.1.1.
1519 * pom.xml: Change GWT version numbers.
1521 2011-03-01 Ben Konrath <ben@bagu.org>
1523 A few small code cleanups.
1525 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1527 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1528 unnecessary object creation in constructor.
1529 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1530 unnecessary object creation in constructor.
1532 2011-02-28 Ben Konrath <ben@bagu.org>
1534 Add file for TODO list.
1538 2011-02-18 Ben Konrath <ben@bagu.org>
1540 Enable the CellTable Pager when more than 20 rows need to be viewed.
1542 The Pager will automatically become active when the results are larger
1543 than the CellTable size which is currently set to 20 lines.
1545 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1546 name on debug statment in RPC call in LayoutListDataProvider, add
1547 numRows parameter to LayoutListView constructor, propperly set rowCount
1549 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1550 name on debug statment in RPC call, use LayoutListTable object in RPC
1551 calls, pass rowCount to LayoutListView.
1552 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1553 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1555 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1556 interface for changes in OnlineGlomService.
1557 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1558 getLayoutListHeaders() to getLayoutListTable() and return
1559 LayoutListTable. Using this object allows me to pass other information
1560 about the LayoutList like the expected number of rows in the result set.
1561 The Connection object from the connection pool is now propperly closed.
1562 Only the requested number of lines are returned to the client in
1564 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1565 GlomTable and add columnTitles and numRows.
1567 2011-02-18 Ben Konrath <ben@bagu.org>
1569 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1571 This is a small performance boost. I'll use GlomTable to get the required
1572 layoutlist information.
1574 * src/main/java/org/glom/web/client/OnlineGlom.java:
1575 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1576 * src/main/java/org/glom/web/shared/GlomDocument.java:
1578 2011-02-18 Ben Konrath <ben@bagu.org>
1580 Add option to turn off formatting in JDT formatter preferences.
1582 * .settings/org.eclipse.jdt.core.prefs:
1584 2011-02-18 Ben Konrath <ben@bagu.org>
1586 Rename LayoutList to LayoutListView.
1588 I'm working towards setting things up to easily use MVP when the time
1591 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1593 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1596 2011-02-17 Ben Konrath <ben@bagu.org>
1598 Move LayoutListDataProvider class into LayoutList.java.
1600 * src/main/java/org/glom/web/client/LayoutList.java:
1602 2011-02-17 Ben Konrath <ben@bagu.org>
1604 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1606 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1608 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1609 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1610 from LibGlomServer.java.
1611 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1612 Rename from LibGlomServiceAsync.java.
1613 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1614 Rename from LibGlomServiceImpl.java.
1615 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1617 2011-02-17 Ben Konrath <ben@bagu.org>
1619 Update JDT settings.
1621 * .settings/org.eclipse.jdt.core.prefs:
1623 2011-02-17 Ben Konrath <ben@bagu.org>
1625 Move GWT-RPC objects to shared package (where they should be).
1627 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1628 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1629 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1630 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1631 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1632 org.glom.web.shared package.
1633 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1634 org.glom.web.shared package.
1635 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1636 directory in compilation to javascript.
1638 2011-02-16 Ben Konrath <ben@bagu.org>
1640 Add sort clause to the sql query that grabs table information.
1642 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1643 if one of the columns is a primary key.
1645 2011-02-16 Ben Konrath <ben@bagu.org>
1647 Disable generateAsync feature of gwt-maven.
1649 The generated interface does not correctly match the methods in LibGlomService
1650 and the generated singleton Util inner-class doesn't respect the servlet
1653 * pom.xml: Turn off generateAsync feature.
1654 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1655 with singleton Util inner-class.
1657 2011-02-14 Ben Konrath <ben@bagu.org>
1659 Add LGPL v3 licence notices.
1661 Followed directions listed here:
1662 http://www.gnu.org/licenses/gpl-howto.html
1664 * COPYING: This file is a copy of the GPL v3.
1665 * COPYING.LESSER: This file is a copy of the LGPL v3.
1666 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1668 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1670 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1672 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1674 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1676 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1678 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1681 2011-02-14 Ben Konrath <ben@bagu.org>
1683 Use ArrayList instead of Array in GWT-RPC calls.
1685 Apparently this gives a slight performance boost to the compiled
1688 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1690 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1693 2011-02-14 Ben Konrath <ben@bagu.org>
1695 Access data from a postgres db rather than the example glom file.
1697 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1698 compile down to obfuscated javascript.
1699 * pom.xml: Add c3p0 and postgres JDBC libraries.
1700 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1701 using a postgres db accessed through the c3p0 connection pooling library.
1703 2011-02-14 Ben Konrath <ben@bagu.org>
1705 Update Java formatter settings.
1707 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1709 2011-02-02 Ben Konrath <ben@bagu.org>
1711 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1713 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1715 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1716 the compiled webapp directory that Eclipse uses as we're using Maven now.
1717 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1718 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1720 * pom.xml: Format file, change target Java version to 1.6.
1722 2011-02-02 Ben Konrath <ben@bagu.org>
1724 Add information about a deployment related issue.
1726 * README: Add Notes section with the problem outlined.
1728 2011-02-02 Ben Konrath <ben@bagu.org>
1730 Call Glom.libglom_deinit() when the servlet is shutdown.
1732 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1733 Glom.libglom_deinit() to destroy() method.
1735 2011-01-28 Ben Konrath <ben@bagu.org>
1737 Use generated Util class to get the RPC Async interface.
1739 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1741 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1742 getInstance() method to get a reference to the RPC Async interface.
1743 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1744 getInstance() method to get a reference to the RPC Async interface, remove
1745 the now unused getLibGlomServiceProxy() method.
1747 2011-01-27 Ben Konrath <ben@bagu.org>
1749 Cleanup ChangeLog entry from previous commit.
1751 * ChangeLog: Group logical changes together and add comments.
1753 2011-01-25 Ben Konrath <ben@bagu.org>
1755 Convert to gwt-maven project.
1757 * .gitignore: Update for new project structure.
1758 * README: New file with a link to the online documentation.
1759 * pom.xml: The generated maven configuration file with some tweaks.
1761 Add / update Eclipse settings. These files are a merge of the files that
1762 were generated with the gwt-maven plugin and the files we were previously
1766 * .settings/.jsdtscope:
1767 * .settings/com.google.gdt.eclipse.core.prefs:
1768 * .settings/com.google.gwt.eclipse.core.prefs:
1769 * .settings/org.eclipse.jdt.core.prefs:
1770 * .settings/org.eclipse.wst.common.component:
1771 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1772 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1773 * .settings/org.maven.ide.eclipse.prefs:
1774 * OnlineGlomTest-dev.launch:
1775 * OnlineGlomTest-prod.launch:
1777 Java source files moved from the 'src' directory to the directory structure
1779 * src/main/java/org/glom/web/client/GlomDocument.java:
1780 * src/main/java/org/glom/web/client/GlomTable.java:
1781 * src/main/java/org/glom/web/client/LayoutList.java:
1782 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1783 * src/main/java/org/glom/web/client/LibGlomService.java:
1784 * src/main/java/org/glom/web/client/OnlineGlom.java:
1785 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1787 Non-functional property file used for translations. I included this as
1788 reminder that it's something I need to sort out.
1789 * src/main/resources/org/glom/web/client/Messages.properties:
1791 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1792 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1794 The servlet configuration files moved from the 'war' directory.
1795 * src/main/webapp/OnlineGlom.css:
1796 * src/main/webapp/OnlineGlom.html:
1797 * src/main/webapp/WEB-INF/web.xml:
1799 Generated test files with most of the code commented out. I included these
1800 so that it's easy to add tests when we're ready for them.
1801 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1802 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1804 2011-01-25 Ben Konrath <ben@bagu.org>
1806 Remove unused println.
1808 * src/org/glom/web/server/LibGlomServiceImpl.java:
1810 2011-01-25 Ben Konrath <ben@bagu.org>
1812 Add project specific JDT settings.
1814 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1815 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1817 2011-01-25 Ben Konrath <ben@bagu.org>
1819 Populate celltable with example data.
1821 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1822 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1823 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1824 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1825 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1826 asynchronously gets the example data.
1827 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1828 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1829 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1830 curently selected table to be retrieved by other widgets.
1831 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1832 implement getTableData() in a hacky way. This method needs to be updated
1833 to grab information from the database when database creating is
1836 2011-01-20 Ben Konrath <ben@bagu.org>
1838 Set table headers when table dropBox changes.
1840 * src/org/glom/web/client/GlomDocument.java: Correct some method
1842 * src/org/glom/web/client/LibGlomService.java: Add method
1843 to get list layout field names.
1844 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1845 to get list layout field names.
1846 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1847 widget for list layout table.
1848 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1849 the table drop box and add new updateTable() method to asynchronously
1850 get the layout list field names for the currently selected table.
1851 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1852 implementation of getLayoutListHeaders() method.
1853 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1855 2011-01-18 Ben Konrath <ben@bagu.org>
1857 Make a listBox with table titles instead of the flexTable demo.
1859 This is the start of something more useful.
1861 * .classpath: Exclude a bunch of packages from the JVM that are
1862 getting in the way of the Eclipse content assist.
1863 * src/org/glom/web/client/GlomDocument.java:
1864 * src/org/glom/web/client/GlomTable.java:
1865 * src/org/glom/web/client/LibGlomService.java:
1866 * src/org/glom/web/client/LibGlomServiceAsync.java:
1867 * src/org/glom/web/client/OnlineGlom.java:
1868 * src/org/glom/web/server/LibGlomServiceImpl.java:
1869 * war/OnlineGlom.html:
1870 * war/WEB-INF/web.xml:
1872 211-01-13 Ben Konrath <ben@bagu.org>
1874 Update to new java-libglom API.
1876 * .gitignore: Ignore OnlineGlom.war.
1877 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1879 2010-12-20 Ben Konrath <ben@bagu.org>
1881 Add some basic style to the table listing.
1883 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1884 header, print useful error message on async callback failure.
1885 * war/OnlineGlom.css: Add style for table header, remove defaults
1886 provided by the Eclipse project wizard.
1888 2010-12-20 Ben Konrath <ben@bagu.org>
1890 Load example file from installed glom dir.
1892 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1893 provided by java-libglom to find the example file.
1895 2010-12-20 Ben Konrath <ben@bagu.org>
1897 Update Eclipse settings.
1900 * .settings/com.google.gdt.eclipse.core.prefs:
1901 * .settings/com.google.gwt.eclipse.core.prefs:
1903 2010-12-17 Ben Konrath <ben@bagu.org>
1907 * .classpath: New file.
1908 * .gitignore: New file.
1909 * .project: New file.
1910 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1911 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1912 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1913 * src/org/glom/web/client/GlomTable.java: New file.
1914 * src/org/glom/web/client/OnlineGlom.java: New file.
1915 * src/org/glom/web/client/TableNameService.java: New file.
1916 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1917 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1918 * war/OnlineGlom.css: New file.
1919 * war/OnlineGlom.html: New file.
1920 * war/WEB-INF/web.xml: New file.
1921 * war/images/glom.png: New file.