1 2011-09-06 Ben Konrath <ben@bagu.org>
3 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
5 This fixes the LayoutItemPortal DTO to match the libglom layout object
8 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
10 2011-09-01 Ben Konrath <ben@bagu.org>
12 Set title of Portals in the Details View.
14 * pom.xml: Bump required version of java-libglom to 1.17.1.
15 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
16 widget creation to its own class. Add comments to constructor.
17 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
18 The code is mostly from the Group class with the title now set.
19 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
20 title of Portal. Update some comments. Fix some code formatting.
22 2011-09-01 Ben Konrath <ben@bagu.org>
24 Remove TODO comment for the flow table column width.
26 The flow table column width is working correctly and doesn't need to be
27 changed. See this mailing list post for more info:
29 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
31 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
33 2011-08-27 Ben Konrath <ben@bagu.org>
35 Add document title (database name) to top of the browser page.
37 I added the document title to the TableSelecitonView but that will
38 change if / when we add a view that doesn't require table selection.
40 * mockups/details-contacts.html:
41 * mockups/details-projects.html:
42 * mockups/listview-contacts.html:
43 * mockups/listview-projects.html:
44 * mockups/style.css: Add document title to mockups to keep things
46 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
47 sizes to account for the document title.
48 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
49 Set the document title when it has been retrieved from the server.
50 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
51 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
52 and implement setDocumentTitle(String) method.
53 * src/main/webapp/style.css: Add ID for document title style.
55 2011-08-25 Ben Konrath <ben@bagu.org>
57 Add NavigationType enum to LayoutItemPortal DTO.
59 This is the start of adding support for Portals to the Details View.
61 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
62 LayoutItem_Portal.navigation_type enum from libglom to
63 LayoutItemPortal.NavigationType enum.
64 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
65 NavigationType enum, field for storing the NavigationType and getter
68 2011-08-25 Ben Konrath <ben@bagu.org>
70 Implement the flow table layout in the Details View.
72 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
73 FlowTable to Group to account for the renamed class.
74 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
75 File. This is a container widget that implements the Glom details view
77 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
78 org/glom/web/client/ui/FlowTable.java.
79 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
80 so that the size of the subgroups are a closer match to the size of
81 the Glom subgroups. This makes the flowtable layout match the layout
82 in Glom for the Music Collection example file.
84 2011-08-16 Ben Konrath <ben@bagu.org>
86 Create container element for LayoutItemPortal in Details View.
88 This will help me develop the layout for the FlowTable.
90 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
91 fieldPanel variable to detailsCell.
93 2011-08-15 Ben Konrath <ben@bagu.org>
95 Set the height of the data element in the Details View.
97 I changed the InlineLabels (text in a span element) to Labels (text in
98 a div element) so that I could set the height of the details-data
99 elements instead of the details-cell parent elements. This allows the
100 the details-data element to display the correct height if style is
101 applied that shows the height.
103 This change has the added benefit of allowing the order of the labels
104 and data elements to be changed for right-to-left languages.
106 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
107 InlineLabels to Labels.
108 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
109 InlineLabels to Labels. Set the height of the data element.
110 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
111 multiline text height in the Formatting DTO.
112 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
113 for multiline height along with getter and setter methods.
114 * src/main/webapp/style.css: Adjust style to account for the change
115 from span elements to div elements in the details cell.
117 2011-08-15 Ben Konrath <ben@bagu.org>
119 Make the List View appearance match the mockups.
121 It doesn't match exactly but it's much better than it was.
123 * mockups/listview-contacts.html: Remove unused css classes.
124 * mockups/listview-projects.html: Remove unused css classes.
125 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
126 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
127 for mainPanel instead of VerticalPanel (table). Set style name on
128 CellTable. Set style name on Details column. Right-align Details
130 * src/main/webapp/style.css: Adjust properties to match the mockups.
132 2011-08-12 Ben Konrath <ben@bagu.org>
134 Add better support for subgroups in the details view.
136 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
137 changed FlowTable constructor.
138 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
139 support for subgroups and subgroup-titles.
140 * src/main/webapp/style.css: Add CSS class for subgroups and
143 2011-08-12 Ben Konrath <ben@bagu.org>
145 Return the top level LayoutGroup title.
147 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
149 2011-08-11 Ben Konrath <ben@bagu.org>
151 Make the TableSelector header match the mockup.
153 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
154 the layout panel. Properly lineup the table selection header with
155 the list and details view.
156 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
157 margin around the details view.
158 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
159 Rename listBox variable to tableSelector. Set id for the style sheet.
160 Use a FlowPanel instead of a HorizontalPanel.
161 * src/main/webapp/style.css: Add properties to make the TableSelector
162 box match the mockups.
164 2011-07-13 Ben Konrath <ben@bagu.org>
166 Update install script for java-libglom version change.
168 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
171 2011-07-13 Ben Konrath <ben@bagu.org>
173 Add support sub-group in the details view.
175 I also removed the code that special-cased the default details view
178 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
180 I still have to make a proper flowtable.
182 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
183 Don't special-case default details view layout.
184 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
185 addLayoutField() as I'm going to use it.
186 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
187 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
189 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
190 extracted from DetailsViewImpl.GroupPanel. Add support for
192 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
193 column count when getting the details layout.
195 2011-07-12 Ben Konrath <ben@bagu.org>
197 Set browser title with database and table titles.
199 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
200 Set the browser title when the table changes and when the activity
202 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
203 title when retrieving document info (the GlomDocument object).
204 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
205 with getter and setter methods. Remove unused convenience constructor.
206 Use default code formatting.
208 2011-07-12 Ben Konrath <ben@bagu.org>
210 Ignore LayoutItemPortals in the details view.
212 I added a new DTO for the LayoutItemPortal so that I can ignore it in
215 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
216 LayoutItemPortal layout objects.
217 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
218 LayoutItemPortal objects when retrieving the details layout.
219 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
220 file. This is an empty class and just used to get type information for
223 2011-07-12 Ben Konrath <ben@bagu.org>
225 Use java-libglom 1.17.0.
229 2011-07-11 Ben Konrath <ben@bagu.org>
231 Remove "Table:" label from table selector.
233 This matches a recent change in the Glom UI.
235 * mockups/details-contacts.html:
236 * mockups/details-projects.html:
237 * mockups/listview-contacts.html:
238 * mockups/listview-projects.html: Remove the "Table:" label from the
240 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
242 2011-07-11 Ben Konrath <ben@bagu.org>
244 Add main groups to the details view.
246 This makes things look a little nicer in the details view. The next step
247 is to implement the flowtable.
249 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
250 resources from the standard gwt css theme. Standard.css is now
251 included in OnlineGlom.html so that the online glom css rules have
252 precedence over the gwt theme.
253 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
254 the whole LayoutGroup to the DetailsView instead of just the titles.
255 * src/main/java/org/glom/web/client/ui/DetailsView.java:
256 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
257 details layout with a helper class (GroupPanel). I might extract this
258 class when I make the full flowtable.
259 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
260 string as default so I don't have to worry about NPEs when processing
262 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
263 note beside OnlineGlom.gwt.xml above).
264 * src/main/webapp/style.css: Add default font-size to body to override
265 the font-size set by the standard theme. Don't use h2 tags for
266 group-title. Create new details-cell class.
268 2011-07-08 Murray Cumming <murrayc@murrayc.com>
270 ConfiguredDocument: Set the port number too.
272 * src/main/java/org/glom/web/server/ConfiguredDocument.java
273 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
274 Glom document. Presumably this worked sometimes so far because there is a
277 2011-07-08 Murray Cumming <murrayc@murrayc.com>
279 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
281 * src/main/java/org/glom/web/server/ConfiguredDocument.java
282 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
283 correct, though we should throw an exception too.
285 2011-07-08 Murray Cumming <murrayc@murrayc.com>
287 Fix a addDocuemnt typo.
289 * src/main/java/org/glom/web/shared/Documents.java
290 (Documents.addDocuemnt): Rename to addDocument().
291 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
292 (OnlineGlomServiceImpl.getDocuments): Adapt.
294 2011-07-08 Murray Cumming <murrayc@murrayc.com>
296 Slightly improved log output when connection fails.
298 * src/main/java/org/glom/web/server/ConfiguredDocument.java
299 (ConfiguredDocument.setUsernameAndPassword):
300 We don't know for sure if it' the username/password that's wrong, so
301 rephrase the message.
302 Also ouput the exception message, though it's generic in this case.
304 2011-07-08 Ben Konrath <ben@bagu.org>
308 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
309 added braces to a one line if statement because the Eclipse formatter
310 was getting confused.
312 2011-07-07 Ben Konrath <ben@bagu.org>
314 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
316 These should really be two separate tasks but I counldn't get things to
317 work with GWT 2.2.0 and Eclipse 3.7.
321 * .settings/org.eclipse.jdt.core.prefs:
322 * .settings/org.eclipse.jdt.ui.prefs:
323 * .settings/org.eclipse.ltk.core.refactoring.prefs:
324 * .settings/org.eclipse.m2e.core.prefs:
325 Add new config files. Update current files. Remove references to the
326 webtools plugins as we're not using any of the webtools features.
327 * .gitignore: Add logs directory which is created when running with
329 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
330 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
331 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
333 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
335 2011-07-07 Murray Cumming <murrayc@murrayc.com>
337 onlineglom.properties: Add explanatory comments.
339 * src/main/resources/onlineglom.properties: Also change the default user
340 from ben to someuser, to avoid the risk of people thinking we just
341 stupidly hard-coded a locale path, when they see that on stderr or in a log.
343 2011-06-28 Ben Konrath <ben@bagu.org>
345 Use filename in Log for incorrect passwords.
347 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
348 getFileName(String) method to get the filename from the URI.
350 2011-06-28 Ben Konrath <ben@bagu.org>
352 Add the table name to the URL token for the ListPlace.
354 This makes things consistent between the DetailsPlace and the
355 ListPlace. It also allows the the ListPlace to be bookmarked.
357 * src/main/java/org/glom/web/client/OnlineGlomService.java:
358 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
360 Remove getDefaultListLayout(). The default layout is now returned
361 by the getListLayout() method when the table name is an empty string.
362 * src/main/java/org/glom/web/client/activity/ListActivity.java:
363 Add table name field. Change to a new ListPlace when the table
364 has been changed. Use getListLayout() for getting the default
366 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
367 Add table name field. Set the correct table name in the list box
368 when loading from bookmark. This corrects a problem for the
370 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
371 Move table name to super-class (HasSelectableTable). Move document
372 and table URL keys to super-class in HasSelectableTable.
373 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
374 Add table name field. Add Tokenizer class with URL key common to
375 the subclasses (DetailsPlace and ListPlace).
376 * src/main/java/org/glom/web/client/place/ListPlace.java:
377 Add table name. Add code to parse the URL token.
378 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
379 Update ListPlace construction with empty table name string.
380 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
381 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
382 Change setTableSelectedIndex(int) to setSelectedTableName(String).
383 Update ListPlace construction with table name string.
384 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
385 Change defaultTableName field to tableName to reflect how it's now
386 used. Update the getter and setter methods.
388 2011-06-28 Ben Konrath <ben@bagu.org>
390 Enable the table selector in the DetailsView.
392 * src/main/java/org/glom/web/client/OnlineGlomService.java:
393 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
394 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
395 Remove getDefaultDetailsLayout(). The default layout is now returned
396 by the getDetailsLayout() method when the table name is an empty
398 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
399 event handler for table change event. Change to using
400 getDetailsLayout() for the default details layout.
401 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
403 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
404 when navigating to the details place.
406 2011-06-27 Ben Konrath <ben@bagu.org>
408 Use filename based unique document ID in URL and for RPC.
410 The document ID is the glom document name with spaces (' ') replaced
411 with pluses ('+') and without the .glom extension.
413 This change is mostly a string substitution of 'documentTitle' for
414 'documentID'. The only code change is the addition of a Documents DTO to get the
415 filename to document title mappings as indicated below.
417 * src/main/java/org/glom/web/client/OnlineGlomService.java:
418 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
419 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
420 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
421 Use Documents DTO to create the document links in the document
423 * src/main/java/org/glom/web/client/activity/ListActivity.java:
424 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
425 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
426 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
427 * src/main/java/org/glom/web/client/place/ListPlace.java:
428 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
429 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
430 * src/main/java/org/glom/web/client/ui/ListView.java:
431 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
432 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
433 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
434 * src/main/java/org/glom/web/server/Log.java:
435 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
436 getDocumentTitles() to getDocuments() and return the Documents DTO.
437 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
438 transferring the filename to document title mappings.
440 2011-06-25 Ben Konrath <ben@bagu.org>
442 Make the authentication popup work again.
444 This bug was introduced when I extracted ConfiguredDocument to its own class.
446 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
447 correct success / fail status in setUsernameAndPassword().
449 2011-06-25 Ben Konrath <ben@bagu.org>
451 Use filename as unique key for configuring database usernames and passwords.
453 This replaces the use of the Glom document title which could change
454 depending on the locale. Thanks to Murray Cumming for pointing out this
457 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
458 * src/main/resources/onlineglom.properties:
460 2011-06-24 Ben Konrath <ben@bagu.org>
462 Pass primary key value to DetailsView.
464 This enables the DetailsView to load the correct data.
466 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
467 primary key value field and set in constructor. Pass primary key
468 value to getDetailsData().
469 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
470 variables for document title and primary key value.
471 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
472 key value to the DetailsPlace.
474 2011-06-24 Ben Konrath <ben@bagu.org>
476 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
478 This allows the primary key to be retrieved by the Details button. This
479 functionality has not been implemented yet but it's in the works.
481 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
482 the LayoutGroup result to ListView.setCellTable instead of all of its
484 * src/main/java/org/glom/web/client/ui/ListView.java:
485 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
486 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
487 get the primary key for the table.
488 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
489 index of the primary key in the LayoutGroup accounting for hidden
490 primary keys. Rename getJavaNumberFormat() to
491 convertToJavaNumberFormat() for consistency. Cleanup / add some
493 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
494 field for primary key index and a field to indicate whether the
495 primary key is hidden or not.
497 2011-06-23 Ben Konrath <ben@bagu.org>
499 Rename getTableData methods to getListData.
501 This is a rename refactor for consistency with other methods.
503 * src/main/java/org/glom/web/client/OnlineGlomService.java:
504 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
505 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
506 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
508 2011-06-23 Ben Konrath <ben@bagu.org>
510 Extract the ConfiguredDocument innerclass into its own class.
512 This makes the servlet code more object oriented.
514 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
515 from private ConfiguredDocument class in OnlineGlomServiceImpl.
516 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
517 new ConfiguredDocument class.
519 2011-06-21 Ben Konrath <ben@bagu.org>
521 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
523 This makes things more inline with how libglom works and reduces code
524 duplication. This refactor lays the groundwork for adding the primary key to
525 the LayoutGroup object.
527 * src/main/java/org/glom/web/client/OnlineGlomService.java:
528 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
529 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
530 Change method names to getListLayout and getDefaultListLayout for
531 consistency. Use LayoutGroup as the DTO for the list layout instead of
532 ColumnInfo and LayoutListTable.
533 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
534 new method names along with the LayoutGroup object for transferring the
536 * src/main/java/org/glom/web/client/ui/ListView.java:
537 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
538 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
539 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
541 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
542 Replaced with LayoutGroup.
543 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
544 expectedResultSize and defaultTableName fields which are needed for
546 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
547 type field which is needed for the list layout but will also be
548 useful for the details layout as things progress.
549 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
550 Make class abstract. Remove the unnecessary
551 getFormattingHorizontalAlignment method. Add setFormatting method.
553 2011-06-16 Ben Konrath <ben@bagu.org>
555 Add scripts for building and installing war.
557 These will help when updating OnlineGlom but they're also good
558 supplemental documentation of the build and deployment proceeding.
560 * utils/build-onlineglom-war.sh: New file.
561 * utils/install-onlineglom-war.sh: New file.
563 2011-06-16 Ben Konrath <ben@bagu.org>
565 Create wrapper class to create consistent log messages.
567 I wrapped methods in the Log class of gwt-log to add the method names
568 from the servlet and create consistent formatting of the document title
569 and table names in the log messages.
571 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
572 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
573 log methods to use methods from wrapped Log class.
575 2011-06-16 Ben Konrath <ben@bagu.org>
577 Remove superfluous conditional return.
579 Thanks to Murray Cumming for pointing this out!
581 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
583 2011-06-15 Ben Konrath <ben@bagu.org>
585 Return an ArrayList of LayoutGroups for the Details layout.
587 This corrects a problem with the details layout as it can have more
588 than one top level LayoutGroup.
590 * src/main/java/org/glom/web/client/OnlineGlomService.java:
591 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
592 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
593 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
594 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
595 with ArrayList of LayoutGroups for the details view layout.
596 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
597 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
598 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
599 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
600 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
601 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
603 2011-06-14 Ben Konrath <ben@bagu.org>
605 Use cast_dynamic method to determine the libglom LayoutItem type.
607 This is better than finding the LayoutItem type by using the string
608 returned from the get_part_type_name() method.
610 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
612 2011-06-14 Ben Konrath <ben@bagu.org>
614 Add method names to log entries in the servlet.
616 This helps when tracking down deployment problems.
618 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
620 2011-06-14 Ben Konrath <ben@bagu.org>
622 Add data to the DetailsView using a hard-coded primary key value.
624 The layout and functionality of the DetailsView is not complete. This
625 is just a checkpoint so the patch doesn't get too big.
627 * src/main/java/org/glom/web/client/OnlineGlomService.java:
628 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
629 Add getDetailsData() servlet method.
630 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
631 Add RPC to getDetailsData(). Change the way the LayoutGroups and
632 LayoutFields are added to the DetailsView.
633 * src/main/java/org/glom/web/client/ui/DetailsView.java:
634 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
635 Add setData() method. Change addLayoutGroup() and addLayoutField() to
636 take the string for the title instead of the object.
637 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
638 Add implementation getDetailsData() along with some private helper
640 * src/main/webapp/style.css: Add padding to details-data class. Add a
641 details-label class with the same padding as the details-data class.
643 2011-06-03 Ben Konrath <ben@bagu.org>
645 Use presenter.goTo() to change to the DetailsPlace.
647 This will make things easier when we need to open the DetailsView with
648 data specific to the row that was clicked.
650 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
652 2011-06-02 Ben Konrath <ben@bagu.org>
654 Add CSS file from mockups.
656 I'm adding this now because it's going to be useful to have when
657 developing the DetailsView. The TableSelectionView and ListView aren't
660 * src/main/webapp/OnlineGlom.html:
661 * src/main/webapp/style.css:
663 2011-06-02 Ben Konrath <ben@bagu.org>
665 Use String.isEmpty() to check for empty string.
667 * src/main/java/org/glom/web/client/activity/ListActivity.java:
669 2011-06-02 Ben Konrath <ben@bagu.org>
671 Display main layout group titles in the DetailsView.
673 This is the start of the DetailsActivity/DetailsView implementation.
675 * src/main/java/org/glom/web/client/OnlineGlomService.java:
676 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
677 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
678 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
679 Get the layout information for the details view from the server and set
680 the main layout group titles.
681 * src/main/java/org/glom/web/client/ui/DetailsView.java:
682 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
683 Add addLayoutGroup() and addLayoutField() methods. This are just
684 temporary methods for creating the the details view that will change
686 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
687 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
689 * src/main/java/org/glom/web/shared/layout/Formatting.java:
690 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
691 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
692 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
693 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
694 Data Transfer Objects that mimic the libglom object structure. These are
695 used for transferring the details layout but could also be used for
696 transferring the list layout.
698 2011-05-27 Ben Konrath <ben@bagu.org>
700 Reset the AuthenticationPopup when clearing the ListView.
702 * src/main/java/org/glom/web/client/activity/ListActivity.java:
704 2011-05-27 Ben Konrath <ben@bagu.org>
706 Fix problem with onlineglom.properties file loading.
708 The old way worked in Eclipse but not on the server. Loading the
709 onlineglom.properties file now works in Eclipse and on the server.
711 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
713 2011-05-24 Ben Konrath <ben@bagu.org>
715 Update gwt-log from 3.1.0 to 3.1.2.
717 Gwt-log 3.1.0 has been marked as depreciated.
721 2011-05-24 Ben Konrath <ben@bagu.org>
723 Add comment to ListActivity.goTo() method.
725 * src/main/java/org/glom/web/client/activity/ListActivity.java:
727 2011-05-24 Ben Konrath <ben@bagu.org>
729 Remove FIXME in convertGdkColorToHtmlColour()
731 The Gdk::Color value returned by libglom is 16-bits per channel on both
732 64 and 32-bit platforms.
734 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
736 2011-05-19 Ben Konrath <ben@bagu.org>
738 Improve performance of initial ListView load.
740 I removed a round trip to the server for getting the default table name
741 and then requesting information about that table. This also removes a potential
742 problem with the table change handler not being setup in time to receive the
743 table change event from the ListActivity.
745 * src/main/java/org/glom/web/client/OnlineGlomService.java:
746 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
747 getDefaultLayoutListTable() method. Improve comments.
748 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
749 getDefaultLayoutListTable() method instead of firing a table change
750 event to get the table to load.
751 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
752 implementation of getDefaultLayoutListTable() method.
753 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
756 2011-05-19 Ben Konrath <ben@bagu.org>
758 Override toDebugString() in TableChangeEvent.
760 This is useful to have for debugging.
762 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
764 2011-05-19 Ben Konrath <ben@bagu.org>
766 Add a "Back to List" link when at the DetailsPlace.
768 * src/main/java/org/glom/web/client/activity/ListActivity.java:
769 Populate the CellTable based on the selected table of the ListBox if
770 it's set otherwise use the default table. This allows the "Back to
772 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
773 Remove Place from constructors. Add a setPlace() method. Add
774 goToPlace() method. Set class as presenter for TableSelectionView.
775 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
776 Use the same TableSelectionActivity when switching between the List and
778 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
779 Subclass the new HasSelectableTablePlace. This removes some duplicate
781 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
782 New class to represent Places that display the TableSelectionView.
783 * src/main/java/org/glom/web/client/place/ListPlace.java:
784 Subclass the new HasSelectableTablePlace. This removes some duplicate
786 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
787 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
788 Add Presenter interface. Add setBackLinkVisible() method. Add
789 setBackLink() method.
791 2011-05-18 Ben Konrath <ben@bagu.org>
793 Enable the "Details" buttons.
795 Right now only an empty details view is displayed.
797 * src/main/java/org/glom/web/client/ClientFactory.java:
798 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
799 Add DetailsView to ClientFactory.
800 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
801 A basic activity for the details view.
802 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
803 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
805 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
806 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
808 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
809 Create a new DetailsActivity when a DetailsPlace is requested. Remove
810 unnecessary super() in constructor.
811 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
812 Create a new TableSelectionActivity when a DetailsPlace is requested. We
813 really shouldn't create a new TableSelectionActivity for both the ListPlace
814 and the DetailsPlace so this should be considered a temporary solution.
815 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
816 New file. Represents a URL for the details view.
817 * src/main/java/org/glom/web/client/ui/DetailsView.java:
818 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
819 A basic details view interface and implementation.
820 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
821 Enable the "Details" buttons.
823 2011-05-12 Ben Konrath <ben@bagu.org>
825 Use a LayoutPanel with multiple display areas for main layout.
827 This is mostly a refactor in that there are no changes from the user
828 point of view. These changes are required so that we can swap out the list view
829 with the details view when the user clicks the "Details" button.
831 * src/main/java/org/glom/web/client/ClientFactory.java:
832 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
833 OnlineGlomView. Add TableSelectionView, ListView and
835 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
836 for main layout. Add display regions for main activities. Add
837 activity manager for for main activities.
838 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
839 file from parts of the deleted OnlineGlomActivity.
840 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
841 New file from parts of the deleted OnlineGlomActivity.
842 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
843 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
844 New files for app wide table change event.
845 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
846 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
847 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
848 Activity mappers for the main activities replace the deleted app-wide
850 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
851 Fix a spelling error in he comment.
852 * src/main/java/org/glom/web/client/ui/ListView.java:
853 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
854 Renamed from LayoutListView and modified for MVP. This still not a
855 proper dumb view as prescribed by the MVP pattern but it works for now.
856 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
857 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
858 New widget stripped out of the deleted OnlineGlomView.
859 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
860 Remove hack that is fixed by this patch.
862 2011-05-06 Ben Konrath <ben@bagu.org>
864 Rename OnlineGlomPlace to ListPlace.
866 The only change besides the rename is that url will now display #list
867 instead of #Document.
869 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
870 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
871 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
872 * src/main/java/org/glom/web/client/place/ListPlace.java:
873 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
875 2011-05-06 Ben Konrath <ben@bagu.org>
877 Use Presenter for app navigation.
879 This is the proper way to deal with Place (URL) changes with the MVP
882 * src/main/java/org/glom/web/client/ClientFactory.java:
883 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
884 PlaceHistoryMapper and PlaceHistoryHandler.
885 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
886 PlaceHistoryMapper and PlaceHistoryHandler.
887 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
888 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
889 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
890 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
891 Add Presenter interface and setPresenter methods. Rename addHyperLink
892 to addDocumentLink taking only the document title as a parameter.
894 2011-04-14 Ben Konrath <ben@bagu.org>
896 Prompt for db username/password if they haven't been set.
898 This is implemented with a popup widget that is contained within the
899 OnlineGlomView and managed by the OnlineGlomActivity.
901 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
902 methods for checking and setting the database username and password.
903 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
904 new methods for checking and setting the database username and
906 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
907 Display authentication popup if the JDBC connection to the database
908 has not been authenticated.
909 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
911 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
912 for dealing with the authentication popup.
913 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
914 Implement the methods for dealing with the authentication popup.
915 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
916 try to executed queries if the database connection hasn't been
917 authenticated. Implement methods for checking and setting the
918 database username and password.
920 2011-04-12 Ben Konrath <ben@bagu.org>
922 Make log messages a little clearer.
924 Add a dash betweeen the document title and the table name.
926 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
928 2011-04-12 Ben Konrath <ben@bagu.org>
930 Protect against NPEs when cleaning up database resources.
932 While this isn't strictly necessary because the exception is caught,
933 not protecting against the NPEs makes it harder to find the real error
936 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
938 2011-04-12 Ben Konrath <ben@bagu.org>
940 Move configuration of the servlet to the constructor.
942 The servlet will be initialized even if the database authentication
943 information is not set or correct. I still need to add the UI for prompting
944 the user for the authentication information when it's required.
946 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
947 javadocs for getDocumentTitles() method.
948 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
949 Set error message when RPC fails.
950 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
951 glom files directory from the configuration file. Try to set the
952 database authentication information for the specific document if it's
953 set and works otherwise try to use the global authentication
954 information set for the directory.
955 * src/main/resources/onlineglom.properties: Moved from
956 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
957 Added detailed comments for the new keys.
959 2011-04-11 Ben Konrath <ben@bagu.org>
961 Remove unnecessary @Override in DocumentSelectionViewImpl.
963 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
965 2011-04-11 Ben Konrath <ben@bagu.org>
967 Remove center alignment in DocumentSelectionView.
969 The title element is still centred but the document titles and bottom
970 sentence are both left-aligned.
972 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
974 2011-04-11 Ben Konrath <ben@bagu.org>
976 Change 'Demo' naming convention to 'Document'.
978 This is just a rename refactor with no functional changes to the code.
980 * src/main/java/org/glom/web/client/ClientFactory.java:
981 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
982 * src/main/java/org/glom/web/client/OnlineGlom.java:
983 * src/main/java/org/glom/web/client/OnlineGlomService.java:
984 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
985 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
986 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
987 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
988 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
989 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
990 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
991 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
992 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
994 2011-04-08 Ben Konrath <ben@bagu.org>
996 Remove FIXME from safeLongToInt() method.
998 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1001 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1003 2011-04-08 Ben Konrath <ben@bagu.org>
1005 Display an error if no glom documents are found in the specified directory.
1007 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1008 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1009 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1010 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1012 2011-04-08 Ben Konrath <ben@bagu.org>
1014 Add copyright header to one more file ... oops.
1016 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1018 2011-04-08 Ben Konrath <ben@bagu.org>
1020 Add copyright header to files without it.
1022 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1023 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1024 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1025 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1026 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1027 * src/main/java/org/glom/web/shared/GlomField.java:
1029 2011-04-08 Ben Konrath <ben@bagu.org>
1031 Add support for accessing multiple glom documents in the servlet.
1033 This completes the demo selection functionality.
1035 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1036 document title to methods.
1037 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1038 document title to methods.
1039 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1040 Set browser window title when the activity starts. Correct name of
1041 document title variable.
1042 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1043 Set browser window title when the activity starts. Set the table
1044 selector change handler after table selector has been set. Clear the
1045 OnlineGlomView when the activity has been stopped.
1046 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1047 document title as the place token. Use "#Document:" instead of
1048 "#OnlineGlomPlace:" in the URL.
1049 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1050 Change heading to "Online Glom"
1051 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1052 document title in RPC methods.
1053 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1054 setDocumentTitle() method. Add clear() method.
1055 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1056 setDocumentTitle() method. Implement clear() method which removes the
1057 change handler on the ListBox, clears the ListBox and clears the
1059 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1060 Implement methods with document title. Keep track for the configured
1061 glom documents and their corresponding JDBC configurations in a hash
1062 table. This information is retrieved using the document title as the
1063 key in the hash table.
1064 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1065 document title field as it's no longer needed.
1067 2011-04-08 Ben Konrath <ben@bagu.org>
1069 Update the Eclipse JDT configuration.
1071 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1072 methods. Automatically add the copyright header to new files.
1074 2011-04-05 Ben Konrath <ben@bagu.org>
1076 Add new page for demo selection.
1078 This patch adds all the components required to view and start an
1079 OnlineGlom demo by clicking on the desired hyperlink. The user is
1080 able to return to the demo selection page with the browser's back
1081 button. I still need to modify the servlet to work with multiple
1082 documents so all demo links will load the file defined in the
1083 OnlineGlom.properties.
1085 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1086 This is only useful during development so we don't need to save it.
1087 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1088 get a reference to the DemoSelectionView.
1089 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1090 method to get a reference to the DemoSelectionView.
1091 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1092 default view to DemoSelectionView.
1093 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1094 to get glom document titles for glom files in a hard-coded directory.
1095 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1096 method to get glom document titles for glom files in a hard-coded
1098 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1099 Presenter for DemoSelectionView.
1100 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1101 for DemoSelectionView.
1102 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1103 Update for DemoSelectionView.
1104 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1105 Basic 'Place' implementation for the DemoSelectionView.
1106 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1107 The interface for the DemoSelectionView.
1108 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1109 The implementation of the DemoSelectionView.
1110 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1111 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1112 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1113 implementation of method to get glom document titles for glom files
1114 in a hard-coded directory.
1115 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1116 on longer being used.
1117 * src/main/webapp/glom.png: Glom logo.
1119 2011-04-05 Ben Konrath <ben@bagu.org>
1121 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1123 This is the forth and final commit of a refactor that will allow
1124 OnlineGlom to be used with multiple documents.
1126 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1127 Move RPC code from OnlineGlomViewImpl to this class.
1128 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1130 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1131 RPC code to the presenter class (the P in MVP).
1133 2011-04-04 Ben Konrath <ben@bagu.org>
1135 Start moving the existing OnlineGlom code to MVP.
1137 This work is based on the GWT MVP framework that is documented here:
1139 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1141 This is the third commit of a refactor that will allow OnlineGlom to
1142 be used with multiple documents.
1144 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1145 Interface for client factory which is used to get instances of various
1146 classes throughout the app.
1147 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1148 Implementation of client factory.
1149 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1150 initialize the MVP framework.
1151 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1152 New file. Activity manager for the main container widget. This is the
1154 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1155 Maps place (URL) to its corresponding activity.
1156 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1157 New file. This is just a place holder for a generated file.
1158 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1159 New file. Represents the URL for the main Online Glom app.
1160 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1161 for changes in LayoutListViewImpl.
1162 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1163 interface for View. Move code to OnlineGlomViewImpl class.
1164 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1165 file. Implementation of OnlineGlomView.
1166 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1167 Place resources. Use ClientFactoryImpl by default.
1169 2011-04-04 Ben Konrath <ben@bagu.org>
1171 Move View classes to their own package.
1173 This is the second commit of a refactor that will allow OnlineGlom to
1174 be used with multiple documents.
1176 * src/main/java/org/glom/web/client/OnlineGlom.java:
1177 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1178 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1180 2011-04-02 Ben Konrath <ben@bagu.org>
1182 Move UI code from the main module to its own class.
1184 This is the first commit of a refactor that will allow OnlineGlom to be
1185 used with multiple documents.
1187 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1188 references to OnlineGlom to OnlineGlomView.
1189 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1190 OnlineGlomView and instantiate it here.
1191 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1192 represents the main OnlineGlomView with one document.
1194 2011-04-01 Ben Konrath <ben@bagu.org>
1196 Fix formatting of gwt.xml and add DTD.
1198 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1200 2011-03-30 Ben Konrath <ben@bagu.org>
1202 Propperly convert gdkColor string to html colour string.
1204 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1206 2011-03-28 Ben Konrath <ben@bagu.org>
1208 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1210 This implementation matches
1211 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1212 readable and is not tied to Swig.
1214 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1216 2011-03-28 Ben Konrath <ben@bagu.org>
1218 Use read-only checkboxes for boolean field types.
1220 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1221 in the CellTable based on the field type. It currently only
1222 distinguishes between boolean and text columns but I'll need to add
1223 support for more types.
1224 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1225 column type in the ColumnInfo object. Add method to convert between the
1226 glom field type enum in ColumnInfo and the glom field type in libglom.
1227 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1229 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1230 getting and setting booleans.
1232 2011-03-25 Ben Konrath <ben@bagu.org>
1234 Don't get the Date twice from the ResultSet.
1236 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1238 2011-03-25 Ben Konrath <ben@bagu.org>
1240 Cleanup code in the servlet.
1242 * TODO: Remove item about row count. Add item about testing row count
1243 query with large number of rows.
1244 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1245 spelling mistakes, change method parameter to be consistent with
1248 2011-03-25 Ben Konrath <ben@bagu.org>
1250 Add server side logging with the gwt-log library.
1252 * .gitignore: Ignore the log file we're now producing.
1253 * TODO: Add a couple TODO item for logging.
1254 * pom.xml: Add gwt-log and log4j as a dependency.
1255 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1256 logging of errors, warnings and some important info.
1257 * src/main/resources/log4j.properties: New file to configure log4j.
1259 2011-03-24 Ben Konrath <ben@bagu.org>
1261 Add a disable button for the Details view.
1263 * src/main/java/org/glom/web/client/LayoutListView.java:
1265 2011-03-22 Ben Konrath <ben@bagu.org>
1267 Use a count query to get the number of rows for the list view pager.
1269 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1271 2011-03-22 Ben Konrath <ben@bagu.org>
1273 Add more TODO information about CellTable pager positioning.
1277 2011-03-19 Ben Konrath <ben@bagu.org>
1279 Add TODO item about CellTable pager positioning.
1283 2011-03-18 Ben Konrath <ben@bagu.org>
1285 Remove unneeded GlomFieldColumn class.
1287 This is just a small code cleanup.
1289 * src/main/java/org/glom/web/client/LayoutListView.java:
1291 2011-03-18 Ben Konrath <ben@bagu.org>
1293 Use cursor mode in the query that gets data for the list view.
1295 I still need to fix the potential memory problem when getting the row
1296 count for the list view.
1298 * TODO: Add note about testing memory usage with large data sets. Add
1299 item about fixing row counting with large data sets.
1300 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1301 PostgreSQL JDBC driver into cursor mode when getting data for the
1304 2011-03-15 Ben Konrath <ben@bagu.org>
1306 Remove the GWT Container from the Eclipse build classpath.
1308 The GWT dependencies are set by Maven so this isn't needed.
1312 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1314 Added some earlier mockups to git, but not to the tarball dist.
1316 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1317 Openismus. These hopefully show how we might structure the HTML so that
1318 it can be styled easily with CSS. However, we probably need to adapt them
1319 for the CSS structure that GWT dictates for common widgets.
1321 2011-03-14 Ben Konrath <ben@bagu.org>
1323 Locate OnlineGlom.properties using the ServletContext.
1325 This is required to be able to locate the file in the deployed servlet.
1327 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1328 Configure the database and glom document in in a helper method so
1329 that the ServletContext can be used to locate OnlineGlom.properties.
1330 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1331 src/main/webapp. This is the proper location for .properites files.
1333 2011-03-12 Ben Konrath <ben@bagu.org>
1335 Add note to README about why we're compiling down to obfuscated JavaScript.
1339 2011-03-11 Ben Konrath <ben@bagu.org>
1341 Use properties file to configure servlet.
1343 This allows people to change the glom file path, db username and db
1344 password without recompiling the code.
1346 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1347 * src/main/webapp/OnlineGlom.properties:
1349 2011-03-11 Ben Konrath <ben@bagu.org>
1351 Use table fields in layout list view if the layout list is not defined.
1353 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1354 Manually create a LayoutFieldVector for the query builder using the
1355 table fields when a layout list is not defined in the glom file.
1357 2011-03-11 Ben Konrath <ben@bagu.org>
1359 Only show FIXME string for images when there's an image.
1361 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1362 in this change are some small code cleanups.
1364 2011-03-11 Ben Konrath <ben@bagu.org>
1366 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1368 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1370 2011-03-11 Ben Konrath <ben@bagu.org>
1372 Correctly set the index of the default table.
1374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1375 Correctly set the index of the default table. Add commented out example
1378 2011-03-10 Ben Konrath <ben@bagu.org>
1380 Add comment to pom.xml about the previous change.
1382 * pom.xml: Add comment about the deployment issue so that it's obvious
1383 why java-libglom is set to the provided scope.
1385 2011-03-10 Ben Konrath <ben@bagu.org>
1387 Change java-libglom dependency from compile to provided in pom.xml.
1389 Since java-libglom uses jni it can only be loaded once and therefore
1390 must be placed in $CATALINA_HOME/lib and not included in each war.
1391 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1392 More information about this issue can be found in the Tomcat 6 release
1393 notes in the "JNI Based Applications" section:
1395 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1397 * README: Remove note about this issue. Deployment info should really
1398 be on the wiki anyway so I'll add it right now.
1399 * pom.xml: Change java-libglom dependency from compile to provided so
1400 that it's copied in to the packaged war.
1402 2011-03-09 Ben Konrath <ben@bagu.org>
1404 Change to using a neutral locale for currency, date and time formatting.
1406 This solves the problem of currency values being represented without a
1407 space between the currency code and the number (e.g. "EUR5.89" is now
1408 represented as "EUR 5.89"). More work is required when we implement
1409 a locale preference setting.
1411 * TODO: Add note about currency formatting issues with different
1413 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1414 to using the neutral ROOT locale.
1416 2011-03-09 Ben Konrath <ben@bagu.org>
1418 Add support for currency codes that are not ISO 4217 codes.
1420 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1421 the currency code defined in the glom file when it's not 3 characters
1422 long or when Java doesn't recognize the string as an ISO 4217 code.
1424 2011-03-08 Ben Konrath <ben@bagu.org>
1426 Remove test classes, launch configurations and configuration.
1428 The test stuff was getting in the way when creating the war. To make
1429 the war file you can now do 'mvn clean package'. The packaged war file
1430 will be in the target directory.
1432 * .classpath: Remove unused classpathentry for tests and i18n.
1433 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1434 property. Don't run test or i18n goals when packaging the war.
1435 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1440 * OnlineGlomTest-dev.launch:
1441 * OnlineGlomTest-prod.launch:
1442 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1443 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1445 2011-03-07 Ben Konrath <ben@bagu.org>
1447 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1449 These fixes allow me to use 'mvn deploy' to create the war file.
1451 * .classpath: This generated config has been updated by Eclipse. This
1452 change was probably triggered by me updating from Eclipse 3.6.1 to
1454 * .gitignore: Add entry to ignore the directory
1455 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1456 * .project: The generated config has been updated by Eclipse. This
1457 change was probably triggered by me updating from Eclipse 3.6.1 to
1459 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1460 so that Eclipse doesn't complain
1461 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1462 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1463 'tests' directory to 'client' directory. This is the new
1464 gwt-maven-plugin convension.
1465 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1466 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1468 2011-03-07 Ben Konrath <ben@bagu.org>
1470 Add support for horizontal alignment in the LayoutList columns.
1472 * TODO: Remove item about horizontal alignment. Add item about
1473 improvements to ColumnInfo.
1474 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1475 alignment on the columns. Use ColumnInfo RPC object get the column
1476 title and horizontal alignment.
1477 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1478 LayoutListView creation with ColumnInfo RPC object.
1479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1480 a ColumnInfo object for every LayoutList columnn. Convert the
1481 FieldFormatting.HorizontalAlignment to the correct
1482 ColumnnInfo.HorizontatlAlignment with the new
1483 getColumnInfoHorizontalAlignment helper method.
1484 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1485 to encapsulate column information like alignment and title. This
1486 could be used to set the colour instead of on a per cell field basis.
1487 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1488 column title storage and retrieval with ColumnInfo.
1490 2011-03-04 Ben Konrath <ben@bagu.org>
1492 Add support for column sorting.
1494 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1495 AsynDataProvider to be an anonymous inner class. Use new
1496 getSortedTableData RPC method when column sort is requested. Set all
1497 columns sortable and add an AsyncHandler to activate sorting in the
1499 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1500 method getSortedTableData(). Cleanup other method signatures.
1501 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1502 new method getSortedTableData(). Cleanup other method signatures.
1503 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1504 Implement getSortedTableData() and getTableData() methods by using a
1505 private helper method with the appropriate parameters filled in. Use
1506 user supplied sort clause when supplied, otherwise fall back to
1507 sorting by the primary key. Move destroy() method to be underneath
1508 constructor for readability. Cleanup comments.
1510 2011-03-03 Ben Konrath <ben@bagu.org>
1512 Add support for colour text and colour backgrounds to the layout list cells.
1514 Only the cell backgrounds are coloured which leaves a gap between the
1515 cells that isn't coloured. I need to figure out a way to set
1516 'style=background-colour:' on the whole column rather than just the
1519 * TODO: Add a note about colouring the background of the whole column.
1520 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1521 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1522 render the coloured text and backgrounds. Use GlomField[] for the row type.
1523 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1525 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1526 GlomField[] for the row type.
1527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1528 GlomField[] for the row type. Set the text, text colour and background
1529 colour in the GlomField objects as specified in the glom document. Add
1530 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1531 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1532 the glom field text, foreground colour and background colour.
1534 2011-03-02 Ben Konrath <ben@bagu.org>
1536 Don't display hidden tables in the combo box.
1538 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1540 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1541 code to ignore hidden tables using ArrayLists for the table names and
1543 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1544 tableNames to use ArrayLists instead of String[]. Update getter and setter
1547 2011-03-01 Ben Konrath <ben@bagu.org>
1549 Add support for Date and Time number types.
1551 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1552 Implement formatting for Date and Time values. Change the default glom
1553 file to small business example.
1555 2011-03-01 Ben Konrath <ben@bagu.org>
1557 Add support for formatting glom types as specified in the glom file.
1559 Formatting isn't finished yet - I still need to add support for Date
1562 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1563 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1564 checks for null values in JDBC cleanup code and catch all exceptions
1565 instead of just SQLExceptions.
1566 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1569 2011-03-01 Ben Konrath <ben@bagu.org>
1571 Use GWT 2.2.0 instead of 2.1.1.
1573 * pom.xml: Change GWT version numbers.
1575 2011-03-01 Ben Konrath <ben@bagu.org>
1577 A few small code cleanups.
1579 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1581 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1582 unnecessary object creation in constructor.
1583 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1584 unnecessary object creation in constructor.
1586 2011-02-28 Ben Konrath <ben@bagu.org>
1588 Add file for TODO list.
1592 2011-02-18 Ben Konrath <ben@bagu.org>
1594 Enable the CellTable Pager when more than 20 rows need to be viewed.
1596 The Pager will automatically become active when the results are larger
1597 than the CellTable size which is currently set to 20 lines.
1599 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1600 name on debug statment in RPC call in LayoutListDataProvider, add
1601 numRows parameter to LayoutListView constructor, propperly set rowCount
1603 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1604 name on debug statment in RPC call, use LayoutListTable object in RPC
1605 calls, pass rowCount to LayoutListView.
1606 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1607 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1609 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1610 interface for changes in OnlineGlomService.
1611 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1612 getLayoutListHeaders() to getLayoutListTable() and return
1613 LayoutListTable. Using this object allows me to pass other information
1614 about the LayoutList like the expected number of rows in the result set.
1615 The Connection object from the connection pool is now propperly closed.
1616 Only the requested number of lines are returned to the client in
1618 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1619 GlomTable and add columnTitles and numRows.
1621 2011-02-18 Ben Konrath <ben@bagu.org>
1623 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1625 This is a small performance boost. I'll use GlomTable to get the required
1626 layoutlist information.
1628 * src/main/java/org/glom/web/client/OnlineGlom.java:
1629 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1630 * src/main/java/org/glom/web/shared/GlomDocument.java:
1632 2011-02-18 Ben Konrath <ben@bagu.org>
1634 Add option to turn off formatting in JDT formatter preferences.
1636 * .settings/org.eclipse.jdt.core.prefs:
1638 2011-02-18 Ben Konrath <ben@bagu.org>
1640 Rename LayoutList to LayoutListView.
1642 I'm working towards setting things up to easily use MVP when the time
1645 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1647 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1650 2011-02-17 Ben Konrath <ben@bagu.org>
1652 Move LayoutListDataProvider class into LayoutList.java.
1654 * src/main/java/org/glom/web/client/LayoutList.java:
1656 2011-02-17 Ben Konrath <ben@bagu.org>
1658 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1660 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1662 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1663 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1664 from LibGlomServer.java.
1665 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1666 Rename from LibGlomServiceAsync.java.
1667 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1668 Rename from LibGlomServiceImpl.java.
1669 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1671 2011-02-17 Ben Konrath <ben@bagu.org>
1673 Update JDT settings.
1675 * .settings/org.eclipse.jdt.core.prefs:
1677 2011-02-17 Ben Konrath <ben@bagu.org>
1679 Move GWT-RPC objects to shared package (where they should be).
1681 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1682 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1683 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1684 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1685 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1686 org.glom.web.shared package.
1687 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1688 org.glom.web.shared package.
1689 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1690 directory in compilation to javascript.
1692 2011-02-16 Ben Konrath <ben@bagu.org>
1694 Add sort clause to the sql query that grabs table information.
1696 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1697 if one of the columns is a primary key.
1699 2011-02-16 Ben Konrath <ben@bagu.org>
1701 Disable generateAsync feature of gwt-maven.
1703 The generated interface does not correctly match the methods in LibGlomService
1704 and the generated singleton Util inner-class doesn't respect the servlet
1707 * pom.xml: Turn off generateAsync feature.
1708 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1709 with singleton Util inner-class.
1711 2011-02-14 Ben Konrath <ben@bagu.org>
1713 Add LGPL v3 licence notices.
1715 Followed directions listed here:
1716 http://www.gnu.org/licenses/gpl-howto.html
1718 * COPYING: This file is a copy of the GPL v3.
1719 * COPYING.LESSER: This file is a copy of the LGPL v3.
1720 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1722 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1724 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1726 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1728 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1730 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1732 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1735 2011-02-14 Ben Konrath <ben@bagu.org>
1737 Use ArrayList instead of Array in GWT-RPC calls.
1739 Apparently this gives a slight performance boost to the compiled
1742 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1744 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1747 2011-02-14 Ben Konrath <ben@bagu.org>
1749 Access data from a postgres db rather than the example glom file.
1751 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1752 compile down to obfuscated javascript.
1753 * pom.xml: Add c3p0 and postgres JDBC libraries.
1754 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1755 using a postgres db accessed through the c3p0 connection pooling library.
1757 2011-02-14 Ben Konrath <ben@bagu.org>
1759 Update Java formatter settings.
1761 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1763 2011-02-02 Ben Konrath <ben@bagu.org>
1765 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1767 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1769 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1770 the compiled webapp directory that Eclipse uses as we're using Maven now.
1771 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1772 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1774 * pom.xml: Format file, change target Java version to 1.6.
1776 2011-02-02 Ben Konrath <ben@bagu.org>
1778 Add information about a deployment related issue.
1780 * README: Add Notes section with the problem outlined.
1782 2011-02-02 Ben Konrath <ben@bagu.org>
1784 Call Glom.libglom_deinit() when the servlet is shutdown.
1786 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1787 Glom.libglom_deinit() to destroy() method.
1789 2011-01-28 Ben Konrath <ben@bagu.org>
1791 Use generated Util class to get the RPC Async interface.
1793 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1795 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1796 getInstance() method to get a reference to the RPC Async interface.
1797 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1798 getInstance() method to get a reference to the RPC Async interface, remove
1799 the now unused getLibGlomServiceProxy() method.
1801 2011-01-27 Ben Konrath <ben@bagu.org>
1803 Cleanup ChangeLog entry from previous commit.
1805 * ChangeLog: Group logical changes together and add comments.
1807 2011-01-25 Ben Konrath <ben@bagu.org>
1809 Convert to gwt-maven project.
1811 * .gitignore: Update for new project structure.
1812 * README: New file with a link to the online documentation.
1813 * pom.xml: The generated maven configuration file with some tweaks.
1815 Add / update Eclipse settings. These files are a merge of the files that
1816 were generated with the gwt-maven plugin and the files we were previously
1820 * .settings/.jsdtscope:
1821 * .settings/com.google.gdt.eclipse.core.prefs:
1822 * .settings/com.google.gwt.eclipse.core.prefs:
1823 * .settings/org.eclipse.jdt.core.prefs:
1824 * .settings/org.eclipse.wst.common.component:
1825 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1826 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1827 * .settings/org.maven.ide.eclipse.prefs:
1828 * OnlineGlomTest-dev.launch:
1829 * OnlineGlomTest-prod.launch:
1831 Java source files moved from the 'src' directory to the directory structure
1833 * src/main/java/org/glom/web/client/GlomDocument.java:
1834 * src/main/java/org/glom/web/client/GlomTable.java:
1835 * src/main/java/org/glom/web/client/LayoutList.java:
1836 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1837 * src/main/java/org/glom/web/client/LibGlomService.java:
1838 * src/main/java/org/glom/web/client/OnlineGlom.java:
1839 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1841 Non-functional property file used for translations. I included this as
1842 reminder that it's something I need to sort out.
1843 * src/main/resources/org/glom/web/client/Messages.properties:
1845 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1846 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1848 The servlet configuration files moved from the 'war' directory.
1849 * src/main/webapp/OnlineGlom.css:
1850 * src/main/webapp/OnlineGlom.html:
1851 * src/main/webapp/WEB-INF/web.xml:
1853 Generated test files with most of the code commented out. I included these
1854 so that it's easy to add tests when we're ready for them.
1855 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1856 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1858 2011-01-25 Ben Konrath <ben@bagu.org>
1860 Remove unused println.
1862 * src/org/glom/web/server/LibGlomServiceImpl.java:
1864 2011-01-25 Ben Konrath <ben@bagu.org>
1866 Add project specific JDT settings.
1868 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1869 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1871 2011-01-25 Ben Konrath <ben@bagu.org>
1873 Populate celltable with example data.
1875 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1876 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1877 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1878 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1879 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1880 asynchronously gets the example data.
1881 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1882 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1883 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1884 curently selected table to be retrieved by other widgets.
1885 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1886 implement getTableData() in a hacky way. This method needs to be updated
1887 to grab information from the database when database creating is
1890 2011-01-20 Ben Konrath <ben@bagu.org>
1892 Set table headers when table dropBox changes.
1894 * src/org/glom/web/client/GlomDocument.java: Correct some method
1896 * src/org/glom/web/client/LibGlomService.java: Add method
1897 to get list layout field names.
1898 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1899 to get list layout field names.
1900 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1901 widget for list layout table.
1902 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1903 the table drop box and add new updateTable() method to asynchronously
1904 get the layout list field names for the currently selected table.
1905 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1906 implementation of getLayoutListHeaders() method.
1907 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1909 2011-01-18 Ben Konrath <ben@bagu.org>
1911 Make a listBox with table titles instead of the flexTable demo.
1913 This is the start of something more useful.
1915 * .classpath: Exclude a bunch of packages from the JVM that are
1916 getting in the way of the Eclipse content assist.
1917 * src/org/glom/web/client/GlomDocument.java:
1918 * src/org/glom/web/client/GlomTable.java:
1919 * src/org/glom/web/client/LibGlomService.java:
1920 * src/org/glom/web/client/LibGlomServiceAsync.java:
1921 * src/org/glom/web/client/OnlineGlom.java:
1922 * src/org/glom/web/server/LibGlomServiceImpl.java:
1923 * war/OnlineGlom.html:
1924 * war/WEB-INF/web.xml:
1926 211-01-13 Ben Konrath <ben@bagu.org>
1928 Update to new java-libglom API.
1930 * .gitignore: Ignore OnlineGlom.war.
1931 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1933 2010-12-20 Ben Konrath <ben@bagu.org>
1935 Add some basic style to the table listing.
1937 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1938 header, print useful error message on async callback failure.
1939 * war/OnlineGlom.css: Add style for table header, remove defaults
1940 provided by the Eclipse project wizard.
1942 2010-12-20 Ben Konrath <ben@bagu.org>
1944 Load example file from installed glom dir.
1946 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1947 provided by java-libglom to find the example file.
1949 2010-12-20 Ben Konrath <ben@bagu.org>
1951 Update Eclipse settings.
1954 * .settings/com.google.gdt.eclipse.core.prefs:
1955 * .settings/com.google.gwt.eclipse.core.prefs:
1957 2010-12-17 Ben Konrath <ben@bagu.org>
1961 * .classpath: New file.
1962 * .gitignore: New file.
1963 * .project: New file.
1964 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1965 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1966 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1967 * src/org/glom/web/client/GlomTable.java: New file.
1968 * src/org/glom/web/client/OnlineGlom.java: New file.
1969 * src/org/glom/web/client/TableNameService.java: New file.
1970 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1971 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1972 * war/OnlineGlom.css: New file.
1973 * war/OnlineGlom.html: New file.
1974 * war/WEB-INF/web.xml: New file.
1975 * war/images/glom.png: New file.