1 2011-09-01 Ben Konrath <ben@bagu.org>
3 Set title of Portals in the Details View.
5 * pom.xml: Bump required version of java-libglom to 1.17.1.
6 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
7 widget creation to its own class. Add comments to constructor.
8 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
9 The code is mostly from the Group class with the title now set.
10 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
11 title of Portal. Update some comments. Fix some code formatting.
13 2011-09-01 Ben Konrath <ben@bagu.org>
15 Remove TODO comment for the flow table column width.
17 The flow table column width is working correctly and doesn't need to be
18 changed. See this mailing list post for more info:
20 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
22 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
24 2011-08-27 Ben Konrath <ben@bagu.org>
26 Add document title (database name) to top of the browser page.
28 I added the document title to the TableSelecitonView but that will
29 change if / when we add a view that doesn't require table selection.
31 * mockups/details-contacts.html:
32 * mockups/details-projects.html:
33 * mockups/listview-contacts.html:
34 * mockups/listview-projects.html:
35 * mockups/style.css: Add document title to mockups to keep things
37 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
38 sizes to account for the document title.
39 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
40 Set the document title when it has been retrieved from the server.
41 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
42 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
43 and implement setDocumentTitle(String) method.
44 * src/main/webapp/style.css: Add ID for document title style.
46 2011-08-25 Ben Konrath <ben@bagu.org>
48 Add NavigationType enum to LayoutItemPortal DTO.
50 This is the start of adding support for Portals to the Details View.
52 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
53 LayoutItem_Portal.navigation_type enum from libglom to
54 LayoutItemPortal.NavigationType enum.
55 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
56 NavigationType enum, field for storing the NavigationType and getter
59 2011-08-25 Ben Konrath <ben@bagu.org>
61 Implement the flow table layout in the Details View.
63 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
64 FlowTable to Group to account for the renamed class.
65 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
66 File. This is a container widget that implements the Glom details view
68 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
69 org/glom/web/client/ui/FlowTable.java.
70 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
71 so that the size of the subgroups are a closer match to the size of
72 the Glom subgroups. This makes the flowtable layout match the layout
73 in Glom for the Music Collection example file.
75 2011-08-16 Ben Konrath <ben@bagu.org>
77 Create container element for LayoutItemPortal in Details View.
79 This will help me develop the layout for the FlowTable.
81 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
82 fieldPanel variable to detailsCell.
84 2011-08-15 Ben Konrath <ben@bagu.org>
86 Set the height of the data element in the Details View.
88 I changed the InlineLabels (text in a span element) to Labels (text in
89 a div element) so that I could set the height of the details-data
90 elements instead of the details-cell parent elements. This allows the
91 the details-data element to display the correct height if style is
92 applied that shows the height.
94 This change has the added benefit of allowing the order of the labels
95 and data elements to be changed for right-to-left languages.
97 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
98 InlineLabels to Labels.
99 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
100 InlineLabels to Labels. Set the height of the data element.
101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
102 multiline text height in the Formatting DTO.
103 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
104 for multiline height along with getter and setter methods.
105 * src/main/webapp/style.css: Adjust style to account for the change
106 from span elements to div elements in the details cell.
108 2011-08-15 Ben Konrath <ben@bagu.org>
110 Make the List View appearance match the mockups.
112 It doesn't match exactly but it's much better than it was.
114 * mockups/listview-contacts.html: Remove unused css classes.
115 * mockups/listview-projects.html: Remove unused css classes.
116 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
117 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
118 for mainPanel instead of VerticalPanel (table). Set style name on
119 CellTable. Set style name on Details column. Right-align Details
121 * src/main/webapp/style.css: Adjust properties to match the mockups.
123 2011-08-12 Ben Konrath <ben@bagu.org>
125 Add better support for subgroups in the details view.
127 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
128 changed FlowTable constructor.
129 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
130 support for subgroups and subgroup-titles.
131 * src/main/webapp/style.css: Add CSS class for subgroups and
134 2011-08-12 Ben Konrath <ben@bagu.org>
136 Return the top level LayoutGroup title.
138 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
140 2011-08-11 Ben Konrath <ben@bagu.org>
142 Make the TableSelector header match the mockup.
144 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
145 the layout panel. Properly lineup the table selection header with
146 the list and details view.
147 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
148 margin around the details view.
149 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
150 Rename listBox variable to tableSelector. Set id for the style sheet.
151 Use a FlowPanel instead of a HorizontalPanel.
152 * src/main/webapp/style.css: Add properties to make the TableSelector
153 box match the mockups.
155 2011-07-13 Ben Konrath <ben@bagu.org>
157 Update install script for java-libglom version change.
159 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
162 2011-07-13 Ben Konrath <ben@bagu.org>
164 Add support sub-group in the details view.
166 I also removed the code that special-cased the default details view
169 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
171 I still have to make a proper flowtable.
173 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
174 Don't special-case default details view layout.
175 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
176 addLayoutField() as I'm going to use it.
177 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
178 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
180 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
181 extracted from DetailsViewImpl.GroupPanel. Add support for
183 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
184 column count when getting the details layout.
186 2011-07-12 Ben Konrath <ben@bagu.org>
188 Set browser title with database and table titles.
190 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
191 Set the browser title when the table changes and when the activity
193 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
194 title when retrieving document info (the GlomDocument object).
195 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
196 with getter and setter methods. Remove unused convenience constructor.
197 Use default code formatting.
199 2011-07-12 Ben Konrath <ben@bagu.org>
201 Ignore LayoutItemPortals in the details view.
203 I added a new DTO for the LayoutItemPortal so that I can ignore it in
206 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
207 LayoutItemPortal layout objects.
208 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
209 LayoutItemPortal objects when retrieving the details layout.
210 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
211 file. This is an empty class and just used to get type information for
214 2011-07-12 Ben Konrath <ben@bagu.org>
216 Use java-libglom 1.17.0.
220 2011-07-11 Ben Konrath <ben@bagu.org>
222 Remove "Table:" label from table selector.
224 This matches a recent change in the Glom UI.
226 * mockups/details-contacts.html:
227 * mockups/details-projects.html:
228 * mockups/listview-contacts.html:
229 * mockups/listview-projects.html: Remove the "Table:" label from the
231 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
233 2011-07-11 Ben Konrath <ben@bagu.org>
235 Add main groups to the details view.
237 This makes things look a little nicer in the details view. The next step
238 is to implement the flowtable.
240 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
241 resources from the standard gwt css theme. Standard.css is now
242 included in OnlineGlom.html so that the online glom css rules have
243 precedence over the gwt theme.
244 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
245 the whole LayoutGroup to the DetailsView instead of just the titles.
246 * src/main/java/org/glom/web/client/ui/DetailsView.java:
247 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
248 details layout with a helper class (GroupPanel). I might extract this
249 class when I make the full flowtable.
250 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
251 string as default so I don't have to worry about NPEs when processing
253 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
254 note beside OnlineGlom.gwt.xml above).
255 * src/main/webapp/style.css: Add default font-size to body to override
256 the font-size set by the standard theme. Don't use h2 tags for
257 group-title. Create new details-cell class.
259 2011-07-08 Murray Cumming <murrayc@murrayc.com>
261 ConfiguredDocument: Set the port number too.
263 * src/main/java/org/glom/web/server/ConfiguredDocument.java
264 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
265 Glom document. Presumably this worked sometimes so far because there is a
268 2011-07-08 Murray Cumming <murrayc@murrayc.com>
270 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
272 * src/main/java/org/glom/web/server/ConfiguredDocument.java
273 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
274 correct, though we should throw an exception too.
276 2011-07-08 Murray Cumming <murrayc@murrayc.com>
278 Fix a addDocuemnt typo.
280 * src/main/java/org/glom/web/shared/Documents.java
281 (Documents.addDocuemnt): Rename to addDocument().
282 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
283 (OnlineGlomServiceImpl.getDocuments): Adapt.
285 2011-07-08 Murray Cumming <murrayc@murrayc.com>
287 Slightly improved log output when connection fails.
289 * src/main/java/org/glom/web/server/ConfiguredDocument.java
290 (ConfiguredDocument.setUsernameAndPassword):
291 We don't know for sure if it' the username/password that's wrong, so
292 rephrase the message.
293 Also ouput the exception message, though it's generic in this case.
295 2011-07-08 Ben Konrath <ben@bagu.org>
299 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
300 added braces to a one line if statement because the Eclipse formatter
301 was getting confused.
303 2011-07-07 Ben Konrath <ben@bagu.org>
305 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
307 These should really be two separate tasks but I counldn't get things to
308 work with GWT 2.2.0 and Eclipse 3.7.
312 * .settings/org.eclipse.jdt.core.prefs:
313 * .settings/org.eclipse.jdt.ui.prefs:
314 * .settings/org.eclipse.ltk.core.refactoring.prefs:
315 * .settings/org.eclipse.m2e.core.prefs:
316 Add new config files. Update current files. Remove references to the
317 webtools plugins as we're not using any of the webtools features.
318 * .gitignore: Add logs directory which is created when running with
320 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
321 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
322 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
324 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
326 2011-07-07 Murray Cumming <murrayc@murrayc.com>
328 onlineglom.properties: Add explanatory comments.
330 * src/main/resources/onlineglom.properties: Also change the default user
331 from ben to someuser, to avoid the risk of people thinking we just
332 stupidly hard-coded a locale path, when they see that on stderr or in a log.
334 2011-06-28 Ben Konrath <ben@bagu.org>
336 Use filename in Log for incorrect passwords.
338 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
339 getFileName(String) method to get the filename from the URI.
341 2011-06-28 Ben Konrath <ben@bagu.org>
343 Add the table name to the URL token for the ListPlace.
345 This makes things consistent between the DetailsPlace and the
346 ListPlace. It also allows the the ListPlace to be bookmarked.
348 * src/main/java/org/glom/web/client/OnlineGlomService.java:
349 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
350 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
351 Remove getDefaultListLayout(). The default layout is now returned
352 by the getListLayout() method when the table name is an empty string.
353 * src/main/java/org/glom/web/client/activity/ListActivity.java:
354 Add table name field. Change to a new ListPlace when the table
355 has been changed. Use getListLayout() for getting the default
357 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
358 Add table name field. Set the correct table name in the list box
359 when loading from bookmark. This corrects a problem for the
361 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
362 Move table name to super-class (HasSelectableTable). Move document
363 and table URL keys to super-class in HasSelectableTable.
364 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
365 Add table name field. Add Tokenizer class with URL key common to
366 the subclasses (DetailsPlace and ListPlace).
367 * src/main/java/org/glom/web/client/place/ListPlace.java:
368 Add table name. Add code to parse the URL token.
369 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
370 Update ListPlace construction with empty table name string.
371 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
372 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
373 Change setTableSelectedIndex(int) to setSelectedTableName(String).
374 Update ListPlace construction with table name string.
375 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
376 Change defaultTableName field to tableName to reflect how it's now
377 used. Update the getter and setter methods.
379 2011-06-28 Ben Konrath <ben@bagu.org>
381 Enable the table selector in the DetailsView.
383 * src/main/java/org/glom/web/client/OnlineGlomService.java:
384 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
385 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
386 Remove getDefaultDetailsLayout(). The default layout is now returned
387 by the getDetailsLayout() method when the table name is an empty
389 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
390 event handler for table change event. Change to using
391 getDetailsLayout() for the default details layout.
392 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
394 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
395 when navigating to the details place.
397 2011-06-27 Ben Konrath <ben@bagu.org>
399 Use filename based unique document ID in URL and for RPC.
401 The document ID is the glom document name with spaces (' ') replaced
402 with pluses ('+') and without the .glom extension.
404 This change is mostly a string substitution of 'documentTitle' for
405 'documentID'. The only code change is the addition of a Documents DTO to get the
406 filename to document title mappings as indicated below.
408 * src/main/java/org/glom/web/client/OnlineGlomService.java:
409 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
410 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
411 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
412 Use Documents DTO to create the document links in the document
414 * src/main/java/org/glom/web/client/activity/ListActivity.java:
415 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
416 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
417 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
418 * src/main/java/org/glom/web/client/place/ListPlace.java:
419 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
420 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
421 * src/main/java/org/glom/web/client/ui/ListView.java:
422 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
423 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
424 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
425 * src/main/java/org/glom/web/server/Log.java:
426 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
427 getDocumentTitles() to getDocuments() and return the Documents DTO.
428 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
429 transferring the filename to document title mappings.
431 2011-06-25 Ben Konrath <ben@bagu.org>
433 Make the authentication popup work again.
435 This bug was introduced when I extracted ConfiguredDocument to its own class.
437 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
438 correct success / fail status in setUsernameAndPassword().
440 2011-06-25 Ben Konrath <ben@bagu.org>
442 Use filename as unique key for configuring database usernames and passwords.
444 This replaces the use of the Glom document title which could change
445 depending on the locale. Thanks to Murray Cumming for pointing out this
448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
449 * src/main/resources/onlineglom.properties:
451 2011-06-24 Ben Konrath <ben@bagu.org>
453 Pass primary key value to DetailsView.
455 This enables the DetailsView to load the correct data.
457 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
458 primary key value field and set in constructor. Pass primary key
459 value to getDetailsData().
460 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
461 variables for document title and primary key value.
462 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
463 key value to the DetailsPlace.
465 2011-06-24 Ben Konrath <ben@bagu.org>
467 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
469 This allows the primary key to be retrieved by the Details button. This
470 functionality has not been implemented yet but it's in the works.
472 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
473 the LayoutGroup result to ListView.setCellTable instead of all of its
475 * src/main/java/org/glom/web/client/ui/ListView.java:
476 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
477 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
478 get the primary key for the table.
479 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
480 index of the primary key in the LayoutGroup accounting for hidden
481 primary keys. Rename getJavaNumberFormat() to
482 convertToJavaNumberFormat() for consistency. Cleanup / add some
484 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
485 field for primary key index and a field to indicate whether the
486 primary key is hidden or not.
488 2011-06-23 Ben Konrath <ben@bagu.org>
490 Rename getTableData methods to getListData.
492 This is a rename refactor for consistency with other methods.
494 * src/main/java/org/glom/web/client/OnlineGlomService.java:
495 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
496 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
497 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
499 2011-06-23 Ben Konrath <ben@bagu.org>
501 Extract the ConfiguredDocument innerclass into its own class.
503 This makes the servlet code more object oriented.
505 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
506 from private ConfiguredDocument class in OnlineGlomServiceImpl.
507 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
508 new ConfiguredDocument class.
510 2011-06-21 Ben Konrath <ben@bagu.org>
512 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
514 This makes things more inline with how libglom works and reduces code
515 duplication. This refactor lays the groundwork for adding the primary key to
516 the LayoutGroup object.
518 * src/main/java/org/glom/web/client/OnlineGlomService.java:
519 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
520 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
521 Change method names to getListLayout and getDefaultListLayout for
522 consistency. Use LayoutGroup as the DTO for the list layout instead of
523 ColumnInfo and LayoutListTable.
524 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
525 new method names along with the LayoutGroup object for transferring the
527 * src/main/java/org/glom/web/client/ui/ListView.java:
528 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
529 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
530 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
532 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
533 Replaced with LayoutGroup.
534 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
535 expectedResultSize and defaultTableName fields which are needed for
537 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
538 type field which is needed for the list layout but will also be
539 useful for the details layout as things progress.
540 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
541 Make class abstract. Remove the unnecessary
542 getFormattingHorizontalAlignment method. Add setFormatting method.
544 2011-06-16 Ben Konrath <ben@bagu.org>
546 Add scripts for building and installing war.
548 These will help when updating OnlineGlom but they're also good
549 supplemental documentation of the build and deployment proceeding.
551 * utils/build-onlineglom-war.sh: New file.
552 * utils/install-onlineglom-war.sh: New file.
554 2011-06-16 Ben Konrath <ben@bagu.org>
556 Create wrapper class to create consistent log messages.
558 I wrapped methods in the Log class of gwt-log to add the method names
559 from the servlet and create consistent formatting of the document title
560 and table names in the log messages.
562 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
564 log methods to use methods from wrapped Log class.
566 2011-06-16 Ben Konrath <ben@bagu.org>
568 Remove superfluous conditional return.
570 Thanks to Murray Cumming for pointing this out!
572 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
574 2011-06-15 Ben Konrath <ben@bagu.org>
576 Return an ArrayList of LayoutGroups for the Details layout.
578 This corrects a problem with the details layout as it can have more
579 than one top level LayoutGroup.
581 * src/main/java/org/glom/web/client/OnlineGlomService.java:
582 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
583 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
584 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
585 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
586 with ArrayList of LayoutGroups for the details view layout.
587 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
588 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
589 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
590 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
591 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
592 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
594 2011-06-14 Ben Konrath <ben@bagu.org>
596 Use cast_dynamic method to determine the libglom LayoutItem type.
598 This is better than finding the LayoutItem type by using the string
599 returned from the get_part_type_name() method.
601 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
603 2011-06-14 Ben Konrath <ben@bagu.org>
605 Add method names to log entries in the servlet.
607 This helps when tracking down deployment problems.
609 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
611 2011-06-14 Ben Konrath <ben@bagu.org>
613 Add data to the DetailsView using a hard-coded primary key value.
615 The layout and functionality of the DetailsView is not complete. This
616 is just a checkpoint so the patch doesn't get too big.
618 * src/main/java/org/glom/web/client/OnlineGlomService.java:
619 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
620 Add getDetailsData() servlet method.
621 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
622 Add RPC to getDetailsData(). Change the way the LayoutGroups and
623 LayoutFields are added to the DetailsView.
624 * src/main/java/org/glom/web/client/ui/DetailsView.java:
625 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
626 Add setData() method. Change addLayoutGroup() and addLayoutField() to
627 take the string for the title instead of the object.
628 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
629 Add implementation getDetailsData() along with some private helper
631 * src/main/webapp/style.css: Add padding to details-data class. Add a
632 details-label class with the same padding as the details-data class.
634 2011-06-03 Ben Konrath <ben@bagu.org>
636 Use presenter.goTo() to change to the DetailsPlace.
638 This will make things easier when we need to open the DetailsView with
639 data specific to the row that was clicked.
641 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
643 2011-06-02 Ben Konrath <ben@bagu.org>
645 Add CSS file from mockups.
647 I'm adding this now because it's going to be useful to have when
648 developing the DetailsView. The TableSelectionView and ListView aren't
651 * src/main/webapp/OnlineGlom.html:
652 * src/main/webapp/style.css:
654 2011-06-02 Ben Konrath <ben@bagu.org>
656 Use String.isEmpty() to check for empty string.
658 * src/main/java/org/glom/web/client/activity/ListActivity.java:
660 2011-06-02 Ben Konrath <ben@bagu.org>
662 Display main layout group titles in the DetailsView.
664 This is the start of the DetailsActivity/DetailsView implementation.
666 * src/main/java/org/glom/web/client/OnlineGlomService.java:
667 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
668 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
669 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
670 Get the layout information for the details view from the server and set
671 the main layout group titles.
672 * src/main/java/org/glom/web/client/ui/DetailsView.java:
673 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
674 Add addLayoutGroup() and addLayoutField() methods. This are just
675 temporary methods for creating the the details view that will change
677 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
678 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
680 * src/main/java/org/glom/web/shared/layout/Formatting.java:
681 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
682 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
683 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
684 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
685 Data Transfer Objects that mimic the libglom object structure. These are
686 used for transferring the details layout but could also be used for
687 transferring the list layout.
689 2011-05-27 Ben Konrath <ben@bagu.org>
691 Reset the AuthenticationPopup when clearing the ListView.
693 * src/main/java/org/glom/web/client/activity/ListActivity.java:
695 2011-05-27 Ben Konrath <ben@bagu.org>
697 Fix problem with onlineglom.properties file loading.
699 The old way worked in Eclipse but not on the server. Loading the
700 onlineglom.properties file now works in Eclipse and on the server.
702 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
704 2011-05-24 Ben Konrath <ben@bagu.org>
706 Update gwt-log from 3.1.0 to 3.1.2.
708 Gwt-log 3.1.0 has been marked as depreciated.
712 2011-05-24 Ben Konrath <ben@bagu.org>
714 Add comment to ListActivity.goTo() method.
716 * src/main/java/org/glom/web/client/activity/ListActivity.java:
718 2011-05-24 Ben Konrath <ben@bagu.org>
720 Remove FIXME in convertGdkColorToHtmlColour()
722 The Gdk::Color value returned by libglom is 16-bits per channel on both
723 64 and 32-bit platforms.
725 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
727 2011-05-19 Ben Konrath <ben@bagu.org>
729 Improve performance of initial ListView load.
731 I removed a round trip to the server for getting the default table name
732 and then requesting information about that table. This also removes a potential
733 problem with the table change handler not being setup in time to receive the
734 table change event from the ListActivity.
736 * src/main/java/org/glom/web/client/OnlineGlomService.java:
737 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
738 getDefaultLayoutListTable() method. Improve comments.
739 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
740 getDefaultLayoutListTable() method instead of firing a table change
741 event to get the table to load.
742 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
743 implementation of getDefaultLayoutListTable() method.
744 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
747 2011-05-19 Ben Konrath <ben@bagu.org>
749 Override toDebugString() in TableChangeEvent.
751 This is useful to have for debugging.
753 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
755 2011-05-19 Ben Konrath <ben@bagu.org>
757 Add a "Back to List" link when at the DetailsPlace.
759 * src/main/java/org/glom/web/client/activity/ListActivity.java:
760 Populate the CellTable based on the selected table of the ListBox if
761 it's set otherwise use the default table. This allows the "Back to
763 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
764 Remove Place from constructors. Add a setPlace() method. Add
765 goToPlace() method. Set class as presenter for TableSelectionView.
766 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
767 Use the same TableSelectionActivity when switching between the List and
769 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
770 Subclass the new HasSelectableTablePlace. This removes some duplicate
772 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
773 New class to represent Places that display the TableSelectionView.
774 * src/main/java/org/glom/web/client/place/ListPlace.java:
775 Subclass the new HasSelectableTablePlace. This removes some duplicate
777 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
778 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
779 Add Presenter interface. Add setBackLinkVisible() method. Add
780 setBackLink() method.
782 2011-05-18 Ben Konrath <ben@bagu.org>
784 Enable the "Details" buttons.
786 Right now only an empty details view is displayed.
788 * src/main/java/org/glom/web/client/ClientFactory.java:
789 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
790 Add DetailsView to ClientFactory.
791 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
792 A basic activity for the details view.
793 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
794 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
796 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
797 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
799 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
800 Create a new DetailsActivity when a DetailsPlace is requested. Remove
801 unnecessary super() in constructor.
802 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
803 Create a new TableSelectionActivity when a DetailsPlace is requested. We
804 really shouldn't create a new TableSelectionActivity for both the ListPlace
805 and the DetailsPlace so this should be considered a temporary solution.
806 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
807 New file. Represents a URL for the details view.
808 * src/main/java/org/glom/web/client/ui/DetailsView.java:
809 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
810 A basic details view interface and implementation.
811 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
812 Enable the "Details" buttons.
814 2011-05-12 Ben Konrath <ben@bagu.org>
816 Use a LayoutPanel with multiple display areas for main layout.
818 This is mostly a refactor in that there are no changes from the user
819 point of view. These changes are required so that we can swap out the list view
820 with the details view when the user clicks the "Details" button.
822 * src/main/java/org/glom/web/client/ClientFactory.java:
823 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
824 OnlineGlomView. Add TableSelectionView, ListView and
826 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
827 for main layout. Add display regions for main activities. Add
828 activity manager for for main activities.
829 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
830 file from parts of the deleted OnlineGlomActivity.
831 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
832 New file from parts of the deleted OnlineGlomActivity.
833 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
834 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
835 New files for app wide table change event.
836 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
837 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
838 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
839 Activity mappers for the main activities replace the deleted app-wide
841 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
842 Fix a spelling error in he comment.
843 * src/main/java/org/glom/web/client/ui/ListView.java:
844 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
845 Renamed from LayoutListView and modified for MVP. This still not a
846 proper dumb view as prescribed by the MVP pattern but it works for now.
847 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
848 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
849 New widget stripped out of the deleted OnlineGlomView.
850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
851 Remove hack that is fixed by this patch.
853 2011-05-06 Ben Konrath <ben@bagu.org>
855 Rename OnlineGlomPlace to ListPlace.
857 The only change besides the rename is that url will now display #list
858 instead of #Document.
860 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
861 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
862 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
863 * src/main/java/org/glom/web/client/place/ListPlace.java:
864 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
866 2011-05-06 Ben Konrath <ben@bagu.org>
868 Use Presenter for app navigation.
870 This is the proper way to deal with Place (URL) changes with the MVP
873 * src/main/java/org/glom/web/client/ClientFactory.java:
874 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
875 PlaceHistoryMapper and PlaceHistoryHandler.
876 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
877 PlaceHistoryMapper and PlaceHistoryHandler.
878 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
879 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
880 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
881 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
882 Add Presenter interface and setPresenter methods. Rename addHyperLink
883 to addDocumentLink taking only the document title as a parameter.
885 2011-04-14 Ben Konrath <ben@bagu.org>
887 Prompt for db username/password if they haven't been set.
889 This is implemented with a popup widget that is contained within the
890 OnlineGlomView and managed by the OnlineGlomActivity.
892 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
893 methods for checking and setting the database username and password.
894 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
895 new methods for checking and setting the database username and
897 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
898 Display authentication popup if the JDBC connection to the database
899 has not been authenticated.
900 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
902 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
903 for dealing with the authentication popup.
904 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
905 Implement the methods for dealing with the authentication popup.
906 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
907 try to executed queries if the database connection hasn't been
908 authenticated. Implement methods for checking and setting the
909 database username and password.
911 2011-04-12 Ben Konrath <ben@bagu.org>
913 Make log messages a little clearer.
915 Add a dash betweeen the document title and the table name.
917 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
919 2011-04-12 Ben Konrath <ben@bagu.org>
921 Protect against NPEs when cleaning up database resources.
923 While this isn't strictly necessary because the exception is caught,
924 not protecting against the NPEs makes it harder to find the real error
927 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
929 2011-04-12 Ben Konrath <ben@bagu.org>
931 Move configuration of the servlet to the constructor.
933 The servlet will be initialized even if the database authentication
934 information is not set or correct. I still need to add the UI for prompting
935 the user for the authentication information when it's required.
937 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
938 javadocs for getDocumentTitles() method.
939 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
940 Set error message when RPC fails.
941 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
942 glom files directory from the configuration file. Try to set the
943 database authentication information for the specific document if it's
944 set and works otherwise try to use the global authentication
945 information set for the directory.
946 * src/main/resources/onlineglom.properties: Moved from
947 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
948 Added detailed comments for the new keys.
950 2011-04-11 Ben Konrath <ben@bagu.org>
952 Remove unnecessary @Override in DocumentSelectionViewImpl.
954 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
956 2011-04-11 Ben Konrath <ben@bagu.org>
958 Remove center alignment in DocumentSelectionView.
960 The title element is still centred but the document titles and bottom
961 sentence are both left-aligned.
963 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
965 2011-04-11 Ben Konrath <ben@bagu.org>
967 Change 'Demo' naming convention to 'Document'.
969 This is just a rename refactor with no functional changes to the code.
971 * src/main/java/org/glom/web/client/ClientFactory.java:
972 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
973 * src/main/java/org/glom/web/client/OnlineGlom.java:
974 * src/main/java/org/glom/web/client/OnlineGlomService.java:
975 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
976 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
977 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
978 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
979 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
980 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
981 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
982 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
983 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
985 2011-04-08 Ben Konrath <ben@bagu.org>
987 Remove FIXME from safeLongToInt() method.
989 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
992 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
994 2011-04-08 Ben Konrath <ben@bagu.org>
996 Display an error if no glom documents are found in the specified directory.
998 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
999 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1000 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1001 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1003 2011-04-08 Ben Konrath <ben@bagu.org>
1005 Add copyright header to one more file ... oops.
1007 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1009 2011-04-08 Ben Konrath <ben@bagu.org>
1011 Add copyright header to files without it.
1013 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1014 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1015 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1016 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1017 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1018 * src/main/java/org/glom/web/shared/GlomField.java:
1020 2011-04-08 Ben Konrath <ben@bagu.org>
1022 Add support for accessing multiple glom documents in the servlet.
1024 This completes the demo selection functionality.
1026 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1027 document title to methods.
1028 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1029 document title to methods.
1030 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1031 Set browser window title when the activity starts. Correct name of
1032 document title variable.
1033 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1034 Set browser window title when the activity starts. Set the table
1035 selector change handler after table selector has been set. Clear the
1036 OnlineGlomView when the activity has been stopped.
1037 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1038 document title as the place token. Use "#Document:" instead of
1039 "#OnlineGlomPlace:" in the URL.
1040 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1041 Change heading to "Online Glom"
1042 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1043 document title in RPC methods.
1044 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1045 setDocumentTitle() method. Add clear() method.
1046 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1047 setDocumentTitle() method. Implement clear() method which removes the
1048 change handler on the ListBox, clears the ListBox and clears the
1050 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1051 Implement methods with document title. Keep track for the configured
1052 glom documents and their corresponding JDBC configurations in a hash
1053 table. This information is retrieved using the document title as the
1054 key in the hash table.
1055 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1056 document title field as it's no longer needed.
1058 2011-04-08 Ben Konrath <ben@bagu.org>
1060 Update the Eclipse JDT configuration.
1062 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1063 methods. Automatically add the copyright header to new files.
1065 2011-04-05 Ben Konrath <ben@bagu.org>
1067 Add new page for demo selection.
1069 This patch adds all the components required to view and start an
1070 OnlineGlom demo by clicking on the desired hyperlink. The user is
1071 able to return to the demo selection page with the browser's back
1072 button. I still need to modify the servlet to work with multiple
1073 documents so all demo links will load the file defined in the
1074 OnlineGlom.properties.
1076 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1077 This is only useful during development so we don't need to save it.
1078 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1079 get a reference to the DemoSelectionView.
1080 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1081 method to get a reference to the DemoSelectionView.
1082 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1083 default view to DemoSelectionView.
1084 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1085 to get glom document titles for glom files in a hard-coded directory.
1086 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1087 method to get glom document titles for glom files in a hard-coded
1089 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1090 Presenter for DemoSelectionView.
1091 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1092 for DemoSelectionView.
1093 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1094 Update for DemoSelectionView.
1095 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1096 Basic 'Place' implementation for the DemoSelectionView.
1097 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1098 The interface for the DemoSelectionView.
1099 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1100 The implementation of the DemoSelectionView.
1101 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1102 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1103 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1104 implementation of method to get glom document titles for glom files
1105 in a hard-coded directory.
1106 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1107 on longer being used.
1108 * src/main/webapp/glom.png: Glom logo.
1110 2011-04-05 Ben Konrath <ben@bagu.org>
1112 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1114 This is the forth and final commit of a refactor that will allow
1115 OnlineGlom to be used with multiple documents.
1117 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1118 Move RPC code from OnlineGlomViewImpl to this class.
1119 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1121 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1122 RPC code to the presenter class (the P in MVP).
1124 2011-04-04 Ben Konrath <ben@bagu.org>
1126 Start moving the existing OnlineGlom code to MVP.
1128 This work is based on the GWT MVP framework that is documented here:
1130 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1132 This is the third commit of a refactor that will allow OnlineGlom to
1133 be used with multiple documents.
1135 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1136 Interface for client factory which is used to get instances of various
1137 classes throughout the app.
1138 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1139 Implementation of client factory.
1140 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1141 initialize the MVP framework.
1142 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1143 New file. Activity manager for the main container widget. This is the
1145 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1146 Maps place (URL) to its corresponding activity.
1147 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1148 New file. This is just a place holder for a generated file.
1149 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1150 New file. Represents the URL for the main Online Glom app.
1151 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1152 for changes in LayoutListViewImpl.
1153 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1154 interface for View. Move code to OnlineGlomViewImpl class.
1155 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1156 file. Implementation of OnlineGlomView.
1157 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1158 Place resources. Use ClientFactoryImpl by default.
1160 2011-04-04 Ben Konrath <ben@bagu.org>
1162 Move View classes to their own package.
1164 This is the second commit of a refactor that will allow OnlineGlom to
1165 be used with multiple documents.
1167 * src/main/java/org/glom/web/client/OnlineGlom.java:
1168 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1169 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1171 2011-04-02 Ben Konrath <ben@bagu.org>
1173 Move UI code from the main module to its own class.
1175 This is the first commit of a refactor that will allow OnlineGlom to be
1176 used with multiple documents.
1178 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1179 references to OnlineGlom to OnlineGlomView.
1180 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1181 OnlineGlomView and instantiate it here.
1182 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1183 represents the main OnlineGlomView with one document.
1185 2011-04-01 Ben Konrath <ben@bagu.org>
1187 Fix formatting of gwt.xml and add DTD.
1189 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1191 2011-03-30 Ben Konrath <ben@bagu.org>
1193 Propperly convert gdkColor string to html colour string.
1195 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1197 2011-03-28 Ben Konrath <ben@bagu.org>
1199 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1201 This implementation matches
1202 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1203 readable and is not tied to Swig.
1205 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1207 2011-03-28 Ben Konrath <ben@bagu.org>
1209 Use read-only checkboxes for boolean field types.
1211 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1212 in the CellTable based on the field type. It currently only
1213 distinguishes between boolean and text columns but I'll need to add
1214 support for more types.
1215 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1216 column type in the ColumnInfo object. Add method to convert between the
1217 glom field type enum in ColumnInfo and the glom field type in libglom.
1218 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1220 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1221 getting and setting booleans.
1223 2011-03-25 Ben Konrath <ben@bagu.org>
1225 Don't get the Date twice from the ResultSet.
1227 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1229 2011-03-25 Ben Konrath <ben@bagu.org>
1231 Cleanup code in the servlet.
1233 * TODO: Remove item about row count. Add item about testing row count
1234 query with large number of rows.
1235 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1236 spelling mistakes, change method parameter to be consistent with
1239 2011-03-25 Ben Konrath <ben@bagu.org>
1241 Add server side logging with the gwt-log library.
1243 * .gitignore: Ignore the log file we're now producing.
1244 * TODO: Add a couple TODO item for logging.
1245 * pom.xml: Add gwt-log and log4j as a dependency.
1246 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1247 logging of errors, warnings and some important info.
1248 * src/main/resources/log4j.properties: New file to configure log4j.
1250 2011-03-24 Ben Konrath <ben@bagu.org>
1252 Add a disable button for the Details view.
1254 * src/main/java/org/glom/web/client/LayoutListView.java:
1256 2011-03-22 Ben Konrath <ben@bagu.org>
1258 Use a count query to get the number of rows for the list view pager.
1260 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1262 2011-03-22 Ben Konrath <ben@bagu.org>
1264 Add more TODO information about CellTable pager positioning.
1268 2011-03-19 Ben Konrath <ben@bagu.org>
1270 Add TODO item about CellTable pager positioning.
1274 2011-03-18 Ben Konrath <ben@bagu.org>
1276 Remove unneeded GlomFieldColumn class.
1278 This is just a small code cleanup.
1280 * src/main/java/org/glom/web/client/LayoutListView.java:
1282 2011-03-18 Ben Konrath <ben@bagu.org>
1284 Use cursor mode in the query that gets data for the list view.
1286 I still need to fix the potential memory problem when getting the row
1287 count for the list view.
1289 * TODO: Add note about testing memory usage with large data sets. Add
1290 item about fixing row counting with large data sets.
1291 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1292 PostgreSQL JDBC driver into cursor mode when getting data for the
1295 2011-03-15 Ben Konrath <ben@bagu.org>
1297 Remove the GWT Container from the Eclipse build classpath.
1299 The GWT dependencies are set by Maven so this isn't needed.
1303 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1305 Added some earlier mockups to git, but not to the tarball dist.
1307 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1308 Openismus. These hopefully show how we might structure the HTML so that
1309 it can be styled easily with CSS. However, we probably need to adapt them
1310 for the CSS structure that GWT dictates for common widgets.
1312 2011-03-14 Ben Konrath <ben@bagu.org>
1314 Locate OnlineGlom.properties using the ServletContext.
1316 This is required to be able to locate the file in the deployed servlet.
1318 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1319 Configure the database and glom document in in a helper method so
1320 that the ServletContext can be used to locate OnlineGlom.properties.
1321 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1322 src/main/webapp. This is the proper location for .properites files.
1324 2011-03-12 Ben Konrath <ben@bagu.org>
1326 Add note to README about why we're compiling down to obfuscated JavaScript.
1330 2011-03-11 Ben Konrath <ben@bagu.org>
1332 Use properties file to configure servlet.
1334 This allows people to change the glom file path, db username and db
1335 password without recompiling the code.
1337 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1338 * src/main/webapp/OnlineGlom.properties:
1340 2011-03-11 Ben Konrath <ben@bagu.org>
1342 Use table fields in layout list view if the layout list is not defined.
1344 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1345 Manually create a LayoutFieldVector for the query builder using the
1346 table fields when a layout list is not defined in the glom file.
1348 2011-03-11 Ben Konrath <ben@bagu.org>
1350 Only show FIXME string for images when there's an image.
1352 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1353 in this change are some small code cleanups.
1355 2011-03-11 Ben Konrath <ben@bagu.org>
1357 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1361 2011-03-11 Ben Konrath <ben@bagu.org>
1363 Correctly set the index of the default table.
1365 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1366 Correctly set the index of the default table. Add commented out example
1369 2011-03-10 Ben Konrath <ben@bagu.org>
1371 Add comment to pom.xml about the previous change.
1373 * pom.xml: Add comment about the deployment issue so that it's obvious
1374 why java-libglom is set to the provided scope.
1376 2011-03-10 Ben Konrath <ben@bagu.org>
1378 Change java-libglom dependency from compile to provided in pom.xml.
1380 Since java-libglom uses jni it can only be loaded once and therefore
1381 must be placed in $CATALINA_HOME/lib and not included in each war.
1382 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1383 More information about this issue can be found in the Tomcat 6 release
1384 notes in the "JNI Based Applications" section:
1386 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1388 * README: Remove note about this issue. Deployment info should really
1389 be on the wiki anyway so I'll add it right now.
1390 * pom.xml: Change java-libglom dependency from compile to provided so
1391 that it's copied in to the packaged war.
1393 2011-03-09 Ben Konrath <ben@bagu.org>
1395 Change to using a neutral locale for currency, date and time formatting.
1397 This solves the problem of currency values being represented without a
1398 space between the currency code and the number (e.g. "EUR5.89" is now
1399 represented as "EUR 5.89"). More work is required when we implement
1400 a locale preference setting.
1402 * TODO: Add note about currency formatting issues with different
1404 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1405 to using the neutral ROOT locale.
1407 2011-03-09 Ben Konrath <ben@bagu.org>
1409 Add support for currency codes that are not ISO 4217 codes.
1411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1412 the currency code defined in the glom file when it's not 3 characters
1413 long or when Java doesn't recognize the string as an ISO 4217 code.
1415 2011-03-08 Ben Konrath <ben@bagu.org>
1417 Remove test classes, launch configurations and configuration.
1419 The test stuff was getting in the way when creating the war. To make
1420 the war file you can now do 'mvn clean package'. The packaged war file
1421 will be in the target directory.
1423 * .classpath: Remove unused classpathentry for tests and i18n.
1424 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1425 property. Don't run test or i18n goals when packaging the war.
1426 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1431 * OnlineGlomTest-dev.launch:
1432 * OnlineGlomTest-prod.launch:
1433 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1434 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1436 2011-03-07 Ben Konrath <ben@bagu.org>
1438 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1440 These fixes allow me to use 'mvn deploy' to create the war file.
1442 * .classpath: This generated config has been updated by Eclipse. This
1443 change was probably triggered by me updating from Eclipse 3.6.1 to
1445 * .gitignore: Add entry to ignore the directory
1446 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1447 * .project: The generated config has been updated by Eclipse. This
1448 change was probably triggered by me updating from Eclipse 3.6.1 to
1450 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1451 so that Eclipse doesn't complain
1452 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1453 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1454 'tests' directory to 'client' directory. This is the new
1455 gwt-maven-plugin convension.
1456 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1457 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1459 2011-03-07 Ben Konrath <ben@bagu.org>
1461 Add support for horizontal alignment in the LayoutList columns.
1463 * TODO: Remove item about horizontal alignment. Add item about
1464 improvements to ColumnInfo.
1465 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1466 alignment on the columns. Use ColumnInfo RPC object get the column
1467 title and horizontal alignment.
1468 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1469 LayoutListView creation with ColumnInfo RPC object.
1470 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1471 a ColumnInfo object for every LayoutList columnn. Convert the
1472 FieldFormatting.HorizontalAlignment to the correct
1473 ColumnnInfo.HorizontatlAlignment with the new
1474 getColumnInfoHorizontalAlignment helper method.
1475 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1476 to encapsulate column information like alignment and title. This
1477 could be used to set the colour instead of on a per cell field basis.
1478 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1479 column title storage and retrieval with ColumnInfo.
1481 2011-03-04 Ben Konrath <ben@bagu.org>
1483 Add support for column sorting.
1485 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1486 AsynDataProvider to be an anonymous inner class. Use new
1487 getSortedTableData RPC method when column sort is requested. Set all
1488 columns sortable and add an AsyncHandler to activate sorting in the
1490 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1491 method getSortedTableData(). Cleanup other method signatures.
1492 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1493 new method getSortedTableData(). Cleanup other method signatures.
1494 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1495 Implement getSortedTableData() and getTableData() methods by using a
1496 private helper method with the appropriate parameters filled in. Use
1497 user supplied sort clause when supplied, otherwise fall back to
1498 sorting by the primary key. Move destroy() method to be underneath
1499 constructor for readability. Cleanup comments.
1501 2011-03-03 Ben Konrath <ben@bagu.org>
1503 Add support for colour text and colour backgrounds to the layout list cells.
1505 Only the cell backgrounds are coloured which leaves a gap between the
1506 cells that isn't coloured. I need to figure out a way to set
1507 'style=background-colour:' on the whole column rather than just the
1510 * TODO: Add a note about colouring the background of the whole column.
1511 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1512 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1513 render the coloured text and backgrounds. Use GlomField[] for the row type.
1514 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1516 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1517 GlomField[] for the row type.
1518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1519 GlomField[] for the row type. Set the text, text colour and background
1520 colour in the GlomField objects as specified in the glom document. Add
1521 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1522 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1523 the glom field text, foreground colour and background colour.
1525 2011-03-02 Ben Konrath <ben@bagu.org>
1527 Don't display hidden tables in the combo box.
1529 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1531 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1532 code to ignore hidden tables using ArrayLists for the table names and
1534 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1535 tableNames to use ArrayLists instead of String[]. Update getter and setter
1538 2011-03-01 Ben Konrath <ben@bagu.org>
1540 Add support for Date and Time number types.
1542 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1543 Implement formatting for Date and Time values. Change the default glom
1544 file to small business example.
1546 2011-03-01 Ben Konrath <ben@bagu.org>
1548 Add support for formatting glom types as specified in the glom file.
1550 Formatting isn't finished yet - I still need to add support for Date
1553 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1554 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1555 checks for null values in JDBC cleanup code and catch all exceptions
1556 instead of just SQLExceptions.
1557 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1560 2011-03-01 Ben Konrath <ben@bagu.org>
1562 Use GWT 2.2.0 instead of 2.1.1.
1564 * pom.xml: Change GWT version numbers.
1566 2011-03-01 Ben Konrath <ben@bagu.org>
1568 A few small code cleanups.
1570 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1572 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1573 unnecessary object creation in constructor.
1574 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1575 unnecessary object creation in constructor.
1577 2011-02-28 Ben Konrath <ben@bagu.org>
1579 Add file for TODO list.
1583 2011-02-18 Ben Konrath <ben@bagu.org>
1585 Enable the CellTable Pager when more than 20 rows need to be viewed.
1587 The Pager will automatically become active when the results are larger
1588 than the CellTable size which is currently set to 20 lines.
1590 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1591 name on debug statment in RPC call in LayoutListDataProvider, add
1592 numRows parameter to LayoutListView constructor, propperly set rowCount
1594 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1595 name on debug statment in RPC call, use LayoutListTable object in RPC
1596 calls, pass rowCount to LayoutListView.
1597 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1598 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1600 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1601 interface for changes in OnlineGlomService.
1602 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1603 getLayoutListHeaders() to getLayoutListTable() and return
1604 LayoutListTable. Using this object allows me to pass other information
1605 about the LayoutList like the expected number of rows in the result set.
1606 The Connection object from the connection pool is now propperly closed.
1607 Only the requested number of lines are returned to the client in
1609 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1610 GlomTable and add columnTitles and numRows.
1612 2011-02-18 Ben Konrath <ben@bagu.org>
1614 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1616 This is a small performance boost. I'll use GlomTable to get the required
1617 layoutlist information.
1619 * src/main/java/org/glom/web/client/OnlineGlom.java:
1620 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1621 * src/main/java/org/glom/web/shared/GlomDocument.java:
1623 2011-02-18 Ben Konrath <ben@bagu.org>
1625 Add option to turn off formatting in JDT formatter preferences.
1627 * .settings/org.eclipse.jdt.core.prefs:
1629 2011-02-18 Ben Konrath <ben@bagu.org>
1631 Rename LayoutList to LayoutListView.
1633 I'm working towards setting things up to easily use MVP when the time
1636 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1638 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1641 2011-02-17 Ben Konrath <ben@bagu.org>
1643 Move LayoutListDataProvider class into LayoutList.java.
1645 * src/main/java/org/glom/web/client/LayoutList.java:
1647 2011-02-17 Ben Konrath <ben@bagu.org>
1649 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1651 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1653 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1654 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1655 from LibGlomServer.java.
1656 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1657 Rename from LibGlomServiceAsync.java.
1658 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1659 Rename from LibGlomServiceImpl.java.
1660 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1662 2011-02-17 Ben Konrath <ben@bagu.org>
1664 Update JDT settings.
1666 * .settings/org.eclipse.jdt.core.prefs:
1668 2011-02-17 Ben Konrath <ben@bagu.org>
1670 Move GWT-RPC objects to shared package (where they should be).
1672 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1673 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1674 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1675 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1676 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1677 org.glom.web.shared package.
1678 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1679 org.glom.web.shared package.
1680 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1681 directory in compilation to javascript.
1683 2011-02-16 Ben Konrath <ben@bagu.org>
1685 Add sort clause to the sql query that grabs table information.
1687 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1688 if one of the columns is a primary key.
1690 2011-02-16 Ben Konrath <ben@bagu.org>
1692 Disable generateAsync feature of gwt-maven.
1694 The generated interface does not correctly match the methods in LibGlomService
1695 and the generated singleton Util inner-class doesn't respect the servlet
1698 * pom.xml: Turn off generateAsync feature.
1699 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1700 with singleton Util inner-class.
1702 2011-02-14 Ben Konrath <ben@bagu.org>
1704 Add LGPL v3 licence notices.
1706 Followed directions listed here:
1707 http://www.gnu.org/licenses/gpl-howto.html
1709 * COPYING: This file is a copy of the GPL v3.
1710 * COPYING.LESSER: This file is a copy of the LGPL v3.
1711 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1713 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1715 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1717 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1719 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1721 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1723 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1726 2011-02-14 Ben Konrath <ben@bagu.org>
1728 Use ArrayList instead of Array in GWT-RPC calls.
1730 Apparently this gives a slight performance boost to the compiled
1733 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1735 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1738 2011-02-14 Ben Konrath <ben@bagu.org>
1740 Access data from a postgres db rather than the example glom file.
1742 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1743 compile down to obfuscated javascript.
1744 * pom.xml: Add c3p0 and postgres JDBC libraries.
1745 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1746 using a postgres db accessed through the c3p0 connection pooling library.
1748 2011-02-14 Ben Konrath <ben@bagu.org>
1750 Update Java formatter settings.
1752 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1754 2011-02-02 Ben Konrath <ben@bagu.org>
1756 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1758 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1760 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1761 the compiled webapp directory that Eclipse uses as we're using Maven now.
1762 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1763 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1765 * pom.xml: Format file, change target Java version to 1.6.
1767 2011-02-02 Ben Konrath <ben@bagu.org>
1769 Add information about a deployment related issue.
1771 * README: Add Notes section with the problem outlined.
1773 2011-02-02 Ben Konrath <ben@bagu.org>
1775 Call Glom.libglom_deinit() when the servlet is shutdown.
1777 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1778 Glom.libglom_deinit() to destroy() method.
1780 2011-01-28 Ben Konrath <ben@bagu.org>
1782 Use generated Util class to get the RPC Async interface.
1784 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1786 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1787 getInstance() method to get a reference to the RPC Async interface.
1788 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1789 getInstance() method to get a reference to the RPC Async interface, remove
1790 the now unused getLibGlomServiceProxy() method.
1792 2011-01-27 Ben Konrath <ben@bagu.org>
1794 Cleanup ChangeLog entry from previous commit.
1796 * ChangeLog: Group logical changes together and add comments.
1798 2011-01-25 Ben Konrath <ben@bagu.org>
1800 Convert to gwt-maven project.
1802 * .gitignore: Update for new project structure.
1803 * README: New file with a link to the online documentation.
1804 * pom.xml: The generated maven configuration file with some tweaks.
1806 Add / update Eclipse settings. These files are a merge of the files that
1807 were generated with the gwt-maven plugin and the files we were previously
1811 * .settings/.jsdtscope:
1812 * .settings/com.google.gdt.eclipse.core.prefs:
1813 * .settings/com.google.gwt.eclipse.core.prefs:
1814 * .settings/org.eclipse.jdt.core.prefs:
1815 * .settings/org.eclipse.wst.common.component:
1816 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1817 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1818 * .settings/org.maven.ide.eclipse.prefs:
1819 * OnlineGlomTest-dev.launch:
1820 * OnlineGlomTest-prod.launch:
1822 Java source files moved from the 'src' directory to the directory structure
1824 * src/main/java/org/glom/web/client/GlomDocument.java:
1825 * src/main/java/org/glom/web/client/GlomTable.java:
1826 * src/main/java/org/glom/web/client/LayoutList.java:
1827 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1828 * src/main/java/org/glom/web/client/LibGlomService.java:
1829 * src/main/java/org/glom/web/client/OnlineGlom.java:
1830 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1832 Non-functional property file used for translations. I included this as
1833 reminder that it's something I need to sort out.
1834 * src/main/resources/org/glom/web/client/Messages.properties:
1836 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1837 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1839 The servlet configuration files moved from the 'war' directory.
1840 * src/main/webapp/OnlineGlom.css:
1841 * src/main/webapp/OnlineGlom.html:
1842 * src/main/webapp/WEB-INF/web.xml:
1844 Generated test files with most of the code commented out. I included these
1845 so that it's easy to add tests when we're ready for them.
1846 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1847 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1849 2011-01-25 Ben Konrath <ben@bagu.org>
1851 Remove unused println.
1853 * src/org/glom/web/server/LibGlomServiceImpl.java:
1855 2011-01-25 Ben Konrath <ben@bagu.org>
1857 Add project specific JDT settings.
1859 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1860 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1862 2011-01-25 Ben Konrath <ben@bagu.org>
1864 Populate celltable with example data.
1866 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1867 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1868 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1869 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1870 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1871 asynchronously gets the example data.
1872 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1873 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1874 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1875 curently selected table to be retrieved by other widgets.
1876 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1877 implement getTableData() in a hacky way. This method needs to be updated
1878 to grab information from the database when database creating is
1881 2011-01-20 Ben Konrath <ben@bagu.org>
1883 Set table headers when table dropBox changes.
1885 * src/org/glom/web/client/GlomDocument.java: Correct some method
1887 * src/org/glom/web/client/LibGlomService.java: Add method
1888 to get list layout field names.
1889 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1890 to get list layout field names.
1891 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1892 widget for list layout table.
1893 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1894 the table drop box and add new updateTable() method to asynchronously
1895 get the layout list field names for the currently selected table.
1896 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1897 implementation of getLayoutListHeaders() method.
1898 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1900 2011-01-18 Ben Konrath <ben@bagu.org>
1902 Make a listBox with table titles instead of the flexTable demo.
1904 This is the start of something more useful.
1906 * .classpath: Exclude a bunch of packages from the JVM that are
1907 getting in the way of the Eclipse content assist.
1908 * src/org/glom/web/client/GlomDocument.java:
1909 * src/org/glom/web/client/GlomTable.java:
1910 * src/org/glom/web/client/LibGlomService.java:
1911 * src/org/glom/web/client/LibGlomServiceAsync.java:
1912 * src/org/glom/web/client/OnlineGlom.java:
1913 * src/org/glom/web/server/LibGlomServiceImpl.java:
1914 * war/OnlineGlom.html:
1915 * war/WEB-INF/web.xml:
1917 211-01-13 Ben Konrath <ben@bagu.org>
1919 Update to new java-libglom API.
1921 * .gitignore: Ignore OnlineGlom.war.
1922 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1924 2010-12-20 Ben Konrath <ben@bagu.org>
1926 Add some basic style to the table listing.
1928 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1929 header, print useful error message on async callback failure.
1930 * war/OnlineGlom.css: Add style for table header, remove defaults
1931 provided by the Eclipse project wizard.
1933 2010-12-20 Ben Konrath <ben@bagu.org>
1935 Load example file from installed glom dir.
1937 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1938 provided by java-libglom to find the example file.
1940 2010-12-20 Ben Konrath <ben@bagu.org>
1942 Update Eclipse settings.
1945 * .settings/com.google.gdt.eclipse.core.prefs:
1946 * .settings/com.google.gwt.eclipse.core.prefs:
1948 2010-12-17 Ben Konrath <ben@bagu.org>
1952 * .classpath: New file.
1953 * .gitignore: New file.
1954 * .project: New file.
1955 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1956 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1957 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1958 * src/org/glom/web/client/GlomTable.java: New file.
1959 * src/org/glom/web/client/OnlineGlom.java: New file.
1960 * src/org/glom/web/client/TableNameService.java: New file.
1961 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1962 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1963 * war/OnlineGlom.css: New file.
1964 * war/OnlineGlom.html: New file.
1965 * war/WEB-INF/web.xml: New file.
1966 * war/images/glom.png: New file.