1 2011-07-13 Ben Konrath <ben@bagu.org>
3 Add support sub-group in the details view.
5 I also removed the code that special-cased the default details view
8 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
10 I still have to make a proper flowtable.
12 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
13 Don't special-case default details view layout.
14 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
15 addLayoutField() as I'm going to use it.
16 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
17 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
19 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
20 extracted from DetailsViewImpl.GroupPanel. Add support for
22 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
23 column count when getting the details layout.
25 2011-07-12 Ben Konrath <ben@bagu.org>
27 Set browser title with database and table titles.
29 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
30 Set the browser title when the table changes and when the activity
32 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
33 title when retrieving document info (the GlomDocument object).
34 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
35 with getter and setter methods. Remove unused convenience constructor.
36 Use default code formatting.
38 2011-07-12 Ben Konrath <ben@bagu.org>
40 Ignore LayoutItemPortals in the details view.
42 I added a new DTO for the LayoutItemPortal so that I can ignore it in
45 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
46 LayoutItemPortal layout objects.
47 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
48 LayoutItemPortal objects when retrieving the details layout.
49 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
50 file. This is an empty class and just used to get type information for
53 2011-07-12 Ben Konrath <ben@bagu.org>
55 Use java-libglom 1.17.0.
59 2011-07-11 Ben Konrath <ben@bagu.org>
61 Remove "Table:" label from table selector.
63 This matches a recent change in the Glom UI.
65 * mockups/details-contacts.html:
66 * mockups/details-projects.html:
67 * mockups/listview-contacts.html:
68 * mockups/listview-projects.html: Remove the "Table:" label from the
70 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
72 2011-07-11 Ben Konrath <ben@bagu.org>
74 Add main groups to the details view.
76 This makes things look a little nicer in the details view. The next step
77 is to implement the flowtable.
79 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
80 resources from the standard gwt css theme. Standard.css is now
81 included in OnlineGlom.html so that the online glom css rules have
82 precedence over the gwt theme.
83 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
84 the whole LayoutGroup to the DetailsView instead of just the titles.
85 * src/main/java/org/glom/web/client/ui/DetailsView.java:
86 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
87 details layout with a helper class (GroupPanel). I might extract this
88 class when I make the full flowtable.
89 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
90 string as default so I don't have to worry about NPEs when processing
92 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
93 note beside OnlineGlom.gwt.xml above).
94 * src/main/webapp/style.css: Add default font-size to body to override
95 the font-size set by the standard theme. Don't use h2 tags for
96 group-title. Create new details-cell class.
98 2011-07-08 Murray Cumming <murrayc@murrayc.com>
100 ConfiguredDocument: Set the port number too.
102 * src/main/java/org/glom/web/server/ConfiguredDocument.java
103 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
104 Glom document. Presumably this worked sometimes so far because there is a
107 2011-07-08 Murray Cumming <murrayc@murrayc.com>
109 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
111 * src/main/java/org/glom/web/server/ConfiguredDocument.java
112 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
113 correct, though we should throw an exception too.
115 2011-07-08 Murray Cumming <murrayc@murrayc.com>
117 Fix a addDocuemnt typo.
119 * src/main/java/org/glom/web/shared/Documents.java
120 (Documents.addDocuemnt): Rename to addDocument().
121 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
122 (OnlineGlomServiceImpl.getDocuments): Adapt.
124 2011-07-08 Murray Cumming <murrayc@murrayc.com>
126 Slightly improved log output when connection fails.
128 * src/main/java/org/glom/web/server/ConfiguredDocument.java
129 (ConfiguredDocument.setUsernameAndPassword):
130 We don't know for sure if it' the username/password that's wrong, so
131 rephrase the message.
132 Also ouput the exception message, though it's generic in this case.
134 2011-07-08 Ben Konrath <ben@bagu.org>
138 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
139 added braces to a one line if statement because the Eclipse formatter
140 was getting confused.
142 2011-07-07 Ben Konrath <ben@bagu.org>
144 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
146 These should really be two separate tasks but I counldn't get things to
147 work with GWT 2.2.0 and Eclipse 3.7.
151 * .settings/org.eclipse.jdt.core.prefs:
152 * .settings/org.eclipse.jdt.ui.prefs:
153 * .settings/org.eclipse.ltk.core.refactoring.prefs:
154 * .settings/org.eclipse.m2e.core.prefs:
155 Add new config files. Update current files. Remove references to the
156 webtools plugins as we're not using any of the webtools features.
157 * .gitignore: Add logs directory which is created when running with
159 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
160 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
161 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
163 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
165 2011-07-07 Murray Cumming <murrayc@murrayc.com>
167 onlineglom.properties: Add explanatory comments.
169 * src/main/resources/onlineglom.properties: Also change the default user
170 from ben to someuser, to avoid the risk of people thinking we just
171 stupidly hard-coded a locale path, when they see that on stderr or in a log.
173 2011-06-28 Ben Konrath <ben@bagu.org>
175 Use filename in Log for incorrect passwords.
177 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
178 getFileName(String) method to get the filename from the URI.
180 2011-06-28 Ben Konrath <ben@bagu.org>
182 Add the table name to the URL token for the ListPlace.
184 This makes things consistent between the DetailsPlace and the
185 ListPlace. It also allows the the ListPlace to be bookmarked.
187 * src/main/java/org/glom/web/client/OnlineGlomService.java:
188 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
189 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
190 Remove getDefaultListLayout(). The default layout is now returned
191 by the getListLayout() method when the table name is an empty string.
192 * src/main/java/org/glom/web/client/activity/ListActivity.java:
193 Add table name field. Change to a new ListPlace when the table
194 has been changed. Use getListLayout() for getting the default
196 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
197 Add table name field. Set the correct table name in the list box
198 when loading from bookmark. This corrects a problem for the
200 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
201 Move table name to super-class (HasSelectableTable). Move document
202 and table URL keys to super-class in HasSelectableTable.
203 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
204 Add table name field. Add Tokenizer class with URL key common to
205 the subclasses (DetailsPlace and ListPlace).
206 * src/main/java/org/glom/web/client/place/ListPlace.java:
207 Add table name. Add code to parse the URL token.
208 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
209 Update ListPlace construction with empty table name string.
210 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
211 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
212 Change setTableSelectedIndex(int) to setSelectedTableName(String).
213 Update ListPlace construction with table name string.
214 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
215 Change defaultTableName field to tableName to reflect how it's now
216 used. Update the getter and setter methods.
218 2011-06-28 Ben Konrath <ben@bagu.org>
220 Enable the table selector in the DetailsView.
222 * src/main/java/org/glom/web/client/OnlineGlomService.java:
223 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
224 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
225 Remove getDefaultDetailsLayout(). The default layout is now returned
226 by the getDetailsLayout() method when the table name is an empty
228 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
229 event handler for table change event. Change to using
230 getDetailsLayout() for the default details layout.
231 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
233 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
234 when navigating to the details place.
236 2011-06-27 Ben Konrath <ben@bagu.org>
238 Use filename based unique document ID in URL and for RPC.
240 The document ID is the glom document name with spaces (' ') replaced
241 with pluses ('+') and without the .glom extension.
243 This change is mostly a string substitution of 'documentTitle' for
244 'documentID'. The only code change is the addition of a Documents DTO to get the
245 filename to document title mappings as indicated below.
247 * src/main/java/org/glom/web/client/OnlineGlomService.java:
248 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
249 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
250 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
251 Use Documents DTO to create the document links in the document
253 * src/main/java/org/glom/web/client/activity/ListActivity.java:
254 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
255 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
256 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
257 * src/main/java/org/glom/web/client/place/ListPlace.java:
258 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
259 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
260 * src/main/java/org/glom/web/client/ui/ListView.java:
261 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
262 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
263 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
264 * src/main/java/org/glom/web/server/Log.java:
265 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
266 getDocumentTitles() to getDocuments() and return the Documents DTO.
267 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
268 transferring the filename to document title mappings.
270 2011-06-25 Ben Konrath <ben@bagu.org>
272 Make the authentication popup work again.
274 This bug was introduced when I extracted ConfiguredDocument to its own class.
276 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
277 correct success / fail status in setUsernameAndPassword().
279 2011-06-25 Ben Konrath <ben@bagu.org>
281 Use filename as unique key for configuring database usernames and passwords.
283 This replaces the use of the Glom document title which could change
284 depending on the locale. Thanks to Murray Cumming for pointing out this
287 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
288 * src/main/resources/onlineglom.properties:
290 2011-06-24 Ben Konrath <ben@bagu.org>
292 Pass primary key value to DetailsView.
294 This enables the DetailsView to load the correct data.
296 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
297 primary key value field and set in constructor. Pass primary key
298 value to getDetailsData().
299 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
300 variables for document title and primary key value.
301 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
302 key value to the DetailsPlace.
304 2011-06-24 Ben Konrath <ben@bagu.org>
306 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
308 This allows the primary key to be retrieved by the Details button. This
309 functionality has not been implemented yet but it's in the works.
311 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
312 the LayoutGroup result to ListView.setCellTable instead of all of its
314 * src/main/java/org/glom/web/client/ui/ListView.java:
315 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
316 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
317 get the primary key for the table.
318 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
319 index of the primary key in the LayoutGroup accounting for hidden
320 primary keys. Rename getJavaNumberFormat() to
321 convertToJavaNumberFormat() for consistency. Cleanup / add some
323 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
324 field for primary key index and a field to indicate whether the
325 primary key is hidden or not.
327 2011-06-23 Ben Konrath <ben@bagu.org>
329 Rename getTableData methods to getListData.
331 This is a rename refactor for consistency with other methods.
333 * src/main/java/org/glom/web/client/OnlineGlomService.java:
334 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
335 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
336 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
338 2011-06-23 Ben Konrath <ben@bagu.org>
340 Extract the ConfiguredDocument innerclass into its own class.
342 This makes the servlet code more object oriented.
344 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
345 from private ConfiguredDocument class in OnlineGlomServiceImpl.
346 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
347 new ConfiguredDocument class.
349 2011-06-21 Ben Konrath <ben@bagu.org>
351 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
353 This makes things more inline with how libglom works and reduces code
354 duplication. This refactor lays the groundwork for adding the primary key to
355 the LayoutGroup object.
357 * src/main/java/org/glom/web/client/OnlineGlomService.java:
358 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
359 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
360 Change method names to getListLayout and getDefaultListLayout for
361 consistency. Use LayoutGroup as the DTO for the list layout instead of
362 ColumnInfo and LayoutListTable.
363 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
364 new method names along with the LayoutGroup object for transferring the
366 * src/main/java/org/glom/web/client/ui/ListView.java:
367 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
368 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
369 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
371 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
372 Replaced with LayoutGroup.
373 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
374 expectedResultSize and defaultTableName fields which are needed for
376 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
377 type field which is needed for the list layout but will also be
378 useful for the details layout as things progress.
379 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
380 Make class abstract. Remove the unnecessary
381 getFormattingHorizontalAlignment method. Add setFormatting method.
383 2011-06-16 Ben Konrath <ben@bagu.org>
385 Add scripts for building and installing war.
387 These will help when updating OnlineGlom but they're also good
388 supplemental documentation of the build and deployment proceeding.
390 * utils/build-onlineglom-war.sh: New file.
391 * utils/install-onlineglom-war.sh: New file.
393 2011-06-16 Ben Konrath <ben@bagu.org>
395 Create wrapper class to create consistent log messages.
397 I wrapped methods in the Log class of gwt-log to add the method names
398 from the servlet and create consistent formatting of the document title
399 and table names in the log messages.
401 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
402 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
403 log methods to use methods from wrapped Log class.
405 2011-06-16 Ben Konrath <ben@bagu.org>
407 Remove superfluous conditional return.
409 Thanks to Murray Cumming for pointing this out!
411 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
413 2011-06-15 Ben Konrath <ben@bagu.org>
415 Return an ArrayList of LayoutGroups for the Details layout.
417 This corrects a problem with the details layout as it can have more
418 than one top level LayoutGroup.
420 * src/main/java/org/glom/web/client/OnlineGlomService.java:
421 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
422 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
423 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
424 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
425 with ArrayList of LayoutGroups for the details view layout.
426 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
427 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
428 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
429 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
430 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
431 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
433 2011-06-14 Ben Konrath <ben@bagu.org>
435 Use cast_dynamic method to determine the libglom LayoutItem type.
437 This is better than finding the LayoutItem type by using the string
438 returned from the get_part_type_name() method.
440 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
442 2011-06-14 Ben Konrath <ben@bagu.org>
444 Add method names to log entries in the servlet.
446 This helps when tracking down deployment problems.
448 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
450 2011-06-14 Ben Konrath <ben@bagu.org>
452 Add data to the DetailsView using a hard-coded primary key value.
454 The layout and functionality of the DetailsView is not complete. This
455 is just a checkpoint so the patch doesn't get too big.
457 * src/main/java/org/glom/web/client/OnlineGlomService.java:
458 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
459 Add getDetailsData() servlet method.
460 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
461 Add RPC to getDetailsData(). Change the way the LayoutGroups and
462 LayoutFields are added to the DetailsView.
463 * src/main/java/org/glom/web/client/ui/DetailsView.java:
464 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
465 Add setData() method. Change addLayoutGroup() and addLayoutField() to
466 take the string for the title instead of the object.
467 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
468 Add implementation getDetailsData() along with some private helper
470 * src/main/webapp/style.css: Add padding to details-data class. Add a
471 details-label class with the same padding as the details-data class.
473 2011-06-03 Ben Konrath <ben@bagu.org>
475 Use presenter.goTo() to change to the DetailsPlace.
477 This will make things easier when we need to open the DetailsView with
478 data specific to the row that was clicked.
480 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
482 2011-06-02 Ben Konrath <ben@bagu.org>
484 Add CSS file from mockups.
486 I'm adding this now because it's going to be useful to have when
487 developing the DetailsView. The TableSelectionView and ListView aren't
490 * src/main/webapp/OnlineGlom.html:
491 * src/main/webapp/style.css:
493 2011-06-02 Ben Konrath <ben@bagu.org>
495 Use String.isEmpty() to check for empty string.
497 * src/main/java/org/glom/web/client/activity/ListActivity.java:
499 2011-06-02 Ben Konrath <ben@bagu.org>
501 Display main layout group titles in the DetailsView.
503 This is the start of the DetailsActivity/DetailsView implementation.
505 * src/main/java/org/glom/web/client/OnlineGlomService.java:
506 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
507 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
508 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
509 Get the layout information for the details view from the server and set
510 the main layout group titles.
511 * src/main/java/org/glom/web/client/ui/DetailsView.java:
512 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
513 Add addLayoutGroup() and addLayoutField() methods. This are just
514 temporary methods for creating the the details view that will change
516 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
517 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
519 * src/main/java/org/glom/web/shared/layout/Formatting.java:
520 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
521 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
522 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
523 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
524 Data Transfer Objects that mimic the libglom object structure. These are
525 used for transferring the details layout but could also be used for
526 transferring the list layout.
528 2011-05-27 Ben Konrath <ben@bagu.org>
530 Reset the AuthenticationPopup when clearing the ListView.
532 * src/main/java/org/glom/web/client/activity/ListActivity.java:
534 2011-05-27 Ben Konrath <ben@bagu.org>
536 Fix problem with onlineglom.properties file loading.
538 The old way worked in Eclipse but not on the server. Loading the
539 onlineglom.properties file now works in Eclipse and on the server.
541 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
543 2011-05-24 Ben Konrath <ben@bagu.org>
545 Update gwt-log from 3.1.0 to 3.1.2.
547 Gwt-log 3.1.0 has been marked as depreciated.
551 2011-05-24 Ben Konrath <ben@bagu.org>
553 Add comment to ListActivity.goTo() method.
555 * src/main/java/org/glom/web/client/activity/ListActivity.java:
557 2011-05-24 Ben Konrath <ben@bagu.org>
559 Remove FIXME in convertGdkColorToHtmlColour()
561 The Gdk::Color value returned by libglom is 16-bits per channel on both
562 64 and 32-bit platforms.
564 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
566 2011-05-19 Ben Konrath <ben@bagu.org>
568 Improve performance of initial ListView load.
570 I removed a round trip to the server for getting the default table name
571 and then requesting information about that table. This also removes a potential
572 problem with the table change handler not being setup in time to receive the
573 table change event from the ListActivity.
575 * src/main/java/org/glom/web/client/OnlineGlomService.java:
576 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
577 getDefaultLayoutListTable() method. Improve comments.
578 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
579 getDefaultLayoutListTable() method instead of firing a table change
580 event to get the table to load.
581 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
582 implementation of getDefaultLayoutListTable() method.
583 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
586 2011-05-19 Ben Konrath <ben@bagu.org>
588 Override toDebugString() in TableChangeEvent.
590 This is useful to have for debugging.
592 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
594 2011-05-19 Ben Konrath <ben@bagu.org>
596 Add a "Back to List" link when at the DetailsPlace.
598 * src/main/java/org/glom/web/client/activity/ListActivity.java:
599 Populate the CellTable based on the selected table of the ListBox if
600 it's set otherwise use the default table. This allows the "Back to
602 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
603 Remove Place from constructors. Add a setPlace() method. Add
604 goToPlace() method. Set class as presenter for TableSelectionView.
605 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
606 Use the same TableSelectionActivity when switching between the List and
608 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
609 Subclass the new HasSelectableTablePlace. This removes some duplicate
611 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
612 New class to represent Places that display the TableSelectionView.
613 * src/main/java/org/glom/web/client/place/ListPlace.java:
614 Subclass the new HasSelectableTablePlace. This removes some duplicate
616 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
617 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
618 Add Presenter interface. Add setBackLinkVisible() method. Add
619 setBackLink() method.
621 2011-05-18 Ben Konrath <ben@bagu.org>
623 Enable the "Details" buttons.
625 Right now only an empty details view is displayed.
627 * src/main/java/org/glom/web/client/ClientFactory.java:
628 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
629 Add DetailsView to ClientFactory.
630 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
631 A basic activity for the details view.
632 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
633 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
635 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
636 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
638 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
639 Create a new DetailsActivity when a DetailsPlace is requested. Remove
640 unnecessary super() in constructor.
641 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
642 Create a new TableSelectionActivity when a DetailsPlace is requested. We
643 really shouldn't create a new TableSelectionActivity for both the ListPlace
644 and the DetailsPlace so this should be considered a temporary solution.
645 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
646 New file. Represents a URL for the details view.
647 * src/main/java/org/glom/web/client/ui/DetailsView.java:
648 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
649 A basic details view interface and implementation.
650 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
651 Enable the "Details" buttons.
653 2011-05-12 Ben Konrath <ben@bagu.org>
655 Use a LayoutPanel with multiple display areas for main layout.
657 This is mostly a refactor in that there are no changes from the user
658 point of view. These changes are required so that we can swap out the list view
659 with the details view when the user clicks the "Details" button.
661 * src/main/java/org/glom/web/client/ClientFactory.java:
662 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
663 OnlineGlomView. Add TableSelectionView, ListView and
665 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
666 for main layout. Add display regions for main activities. Add
667 activity manager for for main activities.
668 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
669 file from parts of the deleted OnlineGlomActivity.
670 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
671 New file from parts of the deleted OnlineGlomActivity.
672 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
673 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
674 New files for app wide table change event.
675 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
676 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
677 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
678 Activity mappers for the main activities replace the deleted app-wide
680 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
681 Fix a spelling error in he comment.
682 * src/main/java/org/glom/web/client/ui/ListView.java:
683 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
684 Renamed from LayoutListView and modified for MVP. This still not a
685 proper dumb view as prescribed by the MVP pattern but it works for now.
686 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
687 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
688 New widget stripped out of the deleted OnlineGlomView.
689 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
690 Remove hack that is fixed by this patch.
692 2011-05-06 Ben Konrath <ben@bagu.org>
694 Rename OnlineGlomPlace to ListPlace.
696 The only change besides the rename is that url will now display #list
697 instead of #Document.
699 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
700 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
701 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
702 * src/main/java/org/glom/web/client/place/ListPlace.java:
703 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
705 2011-05-06 Ben Konrath <ben@bagu.org>
707 Use Presenter for app navigation.
709 This is the proper way to deal with Place (URL) changes with the MVP
712 * src/main/java/org/glom/web/client/ClientFactory.java:
713 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
714 PlaceHistoryMapper and PlaceHistoryHandler.
715 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
716 PlaceHistoryMapper and PlaceHistoryHandler.
717 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
718 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
719 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
720 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
721 Add Presenter interface and setPresenter methods. Rename addHyperLink
722 to addDocumentLink taking only the document title as a parameter.
724 2011-04-14 Ben Konrath <ben@bagu.org>
726 Prompt for db username/password if they haven't been set.
728 This is implemented with a popup widget that is contained within the
729 OnlineGlomView and managed by the OnlineGlomActivity.
731 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
732 methods for checking and setting the database username and password.
733 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
734 new methods for checking and setting the database username and
736 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
737 Display authentication popup if the JDBC connection to the database
738 has not been authenticated.
739 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
741 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
742 for dealing with the authentication popup.
743 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
744 Implement the methods for dealing with the authentication popup.
745 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
746 try to executed queries if the database connection hasn't been
747 authenticated. Implement methods for checking and setting the
748 database username and password.
750 2011-04-12 Ben Konrath <ben@bagu.org>
752 Make log messages a little clearer.
754 Add a dash betweeen the document title and the table name.
756 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
758 2011-04-12 Ben Konrath <ben@bagu.org>
760 Protect against NPEs when cleaning up database resources.
762 While this isn't strictly necessary because the exception is caught,
763 not protecting against the NPEs makes it harder to find the real error
766 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
768 2011-04-12 Ben Konrath <ben@bagu.org>
770 Move configuration of the servlet to the constructor.
772 The servlet will be initialized even if the database authentication
773 information is not set or correct. I still need to add the UI for prompting
774 the user for the authentication information when it's required.
776 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
777 javadocs for getDocumentTitles() method.
778 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
779 Set error message when RPC fails.
780 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
781 glom files directory from the configuration file. Try to set the
782 database authentication information for the specific document if it's
783 set and works otherwise try to use the global authentication
784 information set for the directory.
785 * src/main/resources/onlineglom.properties: Moved from
786 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
787 Added detailed comments for the new keys.
789 2011-04-11 Ben Konrath <ben@bagu.org>
791 Remove unnecessary @Override in DocumentSelectionViewImpl.
793 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
795 2011-04-11 Ben Konrath <ben@bagu.org>
797 Remove center alignment in DocumentSelectionView.
799 The title element is still centred but the document titles and bottom
800 sentence are both left-aligned.
802 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
804 2011-04-11 Ben Konrath <ben@bagu.org>
806 Change 'Demo' naming convention to 'Document'.
808 This is just a rename refactor with no functional changes to the code.
810 * src/main/java/org/glom/web/client/ClientFactory.java:
811 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
812 * src/main/java/org/glom/web/client/OnlineGlom.java:
813 * src/main/java/org/glom/web/client/OnlineGlomService.java:
814 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
815 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
816 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
817 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
818 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
819 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
820 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
821 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
822 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
824 2011-04-08 Ben Konrath <ben@bagu.org>
826 Remove FIXME from safeLongToInt() method.
828 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
831 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
833 2011-04-08 Ben Konrath <ben@bagu.org>
835 Display an error if no glom documents are found in the specified directory.
837 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
838 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
839 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
840 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
842 2011-04-08 Ben Konrath <ben@bagu.org>
844 Add copyright header to one more file ... oops.
846 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
848 2011-04-08 Ben Konrath <ben@bagu.org>
850 Add copyright header to files without it.
852 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
853 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
854 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
855 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
856 * src/main/java/org/glom/web/shared/ColumnInfo.java:
857 * src/main/java/org/glom/web/shared/GlomField.java:
859 2011-04-08 Ben Konrath <ben@bagu.org>
861 Add support for accessing multiple glom documents in the servlet.
863 This completes the demo selection functionality.
865 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
866 document title to methods.
867 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
868 document title to methods.
869 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
870 Set browser window title when the activity starts. Correct name of
871 document title variable.
872 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
873 Set browser window title when the activity starts. Set the table
874 selector change handler after table selector has been set. Clear the
875 OnlineGlomView when the activity has been stopped.
876 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
877 document title as the place token. Use "#Document:" instead of
878 "#OnlineGlomPlace:" in the URL.
879 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
880 Change heading to "Online Glom"
881 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
882 document title in RPC methods.
883 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
884 setDocumentTitle() method. Add clear() method.
885 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
886 setDocumentTitle() method. Implement clear() method which removes the
887 change handler on the ListBox, clears the ListBox and clears the
889 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
890 Implement methods with document title. Keep track for the configured
891 glom documents and their corresponding JDBC configurations in a hash
892 table. This information is retrieved using the document title as the
893 key in the hash table.
894 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
895 document title field as it's no longer needed.
897 2011-04-08 Ben Konrath <ben@bagu.org>
899 Update the Eclipse JDT configuration.
901 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
902 methods. Automatically add the copyright header to new files.
904 2011-04-05 Ben Konrath <ben@bagu.org>
906 Add new page for demo selection.
908 This patch adds all the components required to view and start an
909 OnlineGlom demo by clicking on the desired hyperlink. The user is
910 able to return to the demo selection page with the browser's back
911 button. I still need to modify the servlet to work with multiple
912 documents so all demo links will load the file defined in the
913 OnlineGlom.properties.
915 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
916 This is only useful during development so we don't need to save it.
917 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
918 get a reference to the DemoSelectionView.
919 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
920 method to get a reference to the DemoSelectionView.
921 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
922 default view to DemoSelectionView.
923 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
924 to get glom document titles for glom files in a hard-coded directory.
925 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
926 method to get glom document titles for glom files in a hard-coded
928 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
929 Presenter for DemoSelectionView.
930 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
931 for DemoSelectionView.
932 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
933 Update for DemoSelectionView.
934 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
935 Basic 'Place' implementation for the DemoSelectionView.
936 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
937 The interface for the DemoSelectionView.
938 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
939 The implementation of the DemoSelectionView.
940 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
941 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
942 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
943 implementation of method to get glom document titles for glom files
944 in a hard-coded directory.
945 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
946 on longer being used.
947 * src/main/webapp/glom.png: Glom logo.
949 2011-04-05 Ben Konrath <ben@bagu.org>
951 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
953 This is the forth and final commit of a refactor that will allow
954 OnlineGlom to be used with multiple documents.
956 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
957 Move RPC code from OnlineGlomViewImpl to this class.
958 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
960 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
961 RPC code to the presenter class (the P in MVP).
963 2011-04-04 Ben Konrath <ben@bagu.org>
965 Start moving the existing OnlineGlom code to MVP.
967 This work is based on the GWT MVP framework that is documented here:
969 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
971 This is the third commit of a refactor that will allow OnlineGlom to
972 be used with multiple documents.
974 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
975 Interface for client factory which is used to get instances of various
976 classes throughout the app.
977 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
978 Implementation of client factory.
979 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
980 initialize the MVP framework.
981 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
982 New file. Activity manager for the main container widget. This is the
984 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
985 Maps place (URL) to its corresponding activity.
986 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
987 New file. This is just a place holder for a generated file.
988 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
989 New file. Represents the URL for the main Online Glom app.
990 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
991 for changes in LayoutListViewImpl.
992 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
993 interface for View. Move code to OnlineGlomViewImpl class.
994 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
995 file. Implementation of OnlineGlomView.
996 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
997 Place resources. Use ClientFactoryImpl by default.
999 2011-04-04 Ben Konrath <ben@bagu.org>
1001 Move View classes to their own package.
1003 This is the second commit of a refactor that will allow OnlineGlom to
1004 be used with multiple documents.
1006 * src/main/java/org/glom/web/client/OnlineGlom.java:
1007 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1008 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1010 2011-04-02 Ben Konrath <ben@bagu.org>
1012 Move UI code from the main module to its own class.
1014 This is the first commit of a refactor that will allow OnlineGlom to be
1015 used with multiple documents.
1017 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1018 references to OnlineGlom to OnlineGlomView.
1019 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1020 OnlineGlomView and instantiate it here.
1021 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1022 represents the main OnlineGlomView with one document.
1024 2011-04-01 Ben Konrath <ben@bagu.org>
1026 Fix formatting of gwt.xml and add DTD.
1028 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1030 2011-03-30 Ben Konrath <ben@bagu.org>
1032 Propperly convert gdkColor string to html colour string.
1034 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1036 2011-03-28 Ben Konrath <ben@bagu.org>
1038 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1040 This implementation matches
1041 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1042 readable and is not tied to Swig.
1044 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1046 2011-03-28 Ben Konrath <ben@bagu.org>
1048 Use read-only checkboxes for boolean field types.
1050 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1051 in the CellTable based on the field type. It currently only
1052 distinguishes between boolean and text columns but I'll need to add
1053 support for more types.
1054 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1055 column type in the ColumnInfo object. Add method to convert between the
1056 glom field type enum in ColumnInfo and the glom field type in libglom.
1057 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1059 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1060 getting and setting booleans.
1062 2011-03-25 Ben Konrath <ben@bagu.org>
1064 Don't get the Date twice from the ResultSet.
1066 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1068 2011-03-25 Ben Konrath <ben@bagu.org>
1070 Cleanup code in the servlet.
1072 * TODO: Remove item about row count. Add item about testing row count
1073 query with large number of rows.
1074 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1075 spelling mistakes, change method parameter to be consistent with
1078 2011-03-25 Ben Konrath <ben@bagu.org>
1080 Add server side logging with the gwt-log library.
1082 * .gitignore: Ignore the log file we're now producing.
1083 * TODO: Add a couple TODO item for logging.
1084 * pom.xml: Add gwt-log and log4j as a dependency.
1085 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1086 logging of errors, warnings and some important info.
1087 * src/main/resources/log4j.properties: New file to configure log4j.
1089 2011-03-24 Ben Konrath <ben@bagu.org>
1091 Add a disable button for the Details view.
1093 * src/main/java/org/glom/web/client/LayoutListView.java:
1095 2011-03-22 Ben Konrath <ben@bagu.org>
1097 Use a count query to get the number of rows for the list view pager.
1099 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1101 2011-03-22 Ben Konrath <ben@bagu.org>
1103 Add more TODO information about CellTable pager positioning.
1107 2011-03-19 Ben Konrath <ben@bagu.org>
1109 Add TODO item about CellTable pager positioning.
1113 2011-03-18 Ben Konrath <ben@bagu.org>
1115 Remove unneeded GlomFieldColumn class.
1117 This is just a small code cleanup.
1119 * src/main/java/org/glom/web/client/LayoutListView.java:
1121 2011-03-18 Ben Konrath <ben@bagu.org>
1123 Use cursor mode in the query that gets data for the list view.
1125 I still need to fix the potential memory problem when getting the row
1126 count for the list view.
1128 * TODO: Add note about testing memory usage with large data sets. Add
1129 item about fixing row counting with large data sets.
1130 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1131 PostgreSQL JDBC driver into cursor mode when getting data for the
1134 2011-03-15 Ben Konrath <ben@bagu.org>
1136 Remove the GWT Container from the Eclipse build classpath.
1138 The GWT dependencies are set by Maven so this isn't needed.
1142 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1144 Added some earlier mockups to git, but not to the tarball dist.
1146 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1147 Openismus. These hopefully show how we might structure the HTML so that
1148 it can be styled easily with CSS. However, we probably need to adapt them
1149 for the CSS structure that GWT dictates for common widgets.
1151 2011-03-14 Ben Konrath <ben@bagu.org>
1153 Locate OnlineGlom.properties using the ServletContext.
1155 This is required to be able to locate the file in the deployed servlet.
1157 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1158 Configure the database and glom document in in a helper method so
1159 that the ServletContext can be used to locate OnlineGlom.properties.
1160 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1161 src/main/webapp. This is the proper location for .properites files.
1163 2011-03-12 Ben Konrath <ben@bagu.org>
1165 Add note to README about why we're compiling down to obfuscated JavaScript.
1169 2011-03-11 Ben Konrath <ben@bagu.org>
1171 Use properties file to configure servlet.
1173 This allows people to change the glom file path, db username and db
1174 password without recompiling the code.
1176 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1177 * src/main/webapp/OnlineGlom.properties:
1179 2011-03-11 Ben Konrath <ben@bagu.org>
1181 Use table fields in layout list view if the layout list is not defined.
1183 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1184 Manually create a LayoutFieldVector for the query builder using the
1185 table fields when a layout list is not defined in the glom file.
1187 2011-03-11 Ben Konrath <ben@bagu.org>
1189 Only show FIXME string for images when there's an image.
1191 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1192 in this change are some small code cleanups.
1194 2011-03-11 Ben Konrath <ben@bagu.org>
1196 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1198 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1200 2011-03-11 Ben Konrath <ben@bagu.org>
1202 Correctly set the index of the default table.
1204 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1205 Correctly set the index of the default table. Add commented out example
1208 2011-03-10 Ben Konrath <ben@bagu.org>
1210 Add comment to pom.xml about the previous change.
1212 * pom.xml: Add comment about the deployment issue so that it's obvious
1213 why java-libglom is set to the provided scope.
1215 2011-03-10 Ben Konrath <ben@bagu.org>
1217 Change java-libglom dependency from compile to provided in pom.xml.
1219 Since java-libglom uses jni it can only be loaded once and therefore
1220 must be placed in $CATALINA_HOME/lib and not included in each war.
1221 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1222 More information about this issue can be found in the Tomcat 6 release
1223 notes in the "JNI Based Applications" section:
1225 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1227 * README: Remove note about this issue. Deployment info should really
1228 be on the wiki anyway so I'll add it right now.
1229 * pom.xml: Change java-libglom dependency from compile to provided so
1230 that it's copied in to the packaged war.
1232 2011-03-09 Ben Konrath <ben@bagu.org>
1234 Change to using a neutral locale for currency, date and time formatting.
1236 This solves the problem of currency values being represented without a
1237 space between the currency code and the number (e.g. "EUR5.89" is now
1238 represented as "EUR 5.89"). More work is required when we implement
1239 a locale preference setting.
1241 * TODO: Add note about currency formatting issues with different
1243 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1244 to using the neutral ROOT locale.
1246 2011-03-09 Ben Konrath <ben@bagu.org>
1248 Add support for currency codes that are not ISO 4217 codes.
1250 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1251 the currency code defined in the glom file when it's not 3 characters
1252 long or when Java doesn't recognize the string as an ISO 4217 code.
1254 2011-03-08 Ben Konrath <ben@bagu.org>
1256 Remove test classes, launch configurations and configuration.
1258 The test stuff was getting in the way when creating the war. To make
1259 the war file you can now do 'mvn clean package'. The packaged war file
1260 will be in the target directory.
1262 * .classpath: Remove unused classpathentry for tests and i18n.
1263 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1264 property. Don't run test or i18n goals when packaging the war.
1265 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1270 * OnlineGlomTest-dev.launch:
1271 * OnlineGlomTest-prod.launch:
1272 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1273 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1275 2011-03-07 Ben Konrath <ben@bagu.org>
1277 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1279 These fixes allow me to use 'mvn deploy' to create the war file.
1281 * .classpath: This generated config has been updated by Eclipse. This
1282 change was probably triggered by me updating from Eclipse 3.6.1 to
1284 * .gitignore: Add entry to ignore the directory
1285 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1286 * .project: The generated config has been updated by Eclipse. This
1287 change was probably triggered by me updating from Eclipse 3.6.1 to
1289 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1290 so that Eclipse doesn't complain
1291 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1292 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1293 'tests' directory to 'client' directory. This is the new
1294 gwt-maven-plugin convension.
1295 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1296 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1298 2011-03-07 Ben Konrath <ben@bagu.org>
1300 Add support for horizontal alignment in the LayoutList columns.
1302 * TODO: Remove item about horizontal alignment. Add item about
1303 improvements to ColumnInfo.
1304 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1305 alignment on the columns. Use ColumnInfo RPC object get the column
1306 title and horizontal alignment.
1307 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1308 LayoutListView creation with ColumnInfo RPC object.
1309 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1310 a ColumnInfo object for every LayoutList columnn. Convert the
1311 FieldFormatting.HorizontalAlignment to the correct
1312 ColumnnInfo.HorizontatlAlignment with the new
1313 getColumnInfoHorizontalAlignment helper method.
1314 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1315 to encapsulate column information like alignment and title. This
1316 could be used to set the colour instead of on a per cell field basis.
1317 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1318 column title storage and retrieval with ColumnInfo.
1320 2011-03-04 Ben Konrath <ben@bagu.org>
1322 Add support for column sorting.
1324 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1325 AsynDataProvider to be an anonymous inner class. Use new
1326 getSortedTableData RPC method when column sort is requested. Set all
1327 columns sortable and add an AsyncHandler to activate sorting in the
1329 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1330 method getSortedTableData(). Cleanup other method signatures.
1331 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1332 new method getSortedTableData(). Cleanup other method signatures.
1333 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1334 Implement getSortedTableData() and getTableData() methods by using a
1335 private helper method with the appropriate parameters filled in. Use
1336 user supplied sort clause when supplied, otherwise fall back to
1337 sorting by the primary key. Move destroy() method to be underneath
1338 constructor for readability. Cleanup comments.
1340 2011-03-03 Ben Konrath <ben@bagu.org>
1342 Add support for colour text and colour backgrounds to the layout list cells.
1344 Only the cell backgrounds are coloured which leaves a gap between the
1345 cells that isn't coloured. I need to figure out a way to set
1346 'style=background-colour:' on the whole column rather than just the
1349 * TODO: Add a note about colouring the background of the whole column.
1350 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1351 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1352 render the coloured text and backgrounds. Use GlomField[] for the row type.
1353 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1355 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1356 GlomField[] for the row type.
1357 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1358 GlomField[] for the row type. Set the text, text colour and background
1359 colour in the GlomField objects as specified in the glom document. Add
1360 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1361 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1362 the glom field text, foreground colour and background colour.
1364 2011-03-02 Ben Konrath <ben@bagu.org>
1366 Don't display hidden tables in the combo box.
1368 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1370 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1371 code to ignore hidden tables using ArrayLists for the table names and
1373 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1374 tableNames to use ArrayLists instead of String[]. Update getter and setter
1377 2011-03-01 Ben Konrath <ben@bagu.org>
1379 Add support for Date and Time number types.
1381 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1382 Implement formatting for Date and Time values. Change the default glom
1383 file to small business example.
1385 2011-03-01 Ben Konrath <ben@bagu.org>
1387 Add support for formatting glom types as specified in the glom file.
1389 Formatting isn't finished yet - I still need to add support for Date
1392 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1393 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1394 checks for null values in JDBC cleanup code and catch all exceptions
1395 instead of just SQLExceptions.
1396 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1399 2011-03-01 Ben Konrath <ben@bagu.org>
1401 Use GWT 2.2.0 instead of 2.1.1.
1403 * pom.xml: Change GWT version numbers.
1405 2011-03-01 Ben Konrath <ben@bagu.org>
1407 A few small code cleanups.
1409 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1411 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1412 unnecessary object creation in constructor.
1413 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1414 unnecessary object creation in constructor.
1416 2011-02-28 Ben Konrath <ben@bagu.org>
1418 Add file for TODO list.
1422 2011-02-18 Ben Konrath <ben@bagu.org>
1424 Enable the CellTable Pager when more than 20 rows need to be viewed.
1426 The Pager will automatically become active when the results are larger
1427 than the CellTable size which is currently set to 20 lines.
1429 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1430 name on debug statment in RPC call in LayoutListDataProvider, add
1431 numRows parameter to LayoutListView constructor, propperly set rowCount
1433 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1434 name on debug statment in RPC call, use LayoutListTable object in RPC
1435 calls, pass rowCount to LayoutListView.
1436 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1437 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1439 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1440 interface for changes in OnlineGlomService.
1441 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1442 getLayoutListHeaders() to getLayoutListTable() and return
1443 LayoutListTable. Using this object allows me to pass other information
1444 about the LayoutList like the expected number of rows in the result set.
1445 The Connection object from the connection pool is now propperly closed.
1446 Only the requested number of lines are returned to the client in
1448 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1449 GlomTable and add columnTitles and numRows.
1451 2011-02-18 Ben Konrath <ben@bagu.org>
1453 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1455 This is a small performance boost. I'll use GlomTable to get the required
1456 layoutlist information.
1458 * src/main/java/org/glom/web/client/OnlineGlom.java:
1459 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1460 * src/main/java/org/glom/web/shared/GlomDocument.java:
1462 2011-02-18 Ben Konrath <ben@bagu.org>
1464 Add option to turn off formatting in JDT formatter preferences.
1466 * .settings/org.eclipse.jdt.core.prefs:
1468 2011-02-18 Ben Konrath <ben@bagu.org>
1470 Rename LayoutList to LayoutListView.
1472 I'm working towards setting things up to easily use MVP when the time
1475 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1477 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1480 2011-02-17 Ben Konrath <ben@bagu.org>
1482 Move LayoutListDataProvider class into LayoutList.java.
1484 * src/main/java/org/glom/web/client/LayoutList.java:
1486 2011-02-17 Ben Konrath <ben@bagu.org>
1488 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1490 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1492 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1493 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1494 from LibGlomServer.java.
1495 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1496 Rename from LibGlomServiceAsync.java.
1497 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1498 Rename from LibGlomServiceImpl.java.
1499 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1501 2011-02-17 Ben Konrath <ben@bagu.org>
1503 Update JDT settings.
1505 * .settings/org.eclipse.jdt.core.prefs:
1507 2011-02-17 Ben Konrath <ben@bagu.org>
1509 Move GWT-RPC objects to shared package (where they should be).
1511 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1512 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1513 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1514 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1515 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1516 org.glom.web.shared package.
1517 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1518 org.glom.web.shared package.
1519 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1520 directory in compilation to javascript.
1522 2011-02-16 Ben Konrath <ben@bagu.org>
1524 Add sort clause to the sql query that grabs table information.
1526 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1527 if one of the columns is a primary key.
1529 2011-02-16 Ben Konrath <ben@bagu.org>
1531 Disable generateAsync feature of gwt-maven.
1533 The generated interface does not correctly match the methods in LibGlomService
1534 and the generated singleton Util inner-class doesn't respect the servlet
1537 * pom.xml: Turn off generateAsync feature.
1538 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1539 with singleton Util inner-class.
1541 2011-02-14 Ben Konrath <ben@bagu.org>
1543 Add LGPL v3 licence notices.
1545 Followed directions listed here:
1546 http://www.gnu.org/licenses/gpl-howto.html
1548 * COPYING: This file is a copy of the GPL v3.
1549 * COPYING.LESSER: This file is a copy of the LGPL v3.
1550 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1552 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1554 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1556 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1558 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1560 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1562 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1565 2011-02-14 Ben Konrath <ben@bagu.org>
1567 Use ArrayList instead of Array in GWT-RPC calls.
1569 Apparently this gives a slight performance boost to the compiled
1572 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1574 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1577 2011-02-14 Ben Konrath <ben@bagu.org>
1579 Access data from a postgres db rather than the example glom file.
1581 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1582 compile down to obfuscated javascript.
1583 * pom.xml: Add c3p0 and postgres JDBC libraries.
1584 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1585 using a postgres db accessed through the c3p0 connection pooling library.
1587 2011-02-14 Ben Konrath <ben@bagu.org>
1589 Update Java formatter settings.
1591 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1593 2011-02-02 Ben Konrath <ben@bagu.org>
1595 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1597 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1599 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1600 the compiled webapp directory that Eclipse uses as we're using Maven now.
1601 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1602 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1604 * pom.xml: Format file, change target Java version to 1.6.
1606 2011-02-02 Ben Konrath <ben@bagu.org>
1608 Add information about a deployment related issue.
1610 * README: Add Notes section with the problem outlined.
1612 2011-02-02 Ben Konrath <ben@bagu.org>
1614 Call Glom.libglom_deinit() when the servlet is shutdown.
1616 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1617 Glom.libglom_deinit() to destroy() method.
1619 2011-01-28 Ben Konrath <ben@bagu.org>
1621 Use generated Util class to get the RPC Async interface.
1623 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1625 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1626 getInstance() method to get a reference to the RPC Async interface.
1627 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1628 getInstance() method to get a reference to the RPC Async interface, remove
1629 the now unused getLibGlomServiceProxy() method.
1631 2011-01-27 Ben Konrath <ben@bagu.org>
1633 Cleanup ChangeLog entry from previous commit.
1635 * ChangeLog: Group logical changes together and add comments.
1637 2011-01-25 Ben Konrath <ben@bagu.org>
1639 Convert to gwt-maven project.
1641 * .gitignore: Update for new project structure.
1642 * README: New file with a link to the online documentation.
1643 * pom.xml: The generated maven configuration file with some tweaks.
1645 Add / update Eclipse settings. These files are a merge of the files that
1646 were generated with the gwt-maven plugin and the files we were previously
1650 * .settings/.jsdtscope:
1651 * .settings/com.google.gdt.eclipse.core.prefs:
1652 * .settings/com.google.gwt.eclipse.core.prefs:
1653 * .settings/org.eclipse.jdt.core.prefs:
1654 * .settings/org.eclipse.wst.common.component:
1655 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1656 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1657 * .settings/org.maven.ide.eclipse.prefs:
1658 * OnlineGlomTest-dev.launch:
1659 * OnlineGlomTest-prod.launch:
1661 Java source files moved from the 'src' directory to the directory structure
1663 * src/main/java/org/glom/web/client/GlomDocument.java:
1664 * src/main/java/org/glom/web/client/GlomTable.java:
1665 * src/main/java/org/glom/web/client/LayoutList.java:
1666 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1667 * src/main/java/org/glom/web/client/LibGlomService.java:
1668 * src/main/java/org/glom/web/client/OnlineGlom.java:
1669 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1671 Non-functional property file used for translations. I included this as
1672 reminder that it's something I need to sort out.
1673 * src/main/resources/org/glom/web/client/Messages.properties:
1675 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1676 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1678 The servlet configuration files moved from the 'war' directory.
1679 * src/main/webapp/OnlineGlom.css:
1680 * src/main/webapp/OnlineGlom.html:
1681 * src/main/webapp/WEB-INF/web.xml:
1683 Generated test files with most of the code commented out. I included these
1684 so that it's easy to add tests when we're ready for them.
1685 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1686 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1688 2011-01-25 Ben Konrath <ben@bagu.org>
1690 Remove unused println.
1692 * src/org/glom/web/server/LibGlomServiceImpl.java:
1694 2011-01-25 Ben Konrath <ben@bagu.org>
1696 Add project specific JDT settings.
1698 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1699 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1701 2011-01-25 Ben Konrath <ben@bagu.org>
1703 Populate celltable with example data.
1705 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1706 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1707 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1708 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1709 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1710 asynchronously gets the example data.
1711 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1712 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1713 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1714 curently selected table to be retrieved by other widgets.
1715 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1716 implement getTableData() in a hacky way. This method needs to be updated
1717 to grab information from the database when database creating is
1720 2011-01-20 Ben Konrath <ben@bagu.org>
1722 Set table headers when table dropBox changes.
1724 * src/org/glom/web/client/GlomDocument.java: Correct some method
1726 * src/org/glom/web/client/LibGlomService.java: Add method
1727 to get list layout field names.
1728 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1729 to get list layout field names.
1730 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1731 widget for list layout table.
1732 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1733 the table drop box and add new updateTable() method to asynchronously
1734 get the layout list field names for the currently selected table.
1735 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1736 implementation of getLayoutListHeaders() method.
1737 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1739 2011-01-18 Ben Konrath <ben@bagu.org>
1741 Make a listBox with table titles instead of the flexTable demo.
1743 This is the start of something more useful.
1745 * .classpath: Exclude a bunch of packages from the JVM that are
1746 getting in the way of the Eclipse content assist.
1747 * src/org/glom/web/client/GlomDocument.java:
1748 * src/org/glom/web/client/GlomTable.java:
1749 * src/org/glom/web/client/LibGlomService.java:
1750 * src/org/glom/web/client/LibGlomServiceAsync.java:
1751 * src/org/glom/web/client/OnlineGlom.java:
1752 * src/org/glom/web/server/LibGlomServiceImpl.java:
1753 * war/OnlineGlom.html:
1754 * war/WEB-INF/web.xml:
1756 211-01-13 Ben Konrath <ben@bagu.org>
1758 Update to new java-libglom API.
1760 * .gitignore: Ignore OnlineGlom.war.
1761 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1763 2010-12-20 Ben Konrath <ben@bagu.org>
1765 Add some basic style to the table listing.
1767 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1768 header, print useful error message on async callback failure.
1769 * war/OnlineGlom.css: Add style for table header, remove defaults
1770 provided by the Eclipse project wizard.
1772 2010-12-20 Ben Konrath <ben@bagu.org>
1774 Load example file from installed glom dir.
1776 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1777 provided by java-libglom to find the example file.
1779 2010-12-20 Ben Konrath <ben@bagu.org>
1781 Update Eclipse settings.
1784 * .settings/com.google.gdt.eclipse.core.prefs:
1785 * .settings/com.google.gwt.eclipse.core.prefs:
1787 2010-12-17 Ben Konrath <ben@bagu.org>
1791 * .classpath: New file.
1792 * .gitignore: New file.
1793 * .project: New file.
1794 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1795 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1796 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1797 * src/org/glom/web/client/GlomTable.java: New file.
1798 * src/org/glom/web/client/OnlineGlom.java: New file.
1799 * src/org/glom/web/client/TableNameService.java: New file.
1800 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1801 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1802 * war/OnlineGlom.css: New file.
1803 * war/OnlineGlom.html: New file.
1804 * war/WEB-INF/web.xml: New file.
1805 * war/images/glom.png: New file.