1 2011-08-14 Ben Konrath <ben@bagu.org>
3 Make the List View appearance match the mockups.
5 It doesn't match exactly but it's much better than it was.
7 * mockups/listview-contacts.html: Remove unused css classes.
8 * mockups/listview-projects.html: Remove unused css classes.
9 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
10 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
11 for mainPanel instead of VerticalPanel (table). Set style name on
12 CellTable. Set style name on Details column. Right-align Details
14 * src/main/webapp/style.css: Adjust properties to match the mockups.
16 2011-08-12 Ben Konrath <ben@bagu.org>
18 Add better support for subgroups in the details view.
20 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
21 changed FlowTable constructor.
22 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
23 support for subgroups and subgroup-titles.
24 * src/main/webapp/style.css: Add CSS class for subgroups and
27 2011-08-12 Ben Konrath <ben@bagu.org>
29 Return the top level LayoutGroup title.
31 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
33 2011-08-11 Ben Konrath <ben@bagu.org>
35 Make the TableSelector header match the mockup.
37 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
38 the layout panel. Properly lineup the table selection header with
39 the list and details view.
40 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
41 margin around the details view.
42 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
43 Rename listBox variable to tableSelector. Set id for the style sheet.
44 Use a FlowPanel instead of a HorizontalPanel.
45 * src/main/webapp/style.css: Add properties to make the TableSelector
46 box match the mockups.
48 2011-07-13 Ben Konrath <ben@bagu.org>
50 Update install script for java-libglom version change.
52 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
55 2011-07-13 Ben Konrath <ben@bagu.org>
57 Add support sub-group in the details view.
59 I also removed the code that special-cased the default details view
62 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
64 I still have to make a proper flowtable.
66 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
67 Don't special-case default details view layout.
68 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
69 addLayoutField() as I'm going to use it.
70 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
71 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
73 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
74 extracted from DetailsViewImpl.GroupPanel. Add support for
76 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
77 column count when getting the details layout.
79 2011-07-12 Ben Konrath <ben@bagu.org>
81 Set browser title with database and table titles.
83 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
84 Set the browser title when the table changes and when the activity
86 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
87 title when retrieving document info (the GlomDocument object).
88 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
89 with getter and setter methods. Remove unused convenience constructor.
90 Use default code formatting.
92 2011-07-12 Ben Konrath <ben@bagu.org>
94 Ignore LayoutItemPortals in the details view.
96 I added a new DTO for the LayoutItemPortal so that I can ignore it in
99 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
100 LayoutItemPortal layout objects.
101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
102 LayoutItemPortal objects when retrieving the details layout.
103 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
104 file. This is an empty class and just used to get type information for
107 2011-07-12 Ben Konrath <ben@bagu.org>
109 Use java-libglom 1.17.0.
113 2011-07-11 Ben Konrath <ben@bagu.org>
115 Remove "Table:" label from table selector.
117 This matches a recent change in the Glom UI.
119 * mockups/details-contacts.html:
120 * mockups/details-projects.html:
121 * mockups/listview-contacts.html:
122 * mockups/listview-projects.html: Remove the "Table:" label from the
124 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
126 2011-07-11 Ben Konrath <ben@bagu.org>
128 Add main groups to the details view.
130 This makes things look a little nicer in the details view. The next step
131 is to implement the flowtable.
133 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
134 resources from the standard gwt css theme. Standard.css is now
135 included in OnlineGlom.html so that the online glom css rules have
136 precedence over the gwt theme.
137 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
138 the whole LayoutGroup to the DetailsView instead of just the titles.
139 * src/main/java/org/glom/web/client/ui/DetailsView.java:
140 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
141 details layout with a helper class (GroupPanel). I might extract this
142 class when I make the full flowtable.
143 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
144 string as default so I don't have to worry about NPEs when processing
146 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
147 note beside OnlineGlom.gwt.xml above).
148 * src/main/webapp/style.css: Add default font-size to body to override
149 the font-size set by the standard theme. Don't use h2 tags for
150 group-title. Create new details-cell class.
152 2011-07-08 Murray Cumming <murrayc@murrayc.com>
154 ConfiguredDocument: Set the port number too.
156 * src/main/java/org/glom/web/server/ConfiguredDocument.java
157 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
158 Glom document. Presumably this worked sometimes so far because there is a
161 2011-07-08 Murray Cumming <murrayc@murrayc.com>
163 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
165 * src/main/java/org/glom/web/server/ConfiguredDocument.java
166 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
167 correct, though we should throw an exception too.
169 2011-07-08 Murray Cumming <murrayc@murrayc.com>
171 Fix a addDocuemnt typo.
173 * src/main/java/org/glom/web/shared/Documents.java
174 (Documents.addDocuemnt): Rename to addDocument().
175 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
176 (OnlineGlomServiceImpl.getDocuments): Adapt.
178 2011-07-08 Murray Cumming <murrayc@murrayc.com>
180 Slightly improved log output when connection fails.
182 * src/main/java/org/glom/web/server/ConfiguredDocument.java
183 (ConfiguredDocument.setUsernameAndPassword):
184 We don't know for sure if it' the username/password that's wrong, so
185 rephrase the message.
186 Also ouput the exception message, though it's generic in this case.
188 2011-07-08 Ben Konrath <ben@bagu.org>
192 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
193 added braces to a one line if statement because the Eclipse formatter
194 was getting confused.
196 2011-07-07 Ben Konrath <ben@bagu.org>
198 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
200 These should really be two separate tasks but I counldn't get things to
201 work with GWT 2.2.0 and Eclipse 3.7.
205 * .settings/org.eclipse.jdt.core.prefs:
206 * .settings/org.eclipse.jdt.ui.prefs:
207 * .settings/org.eclipse.ltk.core.refactoring.prefs:
208 * .settings/org.eclipse.m2e.core.prefs:
209 Add new config files. Update current files. Remove references to the
210 webtools plugins as we're not using any of the webtools features.
211 * .gitignore: Add logs directory which is created when running with
213 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
214 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
215 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
217 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
219 2011-07-07 Murray Cumming <murrayc@murrayc.com>
221 onlineglom.properties: Add explanatory comments.
223 * src/main/resources/onlineglom.properties: Also change the default user
224 from ben to someuser, to avoid the risk of people thinking we just
225 stupidly hard-coded a locale path, when they see that on stderr or in a log.
227 2011-06-28 Ben Konrath <ben@bagu.org>
229 Use filename in Log for incorrect passwords.
231 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
232 getFileName(String) method to get the filename from the URI.
234 2011-06-28 Ben Konrath <ben@bagu.org>
236 Add the table name to the URL token for the ListPlace.
238 This makes things consistent between the DetailsPlace and the
239 ListPlace. It also allows the the ListPlace to be bookmarked.
241 * src/main/java/org/glom/web/client/OnlineGlomService.java:
242 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
243 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
244 Remove getDefaultListLayout(). The default layout is now returned
245 by the getListLayout() method when the table name is an empty string.
246 * src/main/java/org/glom/web/client/activity/ListActivity.java:
247 Add table name field. Change to a new ListPlace when the table
248 has been changed. Use getListLayout() for getting the default
250 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
251 Add table name field. Set the correct table name in the list box
252 when loading from bookmark. This corrects a problem for the
254 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
255 Move table name to super-class (HasSelectableTable). Move document
256 and table URL keys to super-class in HasSelectableTable.
257 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
258 Add table name field. Add Tokenizer class with URL key common to
259 the subclasses (DetailsPlace and ListPlace).
260 * src/main/java/org/glom/web/client/place/ListPlace.java:
261 Add table name. Add code to parse the URL token.
262 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
263 Update ListPlace construction with empty table name string.
264 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
265 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
266 Change setTableSelectedIndex(int) to setSelectedTableName(String).
267 Update ListPlace construction with table name string.
268 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
269 Change defaultTableName field to tableName to reflect how it's now
270 used. Update the getter and setter methods.
272 2011-06-28 Ben Konrath <ben@bagu.org>
274 Enable the table selector in the DetailsView.
276 * src/main/java/org/glom/web/client/OnlineGlomService.java:
277 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
278 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
279 Remove getDefaultDetailsLayout(). The default layout is now returned
280 by the getDetailsLayout() method when the table name is an empty
282 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
283 event handler for table change event. Change to using
284 getDetailsLayout() for the default details layout.
285 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
287 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
288 when navigating to the details place.
290 2011-06-27 Ben Konrath <ben@bagu.org>
292 Use filename based unique document ID in URL and for RPC.
294 The document ID is the glom document name with spaces (' ') replaced
295 with pluses ('+') and without the .glom extension.
297 This change is mostly a string substitution of 'documentTitle' for
298 'documentID'. The only code change is the addition of a Documents DTO to get the
299 filename to document title mappings as indicated below.
301 * src/main/java/org/glom/web/client/OnlineGlomService.java:
302 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
303 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
304 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
305 Use Documents DTO to create the document links in the document
307 * src/main/java/org/glom/web/client/activity/ListActivity.java:
308 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
309 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
310 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
311 * src/main/java/org/glom/web/client/place/ListPlace.java:
312 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
313 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
314 * src/main/java/org/glom/web/client/ui/ListView.java:
315 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
316 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
317 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
318 * src/main/java/org/glom/web/server/Log.java:
319 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
320 getDocumentTitles() to getDocuments() and return the Documents DTO.
321 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
322 transferring the filename to document title mappings.
324 2011-06-25 Ben Konrath <ben@bagu.org>
326 Make the authentication popup work again.
328 This bug was introduced when I extracted ConfiguredDocument to its own class.
330 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
331 correct success / fail status in setUsernameAndPassword().
333 2011-06-25 Ben Konrath <ben@bagu.org>
335 Use filename as unique key for configuring database usernames and passwords.
337 This replaces the use of the Glom document title which could change
338 depending on the locale. Thanks to Murray Cumming for pointing out this
341 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
342 * src/main/resources/onlineglom.properties:
344 2011-06-24 Ben Konrath <ben@bagu.org>
346 Pass primary key value to DetailsView.
348 This enables the DetailsView to load the correct data.
350 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
351 primary key value field and set in constructor. Pass primary key
352 value to getDetailsData().
353 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
354 variables for document title and primary key value.
355 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
356 key value to the DetailsPlace.
358 2011-06-24 Ben Konrath <ben@bagu.org>
360 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
362 This allows the primary key to be retrieved by the Details button. This
363 functionality has not been implemented yet but it's in the works.
365 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
366 the LayoutGroup result to ListView.setCellTable instead of all of its
368 * src/main/java/org/glom/web/client/ui/ListView.java:
369 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
370 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
371 get the primary key for the table.
372 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
373 index of the primary key in the LayoutGroup accounting for hidden
374 primary keys. Rename getJavaNumberFormat() to
375 convertToJavaNumberFormat() for consistency. Cleanup / add some
377 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
378 field for primary key index and a field to indicate whether the
379 primary key is hidden or not.
381 2011-06-23 Ben Konrath <ben@bagu.org>
383 Rename getTableData methods to getListData.
385 This is a rename refactor for consistency with other methods.
387 * src/main/java/org/glom/web/client/OnlineGlomService.java:
388 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
389 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
390 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
392 2011-06-23 Ben Konrath <ben@bagu.org>
394 Extract the ConfiguredDocument innerclass into its own class.
396 This makes the servlet code more object oriented.
398 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
399 from private ConfiguredDocument class in OnlineGlomServiceImpl.
400 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
401 new ConfiguredDocument class.
403 2011-06-21 Ben Konrath <ben@bagu.org>
405 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
407 This makes things more inline with how libglom works and reduces code
408 duplication. This refactor lays the groundwork for adding the primary key to
409 the LayoutGroup object.
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/server/OnlineGlomServiceImpl.java:
414 Change method names to getListLayout and getDefaultListLayout for
415 consistency. Use LayoutGroup as the DTO for the list layout instead of
416 ColumnInfo and LayoutListTable.
417 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
418 new method names along with the LayoutGroup object for transferring the
420 * src/main/java/org/glom/web/client/ui/ListView.java:
421 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
422 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
423 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
425 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
426 Replaced with LayoutGroup.
427 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
428 expectedResultSize and defaultTableName fields which are needed for
430 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
431 type field which is needed for the list layout but will also be
432 useful for the details layout as things progress.
433 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
434 Make class abstract. Remove the unnecessary
435 getFormattingHorizontalAlignment method. Add setFormatting method.
437 2011-06-16 Ben Konrath <ben@bagu.org>
439 Add scripts for building and installing war.
441 These will help when updating OnlineGlom but they're also good
442 supplemental documentation of the build and deployment proceeding.
444 * utils/build-onlineglom-war.sh: New file.
445 * utils/install-onlineglom-war.sh: New file.
447 2011-06-16 Ben Konrath <ben@bagu.org>
449 Create wrapper class to create consistent log messages.
451 I wrapped methods in the Log class of gwt-log to add the method names
452 from the servlet and create consistent formatting of the document title
453 and table names in the log messages.
455 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
456 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
457 log methods to use methods from wrapped Log class.
459 2011-06-16 Ben Konrath <ben@bagu.org>
461 Remove superfluous conditional return.
463 Thanks to Murray Cumming for pointing this out!
465 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
467 2011-06-15 Ben Konrath <ben@bagu.org>
469 Return an ArrayList of LayoutGroups for the Details layout.
471 This corrects a problem with the details layout as it can have more
472 than one top level LayoutGroup.
474 * src/main/java/org/glom/web/client/OnlineGlomService.java:
475 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
476 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
477 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
478 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
479 with ArrayList of LayoutGroups for the details view layout.
480 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
481 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
482 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
483 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
484 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
485 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
487 2011-06-14 Ben Konrath <ben@bagu.org>
489 Use cast_dynamic method to determine the libglom LayoutItem type.
491 This is better than finding the LayoutItem type by using the string
492 returned from the get_part_type_name() method.
494 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
496 2011-06-14 Ben Konrath <ben@bagu.org>
498 Add method names to log entries in the servlet.
500 This helps when tracking down deployment problems.
502 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
504 2011-06-14 Ben Konrath <ben@bagu.org>
506 Add data to the DetailsView using a hard-coded primary key value.
508 The layout and functionality of the DetailsView is not complete. This
509 is just a checkpoint so the patch doesn't get too big.
511 * src/main/java/org/glom/web/client/OnlineGlomService.java:
512 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
513 Add getDetailsData() servlet method.
514 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
515 Add RPC to getDetailsData(). Change the way the LayoutGroups and
516 LayoutFields are added to the DetailsView.
517 * src/main/java/org/glom/web/client/ui/DetailsView.java:
518 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
519 Add setData() method. Change addLayoutGroup() and addLayoutField() to
520 take the string for the title instead of the object.
521 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
522 Add implementation getDetailsData() along with some private helper
524 * src/main/webapp/style.css: Add padding to details-data class. Add a
525 details-label class with the same padding as the details-data class.
527 2011-06-03 Ben Konrath <ben@bagu.org>
529 Use presenter.goTo() to change to the DetailsPlace.
531 This will make things easier when we need to open the DetailsView with
532 data specific to the row that was clicked.
534 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
536 2011-06-02 Ben Konrath <ben@bagu.org>
538 Add CSS file from mockups.
540 I'm adding this now because it's going to be useful to have when
541 developing the DetailsView. The TableSelectionView and ListView aren't
544 * src/main/webapp/OnlineGlom.html:
545 * src/main/webapp/style.css:
547 2011-06-02 Ben Konrath <ben@bagu.org>
549 Use String.isEmpty() to check for empty string.
551 * src/main/java/org/glom/web/client/activity/ListActivity.java:
553 2011-06-02 Ben Konrath <ben@bagu.org>
555 Display main layout group titles in the DetailsView.
557 This is the start of the DetailsActivity/DetailsView implementation.
559 * src/main/java/org/glom/web/client/OnlineGlomService.java:
560 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
561 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
562 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
563 Get the layout information for the details view from the server and set
564 the main layout group titles.
565 * src/main/java/org/glom/web/client/ui/DetailsView.java:
566 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
567 Add addLayoutGroup() and addLayoutField() methods. This are just
568 temporary methods for creating the the details view that will change
570 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
571 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
573 * src/main/java/org/glom/web/shared/layout/Formatting.java:
574 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
575 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
576 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
577 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
578 Data Transfer Objects that mimic the libglom object structure. These are
579 used for transferring the details layout but could also be used for
580 transferring the list layout.
582 2011-05-27 Ben Konrath <ben@bagu.org>
584 Reset the AuthenticationPopup when clearing the ListView.
586 * src/main/java/org/glom/web/client/activity/ListActivity.java:
588 2011-05-27 Ben Konrath <ben@bagu.org>
590 Fix problem with onlineglom.properties file loading.
592 The old way worked in Eclipse but not on the server. Loading the
593 onlineglom.properties file now works in Eclipse and on the server.
595 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
597 2011-05-24 Ben Konrath <ben@bagu.org>
599 Update gwt-log from 3.1.0 to 3.1.2.
601 Gwt-log 3.1.0 has been marked as depreciated.
605 2011-05-24 Ben Konrath <ben@bagu.org>
607 Add comment to ListActivity.goTo() method.
609 * src/main/java/org/glom/web/client/activity/ListActivity.java:
611 2011-05-24 Ben Konrath <ben@bagu.org>
613 Remove FIXME in convertGdkColorToHtmlColour()
615 The Gdk::Color value returned by libglom is 16-bits per channel on both
616 64 and 32-bit platforms.
618 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
620 2011-05-19 Ben Konrath <ben@bagu.org>
622 Improve performance of initial ListView load.
624 I removed a round trip to the server for getting the default table name
625 and then requesting information about that table. This also removes a potential
626 problem with the table change handler not being setup in time to receive the
627 table change event from the ListActivity.
629 * src/main/java/org/glom/web/client/OnlineGlomService.java:
630 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
631 getDefaultLayoutListTable() method. Improve comments.
632 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
633 getDefaultLayoutListTable() method instead of firing a table change
634 event to get the table to load.
635 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
636 implementation of getDefaultLayoutListTable() method.
637 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
640 2011-05-19 Ben Konrath <ben@bagu.org>
642 Override toDebugString() in TableChangeEvent.
644 This is useful to have for debugging.
646 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
648 2011-05-19 Ben Konrath <ben@bagu.org>
650 Add a "Back to List" link when at the DetailsPlace.
652 * src/main/java/org/glom/web/client/activity/ListActivity.java:
653 Populate the CellTable based on the selected table of the ListBox if
654 it's set otherwise use the default table. This allows the "Back to
656 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
657 Remove Place from constructors. Add a setPlace() method. Add
658 goToPlace() method. Set class as presenter for TableSelectionView.
659 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
660 Use the same TableSelectionActivity when switching between the List and
662 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
663 Subclass the new HasSelectableTablePlace. This removes some duplicate
665 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
666 New class to represent Places that display the TableSelectionView.
667 * src/main/java/org/glom/web/client/place/ListPlace.java:
668 Subclass the new HasSelectableTablePlace. This removes some duplicate
670 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
671 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
672 Add Presenter interface. Add setBackLinkVisible() method. Add
673 setBackLink() method.
675 2011-05-18 Ben Konrath <ben@bagu.org>
677 Enable the "Details" buttons.
679 Right now only an empty details view is displayed.
681 * src/main/java/org/glom/web/client/ClientFactory.java:
682 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
683 Add DetailsView to ClientFactory.
684 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
685 A basic activity for the details view.
686 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
687 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
689 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
690 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
692 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
693 Create a new DetailsActivity when a DetailsPlace is requested. Remove
694 unnecessary super() in constructor.
695 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
696 Create a new TableSelectionActivity when a DetailsPlace is requested. We
697 really shouldn't create a new TableSelectionActivity for both the ListPlace
698 and the DetailsPlace so this should be considered a temporary solution.
699 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
700 New file. Represents a URL for the details view.
701 * src/main/java/org/glom/web/client/ui/DetailsView.java:
702 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
703 A basic details view interface and implementation.
704 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
705 Enable the "Details" buttons.
707 2011-05-12 Ben Konrath <ben@bagu.org>
709 Use a LayoutPanel with multiple display areas for main layout.
711 This is mostly a refactor in that there are no changes from the user
712 point of view. These changes are required so that we can swap out the list view
713 with the details view when the user clicks the "Details" button.
715 * src/main/java/org/glom/web/client/ClientFactory.java:
716 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
717 OnlineGlomView. Add TableSelectionView, ListView and
719 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
720 for main layout. Add display regions for main activities. Add
721 activity manager for for main activities.
722 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
723 file from parts of the deleted OnlineGlomActivity.
724 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
725 New file from parts of the deleted OnlineGlomActivity.
726 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
727 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
728 New files for app wide table change event.
729 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
730 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
731 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
732 Activity mappers for the main activities replace the deleted app-wide
734 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
735 Fix a spelling error in he comment.
736 * src/main/java/org/glom/web/client/ui/ListView.java:
737 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
738 Renamed from LayoutListView and modified for MVP. This still not a
739 proper dumb view as prescribed by the MVP pattern but it works for now.
740 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
741 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
742 New widget stripped out of the deleted OnlineGlomView.
743 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
744 Remove hack that is fixed by this patch.
746 2011-05-06 Ben Konrath <ben@bagu.org>
748 Rename OnlineGlomPlace to ListPlace.
750 The only change besides the rename is that url will now display #list
751 instead of #Document.
753 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
754 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
755 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
756 * src/main/java/org/glom/web/client/place/ListPlace.java:
757 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
759 2011-05-06 Ben Konrath <ben@bagu.org>
761 Use Presenter for app navigation.
763 This is the proper way to deal with Place (URL) changes with the MVP
766 * src/main/java/org/glom/web/client/ClientFactory.java:
767 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
768 PlaceHistoryMapper and PlaceHistoryHandler.
769 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
770 PlaceHistoryMapper and PlaceHistoryHandler.
771 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
772 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
773 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
774 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
775 Add Presenter interface and setPresenter methods. Rename addHyperLink
776 to addDocumentLink taking only the document title as a parameter.
778 2011-04-14 Ben Konrath <ben@bagu.org>
780 Prompt for db username/password if they haven't been set.
782 This is implemented with a popup widget that is contained within the
783 OnlineGlomView and managed by the OnlineGlomActivity.
785 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
786 methods for checking and setting the database username and password.
787 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
788 new methods for checking and setting the database username and
790 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
791 Display authentication popup if the JDBC connection to the database
792 has not been authenticated.
793 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
795 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
796 for dealing with the authentication popup.
797 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
798 Implement the methods for dealing with the authentication popup.
799 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
800 try to executed queries if the database connection hasn't been
801 authenticated. Implement methods for checking and setting the
802 database username and password.
804 2011-04-12 Ben Konrath <ben@bagu.org>
806 Make log messages a little clearer.
808 Add a dash betweeen the document title and the table name.
810 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
812 2011-04-12 Ben Konrath <ben@bagu.org>
814 Protect against NPEs when cleaning up database resources.
816 While this isn't strictly necessary because the exception is caught,
817 not protecting against the NPEs makes it harder to find the real error
820 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
822 2011-04-12 Ben Konrath <ben@bagu.org>
824 Move configuration of the servlet to the constructor.
826 The servlet will be initialized even if the database authentication
827 information is not set or correct. I still need to add the UI for prompting
828 the user for the authentication information when it's required.
830 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
831 javadocs for getDocumentTitles() method.
832 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
833 Set error message when RPC fails.
834 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
835 glom files directory from the configuration file. Try to set the
836 database authentication information for the specific document if it's
837 set and works otherwise try to use the global authentication
838 information set for the directory.
839 * src/main/resources/onlineglom.properties: Moved from
840 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
841 Added detailed comments for the new keys.
843 2011-04-11 Ben Konrath <ben@bagu.org>
845 Remove unnecessary @Override in DocumentSelectionViewImpl.
847 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
849 2011-04-11 Ben Konrath <ben@bagu.org>
851 Remove center alignment in DocumentSelectionView.
853 The title element is still centred but the document titles and bottom
854 sentence are both left-aligned.
856 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
858 2011-04-11 Ben Konrath <ben@bagu.org>
860 Change 'Demo' naming convention to 'Document'.
862 This is just a rename refactor with no functional changes to the code.
864 * src/main/java/org/glom/web/client/ClientFactory.java:
865 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
866 * src/main/java/org/glom/web/client/OnlineGlom.java:
867 * src/main/java/org/glom/web/client/OnlineGlomService.java:
868 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
869 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
870 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
871 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
872 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
873 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
874 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
875 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
878 2011-04-08 Ben Konrath <ben@bagu.org>
880 Remove FIXME from safeLongToInt() method.
882 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
885 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
887 2011-04-08 Ben Konrath <ben@bagu.org>
889 Display an error if no glom documents are found in the specified directory.
891 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
892 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
893 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
894 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
896 2011-04-08 Ben Konrath <ben@bagu.org>
898 Add copyright header to one more file ... oops.
900 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
902 2011-04-08 Ben Konrath <ben@bagu.org>
904 Add copyright header to files without it.
906 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
907 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
908 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
909 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
910 * src/main/java/org/glom/web/shared/ColumnInfo.java:
911 * src/main/java/org/glom/web/shared/GlomField.java:
913 2011-04-08 Ben Konrath <ben@bagu.org>
915 Add support for accessing multiple glom documents in the servlet.
917 This completes the demo selection functionality.
919 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
920 document title to methods.
921 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
922 document title to methods.
923 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
924 Set browser window title when the activity starts. Correct name of
925 document title variable.
926 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
927 Set browser window title when the activity starts. Set the table
928 selector change handler after table selector has been set. Clear the
929 OnlineGlomView when the activity has been stopped.
930 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
931 document title as the place token. Use "#Document:" instead of
932 "#OnlineGlomPlace:" in the URL.
933 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
934 Change heading to "Online Glom"
935 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
936 document title in RPC methods.
937 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
938 setDocumentTitle() method. Add clear() method.
939 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
940 setDocumentTitle() method. Implement clear() method which removes the
941 change handler on the ListBox, clears the ListBox and clears the
943 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
944 Implement methods with document title. Keep track for the configured
945 glom documents and their corresponding JDBC configurations in a hash
946 table. This information is retrieved using the document title as the
947 key in the hash table.
948 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
949 document title field as it's no longer needed.
951 2011-04-08 Ben Konrath <ben@bagu.org>
953 Update the Eclipse JDT configuration.
955 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
956 methods. Automatically add the copyright header to new files.
958 2011-04-05 Ben Konrath <ben@bagu.org>
960 Add new page for demo selection.
962 This patch adds all the components required to view and start an
963 OnlineGlom demo by clicking on the desired hyperlink. The user is
964 able to return to the demo selection page with the browser's back
965 button. I still need to modify the servlet to work with multiple
966 documents so all demo links will load the file defined in the
967 OnlineGlom.properties.
969 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
970 This is only useful during development so we don't need to save it.
971 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
972 get a reference to the DemoSelectionView.
973 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
974 method to get a reference to the DemoSelectionView.
975 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
976 default view to DemoSelectionView.
977 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
978 to get glom document titles for glom files in a hard-coded directory.
979 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
980 method to get glom document titles for glom files in a hard-coded
982 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
983 Presenter for DemoSelectionView.
984 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
985 for DemoSelectionView.
986 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
987 Update for DemoSelectionView.
988 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
989 Basic 'Place' implementation for the DemoSelectionView.
990 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
991 The interface for the DemoSelectionView.
992 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
993 The implementation of the DemoSelectionView.
994 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
995 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
996 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
997 implementation of method to get glom document titles for glom files
998 in a hard-coded directory.
999 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1000 on longer being used.
1001 * src/main/webapp/glom.png: Glom logo.
1003 2011-04-05 Ben Konrath <ben@bagu.org>
1005 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1007 This is the forth and final commit of a refactor that will allow
1008 OnlineGlom to be used with multiple documents.
1010 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1011 Move RPC code from OnlineGlomViewImpl to this class.
1012 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1014 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1015 RPC code to the presenter class (the P in MVP).
1017 2011-04-04 Ben Konrath <ben@bagu.org>
1019 Start moving the existing OnlineGlom code to MVP.
1021 This work is based on the GWT MVP framework that is documented here:
1023 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1025 This is the third commit of a refactor that will allow OnlineGlom to
1026 be used with multiple documents.
1028 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1029 Interface for client factory which is used to get instances of various
1030 classes throughout the app.
1031 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1032 Implementation of client factory.
1033 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1034 initialize the MVP framework.
1035 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1036 New file. Activity manager for the main container widget. This is the
1038 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1039 Maps place (URL) to its corresponding activity.
1040 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1041 New file. This is just a place holder for a generated file.
1042 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1043 New file. Represents the URL for the main Online Glom app.
1044 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1045 for changes in LayoutListViewImpl.
1046 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1047 interface for View. Move code to OnlineGlomViewImpl class.
1048 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1049 file. Implementation of OnlineGlomView.
1050 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1051 Place resources. Use ClientFactoryImpl by default.
1053 2011-04-04 Ben Konrath <ben@bagu.org>
1055 Move View classes to their own package.
1057 This is the second commit of a refactor that will allow OnlineGlom to
1058 be used with multiple documents.
1060 * src/main/java/org/glom/web/client/OnlineGlom.java:
1061 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1062 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1064 2011-04-02 Ben Konrath <ben@bagu.org>
1066 Move UI code from the main module to its own class.
1068 This is the first commit of a refactor that will allow OnlineGlom to be
1069 used with multiple documents.
1071 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1072 references to OnlineGlom to OnlineGlomView.
1073 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1074 OnlineGlomView and instantiate it here.
1075 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1076 represents the main OnlineGlomView with one document.
1078 2011-04-01 Ben Konrath <ben@bagu.org>
1080 Fix formatting of gwt.xml and add DTD.
1082 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1084 2011-03-30 Ben Konrath <ben@bagu.org>
1086 Propperly convert gdkColor string to html colour string.
1088 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1090 2011-03-28 Ben Konrath <ben@bagu.org>
1092 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1094 This implementation matches
1095 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1096 readable and is not tied to Swig.
1098 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1100 2011-03-28 Ben Konrath <ben@bagu.org>
1102 Use read-only checkboxes for boolean field types.
1104 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1105 in the CellTable based on the field type. It currently only
1106 distinguishes between boolean and text columns but I'll need to add
1107 support for more types.
1108 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1109 column type in the ColumnInfo object. Add method to convert between the
1110 glom field type enum in ColumnInfo and the glom field type in libglom.
1111 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1113 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1114 getting and setting booleans.
1116 2011-03-25 Ben Konrath <ben@bagu.org>
1118 Don't get the Date twice from the ResultSet.
1120 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1122 2011-03-25 Ben Konrath <ben@bagu.org>
1124 Cleanup code in the servlet.
1126 * TODO: Remove item about row count. Add item about testing row count
1127 query with large number of rows.
1128 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1129 spelling mistakes, change method parameter to be consistent with
1132 2011-03-25 Ben Konrath <ben@bagu.org>
1134 Add server side logging with the gwt-log library.
1136 * .gitignore: Ignore the log file we're now producing.
1137 * TODO: Add a couple TODO item for logging.
1138 * pom.xml: Add gwt-log and log4j as a dependency.
1139 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1140 logging of errors, warnings and some important info.
1141 * src/main/resources/log4j.properties: New file to configure log4j.
1143 2011-03-24 Ben Konrath <ben@bagu.org>
1145 Add a disable button for the Details view.
1147 * src/main/java/org/glom/web/client/LayoutListView.java:
1149 2011-03-22 Ben Konrath <ben@bagu.org>
1151 Use a count query to get the number of rows for the list view pager.
1153 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1155 2011-03-22 Ben Konrath <ben@bagu.org>
1157 Add more TODO information about CellTable pager positioning.
1161 2011-03-19 Ben Konrath <ben@bagu.org>
1163 Add TODO item about CellTable pager positioning.
1167 2011-03-18 Ben Konrath <ben@bagu.org>
1169 Remove unneeded GlomFieldColumn class.
1171 This is just a small code cleanup.
1173 * src/main/java/org/glom/web/client/LayoutListView.java:
1175 2011-03-18 Ben Konrath <ben@bagu.org>
1177 Use cursor mode in the query that gets data for the list view.
1179 I still need to fix the potential memory problem when getting the row
1180 count for the list view.
1182 * TODO: Add note about testing memory usage with large data sets. Add
1183 item about fixing row counting with large data sets.
1184 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1185 PostgreSQL JDBC driver into cursor mode when getting data for the
1188 2011-03-15 Ben Konrath <ben@bagu.org>
1190 Remove the GWT Container from the Eclipse build classpath.
1192 The GWT dependencies are set by Maven so this isn't needed.
1196 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1198 Added some earlier mockups to git, but not to the tarball dist.
1200 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1201 Openismus. These hopefully show how we might structure the HTML so that
1202 it can be styled easily with CSS. However, we probably need to adapt them
1203 for the CSS structure that GWT dictates for common widgets.
1205 2011-03-14 Ben Konrath <ben@bagu.org>
1207 Locate OnlineGlom.properties using the ServletContext.
1209 This is required to be able to locate the file in the deployed servlet.
1211 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1212 Configure the database and glom document in in a helper method so
1213 that the ServletContext can be used to locate OnlineGlom.properties.
1214 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1215 src/main/webapp. This is the proper location for .properites files.
1217 2011-03-12 Ben Konrath <ben@bagu.org>
1219 Add note to README about why we're compiling down to obfuscated JavaScript.
1223 2011-03-11 Ben Konrath <ben@bagu.org>
1225 Use properties file to configure servlet.
1227 This allows people to change the glom file path, db username and db
1228 password without recompiling the code.
1230 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1231 * src/main/webapp/OnlineGlom.properties:
1233 2011-03-11 Ben Konrath <ben@bagu.org>
1235 Use table fields in layout list view if the layout list is not defined.
1237 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1238 Manually create a LayoutFieldVector for the query builder using the
1239 table fields when a layout list is not defined in the glom file.
1241 2011-03-11 Ben Konrath <ben@bagu.org>
1243 Only show FIXME string for images when there's an image.
1245 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1246 in this change are some small code cleanups.
1248 2011-03-11 Ben Konrath <ben@bagu.org>
1250 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1252 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1254 2011-03-11 Ben Konrath <ben@bagu.org>
1256 Correctly set the index of the default table.
1258 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1259 Correctly set the index of the default table. Add commented out example
1262 2011-03-10 Ben Konrath <ben@bagu.org>
1264 Add comment to pom.xml about the previous change.
1266 * pom.xml: Add comment about the deployment issue so that it's obvious
1267 why java-libglom is set to the provided scope.
1269 2011-03-10 Ben Konrath <ben@bagu.org>
1271 Change java-libglom dependency from compile to provided in pom.xml.
1273 Since java-libglom uses jni it can only be loaded once and therefore
1274 must be placed in $CATALINA_HOME/lib and not included in each war.
1275 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1276 More information about this issue can be found in the Tomcat 6 release
1277 notes in the "JNI Based Applications" section:
1279 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1281 * README: Remove note about this issue. Deployment info should really
1282 be on the wiki anyway so I'll add it right now.
1283 * pom.xml: Change java-libglom dependency from compile to provided so
1284 that it's copied in to the packaged war.
1286 2011-03-09 Ben Konrath <ben@bagu.org>
1288 Change to using a neutral locale for currency, date and time formatting.
1290 This solves the problem of currency values being represented without a
1291 space between the currency code and the number (e.g. "EUR5.89" is now
1292 represented as "EUR 5.89"). More work is required when we implement
1293 a locale preference setting.
1295 * TODO: Add note about currency formatting issues with different
1297 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1298 to using the neutral ROOT locale.
1300 2011-03-09 Ben Konrath <ben@bagu.org>
1302 Add support for currency codes that are not ISO 4217 codes.
1304 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1305 the currency code defined in the glom file when it's not 3 characters
1306 long or when Java doesn't recognize the string as an ISO 4217 code.
1308 2011-03-08 Ben Konrath <ben@bagu.org>
1310 Remove test classes, launch configurations and configuration.
1312 The test stuff was getting in the way when creating the war. To make
1313 the war file you can now do 'mvn clean package'. The packaged war file
1314 will be in the target directory.
1316 * .classpath: Remove unused classpathentry for tests and i18n.
1317 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1318 property. Don't run test or i18n goals when packaging the war.
1319 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1324 * OnlineGlomTest-dev.launch:
1325 * OnlineGlomTest-prod.launch:
1326 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1327 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1329 2011-03-07 Ben Konrath <ben@bagu.org>
1331 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1333 These fixes allow me to use 'mvn deploy' to create the war file.
1335 * .classpath: This generated config has been updated by Eclipse. This
1336 change was probably triggered by me updating from Eclipse 3.6.1 to
1338 * .gitignore: Add entry to ignore the directory
1339 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1340 * .project: The generated config has been updated by Eclipse. This
1341 change was probably triggered by me updating from Eclipse 3.6.1 to
1343 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1344 so that Eclipse doesn't complain
1345 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1346 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1347 'tests' directory to 'client' directory. This is the new
1348 gwt-maven-plugin convension.
1349 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1350 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1352 2011-03-07 Ben Konrath <ben@bagu.org>
1354 Add support for horizontal alignment in the LayoutList columns.
1356 * TODO: Remove item about horizontal alignment. Add item about
1357 improvements to ColumnInfo.
1358 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1359 alignment on the columns. Use ColumnInfo RPC object get the column
1360 title and horizontal alignment.
1361 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1362 LayoutListView creation with ColumnInfo RPC object.
1363 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1364 a ColumnInfo object for every LayoutList columnn. Convert the
1365 FieldFormatting.HorizontalAlignment to the correct
1366 ColumnnInfo.HorizontatlAlignment with the new
1367 getColumnInfoHorizontalAlignment helper method.
1368 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1369 to encapsulate column information like alignment and title. This
1370 could be used to set the colour instead of on a per cell field basis.
1371 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1372 column title storage and retrieval with ColumnInfo.
1374 2011-03-04 Ben Konrath <ben@bagu.org>
1376 Add support for column sorting.
1378 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1379 AsynDataProvider to be an anonymous inner class. Use new
1380 getSortedTableData RPC method when column sort is requested. Set all
1381 columns sortable and add an AsyncHandler to activate sorting in the
1383 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1384 method getSortedTableData(). Cleanup other method signatures.
1385 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1386 new method getSortedTableData(). Cleanup other method signatures.
1387 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1388 Implement getSortedTableData() and getTableData() methods by using a
1389 private helper method with the appropriate parameters filled in. Use
1390 user supplied sort clause when supplied, otherwise fall back to
1391 sorting by the primary key. Move destroy() method to be underneath
1392 constructor for readability. Cleanup comments.
1394 2011-03-03 Ben Konrath <ben@bagu.org>
1396 Add support for colour text and colour backgrounds to the layout list cells.
1398 Only the cell backgrounds are coloured which leaves a gap between the
1399 cells that isn't coloured. I need to figure out a way to set
1400 'style=background-colour:' on the whole column rather than just the
1403 * TODO: Add a note about colouring the background of the whole column.
1404 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1405 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1406 render the coloured text and backgrounds. Use GlomField[] for the row type.
1407 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1409 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1410 GlomField[] for the row type.
1411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1412 GlomField[] for the row type. Set the text, text colour and background
1413 colour in the GlomField objects as specified in the glom document. Add
1414 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1415 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1416 the glom field text, foreground colour and background colour.
1418 2011-03-02 Ben Konrath <ben@bagu.org>
1420 Don't display hidden tables in the combo box.
1422 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1424 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1425 code to ignore hidden tables using ArrayLists for the table names and
1427 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1428 tableNames to use ArrayLists instead of String[]. Update getter and setter
1431 2011-03-01 Ben Konrath <ben@bagu.org>
1433 Add support for Date and Time number types.
1435 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1436 Implement formatting for Date and Time values. Change the default glom
1437 file to small business example.
1439 2011-03-01 Ben Konrath <ben@bagu.org>
1441 Add support for formatting glom types as specified in the glom file.
1443 Formatting isn't finished yet - I still need to add support for Date
1446 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1447 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1448 checks for null values in JDBC cleanup code and catch all exceptions
1449 instead of just SQLExceptions.
1450 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1453 2011-03-01 Ben Konrath <ben@bagu.org>
1455 Use GWT 2.2.0 instead of 2.1.1.
1457 * pom.xml: Change GWT version numbers.
1459 2011-03-01 Ben Konrath <ben@bagu.org>
1461 A few small code cleanups.
1463 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1465 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1466 unnecessary object creation in constructor.
1467 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1468 unnecessary object creation in constructor.
1470 2011-02-28 Ben Konrath <ben@bagu.org>
1472 Add file for TODO list.
1476 2011-02-18 Ben Konrath <ben@bagu.org>
1478 Enable the CellTable Pager when more than 20 rows need to be viewed.
1480 The Pager will automatically become active when the results are larger
1481 than the CellTable size which is currently set to 20 lines.
1483 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1484 name on debug statment in RPC call in LayoutListDataProvider, add
1485 numRows parameter to LayoutListView constructor, propperly set rowCount
1487 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1488 name on debug statment in RPC call, use LayoutListTable object in RPC
1489 calls, pass rowCount to LayoutListView.
1490 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1491 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1493 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1494 interface for changes in OnlineGlomService.
1495 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1496 getLayoutListHeaders() to getLayoutListTable() and return
1497 LayoutListTable. Using this object allows me to pass other information
1498 about the LayoutList like the expected number of rows in the result set.
1499 The Connection object from the connection pool is now propperly closed.
1500 Only the requested number of lines are returned to the client in
1502 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1503 GlomTable and add columnTitles and numRows.
1505 2011-02-18 Ben Konrath <ben@bagu.org>
1507 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1509 This is a small performance boost. I'll use GlomTable to get the required
1510 layoutlist information.
1512 * src/main/java/org/glom/web/client/OnlineGlom.java:
1513 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1514 * src/main/java/org/glom/web/shared/GlomDocument.java:
1516 2011-02-18 Ben Konrath <ben@bagu.org>
1518 Add option to turn off formatting in JDT formatter preferences.
1520 * .settings/org.eclipse.jdt.core.prefs:
1522 2011-02-18 Ben Konrath <ben@bagu.org>
1524 Rename LayoutList to LayoutListView.
1526 I'm working towards setting things up to easily use MVP when the time
1529 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1531 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1534 2011-02-17 Ben Konrath <ben@bagu.org>
1536 Move LayoutListDataProvider class into LayoutList.java.
1538 * src/main/java/org/glom/web/client/LayoutList.java:
1540 2011-02-17 Ben Konrath <ben@bagu.org>
1542 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1544 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1546 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1547 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1548 from LibGlomServer.java.
1549 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1550 Rename from LibGlomServiceAsync.java.
1551 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1552 Rename from LibGlomServiceImpl.java.
1553 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1555 2011-02-17 Ben Konrath <ben@bagu.org>
1557 Update JDT settings.
1559 * .settings/org.eclipse.jdt.core.prefs:
1561 2011-02-17 Ben Konrath <ben@bagu.org>
1563 Move GWT-RPC objects to shared package (where they should be).
1565 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1566 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1567 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1568 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1569 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1570 org.glom.web.shared package.
1571 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1572 org.glom.web.shared package.
1573 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1574 directory in compilation to javascript.
1576 2011-02-16 Ben Konrath <ben@bagu.org>
1578 Add sort clause to the sql query that grabs table information.
1580 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1581 if one of the columns is a primary key.
1583 2011-02-16 Ben Konrath <ben@bagu.org>
1585 Disable generateAsync feature of gwt-maven.
1587 The generated interface does not correctly match the methods in LibGlomService
1588 and the generated singleton Util inner-class doesn't respect the servlet
1591 * pom.xml: Turn off generateAsync feature.
1592 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1593 with singleton Util inner-class.
1595 2011-02-14 Ben Konrath <ben@bagu.org>
1597 Add LGPL v3 licence notices.
1599 Followed directions listed here:
1600 http://www.gnu.org/licenses/gpl-howto.html
1602 * COPYING: This file is a copy of the GPL v3.
1603 * COPYING.LESSER: This file is a copy of the LGPL v3.
1604 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1606 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1608 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1610 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1612 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1614 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1616 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1619 2011-02-14 Ben Konrath <ben@bagu.org>
1621 Use ArrayList instead of Array in GWT-RPC calls.
1623 Apparently this gives a slight performance boost to the compiled
1626 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1628 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1631 2011-02-14 Ben Konrath <ben@bagu.org>
1633 Access data from a postgres db rather than the example glom file.
1635 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1636 compile down to obfuscated javascript.
1637 * pom.xml: Add c3p0 and postgres JDBC libraries.
1638 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1639 using a postgres db accessed through the c3p0 connection pooling library.
1641 2011-02-14 Ben Konrath <ben@bagu.org>
1643 Update Java formatter settings.
1645 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1647 2011-02-02 Ben Konrath <ben@bagu.org>
1649 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1651 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1653 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1654 the compiled webapp directory that Eclipse uses as we're using Maven now.
1655 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1656 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1658 * pom.xml: Format file, change target Java version to 1.6.
1660 2011-02-02 Ben Konrath <ben@bagu.org>
1662 Add information about a deployment related issue.
1664 * README: Add Notes section with the problem outlined.
1666 2011-02-02 Ben Konrath <ben@bagu.org>
1668 Call Glom.libglom_deinit() when the servlet is shutdown.
1670 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1671 Glom.libglom_deinit() to destroy() method.
1673 2011-01-28 Ben Konrath <ben@bagu.org>
1675 Use generated Util class to get the RPC Async interface.
1677 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1679 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1680 getInstance() method to get a reference to the RPC Async interface.
1681 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1682 getInstance() method to get a reference to the RPC Async interface, remove
1683 the now unused getLibGlomServiceProxy() method.
1685 2011-01-27 Ben Konrath <ben@bagu.org>
1687 Cleanup ChangeLog entry from previous commit.
1689 * ChangeLog: Group logical changes together and add comments.
1691 2011-01-25 Ben Konrath <ben@bagu.org>
1693 Convert to gwt-maven project.
1695 * .gitignore: Update for new project structure.
1696 * README: New file with a link to the online documentation.
1697 * pom.xml: The generated maven configuration file with some tweaks.
1699 Add / update Eclipse settings. These files are a merge of the files that
1700 were generated with the gwt-maven plugin and the files we were previously
1704 * .settings/.jsdtscope:
1705 * .settings/com.google.gdt.eclipse.core.prefs:
1706 * .settings/com.google.gwt.eclipse.core.prefs:
1707 * .settings/org.eclipse.jdt.core.prefs:
1708 * .settings/org.eclipse.wst.common.component:
1709 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1710 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1711 * .settings/org.maven.ide.eclipse.prefs:
1712 * OnlineGlomTest-dev.launch:
1713 * OnlineGlomTest-prod.launch:
1715 Java source files moved from the 'src' directory to the directory structure
1717 * src/main/java/org/glom/web/client/GlomDocument.java:
1718 * src/main/java/org/glom/web/client/GlomTable.java:
1719 * src/main/java/org/glom/web/client/LayoutList.java:
1720 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1721 * src/main/java/org/glom/web/client/LibGlomService.java:
1722 * src/main/java/org/glom/web/client/OnlineGlom.java:
1723 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1725 Non-functional property file used for translations. I included this as
1726 reminder that it's something I need to sort out.
1727 * src/main/resources/org/glom/web/client/Messages.properties:
1729 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1730 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1732 The servlet configuration files moved from the 'war' directory.
1733 * src/main/webapp/OnlineGlom.css:
1734 * src/main/webapp/OnlineGlom.html:
1735 * src/main/webapp/WEB-INF/web.xml:
1737 Generated test files with most of the code commented out. I included these
1738 so that it's easy to add tests when we're ready for them.
1739 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1740 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1742 2011-01-25 Ben Konrath <ben@bagu.org>
1744 Remove unused println.
1746 * src/org/glom/web/server/LibGlomServiceImpl.java:
1748 2011-01-25 Ben Konrath <ben@bagu.org>
1750 Add project specific JDT settings.
1752 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1753 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1755 2011-01-25 Ben Konrath <ben@bagu.org>
1757 Populate celltable with example data.
1759 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1760 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1761 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1762 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1763 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1764 asynchronously gets the example data.
1765 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1766 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1767 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1768 curently selected table to be retrieved by other widgets.
1769 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1770 implement getTableData() in a hacky way. This method needs to be updated
1771 to grab information from the database when database creating is
1774 2011-01-20 Ben Konrath <ben@bagu.org>
1776 Set table headers when table dropBox changes.
1778 * src/org/glom/web/client/GlomDocument.java: Correct some method
1780 * src/org/glom/web/client/LibGlomService.java: Add method
1781 to get list layout field names.
1782 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1783 to get list layout field names.
1784 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1785 widget for list layout table.
1786 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1787 the table drop box and add new updateTable() method to asynchronously
1788 get the layout list field names for the currently selected table.
1789 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1790 implementation of getLayoutListHeaders() method.
1791 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1793 2011-01-18 Ben Konrath <ben@bagu.org>
1795 Make a listBox with table titles instead of the flexTable demo.
1797 This is the start of something more useful.
1799 * .classpath: Exclude a bunch of packages from the JVM that are
1800 getting in the way of the Eclipse content assist.
1801 * src/org/glom/web/client/GlomDocument.java:
1802 * src/org/glom/web/client/GlomTable.java:
1803 * src/org/glom/web/client/LibGlomService.java:
1804 * src/org/glom/web/client/LibGlomServiceAsync.java:
1805 * src/org/glom/web/client/OnlineGlom.java:
1806 * src/org/glom/web/server/LibGlomServiceImpl.java:
1807 * war/OnlineGlom.html:
1808 * war/WEB-INF/web.xml:
1810 211-01-13 Ben Konrath <ben@bagu.org>
1812 Update to new java-libglom API.
1814 * .gitignore: Ignore OnlineGlom.war.
1815 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1817 2010-12-20 Ben Konrath <ben@bagu.org>
1819 Add some basic style to the table listing.
1821 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1822 header, print useful error message on async callback failure.
1823 * war/OnlineGlom.css: Add style for table header, remove defaults
1824 provided by the Eclipse project wizard.
1826 2010-12-20 Ben Konrath <ben@bagu.org>
1828 Load example file from installed glom dir.
1830 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1831 provided by java-libglom to find the example file.
1833 2010-12-20 Ben Konrath <ben@bagu.org>
1835 Update Eclipse settings.
1838 * .settings/com.google.gdt.eclipse.core.prefs:
1839 * .settings/com.google.gwt.eclipse.core.prefs:
1841 2010-12-17 Ben Konrath <ben@bagu.org>
1845 * .classpath: New file.
1846 * .gitignore: New file.
1847 * .project: New file.
1848 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1849 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1850 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1851 * src/org/glom/web/client/GlomTable.java: New file.
1852 * src/org/glom/web/client/OnlineGlom.java: New file.
1853 * src/org/glom/web/client/TableNameService.java: New file.
1854 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1855 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1856 * war/OnlineGlom.css: New file.
1857 * war/OnlineGlom.html: New file.
1858 * war/WEB-INF/web.xml: New file.
1859 * war/images/glom.png: New file.