1 2011-08-11 Ben Konrath <ben@bagu.org>
3 Make the TableSelector header match the mockup.
5 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
6 the layout panel. Properly lineup the table selection header with
7 the list and details view.
8 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
9 margin around the details view.
10 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
11 Rename listBox variable to tableSelector. Set id for the style sheet.
12 Use a FlowPanel instead of a HorizontalPanel.
13 * src/main/webapp/style.css: Add properties to make the TableSelector
14 box match the mockups.
16 2011-07-13 Ben Konrath <ben@bagu.org>
18 Update install script for java-libglom version change.
20 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
23 2011-07-13 Ben Konrath <ben@bagu.org>
25 Add support sub-group in the details view.
27 I also removed the code that special-cased the default details view
30 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
32 I still have to make a proper flowtable.
34 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
35 Don't special-case default details view layout.
36 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
37 addLayoutField() as I'm going to use it.
38 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
39 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
41 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
42 extracted from DetailsViewImpl.GroupPanel. Add support for
44 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
45 column count when getting the details layout.
47 2011-07-12 Ben Konrath <ben@bagu.org>
49 Set browser title with database and table titles.
51 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
52 Set the browser title when the table changes and when the activity
54 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
55 title when retrieving document info (the GlomDocument object).
56 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
57 with getter and setter methods. Remove unused convenience constructor.
58 Use default code formatting.
60 2011-07-12 Ben Konrath <ben@bagu.org>
62 Ignore LayoutItemPortals in the details view.
64 I added a new DTO for the LayoutItemPortal so that I can ignore it in
67 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
68 LayoutItemPortal layout objects.
69 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
70 LayoutItemPortal objects when retrieving the details layout.
71 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
72 file. This is an empty class and just used to get type information for
75 2011-07-12 Ben Konrath <ben@bagu.org>
77 Use java-libglom 1.17.0.
81 2011-07-11 Ben Konrath <ben@bagu.org>
83 Remove "Table:" label from table selector.
85 This matches a recent change in the Glom UI.
87 * mockups/details-contacts.html:
88 * mockups/details-projects.html:
89 * mockups/listview-contacts.html:
90 * mockups/listview-projects.html: Remove the "Table:" label from the
92 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
94 2011-07-11 Ben Konrath <ben@bagu.org>
96 Add main groups to the details view.
98 This makes things look a little nicer in the details view. The next step
99 is to implement the flowtable.
101 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
102 resources from the standard gwt css theme. Standard.css is now
103 included in OnlineGlom.html so that the online glom css rules have
104 precedence over the gwt theme.
105 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
106 the whole LayoutGroup to the DetailsView instead of just the titles.
107 * src/main/java/org/glom/web/client/ui/DetailsView.java:
108 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
109 details layout with a helper class (GroupPanel). I might extract this
110 class when I make the full flowtable.
111 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
112 string as default so I don't have to worry about NPEs when processing
114 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
115 note beside OnlineGlom.gwt.xml above).
116 * src/main/webapp/style.css: Add default font-size to body to override
117 the font-size set by the standard theme. Don't use h2 tags for
118 group-title. Create new details-cell class.
120 2011-07-08 Murray Cumming <murrayc@murrayc.com>
122 ConfiguredDocument: Set the port number too.
124 * src/main/java/org/glom/web/server/ConfiguredDocument.java
125 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
126 Glom document. Presumably this worked sometimes so far because there is a
129 2011-07-08 Murray Cumming <murrayc@murrayc.com>
131 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
133 * src/main/java/org/glom/web/server/ConfiguredDocument.java
134 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
135 correct, though we should throw an exception too.
137 2011-07-08 Murray Cumming <murrayc@murrayc.com>
139 Fix a addDocuemnt typo.
141 * src/main/java/org/glom/web/shared/Documents.java
142 (Documents.addDocuemnt): Rename to addDocument().
143 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
144 (OnlineGlomServiceImpl.getDocuments): Adapt.
146 2011-07-08 Murray Cumming <murrayc@murrayc.com>
148 Slightly improved log output when connection fails.
150 * src/main/java/org/glom/web/server/ConfiguredDocument.java
151 (ConfiguredDocument.setUsernameAndPassword):
152 We don't know for sure if it' the username/password that's wrong, so
153 rephrase the message.
154 Also ouput the exception message, though it's generic in this case.
156 2011-07-08 Ben Konrath <ben@bagu.org>
160 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
161 added braces to a one line if statement because the Eclipse formatter
162 was getting confused.
164 2011-07-07 Ben Konrath <ben@bagu.org>
166 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
168 These should really be two separate tasks but I counldn't get things to
169 work with GWT 2.2.0 and Eclipse 3.7.
173 * .settings/org.eclipse.jdt.core.prefs:
174 * .settings/org.eclipse.jdt.ui.prefs:
175 * .settings/org.eclipse.ltk.core.refactoring.prefs:
176 * .settings/org.eclipse.m2e.core.prefs:
177 Add new config files. Update current files. Remove references to the
178 webtools plugins as we're not using any of the webtools features.
179 * .gitignore: Add logs directory which is created when running with
181 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
182 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
183 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
185 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
187 2011-07-07 Murray Cumming <murrayc@murrayc.com>
189 onlineglom.properties: Add explanatory comments.
191 * src/main/resources/onlineglom.properties: Also change the default user
192 from ben to someuser, to avoid the risk of people thinking we just
193 stupidly hard-coded a locale path, when they see that on stderr or in a log.
195 2011-06-28 Ben Konrath <ben@bagu.org>
197 Use filename in Log for incorrect passwords.
199 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
200 getFileName(String) method to get the filename from the URI.
202 2011-06-28 Ben Konrath <ben@bagu.org>
204 Add the table name to the URL token for the ListPlace.
206 This makes things consistent between the DetailsPlace and the
207 ListPlace. It also allows the the ListPlace to be bookmarked.
209 * src/main/java/org/glom/web/client/OnlineGlomService.java:
210 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
211 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
212 Remove getDefaultListLayout(). The default layout is now returned
213 by the getListLayout() method when the table name is an empty string.
214 * src/main/java/org/glom/web/client/activity/ListActivity.java:
215 Add table name field. Change to a new ListPlace when the table
216 has been changed. Use getListLayout() for getting the default
218 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
219 Add table name field. Set the correct table name in the list box
220 when loading from bookmark. This corrects a problem for the
222 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
223 Move table name to super-class (HasSelectableTable). Move document
224 and table URL keys to super-class in HasSelectableTable.
225 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
226 Add table name field. Add Tokenizer class with URL key common to
227 the subclasses (DetailsPlace and ListPlace).
228 * src/main/java/org/glom/web/client/place/ListPlace.java:
229 Add table name. Add code to parse the URL token.
230 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
231 Update ListPlace construction with empty table name string.
232 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
233 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
234 Change setTableSelectedIndex(int) to setSelectedTableName(String).
235 Update ListPlace construction with table name string.
236 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
237 Change defaultTableName field to tableName to reflect how it's now
238 used. Update the getter and setter methods.
240 2011-06-28 Ben Konrath <ben@bagu.org>
242 Enable the table selector in the DetailsView.
244 * src/main/java/org/glom/web/client/OnlineGlomService.java:
245 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
246 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
247 Remove getDefaultDetailsLayout(). The default layout is now returned
248 by the getDetailsLayout() method when the table name is an empty
250 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
251 event handler for table change event. Change to using
252 getDetailsLayout() for the default details layout.
253 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
255 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
256 when navigating to the details place.
258 2011-06-27 Ben Konrath <ben@bagu.org>
260 Use filename based unique document ID in URL and for RPC.
262 The document ID is the glom document name with spaces (' ') replaced
263 with pluses ('+') and without the .glom extension.
265 This change is mostly a string substitution of 'documentTitle' for
266 'documentID'. The only code change is the addition of a Documents DTO to get the
267 filename to document title mappings as indicated below.
269 * src/main/java/org/glom/web/client/OnlineGlomService.java:
270 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
271 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
272 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
273 Use Documents DTO to create the document links in the document
275 * src/main/java/org/glom/web/client/activity/ListActivity.java:
276 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
277 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
278 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
279 * src/main/java/org/glom/web/client/place/ListPlace.java:
280 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
281 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
282 * src/main/java/org/glom/web/client/ui/ListView.java:
283 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
284 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
285 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
286 * src/main/java/org/glom/web/server/Log.java:
287 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
288 getDocumentTitles() to getDocuments() and return the Documents DTO.
289 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
290 transferring the filename to document title mappings.
292 2011-06-25 Ben Konrath <ben@bagu.org>
294 Make the authentication popup work again.
296 This bug was introduced when I extracted ConfiguredDocument to its own class.
298 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
299 correct success / fail status in setUsernameAndPassword().
301 2011-06-25 Ben Konrath <ben@bagu.org>
303 Use filename as unique key for configuring database usernames and passwords.
305 This replaces the use of the Glom document title which could change
306 depending on the locale. Thanks to Murray Cumming for pointing out this
309 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
310 * src/main/resources/onlineglom.properties:
312 2011-06-24 Ben Konrath <ben@bagu.org>
314 Pass primary key value to DetailsView.
316 This enables the DetailsView to load the correct data.
318 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
319 primary key value field and set in constructor. Pass primary key
320 value to getDetailsData().
321 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
322 variables for document title and primary key value.
323 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
324 key value to the DetailsPlace.
326 2011-06-24 Ben Konrath <ben@bagu.org>
328 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
330 This allows the primary key to be retrieved by the Details button. This
331 functionality has not been implemented yet but it's in the works.
333 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
334 the LayoutGroup result to ListView.setCellTable instead of all of its
336 * src/main/java/org/glom/web/client/ui/ListView.java:
337 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
338 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
339 get the primary key for the table.
340 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
341 index of the primary key in the LayoutGroup accounting for hidden
342 primary keys. Rename getJavaNumberFormat() to
343 convertToJavaNumberFormat() for consistency. Cleanup / add some
345 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
346 field for primary key index and a field to indicate whether the
347 primary key is hidden or not.
349 2011-06-23 Ben Konrath <ben@bagu.org>
351 Rename getTableData methods to getListData.
353 This is a rename refactor for consistency with other methods.
355 * src/main/java/org/glom/web/client/OnlineGlomService.java:
356 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
357 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
358 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
360 2011-06-23 Ben Konrath <ben@bagu.org>
362 Extract the ConfiguredDocument innerclass into its own class.
364 This makes the servlet code more object oriented.
366 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
367 from private ConfiguredDocument class in OnlineGlomServiceImpl.
368 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
369 new ConfiguredDocument class.
371 2011-06-21 Ben Konrath <ben@bagu.org>
373 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
375 This makes things more inline with how libglom works and reduces code
376 duplication. This refactor lays the groundwork for adding the primary key to
377 the LayoutGroup object.
379 * src/main/java/org/glom/web/client/OnlineGlomService.java:
380 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
381 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
382 Change method names to getListLayout and getDefaultListLayout for
383 consistency. Use LayoutGroup as the DTO for the list layout instead of
384 ColumnInfo and LayoutListTable.
385 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
386 new method names along with the LayoutGroup object for transferring the
388 * src/main/java/org/glom/web/client/ui/ListView.java:
389 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
390 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
391 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
393 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
394 Replaced with LayoutGroup.
395 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
396 expectedResultSize and defaultTableName fields which are needed for
398 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
399 type field which is needed for the list layout but will also be
400 useful for the details layout as things progress.
401 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
402 Make class abstract. Remove the unnecessary
403 getFormattingHorizontalAlignment method. Add setFormatting method.
405 2011-06-16 Ben Konrath <ben@bagu.org>
407 Add scripts for building and installing war.
409 These will help when updating OnlineGlom but they're also good
410 supplemental documentation of the build and deployment proceeding.
412 * utils/build-onlineglom-war.sh: New file.
413 * utils/install-onlineglom-war.sh: New file.
415 2011-06-16 Ben Konrath <ben@bagu.org>
417 Create wrapper class to create consistent log messages.
419 I wrapped methods in the Log class of gwt-log to add the method names
420 from the servlet and create consistent formatting of the document title
421 and table names in the log messages.
423 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
424 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
425 log methods to use methods from wrapped Log class.
427 2011-06-16 Ben Konrath <ben@bagu.org>
429 Remove superfluous conditional return.
431 Thanks to Murray Cumming for pointing this out!
433 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
435 2011-06-15 Ben Konrath <ben@bagu.org>
437 Return an ArrayList of LayoutGroups for the Details layout.
439 This corrects a problem with the details layout as it can have more
440 than one top level LayoutGroup.
442 * src/main/java/org/glom/web/client/OnlineGlomService.java:
443 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
444 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
445 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
446 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
447 with ArrayList of LayoutGroups for the details view layout.
448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
449 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
450 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
451 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
452 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
453 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
455 2011-06-14 Ben Konrath <ben@bagu.org>
457 Use cast_dynamic method to determine the libglom LayoutItem type.
459 This is better than finding the LayoutItem type by using the string
460 returned from the get_part_type_name() method.
462 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
464 2011-06-14 Ben Konrath <ben@bagu.org>
466 Add method names to log entries in the servlet.
468 This helps when tracking down deployment problems.
470 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
472 2011-06-14 Ben Konrath <ben@bagu.org>
474 Add data to the DetailsView using a hard-coded primary key value.
476 The layout and functionality of the DetailsView is not complete. This
477 is just a checkpoint so the patch doesn't get too big.
479 * src/main/java/org/glom/web/client/OnlineGlomService.java:
480 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
481 Add getDetailsData() servlet method.
482 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
483 Add RPC to getDetailsData(). Change the way the LayoutGroups and
484 LayoutFields are added to the DetailsView.
485 * src/main/java/org/glom/web/client/ui/DetailsView.java:
486 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
487 Add setData() method. Change addLayoutGroup() and addLayoutField() to
488 take the string for the title instead of the object.
489 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
490 Add implementation getDetailsData() along with some private helper
492 * src/main/webapp/style.css: Add padding to details-data class. Add a
493 details-label class with the same padding as the details-data class.
495 2011-06-03 Ben Konrath <ben@bagu.org>
497 Use presenter.goTo() to change to the DetailsPlace.
499 This will make things easier when we need to open the DetailsView with
500 data specific to the row that was clicked.
502 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
504 2011-06-02 Ben Konrath <ben@bagu.org>
506 Add CSS file from mockups.
508 I'm adding this now because it's going to be useful to have when
509 developing the DetailsView. The TableSelectionView and ListView aren't
512 * src/main/webapp/OnlineGlom.html:
513 * src/main/webapp/style.css:
515 2011-06-02 Ben Konrath <ben@bagu.org>
517 Use String.isEmpty() to check for empty string.
519 * src/main/java/org/glom/web/client/activity/ListActivity.java:
521 2011-06-02 Ben Konrath <ben@bagu.org>
523 Display main layout group titles in the DetailsView.
525 This is the start of the DetailsActivity/DetailsView implementation.
527 * src/main/java/org/glom/web/client/OnlineGlomService.java:
528 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
529 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
530 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
531 Get the layout information for the details view from the server and set
532 the main layout group titles.
533 * src/main/java/org/glom/web/client/ui/DetailsView.java:
534 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
535 Add addLayoutGroup() and addLayoutField() methods. This are just
536 temporary methods for creating the the details view that will change
538 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
539 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
541 * src/main/java/org/glom/web/shared/layout/Formatting.java:
542 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
543 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
544 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
545 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
546 Data Transfer Objects that mimic the libglom object structure. These are
547 used for transferring the details layout but could also be used for
548 transferring the list layout.
550 2011-05-27 Ben Konrath <ben@bagu.org>
552 Reset the AuthenticationPopup when clearing the ListView.
554 * src/main/java/org/glom/web/client/activity/ListActivity.java:
556 2011-05-27 Ben Konrath <ben@bagu.org>
558 Fix problem with onlineglom.properties file loading.
560 The old way worked in Eclipse but not on the server. Loading the
561 onlineglom.properties file now works in Eclipse and on the server.
563 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
565 2011-05-24 Ben Konrath <ben@bagu.org>
567 Update gwt-log from 3.1.0 to 3.1.2.
569 Gwt-log 3.1.0 has been marked as depreciated.
573 2011-05-24 Ben Konrath <ben@bagu.org>
575 Add comment to ListActivity.goTo() method.
577 * src/main/java/org/glom/web/client/activity/ListActivity.java:
579 2011-05-24 Ben Konrath <ben@bagu.org>
581 Remove FIXME in convertGdkColorToHtmlColour()
583 The Gdk::Color value returned by libglom is 16-bits per channel on both
584 64 and 32-bit platforms.
586 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
588 2011-05-19 Ben Konrath <ben@bagu.org>
590 Improve performance of initial ListView load.
592 I removed a round trip to the server for getting the default table name
593 and then requesting information about that table. This also removes a potential
594 problem with the table change handler not being setup in time to receive the
595 table change event from the ListActivity.
597 * src/main/java/org/glom/web/client/OnlineGlomService.java:
598 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
599 getDefaultLayoutListTable() method. Improve comments.
600 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
601 getDefaultLayoutListTable() method instead of firing a table change
602 event to get the table to load.
603 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
604 implementation of getDefaultLayoutListTable() method.
605 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
608 2011-05-19 Ben Konrath <ben@bagu.org>
610 Override toDebugString() in TableChangeEvent.
612 This is useful to have for debugging.
614 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
616 2011-05-19 Ben Konrath <ben@bagu.org>
618 Add a "Back to List" link when at the DetailsPlace.
620 * src/main/java/org/glom/web/client/activity/ListActivity.java:
621 Populate the CellTable based on the selected table of the ListBox if
622 it's set otherwise use the default table. This allows the "Back to
624 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
625 Remove Place from constructors. Add a setPlace() method. Add
626 goToPlace() method. Set class as presenter for TableSelectionView.
627 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
628 Use the same TableSelectionActivity when switching between the List and
630 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
631 Subclass the new HasSelectableTablePlace. This removes some duplicate
633 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
634 New class to represent Places that display the TableSelectionView.
635 * src/main/java/org/glom/web/client/place/ListPlace.java:
636 Subclass the new HasSelectableTablePlace. This removes some duplicate
638 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
639 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
640 Add Presenter interface. Add setBackLinkVisible() method. Add
641 setBackLink() method.
643 2011-05-18 Ben Konrath <ben@bagu.org>
645 Enable the "Details" buttons.
647 Right now only an empty details view is displayed.
649 * src/main/java/org/glom/web/client/ClientFactory.java:
650 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
651 Add DetailsView to ClientFactory.
652 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
653 A basic activity for the details view.
654 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
655 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
657 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
658 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
660 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
661 Create a new DetailsActivity when a DetailsPlace is requested. Remove
662 unnecessary super() in constructor.
663 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
664 Create a new TableSelectionActivity when a DetailsPlace is requested. We
665 really shouldn't create a new TableSelectionActivity for both the ListPlace
666 and the DetailsPlace so this should be considered a temporary solution.
667 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
668 New file. Represents a URL for the details view.
669 * src/main/java/org/glom/web/client/ui/DetailsView.java:
670 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
671 A basic details view interface and implementation.
672 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
673 Enable the "Details" buttons.
675 2011-05-12 Ben Konrath <ben@bagu.org>
677 Use a LayoutPanel with multiple display areas for main layout.
679 This is mostly a refactor in that there are no changes from the user
680 point of view. These changes are required so that we can swap out the list view
681 with the details view when the user clicks the "Details" button.
683 * src/main/java/org/glom/web/client/ClientFactory.java:
684 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
685 OnlineGlomView. Add TableSelectionView, ListView and
687 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
688 for main layout. Add display regions for main activities. Add
689 activity manager for for main activities.
690 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
691 file from parts of the deleted OnlineGlomActivity.
692 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
693 New file from parts of the deleted OnlineGlomActivity.
694 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
695 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
696 New files for app wide table change event.
697 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
698 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
699 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
700 Activity mappers for the main activities replace the deleted app-wide
702 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
703 Fix a spelling error in he comment.
704 * src/main/java/org/glom/web/client/ui/ListView.java:
705 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
706 Renamed from LayoutListView and modified for MVP. This still not a
707 proper dumb view as prescribed by the MVP pattern but it works for now.
708 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
709 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
710 New widget stripped out of the deleted OnlineGlomView.
711 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
712 Remove hack that is fixed by this patch.
714 2011-05-06 Ben Konrath <ben@bagu.org>
716 Rename OnlineGlomPlace to ListPlace.
718 The only change besides the rename is that url will now display #list
719 instead of #Document.
721 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
722 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
723 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
724 * src/main/java/org/glom/web/client/place/ListPlace.java:
725 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
727 2011-05-06 Ben Konrath <ben@bagu.org>
729 Use Presenter for app navigation.
731 This is the proper way to deal with Place (URL) changes with the MVP
734 * src/main/java/org/glom/web/client/ClientFactory.java:
735 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
736 PlaceHistoryMapper and PlaceHistoryHandler.
737 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
738 PlaceHistoryMapper and PlaceHistoryHandler.
739 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
740 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
741 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
742 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
743 Add Presenter interface and setPresenter methods. Rename addHyperLink
744 to addDocumentLink taking only the document title as a parameter.
746 2011-04-14 Ben Konrath <ben@bagu.org>
748 Prompt for db username/password if they haven't been set.
750 This is implemented with a popup widget that is contained within the
751 OnlineGlomView and managed by the OnlineGlomActivity.
753 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
754 methods for checking and setting the database username and password.
755 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
756 new methods for checking and setting the database username and
758 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
759 Display authentication popup if the JDBC connection to the database
760 has not been authenticated.
761 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
763 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
764 for dealing with the authentication popup.
765 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
766 Implement the methods for dealing with the authentication popup.
767 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
768 try to executed queries if the database connection hasn't been
769 authenticated. Implement methods for checking and setting the
770 database username and password.
772 2011-04-12 Ben Konrath <ben@bagu.org>
774 Make log messages a little clearer.
776 Add a dash betweeen the document title and the table name.
778 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
780 2011-04-12 Ben Konrath <ben@bagu.org>
782 Protect against NPEs when cleaning up database resources.
784 While this isn't strictly necessary because the exception is caught,
785 not protecting against the NPEs makes it harder to find the real error
788 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
790 2011-04-12 Ben Konrath <ben@bagu.org>
792 Move configuration of the servlet to the constructor.
794 The servlet will be initialized even if the database authentication
795 information is not set or correct. I still need to add the UI for prompting
796 the user for the authentication information when it's required.
798 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
799 javadocs for getDocumentTitles() method.
800 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
801 Set error message when RPC fails.
802 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
803 glom files directory from the configuration file. Try to set the
804 database authentication information for the specific document if it's
805 set and works otherwise try to use the global authentication
806 information set for the directory.
807 * src/main/resources/onlineglom.properties: Moved from
808 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
809 Added detailed comments for the new keys.
811 2011-04-11 Ben Konrath <ben@bagu.org>
813 Remove unnecessary @Override in DocumentSelectionViewImpl.
815 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
817 2011-04-11 Ben Konrath <ben@bagu.org>
819 Remove center alignment in DocumentSelectionView.
821 The title element is still centred but the document titles and bottom
822 sentence are both left-aligned.
824 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
826 2011-04-11 Ben Konrath <ben@bagu.org>
828 Change 'Demo' naming convention to 'Document'.
830 This is just a rename refactor with no functional changes to the code.
832 * src/main/java/org/glom/web/client/ClientFactory.java:
833 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
834 * src/main/java/org/glom/web/client/OnlineGlom.java:
835 * src/main/java/org/glom/web/client/OnlineGlomService.java:
836 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
837 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
838 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
839 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
840 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
841 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
842 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
843 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
844 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
846 2011-04-08 Ben Konrath <ben@bagu.org>
848 Remove FIXME from safeLongToInt() method.
850 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
853 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
855 2011-04-08 Ben Konrath <ben@bagu.org>
857 Display an error if no glom documents are found in the specified directory.
859 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
860 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
861 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
862 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
864 2011-04-08 Ben Konrath <ben@bagu.org>
866 Add copyright header to one more file ... oops.
868 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
870 2011-04-08 Ben Konrath <ben@bagu.org>
872 Add copyright header to files without it.
874 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
875 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
876 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
877 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
878 * src/main/java/org/glom/web/shared/ColumnInfo.java:
879 * src/main/java/org/glom/web/shared/GlomField.java:
881 2011-04-08 Ben Konrath <ben@bagu.org>
883 Add support for accessing multiple glom documents in the servlet.
885 This completes the demo selection functionality.
887 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
888 document title to methods.
889 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
890 document title to methods.
891 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
892 Set browser window title when the activity starts. Correct name of
893 document title variable.
894 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
895 Set browser window title when the activity starts. Set the table
896 selector change handler after table selector has been set. Clear the
897 OnlineGlomView when the activity has been stopped.
898 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
899 document title as the place token. Use "#Document:" instead of
900 "#OnlineGlomPlace:" in the URL.
901 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
902 Change heading to "Online Glom"
903 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
904 document title in RPC methods.
905 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
906 setDocumentTitle() method. Add clear() method.
907 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
908 setDocumentTitle() method. Implement clear() method which removes the
909 change handler on the ListBox, clears the ListBox and clears the
911 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
912 Implement methods with document title. Keep track for the configured
913 glom documents and their corresponding JDBC configurations in a hash
914 table. This information is retrieved using the document title as the
915 key in the hash table.
916 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
917 document title field as it's no longer needed.
919 2011-04-08 Ben Konrath <ben@bagu.org>
921 Update the Eclipse JDT configuration.
923 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
924 methods. Automatically add the copyright header to new files.
926 2011-04-05 Ben Konrath <ben@bagu.org>
928 Add new page for demo selection.
930 This patch adds all the components required to view and start an
931 OnlineGlom demo by clicking on the desired hyperlink. The user is
932 able to return to the demo selection page with the browser's back
933 button. I still need to modify the servlet to work with multiple
934 documents so all demo links will load the file defined in the
935 OnlineGlom.properties.
937 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
938 This is only useful during development so we don't need to save it.
939 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
940 get a reference to the DemoSelectionView.
941 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
942 method to get a reference to the DemoSelectionView.
943 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
944 default view to DemoSelectionView.
945 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
946 to get glom document titles for glom files in a hard-coded directory.
947 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
948 method to get glom document titles for glom files in a hard-coded
950 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
951 Presenter for DemoSelectionView.
952 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
953 for DemoSelectionView.
954 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
955 Update for DemoSelectionView.
956 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
957 Basic 'Place' implementation for the DemoSelectionView.
958 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
959 The interface for the DemoSelectionView.
960 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
961 The implementation of the DemoSelectionView.
962 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
963 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
964 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
965 implementation of method to get glom document titles for glom files
966 in a hard-coded directory.
967 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
968 on longer being used.
969 * src/main/webapp/glom.png: Glom logo.
971 2011-04-05 Ben Konrath <ben@bagu.org>
973 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
975 This is the forth and final commit of a refactor that will allow
976 OnlineGlom to be used with multiple documents.
978 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
979 Move RPC code from OnlineGlomViewImpl to this class.
980 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
982 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
983 RPC code to the presenter class (the P in MVP).
985 2011-04-04 Ben Konrath <ben@bagu.org>
987 Start moving the existing OnlineGlom code to MVP.
989 This work is based on the GWT MVP framework that is documented here:
991 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
993 This is the third commit of a refactor that will allow OnlineGlom to
994 be used with multiple documents.
996 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
997 Interface for client factory which is used to get instances of various
998 classes throughout the app.
999 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1000 Implementation of client factory.
1001 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1002 initialize the MVP framework.
1003 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1004 New file. Activity manager for the main container widget. This is the
1006 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1007 Maps place (URL) to its corresponding activity.
1008 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1009 New file. This is just a place holder for a generated file.
1010 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1011 New file. Represents the URL for the main Online Glom app.
1012 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1013 for changes in LayoutListViewImpl.
1014 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1015 interface for View. Move code to OnlineGlomViewImpl class.
1016 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1017 file. Implementation of OnlineGlomView.
1018 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1019 Place resources. Use ClientFactoryImpl by default.
1021 2011-04-04 Ben Konrath <ben@bagu.org>
1023 Move View classes to their own package.
1025 This is the second commit of a refactor that will allow OnlineGlom to
1026 be used with multiple documents.
1028 * src/main/java/org/glom/web/client/OnlineGlom.java:
1029 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1030 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1032 2011-04-02 Ben Konrath <ben@bagu.org>
1034 Move UI code from the main module to its own class.
1036 This is the first commit of a refactor that will allow OnlineGlom to be
1037 used with multiple documents.
1039 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1040 references to OnlineGlom to OnlineGlomView.
1041 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1042 OnlineGlomView and instantiate it here.
1043 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1044 represents the main OnlineGlomView with one document.
1046 2011-04-01 Ben Konrath <ben@bagu.org>
1048 Fix formatting of gwt.xml and add DTD.
1050 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1052 2011-03-30 Ben Konrath <ben@bagu.org>
1054 Propperly convert gdkColor string to html colour string.
1056 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1058 2011-03-28 Ben Konrath <ben@bagu.org>
1060 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1062 This implementation matches
1063 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1064 readable and is not tied to Swig.
1066 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1068 2011-03-28 Ben Konrath <ben@bagu.org>
1070 Use read-only checkboxes for boolean field types.
1072 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1073 in the CellTable based on the field type. It currently only
1074 distinguishes between boolean and text columns but I'll need to add
1075 support for more types.
1076 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1077 column type in the ColumnInfo object. Add method to convert between the
1078 glom field type enum in ColumnInfo and the glom field type in libglom.
1079 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1081 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1082 getting and setting booleans.
1084 2011-03-25 Ben Konrath <ben@bagu.org>
1086 Don't get the Date twice from the ResultSet.
1088 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1090 2011-03-25 Ben Konrath <ben@bagu.org>
1092 Cleanup code in the servlet.
1094 * TODO: Remove item about row count. Add item about testing row count
1095 query with large number of rows.
1096 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1097 spelling mistakes, change method parameter to be consistent with
1100 2011-03-25 Ben Konrath <ben@bagu.org>
1102 Add server side logging with the gwt-log library.
1104 * .gitignore: Ignore the log file we're now producing.
1105 * TODO: Add a couple TODO item for logging.
1106 * pom.xml: Add gwt-log and log4j as a dependency.
1107 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1108 logging of errors, warnings and some important info.
1109 * src/main/resources/log4j.properties: New file to configure log4j.
1111 2011-03-24 Ben Konrath <ben@bagu.org>
1113 Add a disable button for the Details view.
1115 * src/main/java/org/glom/web/client/LayoutListView.java:
1117 2011-03-22 Ben Konrath <ben@bagu.org>
1119 Use a count query to get the number of rows for the list view pager.
1121 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1123 2011-03-22 Ben Konrath <ben@bagu.org>
1125 Add more TODO information about CellTable pager positioning.
1129 2011-03-19 Ben Konrath <ben@bagu.org>
1131 Add TODO item about CellTable pager positioning.
1135 2011-03-18 Ben Konrath <ben@bagu.org>
1137 Remove unneeded GlomFieldColumn class.
1139 This is just a small code cleanup.
1141 * src/main/java/org/glom/web/client/LayoutListView.java:
1143 2011-03-18 Ben Konrath <ben@bagu.org>
1145 Use cursor mode in the query that gets data for the list view.
1147 I still need to fix the potential memory problem when getting the row
1148 count for the list view.
1150 * TODO: Add note about testing memory usage with large data sets. Add
1151 item about fixing row counting with large data sets.
1152 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1153 PostgreSQL JDBC driver into cursor mode when getting data for the
1156 2011-03-15 Ben Konrath <ben@bagu.org>
1158 Remove the GWT Container from the Eclipse build classpath.
1160 The GWT dependencies are set by Maven so this isn't needed.
1164 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1166 Added some earlier mockups to git, but not to the tarball dist.
1168 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1169 Openismus. These hopefully show how we might structure the HTML so that
1170 it can be styled easily with CSS. However, we probably need to adapt them
1171 for the CSS structure that GWT dictates for common widgets.
1173 2011-03-14 Ben Konrath <ben@bagu.org>
1175 Locate OnlineGlom.properties using the ServletContext.
1177 This is required to be able to locate the file in the deployed servlet.
1179 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1180 Configure the database and glom document in in a helper method so
1181 that the ServletContext can be used to locate OnlineGlom.properties.
1182 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1183 src/main/webapp. This is the proper location for .properites files.
1185 2011-03-12 Ben Konrath <ben@bagu.org>
1187 Add note to README about why we're compiling down to obfuscated JavaScript.
1191 2011-03-11 Ben Konrath <ben@bagu.org>
1193 Use properties file to configure servlet.
1195 This allows people to change the glom file path, db username and db
1196 password without recompiling the code.
1198 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1199 * src/main/webapp/OnlineGlom.properties:
1201 2011-03-11 Ben Konrath <ben@bagu.org>
1203 Use table fields in layout list view if the layout list is not defined.
1205 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1206 Manually create a LayoutFieldVector for the query builder using the
1207 table fields when a layout list is not defined in the glom file.
1209 2011-03-11 Ben Konrath <ben@bagu.org>
1211 Only show FIXME string for images when there's an image.
1213 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1214 in this change are some small code cleanups.
1216 2011-03-11 Ben Konrath <ben@bagu.org>
1218 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1220 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1222 2011-03-11 Ben Konrath <ben@bagu.org>
1224 Correctly set the index of the default table.
1226 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1227 Correctly set the index of the default table. Add commented out example
1230 2011-03-10 Ben Konrath <ben@bagu.org>
1232 Add comment to pom.xml about the previous change.
1234 * pom.xml: Add comment about the deployment issue so that it's obvious
1235 why java-libglom is set to the provided scope.
1237 2011-03-10 Ben Konrath <ben@bagu.org>
1239 Change java-libglom dependency from compile to provided in pom.xml.
1241 Since java-libglom uses jni it can only be loaded once and therefore
1242 must be placed in $CATALINA_HOME/lib and not included in each war.
1243 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1244 More information about this issue can be found in the Tomcat 6 release
1245 notes in the "JNI Based Applications" section:
1247 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1249 * README: Remove note about this issue. Deployment info should really
1250 be on the wiki anyway so I'll add it right now.
1251 * pom.xml: Change java-libglom dependency from compile to provided so
1252 that it's copied in to the packaged war.
1254 2011-03-09 Ben Konrath <ben@bagu.org>
1256 Change to using a neutral locale for currency, date and time formatting.
1258 This solves the problem of currency values being represented without a
1259 space between the currency code and the number (e.g. "EUR5.89" is now
1260 represented as "EUR 5.89"). More work is required when we implement
1261 a locale preference setting.
1263 * TODO: Add note about currency formatting issues with different
1265 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1266 to using the neutral ROOT locale.
1268 2011-03-09 Ben Konrath <ben@bagu.org>
1270 Add support for currency codes that are not ISO 4217 codes.
1272 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1273 the currency code defined in the glom file when it's not 3 characters
1274 long or when Java doesn't recognize the string as an ISO 4217 code.
1276 2011-03-08 Ben Konrath <ben@bagu.org>
1278 Remove test classes, launch configurations and configuration.
1280 The test stuff was getting in the way when creating the war. To make
1281 the war file you can now do 'mvn clean package'. The packaged war file
1282 will be in the target directory.
1284 * .classpath: Remove unused classpathentry for tests and i18n.
1285 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1286 property. Don't run test or i18n goals when packaging the war.
1287 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1292 * OnlineGlomTest-dev.launch:
1293 * OnlineGlomTest-prod.launch:
1294 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1295 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1297 2011-03-07 Ben Konrath <ben@bagu.org>
1299 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1301 These fixes allow me to use 'mvn deploy' to create the war file.
1303 * .classpath: This generated config has been updated by Eclipse. This
1304 change was probably triggered by me updating from Eclipse 3.6.1 to
1306 * .gitignore: Add entry to ignore the directory
1307 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1308 * .project: The generated config has been updated by Eclipse. This
1309 change was probably triggered by me updating from Eclipse 3.6.1 to
1311 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1312 so that Eclipse doesn't complain
1313 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1314 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1315 'tests' directory to 'client' directory. This is the new
1316 gwt-maven-plugin convension.
1317 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1318 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1320 2011-03-07 Ben Konrath <ben@bagu.org>
1322 Add support for horizontal alignment in the LayoutList columns.
1324 * TODO: Remove item about horizontal alignment. Add item about
1325 improvements to ColumnInfo.
1326 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1327 alignment on the columns. Use ColumnInfo RPC object get the column
1328 title and horizontal alignment.
1329 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1330 LayoutListView creation with ColumnInfo RPC object.
1331 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1332 a ColumnInfo object for every LayoutList columnn. Convert the
1333 FieldFormatting.HorizontalAlignment to the correct
1334 ColumnnInfo.HorizontatlAlignment with the new
1335 getColumnInfoHorizontalAlignment helper method.
1336 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1337 to encapsulate column information like alignment and title. This
1338 could be used to set the colour instead of on a per cell field basis.
1339 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1340 column title storage and retrieval with ColumnInfo.
1342 2011-03-04 Ben Konrath <ben@bagu.org>
1344 Add support for column sorting.
1346 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1347 AsynDataProvider to be an anonymous inner class. Use new
1348 getSortedTableData RPC method when column sort is requested. Set all
1349 columns sortable and add an AsyncHandler to activate sorting in the
1351 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1352 method getSortedTableData(). Cleanup other method signatures.
1353 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1354 new method getSortedTableData(). Cleanup other method signatures.
1355 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1356 Implement getSortedTableData() and getTableData() methods by using a
1357 private helper method with the appropriate parameters filled in. Use
1358 user supplied sort clause when supplied, otherwise fall back to
1359 sorting by the primary key. Move destroy() method to be underneath
1360 constructor for readability. Cleanup comments.
1362 2011-03-03 Ben Konrath <ben@bagu.org>
1364 Add support for colour text and colour backgrounds to the layout list cells.
1366 Only the cell backgrounds are coloured which leaves a gap between the
1367 cells that isn't coloured. I need to figure out a way to set
1368 'style=background-colour:' on the whole column rather than just the
1371 * TODO: Add a note about colouring the background of the whole column.
1372 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1373 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1374 render the coloured text and backgrounds. Use GlomField[] for the row type.
1375 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1377 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1378 GlomField[] for the row type.
1379 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1380 GlomField[] for the row type. Set the text, text colour and background
1381 colour in the GlomField objects as specified in the glom document. Add
1382 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1383 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1384 the glom field text, foreground colour and background colour.
1386 2011-03-02 Ben Konrath <ben@bagu.org>
1388 Don't display hidden tables in the combo box.
1390 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1392 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1393 code to ignore hidden tables using ArrayLists for the table names and
1395 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1396 tableNames to use ArrayLists instead of String[]. Update getter and setter
1399 2011-03-01 Ben Konrath <ben@bagu.org>
1401 Add support for Date and Time number types.
1403 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1404 Implement formatting for Date and Time values. Change the default glom
1405 file to small business example.
1407 2011-03-01 Ben Konrath <ben@bagu.org>
1409 Add support for formatting glom types as specified in the glom file.
1411 Formatting isn't finished yet - I still need to add support for Date
1414 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1415 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1416 checks for null values in JDBC cleanup code and catch all exceptions
1417 instead of just SQLExceptions.
1418 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1421 2011-03-01 Ben Konrath <ben@bagu.org>
1423 Use GWT 2.2.0 instead of 2.1.1.
1425 * pom.xml: Change GWT version numbers.
1427 2011-03-01 Ben Konrath <ben@bagu.org>
1429 A few small code cleanups.
1431 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1433 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1434 unnecessary object creation in constructor.
1435 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1436 unnecessary object creation in constructor.
1438 2011-02-28 Ben Konrath <ben@bagu.org>
1440 Add file for TODO list.
1444 2011-02-18 Ben Konrath <ben@bagu.org>
1446 Enable the CellTable Pager when more than 20 rows need to be viewed.
1448 The Pager will automatically become active when the results are larger
1449 than the CellTable size which is currently set to 20 lines.
1451 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1452 name on debug statment in RPC call in LayoutListDataProvider, add
1453 numRows parameter to LayoutListView constructor, propperly set rowCount
1455 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1456 name on debug statment in RPC call, use LayoutListTable object in RPC
1457 calls, pass rowCount to LayoutListView.
1458 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1459 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1461 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1462 interface for changes in OnlineGlomService.
1463 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1464 getLayoutListHeaders() to getLayoutListTable() and return
1465 LayoutListTable. Using this object allows me to pass other information
1466 about the LayoutList like the expected number of rows in the result set.
1467 The Connection object from the connection pool is now propperly closed.
1468 Only the requested number of lines are returned to the client in
1470 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1471 GlomTable and add columnTitles and numRows.
1473 2011-02-18 Ben Konrath <ben@bagu.org>
1475 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1477 This is a small performance boost. I'll use GlomTable to get the required
1478 layoutlist information.
1480 * src/main/java/org/glom/web/client/OnlineGlom.java:
1481 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1482 * src/main/java/org/glom/web/shared/GlomDocument.java:
1484 2011-02-18 Ben Konrath <ben@bagu.org>
1486 Add option to turn off formatting in JDT formatter preferences.
1488 * .settings/org.eclipse.jdt.core.prefs:
1490 2011-02-18 Ben Konrath <ben@bagu.org>
1492 Rename LayoutList to LayoutListView.
1494 I'm working towards setting things up to easily use MVP when the time
1497 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1499 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1502 2011-02-17 Ben Konrath <ben@bagu.org>
1504 Move LayoutListDataProvider class into LayoutList.java.
1506 * src/main/java/org/glom/web/client/LayoutList.java:
1508 2011-02-17 Ben Konrath <ben@bagu.org>
1510 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1512 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1514 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1515 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1516 from LibGlomServer.java.
1517 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1518 Rename from LibGlomServiceAsync.java.
1519 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1520 Rename from LibGlomServiceImpl.java.
1521 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1523 2011-02-17 Ben Konrath <ben@bagu.org>
1525 Update JDT settings.
1527 * .settings/org.eclipse.jdt.core.prefs:
1529 2011-02-17 Ben Konrath <ben@bagu.org>
1531 Move GWT-RPC objects to shared package (where they should be).
1533 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1534 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1535 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1536 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1537 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1538 org.glom.web.shared package.
1539 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1540 org.glom.web.shared package.
1541 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1542 directory in compilation to javascript.
1544 2011-02-16 Ben Konrath <ben@bagu.org>
1546 Add sort clause to the sql query that grabs table information.
1548 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1549 if one of the columns is a primary key.
1551 2011-02-16 Ben Konrath <ben@bagu.org>
1553 Disable generateAsync feature of gwt-maven.
1555 The generated interface does not correctly match the methods in LibGlomService
1556 and the generated singleton Util inner-class doesn't respect the servlet
1559 * pom.xml: Turn off generateAsync feature.
1560 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1561 with singleton Util inner-class.
1563 2011-02-14 Ben Konrath <ben@bagu.org>
1565 Add LGPL v3 licence notices.
1567 Followed directions listed here:
1568 http://www.gnu.org/licenses/gpl-howto.html
1570 * COPYING: This file is a copy of the GPL v3.
1571 * COPYING.LESSER: This file is a copy of the LGPL v3.
1572 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1574 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1576 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1578 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1580 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1582 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1584 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1587 2011-02-14 Ben Konrath <ben@bagu.org>
1589 Use ArrayList instead of Array in GWT-RPC calls.
1591 Apparently this gives a slight performance boost to the compiled
1594 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1596 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1599 2011-02-14 Ben Konrath <ben@bagu.org>
1601 Access data from a postgres db rather than the example glom file.
1603 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1604 compile down to obfuscated javascript.
1605 * pom.xml: Add c3p0 and postgres JDBC libraries.
1606 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1607 using a postgres db accessed through the c3p0 connection pooling library.
1609 2011-02-14 Ben Konrath <ben@bagu.org>
1611 Update Java formatter settings.
1613 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1615 2011-02-02 Ben Konrath <ben@bagu.org>
1617 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1619 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1621 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1622 the compiled webapp directory that Eclipse uses as we're using Maven now.
1623 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1624 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1626 * pom.xml: Format file, change target Java version to 1.6.
1628 2011-02-02 Ben Konrath <ben@bagu.org>
1630 Add information about a deployment related issue.
1632 * README: Add Notes section with the problem outlined.
1634 2011-02-02 Ben Konrath <ben@bagu.org>
1636 Call Glom.libglom_deinit() when the servlet is shutdown.
1638 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1639 Glom.libglom_deinit() to destroy() method.
1641 2011-01-28 Ben Konrath <ben@bagu.org>
1643 Use generated Util class to get the RPC Async interface.
1645 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1647 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1648 getInstance() method to get a reference to the RPC Async interface.
1649 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1650 getInstance() method to get a reference to the RPC Async interface, remove
1651 the now unused getLibGlomServiceProxy() method.
1653 2011-01-27 Ben Konrath <ben@bagu.org>
1655 Cleanup ChangeLog entry from previous commit.
1657 * ChangeLog: Group logical changes together and add comments.
1659 2011-01-25 Ben Konrath <ben@bagu.org>
1661 Convert to gwt-maven project.
1663 * .gitignore: Update for new project structure.
1664 * README: New file with a link to the online documentation.
1665 * pom.xml: The generated maven configuration file with some tweaks.
1667 Add / update Eclipse settings. These files are a merge of the files that
1668 were generated with the gwt-maven plugin and the files we were previously
1672 * .settings/.jsdtscope:
1673 * .settings/com.google.gdt.eclipse.core.prefs:
1674 * .settings/com.google.gwt.eclipse.core.prefs:
1675 * .settings/org.eclipse.jdt.core.prefs:
1676 * .settings/org.eclipse.wst.common.component:
1677 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1678 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1679 * .settings/org.maven.ide.eclipse.prefs:
1680 * OnlineGlomTest-dev.launch:
1681 * OnlineGlomTest-prod.launch:
1683 Java source files moved from the 'src' directory to the directory structure
1685 * src/main/java/org/glom/web/client/GlomDocument.java:
1686 * src/main/java/org/glom/web/client/GlomTable.java:
1687 * src/main/java/org/glom/web/client/LayoutList.java:
1688 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1689 * src/main/java/org/glom/web/client/LibGlomService.java:
1690 * src/main/java/org/glom/web/client/OnlineGlom.java:
1691 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1693 Non-functional property file used for translations. I included this as
1694 reminder that it's something I need to sort out.
1695 * src/main/resources/org/glom/web/client/Messages.properties:
1697 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1698 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1700 The servlet configuration files moved from the 'war' directory.
1701 * src/main/webapp/OnlineGlom.css:
1702 * src/main/webapp/OnlineGlom.html:
1703 * src/main/webapp/WEB-INF/web.xml:
1705 Generated test files with most of the code commented out. I included these
1706 so that it's easy to add tests when we're ready for them.
1707 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1708 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1710 2011-01-25 Ben Konrath <ben@bagu.org>
1712 Remove unused println.
1714 * src/org/glom/web/server/LibGlomServiceImpl.java:
1716 2011-01-25 Ben Konrath <ben@bagu.org>
1718 Add project specific JDT settings.
1720 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1721 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1723 2011-01-25 Ben Konrath <ben@bagu.org>
1725 Populate celltable with example data.
1727 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1728 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1729 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1730 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1731 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1732 asynchronously gets the example data.
1733 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1734 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1735 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1736 curently selected table to be retrieved by other widgets.
1737 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1738 implement getTableData() in a hacky way. This method needs to be updated
1739 to grab information from the database when database creating is
1742 2011-01-20 Ben Konrath <ben@bagu.org>
1744 Set table headers when table dropBox changes.
1746 * src/org/glom/web/client/GlomDocument.java: Correct some method
1748 * src/org/glom/web/client/LibGlomService.java: Add method
1749 to get list layout field names.
1750 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1751 to get list layout field names.
1752 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1753 widget for list layout table.
1754 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1755 the table drop box and add new updateTable() method to asynchronously
1756 get the layout list field names for the currently selected table.
1757 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1758 implementation of getLayoutListHeaders() method.
1759 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1761 2011-01-18 Ben Konrath <ben@bagu.org>
1763 Make a listBox with table titles instead of the flexTable demo.
1765 This is the start of something more useful.
1767 * .classpath: Exclude a bunch of packages from the JVM that are
1768 getting in the way of the Eclipse content assist.
1769 * src/org/glom/web/client/GlomDocument.java:
1770 * src/org/glom/web/client/GlomTable.java:
1771 * src/org/glom/web/client/LibGlomService.java:
1772 * src/org/glom/web/client/LibGlomServiceAsync.java:
1773 * src/org/glom/web/client/OnlineGlom.java:
1774 * src/org/glom/web/server/LibGlomServiceImpl.java:
1775 * war/OnlineGlom.html:
1776 * war/WEB-INF/web.xml:
1778 211-01-13 Ben Konrath <ben@bagu.org>
1780 Update to new java-libglom API.
1782 * .gitignore: Ignore OnlineGlom.war.
1783 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1785 2010-12-20 Ben Konrath <ben@bagu.org>
1787 Add some basic style to the table listing.
1789 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1790 header, print useful error message on async callback failure.
1791 * war/OnlineGlom.css: Add style for table header, remove defaults
1792 provided by the Eclipse project wizard.
1794 2010-12-20 Ben Konrath <ben@bagu.org>
1796 Load example file from installed glom dir.
1798 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1799 provided by java-libglom to find the example file.
1801 2010-12-20 Ben Konrath <ben@bagu.org>
1803 Update Eclipse settings.
1806 * .settings/com.google.gdt.eclipse.core.prefs:
1807 * .settings/com.google.gwt.eclipse.core.prefs:
1809 2010-12-17 Ben Konrath <ben@bagu.org>
1813 * .classpath: New file.
1814 * .gitignore: New file.
1815 * .project: New file.
1816 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1817 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1818 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1819 * src/org/glom/web/client/GlomTable.java: New file.
1820 * src/org/glom/web/client/OnlineGlom.java: New file.
1821 * src/org/glom/web/client/TableNameService.java: New file.
1822 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1823 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1824 * war/OnlineGlom.css: New file.
1825 * war/OnlineGlom.html: New file.
1826 * war/WEB-INF/web.xml: New file.
1827 * war/images/glom.png: New file.