1 2011-08-15 Ben Konrath <ben@bagu.org>
3 Set the height of the data element in the Details View.
5 I changed the InlineLabels (text in a span element) to Labels (text in
6 a div element) so that I could set the height of the details-data
7 elements instead of the details-cell parent elements. This allows the
8 the details-data element to display the correct height if style is
9 applied that shows the height.
11 This change has the added benefit of allowing the order of the labels
12 and data elements to be changed for right-to-left languages.
14 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
15 InlineLabels to Labels.
16 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
17 InlineLabels to Labels. Set the height of the data element.
18 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
19 multiline text height in the Formatting DTO.
20 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
21 for multiline height along with getter and setter methods.
22 * src/main/webapp/style.css: Adjust style to account for the change
23 from span elements to div elements in the details cell.
25 2011-08-15 Ben Konrath <ben@bagu.org>
27 Make the List View appearance match the mockups.
29 It doesn't match exactly but it's much better than it was.
31 * mockups/listview-contacts.html: Remove unused css classes.
32 * mockups/listview-projects.html: Remove unused css classes.
33 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
34 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
35 for mainPanel instead of VerticalPanel (table). Set style name on
36 CellTable. Set style name on Details column. Right-align Details
38 * src/main/webapp/style.css: Adjust properties to match the mockups.
40 2011-08-12 Ben Konrath <ben@bagu.org>
42 Add better support for subgroups in the details view.
44 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
45 changed FlowTable constructor.
46 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
47 support for subgroups and subgroup-titles.
48 * src/main/webapp/style.css: Add CSS class for subgroups and
51 2011-08-12 Ben Konrath <ben@bagu.org>
53 Return the top level LayoutGroup title.
55 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
57 2011-08-11 Ben Konrath <ben@bagu.org>
59 Make the TableSelector header match the mockup.
61 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
62 the layout panel. Properly lineup the table selection header with
63 the list and details view.
64 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
65 margin around the details view.
66 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
67 Rename listBox variable to tableSelector. Set id for the style sheet.
68 Use a FlowPanel instead of a HorizontalPanel.
69 * src/main/webapp/style.css: Add properties to make the TableSelector
70 box match the mockups.
72 2011-07-13 Ben Konrath <ben@bagu.org>
74 Update install script for java-libglom version change.
76 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
79 2011-07-13 Ben Konrath <ben@bagu.org>
81 Add support sub-group in the details view.
83 I also removed the code that special-cased the default details view
86 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
88 I still have to make a proper flowtable.
90 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
91 Don't special-case default details view layout.
92 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
93 addLayoutField() as I'm going to use it.
94 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
95 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
97 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
98 extracted from DetailsViewImpl.GroupPanel. Add support for
100 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
101 column count when getting the details layout.
103 2011-07-12 Ben Konrath <ben@bagu.org>
105 Set browser title with database and table titles.
107 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
108 Set the browser title when the table changes and when the activity
110 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
111 title when retrieving document info (the GlomDocument object).
112 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
113 with getter and setter methods. Remove unused convenience constructor.
114 Use default code formatting.
116 2011-07-12 Ben Konrath <ben@bagu.org>
118 Ignore LayoutItemPortals in the details view.
120 I added a new DTO for the LayoutItemPortal so that I can ignore it in
123 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
124 LayoutItemPortal layout objects.
125 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
126 LayoutItemPortal objects when retrieving the details layout.
127 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
128 file. This is an empty class and just used to get type information for
131 2011-07-12 Ben Konrath <ben@bagu.org>
133 Use java-libglom 1.17.0.
137 2011-07-11 Ben Konrath <ben@bagu.org>
139 Remove "Table:" label from table selector.
141 This matches a recent change in the Glom UI.
143 * mockups/details-contacts.html:
144 * mockups/details-projects.html:
145 * mockups/listview-contacts.html:
146 * mockups/listview-projects.html: Remove the "Table:" label from the
148 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
150 2011-07-11 Ben Konrath <ben@bagu.org>
152 Add main groups to the details view.
154 This makes things look a little nicer in the details view. The next step
155 is to implement the flowtable.
157 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
158 resources from the standard gwt css theme. Standard.css is now
159 included in OnlineGlom.html so that the online glom css rules have
160 precedence over the gwt theme.
161 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
162 the whole LayoutGroup to the DetailsView instead of just the titles.
163 * src/main/java/org/glom/web/client/ui/DetailsView.java:
164 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
165 details layout with a helper class (GroupPanel). I might extract this
166 class when I make the full flowtable.
167 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
168 string as default so I don't have to worry about NPEs when processing
170 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
171 note beside OnlineGlom.gwt.xml above).
172 * src/main/webapp/style.css: Add default font-size to body to override
173 the font-size set by the standard theme. Don't use h2 tags for
174 group-title. Create new details-cell class.
176 2011-07-08 Murray Cumming <murrayc@murrayc.com>
178 ConfiguredDocument: Set the port number too.
180 * src/main/java/org/glom/web/server/ConfiguredDocument.java
181 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
182 Glom document. Presumably this worked sometimes so far because there is a
185 2011-07-08 Murray Cumming <murrayc@murrayc.com>
187 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
189 * src/main/java/org/glom/web/server/ConfiguredDocument.java
190 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
191 correct, though we should throw an exception too.
193 2011-07-08 Murray Cumming <murrayc@murrayc.com>
195 Fix a addDocuemnt typo.
197 * src/main/java/org/glom/web/shared/Documents.java
198 (Documents.addDocuemnt): Rename to addDocument().
199 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
200 (OnlineGlomServiceImpl.getDocuments): Adapt.
202 2011-07-08 Murray Cumming <murrayc@murrayc.com>
204 Slightly improved log output when connection fails.
206 * src/main/java/org/glom/web/server/ConfiguredDocument.java
207 (ConfiguredDocument.setUsernameAndPassword):
208 We don't know for sure if it' the username/password that's wrong, so
209 rephrase the message.
210 Also ouput the exception message, though it's generic in this case.
212 2011-07-08 Ben Konrath <ben@bagu.org>
216 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
217 added braces to a one line if statement because the Eclipse formatter
218 was getting confused.
220 2011-07-07 Ben Konrath <ben@bagu.org>
222 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
224 These should really be two separate tasks but I counldn't get things to
225 work with GWT 2.2.0 and Eclipse 3.7.
229 * .settings/org.eclipse.jdt.core.prefs:
230 * .settings/org.eclipse.jdt.ui.prefs:
231 * .settings/org.eclipse.ltk.core.refactoring.prefs:
232 * .settings/org.eclipse.m2e.core.prefs:
233 Add new config files. Update current files. Remove references to the
234 webtools plugins as we're not using any of the webtools features.
235 * .gitignore: Add logs directory which is created when running with
237 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
238 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
239 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
241 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
243 2011-07-07 Murray Cumming <murrayc@murrayc.com>
245 onlineglom.properties: Add explanatory comments.
247 * src/main/resources/onlineglom.properties: Also change the default user
248 from ben to someuser, to avoid the risk of people thinking we just
249 stupidly hard-coded a locale path, when they see that on stderr or in a log.
251 2011-06-28 Ben Konrath <ben@bagu.org>
253 Use filename in Log for incorrect passwords.
255 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
256 getFileName(String) method to get the filename from the URI.
258 2011-06-28 Ben Konrath <ben@bagu.org>
260 Add the table name to the URL token for the ListPlace.
262 This makes things consistent between the DetailsPlace and the
263 ListPlace. It also allows the the ListPlace to be bookmarked.
265 * src/main/java/org/glom/web/client/OnlineGlomService.java:
266 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
267 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
268 Remove getDefaultListLayout(). The default layout is now returned
269 by the getListLayout() method when the table name is an empty string.
270 * src/main/java/org/glom/web/client/activity/ListActivity.java:
271 Add table name field. Change to a new ListPlace when the table
272 has been changed. Use getListLayout() for getting the default
274 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
275 Add table name field. Set the correct table name in the list box
276 when loading from bookmark. This corrects a problem for the
278 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
279 Move table name to super-class (HasSelectableTable). Move document
280 and table URL keys to super-class in HasSelectableTable.
281 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
282 Add table name field. Add Tokenizer class with URL key common to
283 the subclasses (DetailsPlace and ListPlace).
284 * src/main/java/org/glom/web/client/place/ListPlace.java:
285 Add table name. Add code to parse the URL token.
286 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
287 Update ListPlace construction with empty table name string.
288 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
289 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
290 Change setTableSelectedIndex(int) to setSelectedTableName(String).
291 Update ListPlace construction with table name string.
292 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
293 Change defaultTableName field to tableName to reflect how it's now
294 used. Update the getter and setter methods.
296 2011-06-28 Ben Konrath <ben@bagu.org>
298 Enable the table selector in the DetailsView.
300 * src/main/java/org/glom/web/client/OnlineGlomService.java:
301 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
302 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
303 Remove getDefaultDetailsLayout(). The default layout is now returned
304 by the getDetailsLayout() method when the table name is an empty
306 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
307 event handler for table change event. Change to using
308 getDetailsLayout() for the default details layout.
309 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
311 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
312 when navigating to the details place.
314 2011-06-27 Ben Konrath <ben@bagu.org>
316 Use filename based unique document ID in URL and for RPC.
318 The document ID is the glom document name with spaces (' ') replaced
319 with pluses ('+') and without the .glom extension.
321 This change is mostly a string substitution of 'documentTitle' for
322 'documentID'. The only code change is the addition of a Documents DTO to get the
323 filename to document title mappings as indicated below.
325 * src/main/java/org/glom/web/client/OnlineGlomService.java:
326 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
327 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
328 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
329 Use Documents DTO to create the document links in the document
331 * src/main/java/org/glom/web/client/activity/ListActivity.java:
332 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
333 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
334 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
335 * src/main/java/org/glom/web/client/place/ListPlace.java:
336 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
337 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
338 * src/main/java/org/glom/web/client/ui/ListView.java:
339 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
340 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
341 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
342 * src/main/java/org/glom/web/server/Log.java:
343 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
344 getDocumentTitles() to getDocuments() and return the Documents DTO.
345 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
346 transferring the filename to document title mappings.
348 2011-06-25 Ben Konrath <ben@bagu.org>
350 Make the authentication popup work again.
352 This bug was introduced when I extracted ConfiguredDocument to its own class.
354 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
355 correct success / fail status in setUsernameAndPassword().
357 2011-06-25 Ben Konrath <ben@bagu.org>
359 Use filename as unique key for configuring database usernames and passwords.
361 This replaces the use of the Glom document title which could change
362 depending on the locale. Thanks to Murray Cumming for pointing out this
365 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
366 * src/main/resources/onlineglom.properties:
368 2011-06-24 Ben Konrath <ben@bagu.org>
370 Pass primary key value to DetailsView.
372 This enables the DetailsView to load the correct data.
374 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
375 primary key value field and set in constructor. Pass primary key
376 value to getDetailsData().
377 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
378 variables for document title and primary key value.
379 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
380 key value to the DetailsPlace.
382 2011-06-24 Ben Konrath <ben@bagu.org>
384 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
386 This allows the primary key to be retrieved by the Details button. This
387 functionality has not been implemented yet but it's in the works.
389 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
390 the LayoutGroup result to ListView.setCellTable instead of all of its
392 * src/main/java/org/glom/web/client/ui/ListView.java:
393 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
394 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
395 get the primary key for the table.
396 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
397 index of the primary key in the LayoutGroup accounting for hidden
398 primary keys. Rename getJavaNumberFormat() to
399 convertToJavaNumberFormat() for consistency. Cleanup / add some
401 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
402 field for primary key index and a field to indicate whether the
403 primary key is hidden or not.
405 2011-06-23 Ben Konrath <ben@bagu.org>
407 Rename getTableData methods to getListData.
409 This is a rename refactor for consistency with other methods.
411 * src/main/java/org/glom/web/client/OnlineGlomService.java:
412 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
413 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
414 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
416 2011-06-23 Ben Konrath <ben@bagu.org>
418 Extract the ConfiguredDocument innerclass into its own class.
420 This makes the servlet code more object oriented.
422 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
423 from private ConfiguredDocument class in OnlineGlomServiceImpl.
424 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
425 new ConfiguredDocument class.
427 2011-06-21 Ben Konrath <ben@bagu.org>
429 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
431 This makes things more inline with how libglom works and reduces code
432 duplication. This refactor lays the groundwork for adding the primary key to
433 the LayoutGroup object.
435 * src/main/java/org/glom/web/client/OnlineGlomService.java:
436 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
437 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
438 Change method names to getListLayout and getDefaultListLayout for
439 consistency. Use LayoutGroup as the DTO for the list layout instead of
440 ColumnInfo and LayoutListTable.
441 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
442 new method names along with the LayoutGroup object for transferring the
444 * src/main/java/org/glom/web/client/ui/ListView.java:
445 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
446 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
447 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
449 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
450 Replaced with LayoutGroup.
451 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
452 expectedResultSize and defaultTableName fields which are needed for
454 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
455 type field which is needed for the list layout but will also be
456 useful for the details layout as things progress.
457 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
458 Make class abstract. Remove the unnecessary
459 getFormattingHorizontalAlignment method. Add setFormatting method.
461 2011-06-16 Ben Konrath <ben@bagu.org>
463 Add scripts for building and installing war.
465 These will help when updating OnlineGlom but they're also good
466 supplemental documentation of the build and deployment proceeding.
468 * utils/build-onlineglom-war.sh: New file.
469 * utils/install-onlineglom-war.sh: New file.
471 2011-06-16 Ben Konrath <ben@bagu.org>
473 Create wrapper class to create consistent log messages.
475 I wrapped methods in the Log class of gwt-log to add the method names
476 from the servlet and create consistent formatting of the document title
477 and table names in the log messages.
479 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
480 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
481 log methods to use methods from wrapped Log class.
483 2011-06-16 Ben Konrath <ben@bagu.org>
485 Remove superfluous conditional return.
487 Thanks to Murray Cumming for pointing this out!
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
491 2011-06-15 Ben Konrath <ben@bagu.org>
493 Return an ArrayList of LayoutGroups for the Details layout.
495 This corrects a problem with the details layout as it can have more
496 than one top level LayoutGroup.
498 * src/main/java/org/glom/web/client/OnlineGlomService.java:
499 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
500 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
501 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
502 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
503 with ArrayList of LayoutGroups for the details view layout.
504 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
505 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
506 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
507 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
508 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
509 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
511 2011-06-14 Ben Konrath <ben@bagu.org>
513 Use cast_dynamic method to determine the libglom LayoutItem type.
515 This is better than finding the LayoutItem type by using the string
516 returned from the get_part_type_name() method.
518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
520 2011-06-14 Ben Konrath <ben@bagu.org>
522 Add method names to log entries in the servlet.
524 This helps when tracking down deployment problems.
526 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
528 2011-06-14 Ben Konrath <ben@bagu.org>
530 Add data to the DetailsView using a hard-coded primary key value.
532 The layout and functionality of the DetailsView is not complete. This
533 is just a checkpoint so the patch doesn't get too big.
535 * src/main/java/org/glom/web/client/OnlineGlomService.java:
536 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
537 Add getDetailsData() servlet method.
538 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
539 Add RPC to getDetailsData(). Change the way the LayoutGroups and
540 LayoutFields are added to the DetailsView.
541 * src/main/java/org/glom/web/client/ui/DetailsView.java:
542 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
543 Add setData() method. Change addLayoutGroup() and addLayoutField() to
544 take the string for the title instead of the object.
545 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
546 Add implementation getDetailsData() along with some private helper
548 * src/main/webapp/style.css: Add padding to details-data class. Add a
549 details-label class with the same padding as the details-data class.
551 2011-06-03 Ben Konrath <ben@bagu.org>
553 Use presenter.goTo() to change to the DetailsPlace.
555 This will make things easier when we need to open the DetailsView with
556 data specific to the row that was clicked.
558 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
560 2011-06-02 Ben Konrath <ben@bagu.org>
562 Add CSS file from mockups.
564 I'm adding this now because it's going to be useful to have when
565 developing the DetailsView. The TableSelectionView and ListView aren't
568 * src/main/webapp/OnlineGlom.html:
569 * src/main/webapp/style.css:
571 2011-06-02 Ben Konrath <ben@bagu.org>
573 Use String.isEmpty() to check for empty string.
575 * src/main/java/org/glom/web/client/activity/ListActivity.java:
577 2011-06-02 Ben Konrath <ben@bagu.org>
579 Display main layout group titles in the DetailsView.
581 This is the start of the DetailsActivity/DetailsView implementation.
583 * src/main/java/org/glom/web/client/OnlineGlomService.java:
584 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
585 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
586 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
587 Get the layout information for the details view from the server and set
588 the main layout group titles.
589 * src/main/java/org/glom/web/client/ui/DetailsView.java:
590 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
591 Add addLayoutGroup() and addLayoutField() methods. This are just
592 temporary methods for creating the the details view that will change
594 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
595 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
597 * src/main/java/org/glom/web/shared/layout/Formatting.java:
598 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
599 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
600 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
601 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
602 Data Transfer Objects that mimic the libglom object structure. These are
603 used for transferring the details layout but could also be used for
604 transferring the list layout.
606 2011-05-27 Ben Konrath <ben@bagu.org>
608 Reset the AuthenticationPopup when clearing the ListView.
610 * src/main/java/org/glom/web/client/activity/ListActivity.java:
612 2011-05-27 Ben Konrath <ben@bagu.org>
614 Fix problem with onlineglom.properties file loading.
616 The old way worked in Eclipse but not on the server. Loading the
617 onlineglom.properties file now works in Eclipse and on the server.
619 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
621 2011-05-24 Ben Konrath <ben@bagu.org>
623 Update gwt-log from 3.1.0 to 3.1.2.
625 Gwt-log 3.1.0 has been marked as depreciated.
629 2011-05-24 Ben Konrath <ben@bagu.org>
631 Add comment to ListActivity.goTo() method.
633 * src/main/java/org/glom/web/client/activity/ListActivity.java:
635 2011-05-24 Ben Konrath <ben@bagu.org>
637 Remove FIXME in convertGdkColorToHtmlColour()
639 The Gdk::Color value returned by libglom is 16-bits per channel on both
640 64 and 32-bit platforms.
642 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644 2011-05-19 Ben Konrath <ben@bagu.org>
646 Improve performance of initial ListView load.
648 I removed a round trip to the server for getting the default table name
649 and then requesting information about that table. This also removes a potential
650 problem with the table change handler not being setup in time to receive the
651 table change event from the ListActivity.
653 * src/main/java/org/glom/web/client/OnlineGlomService.java:
654 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
655 getDefaultLayoutListTable() method. Improve comments.
656 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
657 getDefaultLayoutListTable() method instead of firing a table change
658 event to get the table to load.
659 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
660 implementation of getDefaultLayoutListTable() method.
661 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
664 2011-05-19 Ben Konrath <ben@bagu.org>
666 Override toDebugString() in TableChangeEvent.
668 This is useful to have for debugging.
670 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
672 2011-05-19 Ben Konrath <ben@bagu.org>
674 Add a "Back to List" link when at the DetailsPlace.
676 * src/main/java/org/glom/web/client/activity/ListActivity.java:
677 Populate the CellTable based on the selected table of the ListBox if
678 it's set otherwise use the default table. This allows the "Back to
680 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
681 Remove Place from constructors. Add a setPlace() method. Add
682 goToPlace() method. Set class as presenter for TableSelectionView.
683 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
684 Use the same TableSelectionActivity when switching between the List and
686 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
687 Subclass the new HasSelectableTablePlace. This removes some duplicate
689 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
690 New class to represent Places that display the TableSelectionView.
691 * src/main/java/org/glom/web/client/place/ListPlace.java:
692 Subclass the new HasSelectableTablePlace. This removes some duplicate
694 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
695 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
696 Add Presenter interface. Add setBackLinkVisible() method. Add
697 setBackLink() method.
699 2011-05-18 Ben Konrath <ben@bagu.org>
701 Enable the "Details" buttons.
703 Right now only an empty details view is displayed.
705 * src/main/java/org/glom/web/client/ClientFactory.java:
706 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
707 Add DetailsView to ClientFactory.
708 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
709 A basic activity for the details view.
710 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
711 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
713 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
714 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
716 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
717 Create a new DetailsActivity when a DetailsPlace is requested. Remove
718 unnecessary super() in constructor.
719 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
720 Create a new TableSelectionActivity when a DetailsPlace is requested. We
721 really shouldn't create a new TableSelectionActivity for both the ListPlace
722 and the DetailsPlace so this should be considered a temporary solution.
723 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
724 New file. Represents a URL for the details view.
725 * src/main/java/org/glom/web/client/ui/DetailsView.java:
726 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
727 A basic details view interface and implementation.
728 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
729 Enable the "Details" buttons.
731 2011-05-12 Ben Konrath <ben@bagu.org>
733 Use a LayoutPanel with multiple display areas for main layout.
735 This is mostly a refactor in that there are no changes from the user
736 point of view. These changes are required so that we can swap out the list view
737 with the details view when the user clicks the "Details" button.
739 * src/main/java/org/glom/web/client/ClientFactory.java:
740 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
741 OnlineGlomView. Add TableSelectionView, ListView and
743 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
744 for main layout. Add display regions for main activities. Add
745 activity manager for for main activities.
746 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
747 file from parts of the deleted OnlineGlomActivity.
748 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
749 New file from parts of the deleted OnlineGlomActivity.
750 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
751 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
752 New files for app wide table change event.
753 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
754 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
755 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
756 Activity mappers for the main activities replace the deleted app-wide
758 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
759 Fix a spelling error in he comment.
760 * src/main/java/org/glom/web/client/ui/ListView.java:
761 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
762 Renamed from LayoutListView and modified for MVP. This still not a
763 proper dumb view as prescribed by the MVP pattern but it works for now.
764 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
765 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
766 New widget stripped out of the deleted OnlineGlomView.
767 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
768 Remove hack that is fixed by this patch.
770 2011-05-06 Ben Konrath <ben@bagu.org>
772 Rename OnlineGlomPlace to ListPlace.
774 The only change besides the rename is that url will now display #list
775 instead of #Document.
777 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
778 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
779 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
780 * src/main/java/org/glom/web/client/place/ListPlace.java:
781 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
783 2011-05-06 Ben Konrath <ben@bagu.org>
785 Use Presenter for app navigation.
787 This is the proper way to deal with Place (URL) changes with the MVP
790 * src/main/java/org/glom/web/client/ClientFactory.java:
791 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
792 PlaceHistoryMapper and PlaceHistoryHandler.
793 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
794 PlaceHistoryMapper and PlaceHistoryHandler.
795 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
796 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
797 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
798 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
799 Add Presenter interface and setPresenter methods. Rename addHyperLink
800 to addDocumentLink taking only the document title as a parameter.
802 2011-04-14 Ben Konrath <ben@bagu.org>
804 Prompt for db username/password if they haven't been set.
806 This is implemented with a popup widget that is contained within the
807 OnlineGlomView and managed by the OnlineGlomActivity.
809 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
810 methods for checking and setting the database username and password.
811 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
812 new methods for checking and setting the database username and
814 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
815 Display authentication popup if the JDBC connection to the database
816 has not been authenticated.
817 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
819 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
820 for dealing with the authentication popup.
821 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
822 Implement the methods for dealing with the authentication popup.
823 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
824 try to executed queries if the database connection hasn't been
825 authenticated. Implement methods for checking and setting the
826 database username and password.
828 2011-04-12 Ben Konrath <ben@bagu.org>
830 Make log messages a little clearer.
832 Add a dash betweeen the document title and the table name.
834 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
836 2011-04-12 Ben Konrath <ben@bagu.org>
838 Protect against NPEs when cleaning up database resources.
840 While this isn't strictly necessary because the exception is caught,
841 not protecting against the NPEs makes it harder to find the real error
844 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
846 2011-04-12 Ben Konrath <ben@bagu.org>
848 Move configuration of the servlet to the constructor.
850 The servlet will be initialized even if the database authentication
851 information is not set or correct. I still need to add the UI for prompting
852 the user for the authentication information when it's required.
854 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
855 javadocs for getDocumentTitles() method.
856 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
857 Set error message when RPC fails.
858 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
859 glom files directory from the configuration file. Try to set the
860 database authentication information for the specific document if it's
861 set and works otherwise try to use the global authentication
862 information set for the directory.
863 * src/main/resources/onlineglom.properties: Moved from
864 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
865 Added detailed comments for the new keys.
867 2011-04-11 Ben Konrath <ben@bagu.org>
869 Remove unnecessary @Override in DocumentSelectionViewImpl.
871 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
873 2011-04-11 Ben Konrath <ben@bagu.org>
875 Remove center alignment in DocumentSelectionView.
877 The title element is still centred but the document titles and bottom
878 sentence are both left-aligned.
880 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
882 2011-04-11 Ben Konrath <ben@bagu.org>
884 Change 'Demo' naming convention to 'Document'.
886 This is just a rename refactor with no functional changes to the code.
888 * src/main/java/org/glom/web/client/ClientFactory.java:
889 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
890 * src/main/java/org/glom/web/client/OnlineGlom.java:
891 * src/main/java/org/glom/web/client/OnlineGlomService.java:
892 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
893 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
894 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
895 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
896 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
897 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
898 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
899 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
900 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
902 2011-04-08 Ben Konrath <ben@bagu.org>
904 Remove FIXME from safeLongToInt() method.
906 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
909 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
911 2011-04-08 Ben Konrath <ben@bagu.org>
913 Display an error if no glom documents are found in the specified directory.
915 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
916 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
917 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
918 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
920 2011-04-08 Ben Konrath <ben@bagu.org>
922 Add copyright header to one more file ... oops.
924 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
926 2011-04-08 Ben Konrath <ben@bagu.org>
928 Add copyright header to files without it.
930 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
931 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
932 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
933 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
934 * src/main/java/org/glom/web/shared/ColumnInfo.java:
935 * src/main/java/org/glom/web/shared/GlomField.java:
937 2011-04-08 Ben Konrath <ben@bagu.org>
939 Add support for accessing multiple glom documents in the servlet.
941 This completes the demo selection functionality.
943 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
944 document title to methods.
945 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
946 document title to methods.
947 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
948 Set browser window title when the activity starts. Correct name of
949 document title variable.
950 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
951 Set browser window title when the activity starts. Set the table
952 selector change handler after table selector has been set. Clear the
953 OnlineGlomView when the activity has been stopped.
954 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
955 document title as the place token. Use "#Document:" instead of
956 "#OnlineGlomPlace:" in the URL.
957 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
958 Change heading to "Online Glom"
959 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
960 document title in RPC methods.
961 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
962 setDocumentTitle() method. Add clear() method.
963 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
964 setDocumentTitle() method. Implement clear() method which removes the
965 change handler on the ListBox, clears the ListBox and clears the
967 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
968 Implement methods with document title. Keep track for the configured
969 glom documents and their corresponding JDBC configurations in a hash
970 table. This information is retrieved using the document title as the
971 key in the hash table.
972 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
973 document title field as it's no longer needed.
975 2011-04-08 Ben Konrath <ben@bagu.org>
977 Update the Eclipse JDT configuration.
979 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
980 methods. Automatically add the copyright header to new files.
982 2011-04-05 Ben Konrath <ben@bagu.org>
984 Add new page for demo selection.
986 This patch adds all the components required to view and start an
987 OnlineGlom demo by clicking on the desired hyperlink. The user is
988 able to return to the demo selection page with the browser's back
989 button. I still need to modify the servlet to work with multiple
990 documents so all demo links will load the file defined in the
991 OnlineGlom.properties.
993 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
994 This is only useful during development so we don't need to save it.
995 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
996 get a reference to the DemoSelectionView.
997 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
998 method to get a reference to the DemoSelectionView.
999 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1000 default view to DemoSelectionView.
1001 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1002 to get glom document titles for glom files in a hard-coded directory.
1003 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1004 method to get glom document titles for glom files in a hard-coded
1006 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1007 Presenter for DemoSelectionView.
1008 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1009 for DemoSelectionView.
1010 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1011 Update for DemoSelectionView.
1012 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1013 Basic 'Place' implementation for the DemoSelectionView.
1014 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1015 The interface for the DemoSelectionView.
1016 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1017 The implementation of the DemoSelectionView.
1018 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1019 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1020 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1021 implementation of method to get glom document titles for glom files
1022 in a hard-coded directory.
1023 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1024 on longer being used.
1025 * src/main/webapp/glom.png: Glom logo.
1027 2011-04-05 Ben Konrath <ben@bagu.org>
1029 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1031 This is the forth and final commit of a refactor that will allow
1032 OnlineGlom to be used with multiple documents.
1034 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1035 Move RPC code from OnlineGlomViewImpl to this class.
1036 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1038 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1039 RPC code to the presenter class (the P in MVP).
1041 2011-04-04 Ben Konrath <ben@bagu.org>
1043 Start moving the existing OnlineGlom code to MVP.
1045 This work is based on the GWT MVP framework that is documented here:
1047 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1049 This is the third commit of a refactor that will allow OnlineGlom to
1050 be used with multiple documents.
1052 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1053 Interface for client factory which is used to get instances of various
1054 classes throughout the app.
1055 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1056 Implementation of client factory.
1057 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1058 initialize the MVP framework.
1059 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1060 New file. Activity manager for the main container widget. This is the
1062 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1063 Maps place (URL) to its corresponding activity.
1064 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1065 New file. This is just a place holder for a generated file.
1066 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1067 New file. Represents the URL for the main Online Glom app.
1068 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1069 for changes in LayoutListViewImpl.
1070 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1071 interface for View. Move code to OnlineGlomViewImpl class.
1072 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1073 file. Implementation of OnlineGlomView.
1074 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1075 Place resources. Use ClientFactoryImpl by default.
1077 2011-04-04 Ben Konrath <ben@bagu.org>
1079 Move View classes to their own package.
1081 This is the second commit of a refactor that will allow OnlineGlom to
1082 be used with multiple documents.
1084 * src/main/java/org/glom/web/client/OnlineGlom.java:
1085 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1086 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1088 2011-04-02 Ben Konrath <ben@bagu.org>
1090 Move UI code from the main module to its own class.
1092 This is the first commit of a refactor that will allow OnlineGlom to be
1093 used with multiple documents.
1095 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1096 references to OnlineGlom to OnlineGlomView.
1097 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1098 OnlineGlomView and instantiate it here.
1099 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1100 represents the main OnlineGlomView with one document.
1102 2011-04-01 Ben Konrath <ben@bagu.org>
1104 Fix formatting of gwt.xml and add DTD.
1106 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1108 2011-03-30 Ben Konrath <ben@bagu.org>
1110 Propperly convert gdkColor string to html colour string.
1112 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1114 2011-03-28 Ben Konrath <ben@bagu.org>
1116 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1118 This implementation matches
1119 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1120 readable and is not tied to Swig.
1122 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1124 2011-03-28 Ben Konrath <ben@bagu.org>
1126 Use read-only checkboxes for boolean field types.
1128 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1129 in the CellTable based on the field type. It currently only
1130 distinguishes between boolean and text columns but I'll need to add
1131 support for more types.
1132 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1133 column type in the ColumnInfo object. Add method to convert between the
1134 glom field type enum in ColumnInfo and the glom field type in libglom.
1135 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1137 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1138 getting and setting booleans.
1140 2011-03-25 Ben Konrath <ben@bagu.org>
1142 Don't get the Date twice from the ResultSet.
1144 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1146 2011-03-25 Ben Konrath <ben@bagu.org>
1148 Cleanup code in the servlet.
1150 * TODO: Remove item about row count. Add item about testing row count
1151 query with large number of rows.
1152 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1153 spelling mistakes, change method parameter to be consistent with
1156 2011-03-25 Ben Konrath <ben@bagu.org>
1158 Add server side logging with the gwt-log library.
1160 * .gitignore: Ignore the log file we're now producing.
1161 * TODO: Add a couple TODO item for logging.
1162 * pom.xml: Add gwt-log and log4j as a dependency.
1163 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1164 logging of errors, warnings and some important info.
1165 * src/main/resources/log4j.properties: New file to configure log4j.
1167 2011-03-24 Ben Konrath <ben@bagu.org>
1169 Add a disable button for the Details view.
1171 * src/main/java/org/glom/web/client/LayoutListView.java:
1173 2011-03-22 Ben Konrath <ben@bagu.org>
1175 Use a count query to get the number of rows for the list view pager.
1177 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1179 2011-03-22 Ben Konrath <ben@bagu.org>
1181 Add more TODO information about CellTable pager positioning.
1185 2011-03-19 Ben Konrath <ben@bagu.org>
1187 Add TODO item about CellTable pager positioning.
1191 2011-03-18 Ben Konrath <ben@bagu.org>
1193 Remove unneeded GlomFieldColumn class.
1195 This is just a small code cleanup.
1197 * src/main/java/org/glom/web/client/LayoutListView.java:
1199 2011-03-18 Ben Konrath <ben@bagu.org>
1201 Use cursor mode in the query that gets data for the list view.
1203 I still need to fix the potential memory problem when getting the row
1204 count for the list view.
1206 * TODO: Add note about testing memory usage with large data sets. Add
1207 item about fixing row counting with large data sets.
1208 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1209 PostgreSQL JDBC driver into cursor mode when getting data for the
1212 2011-03-15 Ben Konrath <ben@bagu.org>
1214 Remove the GWT Container from the Eclipse build classpath.
1216 The GWT dependencies are set by Maven so this isn't needed.
1220 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1222 Added some earlier mockups to git, but not to the tarball dist.
1224 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1225 Openismus. These hopefully show how we might structure the HTML so that
1226 it can be styled easily with CSS. However, we probably need to adapt them
1227 for the CSS structure that GWT dictates for common widgets.
1229 2011-03-14 Ben Konrath <ben@bagu.org>
1231 Locate OnlineGlom.properties using the ServletContext.
1233 This is required to be able to locate the file in the deployed servlet.
1235 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1236 Configure the database and glom document in in a helper method so
1237 that the ServletContext can be used to locate OnlineGlom.properties.
1238 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1239 src/main/webapp. This is the proper location for .properites files.
1241 2011-03-12 Ben Konrath <ben@bagu.org>
1243 Add note to README about why we're compiling down to obfuscated JavaScript.
1247 2011-03-11 Ben Konrath <ben@bagu.org>
1249 Use properties file to configure servlet.
1251 This allows people to change the glom file path, db username and db
1252 password without recompiling the code.
1254 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1255 * src/main/webapp/OnlineGlom.properties:
1257 2011-03-11 Ben Konrath <ben@bagu.org>
1259 Use table fields in layout list view if the layout list is not defined.
1261 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1262 Manually create a LayoutFieldVector for the query builder using the
1263 table fields when a layout list is not defined in the glom file.
1265 2011-03-11 Ben Konrath <ben@bagu.org>
1267 Only show FIXME string for images when there's an image.
1269 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1270 in this change are some small code cleanups.
1272 2011-03-11 Ben Konrath <ben@bagu.org>
1274 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1276 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1278 2011-03-11 Ben Konrath <ben@bagu.org>
1280 Correctly set the index of the default table.
1282 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1283 Correctly set the index of the default table. Add commented out example
1286 2011-03-10 Ben Konrath <ben@bagu.org>
1288 Add comment to pom.xml about the previous change.
1290 * pom.xml: Add comment about the deployment issue so that it's obvious
1291 why java-libglom is set to the provided scope.
1293 2011-03-10 Ben Konrath <ben@bagu.org>
1295 Change java-libglom dependency from compile to provided in pom.xml.
1297 Since java-libglom uses jni it can only be loaded once and therefore
1298 must be placed in $CATALINA_HOME/lib and not included in each war.
1299 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1300 More information about this issue can be found in the Tomcat 6 release
1301 notes in the "JNI Based Applications" section:
1303 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1305 * README: Remove note about this issue. Deployment info should really
1306 be on the wiki anyway so I'll add it right now.
1307 * pom.xml: Change java-libglom dependency from compile to provided so
1308 that it's copied in to the packaged war.
1310 2011-03-09 Ben Konrath <ben@bagu.org>
1312 Change to using a neutral locale for currency, date and time formatting.
1314 This solves the problem of currency values being represented without a
1315 space between the currency code and the number (e.g. "EUR5.89" is now
1316 represented as "EUR 5.89"). More work is required when we implement
1317 a locale preference setting.
1319 * TODO: Add note about currency formatting issues with different
1321 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1322 to using the neutral ROOT locale.
1324 2011-03-09 Ben Konrath <ben@bagu.org>
1326 Add support for currency codes that are not ISO 4217 codes.
1328 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1329 the currency code defined in the glom file when it's not 3 characters
1330 long or when Java doesn't recognize the string as an ISO 4217 code.
1332 2011-03-08 Ben Konrath <ben@bagu.org>
1334 Remove test classes, launch configurations and configuration.
1336 The test stuff was getting in the way when creating the war. To make
1337 the war file you can now do 'mvn clean package'. The packaged war file
1338 will be in the target directory.
1340 * .classpath: Remove unused classpathentry for tests and i18n.
1341 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1342 property. Don't run test or i18n goals when packaging the war.
1343 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1348 * OnlineGlomTest-dev.launch:
1349 * OnlineGlomTest-prod.launch:
1350 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1351 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1353 2011-03-07 Ben Konrath <ben@bagu.org>
1355 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1357 These fixes allow me to use 'mvn deploy' to create the war file.
1359 * .classpath: This generated config has been updated by Eclipse. This
1360 change was probably triggered by me updating from Eclipse 3.6.1 to
1362 * .gitignore: Add entry to ignore the directory
1363 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1364 * .project: The generated config has been updated by Eclipse. This
1365 change was probably triggered by me updating from Eclipse 3.6.1 to
1367 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1368 so that Eclipse doesn't complain
1369 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1370 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1371 'tests' directory to 'client' directory. This is the new
1372 gwt-maven-plugin convension.
1373 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1374 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1376 2011-03-07 Ben Konrath <ben@bagu.org>
1378 Add support for horizontal alignment in the LayoutList columns.
1380 * TODO: Remove item about horizontal alignment. Add item about
1381 improvements to ColumnInfo.
1382 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1383 alignment on the columns. Use ColumnInfo RPC object get the column
1384 title and horizontal alignment.
1385 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1386 LayoutListView creation with ColumnInfo RPC object.
1387 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1388 a ColumnInfo object for every LayoutList columnn. Convert the
1389 FieldFormatting.HorizontalAlignment to the correct
1390 ColumnnInfo.HorizontatlAlignment with the new
1391 getColumnInfoHorizontalAlignment helper method.
1392 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1393 to encapsulate column information like alignment and title. This
1394 could be used to set the colour instead of on a per cell field basis.
1395 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1396 column title storage and retrieval with ColumnInfo.
1398 2011-03-04 Ben Konrath <ben@bagu.org>
1400 Add support for column sorting.
1402 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1403 AsynDataProvider to be an anonymous inner class. Use new
1404 getSortedTableData RPC method when column sort is requested. Set all
1405 columns sortable and add an AsyncHandler to activate sorting in the
1407 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1408 method getSortedTableData(). Cleanup other method signatures.
1409 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1410 new method getSortedTableData(). Cleanup other method signatures.
1411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1412 Implement getSortedTableData() and getTableData() methods by using a
1413 private helper method with the appropriate parameters filled in. Use
1414 user supplied sort clause when supplied, otherwise fall back to
1415 sorting by the primary key. Move destroy() method to be underneath
1416 constructor for readability. Cleanup comments.
1418 2011-03-03 Ben Konrath <ben@bagu.org>
1420 Add support for colour text and colour backgrounds to the layout list cells.
1422 Only the cell backgrounds are coloured which leaves a gap between the
1423 cells that isn't coloured. I need to figure out a way to set
1424 'style=background-colour:' on the whole column rather than just the
1427 * TODO: Add a note about colouring the background of the whole column.
1428 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1429 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1430 render the coloured text and backgrounds. Use GlomField[] for the row type.
1431 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1433 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1434 GlomField[] for the row type.
1435 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1436 GlomField[] for the row type. Set the text, text colour and background
1437 colour in the GlomField objects as specified in the glom document. Add
1438 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1439 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1440 the glom field text, foreground colour and background colour.
1442 2011-03-02 Ben Konrath <ben@bagu.org>
1444 Don't display hidden tables in the combo box.
1446 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1449 code to ignore hidden tables using ArrayLists for the table names and
1451 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1452 tableNames to use ArrayLists instead of String[]. Update getter and setter
1455 2011-03-01 Ben Konrath <ben@bagu.org>
1457 Add support for Date and Time number types.
1459 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1460 Implement formatting for Date and Time values. Change the default glom
1461 file to small business example.
1463 2011-03-01 Ben Konrath <ben@bagu.org>
1465 Add support for formatting glom types as specified in the glom file.
1467 Formatting isn't finished yet - I still need to add support for Date
1470 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1471 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1472 checks for null values in JDBC cleanup code and catch all exceptions
1473 instead of just SQLExceptions.
1474 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1477 2011-03-01 Ben Konrath <ben@bagu.org>
1479 Use GWT 2.2.0 instead of 2.1.1.
1481 * pom.xml: Change GWT version numbers.
1483 2011-03-01 Ben Konrath <ben@bagu.org>
1485 A few small code cleanups.
1487 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1489 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1490 unnecessary object creation in constructor.
1491 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1492 unnecessary object creation in constructor.
1494 2011-02-28 Ben Konrath <ben@bagu.org>
1496 Add file for TODO list.
1500 2011-02-18 Ben Konrath <ben@bagu.org>
1502 Enable the CellTable Pager when more than 20 rows need to be viewed.
1504 The Pager will automatically become active when the results are larger
1505 than the CellTable size which is currently set to 20 lines.
1507 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1508 name on debug statment in RPC call in LayoutListDataProvider, add
1509 numRows parameter to LayoutListView constructor, propperly set rowCount
1511 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1512 name on debug statment in RPC call, use LayoutListTable object in RPC
1513 calls, pass rowCount to LayoutListView.
1514 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1515 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1517 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1518 interface for changes in OnlineGlomService.
1519 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1520 getLayoutListHeaders() to getLayoutListTable() and return
1521 LayoutListTable. Using this object allows me to pass other information
1522 about the LayoutList like the expected number of rows in the result set.
1523 The Connection object from the connection pool is now propperly closed.
1524 Only the requested number of lines are returned to the client in
1526 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1527 GlomTable and add columnTitles and numRows.
1529 2011-02-18 Ben Konrath <ben@bagu.org>
1531 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1533 This is a small performance boost. I'll use GlomTable to get the required
1534 layoutlist information.
1536 * src/main/java/org/glom/web/client/OnlineGlom.java:
1537 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1538 * src/main/java/org/glom/web/shared/GlomDocument.java:
1540 2011-02-18 Ben Konrath <ben@bagu.org>
1542 Add option to turn off formatting in JDT formatter preferences.
1544 * .settings/org.eclipse.jdt.core.prefs:
1546 2011-02-18 Ben Konrath <ben@bagu.org>
1548 Rename LayoutList to LayoutListView.
1550 I'm working towards setting things up to easily use MVP when the time
1553 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1555 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1558 2011-02-17 Ben Konrath <ben@bagu.org>
1560 Move LayoutListDataProvider class into LayoutList.java.
1562 * src/main/java/org/glom/web/client/LayoutList.java:
1564 2011-02-17 Ben Konrath <ben@bagu.org>
1566 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1568 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1570 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1571 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1572 from LibGlomServer.java.
1573 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1574 Rename from LibGlomServiceAsync.java.
1575 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1576 Rename from LibGlomServiceImpl.java.
1577 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1579 2011-02-17 Ben Konrath <ben@bagu.org>
1581 Update JDT settings.
1583 * .settings/org.eclipse.jdt.core.prefs:
1585 2011-02-17 Ben Konrath <ben@bagu.org>
1587 Move GWT-RPC objects to shared package (where they should be).
1589 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1590 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1591 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1592 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1593 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1594 org.glom.web.shared package.
1595 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1596 org.glom.web.shared package.
1597 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1598 directory in compilation to javascript.
1600 2011-02-16 Ben Konrath <ben@bagu.org>
1602 Add sort clause to the sql query that grabs table information.
1604 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1605 if one of the columns is a primary key.
1607 2011-02-16 Ben Konrath <ben@bagu.org>
1609 Disable generateAsync feature of gwt-maven.
1611 The generated interface does not correctly match the methods in LibGlomService
1612 and the generated singleton Util inner-class doesn't respect the servlet
1615 * pom.xml: Turn off generateAsync feature.
1616 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1617 with singleton Util inner-class.
1619 2011-02-14 Ben Konrath <ben@bagu.org>
1621 Add LGPL v3 licence notices.
1623 Followed directions listed here:
1624 http://www.gnu.org/licenses/gpl-howto.html
1626 * COPYING: This file is a copy of the GPL v3.
1627 * COPYING.LESSER: This file is a copy of the LGPL v3.
1628 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1630 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1632 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1634 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1636 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1638 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1640 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1643 2011-02-14 Ben Konrath <ben@bagu.org>
1645 Use ArrayList instead of Array in GWT-RPC calls.
1647 Apparently this gives a slight performance boost to the compiled
1650 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1652 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1655 2011-02-14 Ben Konrath <ben@bagu.org>
1657 Access data from a postgres db rather than the example glom file.
1659 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1660 compile down to obfuscated javascript.
1661 * pom.xml: Add c3p0 and postgres JDBC libraries.
1662 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1663 using a postgres db accessed through the c3p0 connection pooling library.
1665 2011-02-14 Ben Konrath <ben@bagu.org>
1667 Update Java formatter settings.
1669 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1671 2011-02-02 Ben Konrath <ben@bagu.org>
1673 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1675 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1677 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1678 the compiled webapp directory that Eclipse uses as we're using Maven now.
1679 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1680 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1682 * pom.xml: Format file, change target Java version to 1.6.
1684 2011-02-02 Ben Konrath <ben@bagu.org>
1686 Add information about a deployment related issue.
1688 * README: Add Notes section with the problem outlined.
1690 2011-02-02 Ben Konrath <ben@bagu.org>
1692 Call Glom.libglom_deinit() when the servlet is shutdown.
1694 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1695 Glom.libglom_deinit() to destroy() method.
1697 2011-01-28 Ben Konrath <ben@bagu.org>
1699 Use generated Util class to get the RPC Async interface.
1701 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1703 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1704 getInstance() method to get a reference to the RPC Async interface.
1705 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1706 getInstance() method to get a reference to the RPC Async interface, remove
1707 the now unused getLibGlomServiceProxy() method.
1709 2011-01-27 Ben Konrath <ben@bagu.org>
1711 Cleanup ChangeLog entry from previous commit.
1713 * ChangeLog: Group logical changes together and add comments.
1715 2011-01-25 Ben Konrath <ben@bagu.org>
1717 Convert to gwt-maven project.
1719 * .gitignore: Update for new project structure.
1720 * README: New file with a link to the online documentation.
1721 * pom.xml: The generated maven configuration file with some tweaks.
1723 Add / update Eclipse settings. These files are a merge of the files that
1724 were generated with the gwt-maven plugin and the files we were previously
1728 * .settings/.jsdtscope:
1729 * .settings/com.google.gdt.eclipse.core.prefs:
1730 * .settings/com.google.gwt.eclipse.core.prefs:
1731 * .settings/org.eclipse.jdt.core.prefs:
1732 * .settings/org.eclipse.wst.common.component:
1733 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1734 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1735 * .settings/org.maven.ide.eclipse.prefs:
1736 * OnlineGlomTest-dev.launch:
1737 * OnlineGlomTest-prod.launch:
1739 Java source files moved from the 'src' directory to the directory structure
1741 * src/main/java/org/glom/web/client/GlomDocument.java:
1742 * src/main/java/org/glom/web/client/GlomTable.java:
1743 * src/main/java/org/glom/web/client/LayoutList.java:
1744 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1745 * src/main/java/org/glom/web/client/LibGlomService.java:
1746 * src/main/java/org/glom/web/client/OnlineGlom.java:
1747 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1749 Non-functional property file used for translations. I included this as
1750 reminder that it's something I need to sort out.
1751 * src/main/resources/org/glom/web/client/Messages.properties:
1753 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1754 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1756 The servlet configuration files moved from the 'war' directory.
1757 * src/main/webapp/OnlineGlom.css:
1758 * src/main/webapp/OnlineGlom.html:
1759 * src/main/webapp/WEB-INF/web.xml:
1761 Generated test files with most of the code commented out. I included these
1762 so that it's easy to add tests when we're ready for them.
1763 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1764 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1766 2011-01-25 Ben Konrath <ben@bagu.org>
1768 Remove unused println.
1770 * src/org/glom/web/server/LibGlomServiceImpl.java:
1772 2011-01-25 Ben Konrath <ben@bagu.org>
1774 Add project specific JDT settings.
1776 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1777 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1779 2011-01-25 Ben Konrath <ben@bagu.org>
1781 Populate celltable with example data.
1783 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1784 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1785 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1786 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1787 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1788 asynchronously gets the example data.
1789 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1790 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1791 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1792 curently selected table to be retrieved by other widgets.
1793 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1794 implement getTableData() in a hacky way. This method needs to be updated
1795 to grab information from the database when database creating is
1798 2011-01-20 Ben Konrath <ben@bagu.org>
1800 Set table headers when table dropBox changes.
1802 * src/org/glom/web/client/GlomDocument.java: Correct some method
1804 * src/org/glom/web/client/LibGlomService.java: Add method
1805 to get list layout field names.
1806 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1807 to get list layout field names.
1808 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1809 widget for list layout table.
1810 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1811 the table drop box and add new updateTable() method to asynchronously
1812 get the layout list field names for the currently selected table.
1813 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1814 implementation of getLayoutListHeaders() method.
1815 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1817 2011-01-18 Ben Konrath <ben@bagu.org>
1819 Make a listBox with table titles instead of the flexTable demo.
1821 This is the start of something more useful.
1823 * .classpath: Exclude a bunch of packages from the JVM that are
1824 getting in the way of the Eclipse content assist.
1825 * src/org/glom/web/client/GlomDocument.java:
1826 * src/org/glom/web/client/GlomTable.java:
1827 * src/org/glom/web/client/LibGlomService.java:
1828 * src/org/glom/web/client/LibGlomServiceAsync.java:
1829 * src/org/glom/web/client/OnlineGlom.java:
1830 * src/org/glom/web/server/LibGlomServiceImpl.java:
1831 * war/OnlineGlom.html:
1832 * war/WEB-INF/web.xml:
1834 211-01-13 Ben Konrath <ben@bagu.org>
1836 Update to new java-libglom API.
1838 * .gitignore: Ignore OnlineGlom.war.
1839 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1841 2010-12-20 Ben Konrath <ben@bagu.org>
1843 Add some basic style to the table listing.
1845 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1846 header, print useful error message on async callback failure.
1847 * war/OnlineGlom.css: Add style for table header, remove defaults
1848 provided by the Eclipse project wizard.
1850 2010-12-20 Ben Konrath <ben@bagu.org>
1852 Load example file from installed glom dir.
1854 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1855 provided by java-libglom to find the example file.
1857 2010-12-20 Ben Konrath <ben@bagu.org>
1859 Update Eclipse settings.
1862 * .settings/com.google.gdt.eclipse.core.prefs:
1863 * .settings/com.google.gwt.eclipse.core.prefs:
1865 2010-12-17 Ben Konrath <ben@bagu.org>
1869 * .classpath: New file.
1870 * .gitignore: New file.
1871 * .project: New file.
1872 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1873 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1874 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1875 * src/org/glom/web/client/GlomTable.java: New file.
1876 * src/org/glom/web/client/OnlineGlom.java: New file.
1877 * src/org/glom/web/client/TableNameService.java: New file.
1878 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1879 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1880 * war/OnlineGlom.css: New file.
1881 * war/OnlineGlom.html: New file.
1882 * war/WEB-INF/web.xml: New file.
1883 * war/images/glom.png: New file.